Home | History | Annotate | Download | only in include
History log of /src/sys/arch/amd64/include/limits.h
RevisionDateAuthorComments
 1.15  21-Jan-2019  dholland Fix wrong scoping of {U,}LLONG_MAX.
PR 53298 from Roberto E. Vargas Caballero.
 1.14  21-Apr-2014  matt branches: 1.14.26; 1.14.28;
Since all our compilers support __DBL_* and __FLT_*, use them to define
{DBL,FLT}_{DIG,MIN,MAX}
 1.13  11-Apr-2013  christos branches: 1.13.4; 1.13.8;
add missing SSIZE_MIN
 1.12  28-Mar-2012  christos branches: 1.12.2;
- Normalize inclusion protection (remove)
- Move CHAR_{MIN,MAX} to a common file.
- Fix broken comments
 1.11  07-Jun-2010  tnozaki branches: 1.11.8; 1.11.12;
1. MB_LEN_MAX switch MD to MI.
2. unfortunately hppa's MB_LEN_MAX is defined incorrectly 6 instead of 32
so we have to add more setlocale(3) __RENAME func, __setlocale50.
3. move setlocale1.c and setlocale32.c to lib/libc/compat/locale/*
prepareing for next libc major crunk.
4. bump libc minor version.
 1.10  26-Oct-2008  mrg branches: 1.10.8; 1.10.14; 1.10.16;
put the contents of these header files around #ifdef __x86_64__, and
#include the <i386/foo.h> in the #else clause, making these files
largely bit-size independant.
 1.9  17-Oct-2007  garbled branches: 1.9.16; 1.9.20; 1.9.26;
Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.8  31-Aug-2007  drochner Fix definitions of UCHAR_MAX/USHRT_MAX and related
types. C99 requires that these definitions promote to (signed/unsigned)
integer the same way as the types the definition is for. And since
unsigned char/short fit into an "int" on all our archs and thus promote
to signed int, the definitions must not be unsigned.
Fixes PR lib/31306 by Neil Booth.
 1.7  11-Dec-2005  christos branches: 1.7.30; 1.7.38; 1.7.44; 1.7.48; 1.7.50;
merge ktrace-lwp.
 1.6  19-Sep-2003  fvdl branches: 1.6.16;
LONG_BIT should be 64. From Nicolas Joly.
 1.5  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.4  25-May-2003  fvdl branches: 1.4.2;
Correct a few maximum values.
 1.3  28-Apr-2003  bjh21 Add a new feature-test macro, _NETBSD_SOURCE. If this is defined
by the application, all NetBSD interfaces are made visible, even
if some other feature-test macro (like _POSIX_C_SOURCE) is defined.
<sys/featuretest.h> defined _NETBSD_SOURCE if none of _ANSI_SOURCE,
_POSIX_C_SOURCE and _XOPEN_SOURCE is defined, so as to preserve
existing behaviour.

This has two major advantages:
+ Programs that require non-POSIX facilities but define _POSIX_C_SOURCE
can trivially be overruled by putting -D_NETBSD_SOURCE in their CFLAGS.
+ It makes most of the #ifs simpler, in that they're all now ORs of the
various macros, rather than having checks for (!defined(_ANSI_SOURCE) ||
!defined(_POSIX_C_SOURCE) || !defined(_XOPEN_SOURCE)) all over the place.

I've tried not to change the semantics of the headers in any case where
_NETBSD_SOURCE wasn't defined, but there were some places where the
current semantics were clearly mad, and retaining them was harder than
correcting them. In particular, I've mostly normalised things so that
_ANSI_SOURCE gets you the smallest set of stuff, then _POSIX_C_SOURCE,
_XOPEN_SOURCE and _NETBSD_SOURCE in that order.

Tested by building for vax, encouraged by thorpej, and uncontested in
tech-userlevel for a week.
 1.2  27-Apr-2003  fvdl Fix *LONGMAX values.
 1.1  26-Apr-2003  fvdl Rename the x86_64 port to amd64, as this is the actual name used for
the processor family now. x86_64 is kept as the MACHINE_ARCH value,
since it's already widely used (by e.g. the toolchain, etc), and
by other operating systems.
 1.4.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.4.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.4.2.1  03-Aug-2004  skrll Sync with HEAD
 1.6.16.1  03-Sep-2007  yamt sync with head.
 1.7.50.1  06-Nov-2007  matt sync with HEAD
 1.7.48.1  03-Sep-2007  jmcneill Sync with HEAD.
 1.7.44.1  03-Sep-2007  skrll Sync with HEAD.
 1.7.38.1  03-Oct-2007  garbled Sync with HEAD
 1.7.30.1  09-Oct-2007  ad Sync with head.
 1.9.26.1  13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.9.20.2  11-Aug-2010  yamt sync with head.
 1.9.20.1  04-May-2009  yamt sync with head.
 1.9.16.1  17-Jan-2009  mjf Sync with HEAD.
 1.10.16.1  03-Jul-2010  rmind sync with head
 1.10.14.1  17-Aug-2010  uebayasi Sync with HEAD.
 1.10.8.1  24-Oct-2010  jym Sync with HEAD
 1.11.12.1  05-Apr-2012  mrg sync to latest -current.
 1.11.8.2  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.11.8.1  17-Apr-2012  yamt sync with head
 1.12.2.2  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.12.2.1  23-Jun-2013  tls resync from head
 1.13.8.1  10-Aug-2014  tls Rebase.
 1.13.4.1  18-May-2014  rmind sync with head
 1.14.28.1  10-Jun-2019  christos Sync with HEAD
 1.14.26.1  26-Jan-2019  pgoyette Sync with HEAD

RSS XML Feed