aboutsummaryrefslogtreecommitdiff
path: root/sys/x86/include/_stdint.h
Commit message (Collapse)AuthorAgeFilesLines
* sys/x86: further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-271-0/+2
| | | | | | | | | | | | | | | Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Notes: svn path=/head/; revision=326263
* Add missing dependency on <machine/_limits.h>.Ed Schouten2016-05-311-2/+4
| | | | | | | | | | | | | | In r227474, this header file was changed to define SIG_ATOMIC_{MIN,MAX} in terms of LONG_{MIN,MAX}. Unlike all of the definitions in this header file, LONG_{MIN,MAX} is provided by <limits.h>. Remove the dependency on <limits.h> by using __LONG_{MIN,MAX} instead and including <machine/_limits.h>. This change is needed to make SIG_ATOMIC_{MIN,MAX} work without including any other header files. Notes: svn path=/head/; revision=301030
* Make the wchar_t type machine dependent.Andrew Turner2012-06-241-6/+0
| | | | | | | | | | | | | | | | | This is required for ARM EABI. Section 7.1.1 of the Procedure Call for the ARM Architecture (AAPCS) defines wchar_t as either an unsigned int or an unsigned short with the former preferred. Because of this requirement we need to move the definition of __wchar_t to a machine dependent header. It also cleans up the macros defining the limits of wchar_t by defining __WCHAR_MIN and __WCHAR_MAX in the same machine dependent header then using them to define WCHAR_MIN and WCHAR_MAX respectively. Discussed with: bde Notes: svn path=/head/; revision=237517
* Consitently use "__LP64__".David E. O'Brien2012-05-241-4/+4
| | | | | | | | [there are 33 __LP64__'s in the kernel (minus cddl/ and contrib/), and 11 _LP64's] Notes: svn path=/head/; revision=235939
* Do not use INT64_C and UINT64_C to define 64 bit integer limits. TheyTijl Coosemans2012-03-041-6/+10
| | | | | | | | | aren't defined for C++ code unless __STDC_CONSTANT_MACROS is defined. Reported by: jhb Notes: svn path=/head/; revision=232519
* Copy amd64 _stdint.h to x86 and merge with i386 _stdint.h. ReplaceTijl Coosemans2012-02-281-0/+191
amd64/i386/pc98 _stdint.h with stubs. Notes: svn path=/head/; revision=232264