Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/param.h
Show First 20 Lines • Show All 52 Lines • ▼ Show 20 Lines | |||||
* head/en_US.ISO8859-1/books/porters-handbook/book.xml | * head/en_US.ISO8859-1/books/porters-handbook/book.xml | ||||
* | * | ||||
* scheme is: <major><two digit minor>Rxx | * scheme is: <major><two digit minor>Rxx | ||||
* 'R' is in the range 0 to 4 if this is a release branch or | * 'R' is in the range 0 to 4 if this is a release branch or | ||||
* x.0-CURRENT before RELENG_*_0 is created, otherwise 'R' is | * x.0-CURRENT before RELENG_*_0 is created, otherwise 'R' is | ||||
* in the range 5 to 9. | * in the range 5 to 9. | ||||
*/ | */ | ||||
#undef __FreeBSD_version | #undef __FreeBSD_version | ||||
#define __FreeBSD_version 1100038 /* Master, propagated to newvers */ | #define __FreeBSD_version 1100039 /* Master, propagated to newvers */ | ||||
/* | /* | ||||
* __FreeBSD_kernel__ indicates that this system uses the kernel of FreeBSD, | * __FreeBSD_kernel__ indicates that this system uses the kernel of FreeBSD, | ||||
* which by definition is always true on FreeBSD. This macro is also defined | * which by definition is always true on FreeBSD. This macro is also defined | ||||
* on other systems that use the kernel of FreeBSD, such as GNU/kFreeBSD. | * on other systems that use the kernel of FreeBSD, such as GNU/kFreeBSD. | ||||
* | * | ||||
* It is tempting to use this macro in userland code when we want to enable | * It is tempting to use this macro in userland code when we want to enable | ||||
* kernel-specific routines, and in fact it's fine to do this in code that | * kernel-specific routines, and in fact it's fine to do this in code that | ||||
* is part of FreeBSD itself. However, be aware that as presence of this | * is part of FreeBSD itself. However, be aware that as presence of this | ||||
* macro is still not widespread (e.g. older FreeBSD versions, 3rd party | * macro is still not widespread (e.g. older FreeBSD versions, 3rd party | ||||
* compilers, etc), it is STRONGLY DISCOURAGED to check for this macro in | * compilers, etc), it is STRONGLY DISCOURAGED to check for this macro in | ||||
* external applications without also checking for __FreeBSD__ as an | * external applications without also checking for __FreeBSD__ as an | ||||
* alternative. | * alternative. | ||||
*/ | */ | ||||
#undef __FreeBSD_kernel__ | #undef __FreeBSD_kernel__ | ||||
#define __FreeBSD_kernel__ | #define __FreeBSD_kernel__ | ||||
#ifdef _KERNEL | #ifdef _KERNEL | ||||
#define P_OSREL_SIGWAIT 700000 | #define P_OSREL_SIGWAIT 700000 | ||||
#define P_OSREL_SIGSEGV 700004 | #define P_OSREL_SIGSEGV 700004 | ||||
#define P_OSREL_MAP_ANON 800104 | #define P_OSREL_MAP_ANON 800104 | ||||
#define P_OSREL_MAP_FSTRICT 1100036 | #define P_OSREL_MAP_FSTRICT 1100036 | ||||
#define P_OSREL_MAP_RENAME 1100039 | |||||
#define P_OSREL_MAJOR(x) ((x) / 100000) | #define P_OSREL_MAJOR(x) ((x) / 100000) | ||||
#endif | #endif | ||||
#ifndef LOCORE | #ifndef LOCORE | ||||
#include <sys/types.h> | #include <sys/types.h> | ||||
#endif | #endif | ||||
▲ Show 20 Lines • Show All 257 Lines • Show Last 20 Lines |