10 #ifndef __PROCESSOR_BIND_H__ 11 #define __PROCESSOR_BIND_H__ 23 #if !defined (__GNUC__) && !defined (__ASSEMBLER__) 27 #if defined (_MSC_EXTENSIONS) 36 #pragma warning ( disable : 4214 ) 41 #pragma warning ( disable : 4100 ) 47 #pragma warning ( disable : 4057 ) 52 #pragma warning ( disable : 4127 ) 57 #pragma warning ( disable : 4505 ) 62 #pragma warning ( disable : 4206 ) 67 #pragma warning ( disable : 4701 ) 72 #pragma warning ( disable : 4703 ) 79 #if defined (_MSC_EXTENSIONS) 83 #if defined (_MSC_EXTENSIONS) 87 typedef unsigned __int64
UINT64;
88 typedef __int64
INT64;
89 typedef unsigned __int32
UINT32;
90 typedef __int32
INT32;
91 typedef unsigned short UINT16;
92 typedef unsigned short CHAR16;
95 typedef unsigned char UINT8;
97 typedef signed char INT8;
135 #define MAX_BIT 0x80000000 140 #define MAX_2_BITS 0xC0000000 145 #define MAX_ADDRESS 0xFFFFFFFF 150 #define MAX_ALLOC_ADDRESS MAX_ADDRESS 155 #define MAX_INTN ((INTN)0x7FFFFFFF) 156 #define MAX_UINTN ((UINTN)0xFFFFFFFF) 161 #define MIN_INTN (((INTN)-2147483647) - 1) 166 #define CPU_STACK_ALIGNMENT sizeof(UINT64) 171 #define DEFAULT_PAGE_ALLOCATION_GRANULARITY (0x1000) 172 #define RUNTIME_PAGE_ALLOCATION_GRANULARITY (0x1000) 183 #if defined (__GNUC__) || defined (__clang__) 188 #define ASM_GLOBAL .globl 190 #if !defined (__APPLE__) 196 #define INTERWORK_FUNC(func__) .type ASM_PFX(func__), %function 198 #define GCC_ASM_EXPORT(func__) \ 199 .global _CONCATENATE (__USER_LABEL_PREFIX__, func__) ;\ 200 .type ASM_PFX(func__), %function 202 #define GCC_ASM_IMPORT(func__) \ 203 .extern _CONCATENATE (__USER_LABEL_PREFIX__, func__) 209 #define INTERWORK_FUNC(func__) 211 #define GCC_ASM_EXPORT(func__) \ 212 .globl _CONCATENATE (__USER_LABEL_PREFIX__, func__) \ 214 #define GCC_ASM_IMPORT(name) 217 #elif defined (_MSC_EXTENSIONS) 234 #define FUNCTION_ENTRY_POINT(FunctionPointer) (VOID *)(UINTN)(FunctionPointer) 236 #ifndef __USER_LABEL_PREFIX__ 237 #define __USER_LABEL_PREFIX__
INT64 INTN
Signed value of native width.
UINT64 UINTN
Unsigned value of native width.
unsigned long long UINT64
FILE_LICENCE(BSD2_PATENT)