Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jul 2016 05:01:03 +0200
From:      Jan Beich <jbeich@vfemail.net>
To:        Ed Maste <emaste@FreeBSD.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r303033 - head/share/man/man7
Message-ID:  <wpkh-nhcg-wny@vfemail.net>
In-Reply-To: <201607191746.u6JHk9ov092270@repo.freebsd.org> (Ed Maste's message of "Tue, 19 Jul 2016 17:46:09 %2B0000 (UTC)")
References:  <201607191746.u6JHk9ov092270@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--=-=-=
Content-Type: text/plain

Ed Maste <emaste@FreeBSD.org> writes:

> +.It Sy Architecture Ta Sy Page Sizes
> +.It amd64       Ta 4K, 2M, 1G

Does FreeBSD support 1G pages nowadays?

$ sysctl hw.pagesizes
hw.pagesizes: 4096 2097152 0

$ dmesg | fgrep -i 1gb
  AMD Features=0x2c100800<SYSCALL,NX,Page1GB,RDTSCP,LM>

> +.Ss Predefined Macros
> +The compiler provides a number of predefined macros.
> +Some of these provide architecture-specific details and are explained below.
> +Other macros, including those required by the language standard, are not
> +included here.
[...]
> +cc -x c -Dm -E /dev/null

Typo: -Dm vs. -dM

> +.It Dv BYTE_ORDER Ta Either Dv BIG_ENDIAN or Dv LITTLE_ENDIAN .

Are these really compiler macros? I think, <machine/endian.h> defines them.

$ clang38 -x c -dM -E /dev/null | fgrep ENDIAN
#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
#define __LITTLE_ENDIAN__ 1
#define __ORDER_BIG_ENDIAN__ 4321
#define __ORDER_LITTLE_ENDIAN__ 1234
#define __ORDER_PDP_ENDIAN__ 3412

$ gcc5 -x c -dM -E /dev/null | fgrep ENDIAN
#define __ORDER_LITTLE_ENDIAN__ 1234
#define __FLOAT_WORD_ORDER__ __ORDER_LITTLE_ENDIAN__
#define __ORDER_PDP_ENDIAN__ 3412
#define __ORDER_BIG_ENDIAN__ 4321
#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQF8BAEBCgBmBQJXjulvXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXREQjQ0MzY3NEM3RDIzNTc4NkUxNDkyQ0VF
NEM3Nzg4MzQ3OURCRERCAAoJEOTHeINHnb3ba2QH/iBMtZV06lQ4dAdG2mA5rdoA
APlTiA2QF6EcrrgpVsRlQ3wb3x5cMexu2UvRRrICJ2Lj1ZhmX4XxcjTwZxbS3sYI
RkRAO/bly1KyF6MGFtKIw+ThWcVMEaBuPc9SpKJUG+O2Kry1BjVVl9UyWcz2BFB/
dK8G+bTHTunPT8IDv5n5CeyzdolzvusLqsSuK+Y2Kjr3hCp4WFoquL4BJFAKySCZ
wncRbYHEj675Io27WfXflmxEt5jCeKVpTbvwyFq1BM/OpwZ5X8frEA7wnB5dGSgx
Fs+Wp5DsgY/UsLYU+2jWEnVq550ZRakPMCwhSPkCxXd2htHpg+ZzNR/+uYODSsI=
=WH2R
-----END PGP SIGNATURE-----
--=-=-=--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?wpkh-nhcg-wny>