Home | History | Annotate | Download | only in include
History log of /src/sys/arch/arm/include/limits.h
RevisionDateAuthorComments
 1.19  21-Jan-2019  dholland Fix wrong scoping of {U,}LLONG_MAX. More cases, not just amd64.
PR 53298 from Roberto E. Vargas Caballero.
 1.18  24-Feb-2014  christos branches: 1.18.28; 1.18.30;
consistency in include protection
 1.17  29-Jan-2014  matt Take advantage of compiler predefines for types.
Add _LP64 support.
 1.16  29-Jan-2014  matt Make multiple inclusion symbols always start with _ARM_ (not _ARM32_ or
_MACHINE_).
 1.15  29-Jan-2014  matt replace spaces in SHRT_MIN definition with tabs
 1.14  29-Jan-2014  matt SIZE_T is unsigned so SIZE_T_MAX needs to be ULONG_MAX
 1.13  11-Apr-2013  christos branches: 1.13.4;
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  22-Mar-2012  he Make sure that the UQUAD_MAX constant is marked as unsigned, to avoid
"ANSI C treats constant as unsigned" warning from lint.
 1.10  07-Jun-2010  tnozaki branches: 1.10.8; 1.10.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.9  29-Aug-2008  matt branches: 1.9.14; 1.9.16;
Remove non-__ELF__ snippets.
 1.8  17-Oct-2007  garbled branches: 1.8.16; 1.8.20; 1.8.22; 1.8.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.7  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.6  11-Dec-2005  christos branches: 1.6.30; 1.6.38; 1.6.44; 1.6.46; 1.6.48; 1.6.50; 1.6.52;
merge ktrace-lwp.
 1.5  07-Aug-2003  agc branches: 1.5.16;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.4  28-Apr-2003  bjh21 branches: 1.4.2;
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.3  03-Sep-2001  matt branches: 1.3.6;
Add __ELF__ stuff for resized types under ELF.
 1.2  04-May-2001  simonb branches: 1.2.2;
Be consistent with limit constants:
- use "U" suffix for unsigned constants
- use "L" suffix for long constants
- use "UL" suffix for unsigned long constants
- use hexadecimal instead of decimal

Fixes build problems with vi (now that warnings/errors are enabled) on
mips, powerpc and arm platforms.
 1.1  10-Jan-2001  bjh21 branches: 1.1.2; 1.1.4;
Header files which don't differ between arm32 and arm26 and can thus be
shared.
 1.1.4.1  21-Jun-2001  nathanw Catch up to -current.
 1.1.2.2  10-Jan-2001  bjh21 Header files which don't differ between arm32 and arm26 and can thus be
shared.
 1.1.2.1  10-Jan-2001  bjh21 file limits.h was added on branch thorpej_scsipi on 2001-01-10 19:02:07 +0000
 1.2.2.1  13-Sep-2001  thorpej Update the kqueue branch to HEAD.
 1.3.6.2  03-Sep-2001  matt Add __ELF__ stuff for resized types under ELF.
 1.3.6.1  03-Sep-2001  matt file limits.h was added on branch nathanw_sa on 2001-09-03 01:51:40 +0000
 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.5.16.1  03-Sep-2007  yamt sync with head.
 1.6.52.1  06-Nov-2007  matt sync with HEAD
 1.6.50.1  01-Jan-2008  chris Sync with HEAD.
 1.6.48.1  03-Sep-2007  jmcneill Sync with HEAD.
 1.6.46.1  01-Nov-2007  rjs Sync with HEAD.
 1.6.44.1  03-Sep-2007  skrll Sync with HEAD.
 1.6.38.1  03-Oct-2007  garbled Sync with HEAD
 1.6.30.1  09-Oct-2007  ad Sync with head.
 1.8.26.1  19-Oct-2008  haad Sync with HEAD.
 1.8.22.1  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.8.20.2  11-Aug-2010  yamt sync with head.
 1.8.20.1  04-May-2009  yamt sync with head.
 1.8.16.1  28-Sep-2008  mjf Sync with HEAD.
 1.9.16.1  03-Jul-2010  rmind sync with head
 1.9.14.1  17-Aug-2010  uebayasi Sync with HEAD.
 1.10.12.1  05-Apr-2012  mrg sync to latest -current.
 1.10.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.10.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.4.1  18-May-2014  rmind sync with head
 1.18.30.1  10-Jun-2019  christos Sync with HEAD
 1.18.28.1  26-Jan-2019  pgoyette Sync with HEAD

RSS XML Feed