Loading...
Searching...
No Matches
Go to the documentation of this file.
9#ifndef __PROCESSOR_BIND_H__
10#define __PROCESSOR_BIND_H__
20#if !defined (__GNUC__)
24#if defined (__INTEL_COMPILER)
29 #pragma warning ( disable : 869 )
35 #pragma warning ( disable : 1418 )
41 #pragma warning ( disable : 1419 )
47 #pragma warning ( disable : 593 )
51#if defined (_MSC_EXTENSIONS)
61 #pragma warning ( disable : 4214 )
66 #pragma warning ( disable : 4100 )
72 #pragma warning ( disable : 4057 )
77 #pragma warning ( disable : 4127 )
82 #pragma warning ( disable : 4505 )
87 #pragma warning ( disable : 4206 )
89 #if defined (_MSC_VER) && _MSC_VER >= 1800
95 #pragma warning ( disable : 4701 )
101 #pragma warning ( disable : 4703 )
107#if defined (_MSC_EXTENSIONS)
115typedef unsigned __int64 UINT64;
119typedef __int64 INT64;
123typedef unsigned __int32 UINT32;
127typedef __int32 INT32;
131typedef unsigned short UINT16;
136typedef unsigned short CHAR16;
145typedef unsigned char BOOLEAN;
149typedef unsigned char UINT8;
157typedef signed char INT8;
162typedef unsigned long long UINT64;
166typedef long long INT64;
170typedef unsigned int UINT32;
178typedef unsigned short UINT16;
183typedef unsigned short CHAR16;
192typedef unsigned char BOOLEAN;
196typedef unsigned char UINT8;
204typedef signed char INT8;
225#define MAX_BIT 0x8000000000000000ULL
229#define MAX_2_BITS 0xC000000000000000ULL
234#define MAX_ADDRESS 0xFFFFFFFFFFFFFFFFULL
239#define MAX_ALLOC_ADDRESS MAX_ADDRESS
244#define MAX_INTN ((INTN)0x7FFFFFFFFFFFFFFFULL)
245#define MAX_UINTN ((UINTN)0xFFFFFFFFFFFFFFFFULL)
250#define MIN_INTN (((INTN)-9223372036854775807LL) - 1)
255#define CPU_STACK_ALIGNMENT 16
260#define DEFAULT_PAGE_ALLOCATION_GRANULARITY (0x1000)
261#define RUNTIME_PAGE_ALLOCATION_GRANULARITY (0x1000)
272#elif defined (_MSC_EXTENSIONS)
276#define EFIAPI __cdecl
277#elif defined (__GNUC__)
295#if defined (__GNUC__) || defined (__clang__)
300#define ASM_GLOBAL .globl
313#define FUNCTION_ENTRY_POINT(FunctionPointer) (VOID *)(UINTN)(FunctionPointer)
315#ifndef __USER_LABEL_PREFIX__
316#define __USER_LABEL_PREFIX__