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)
116typedef unsigned __int64 UINT64;
120typedef __int64 INT64;
124typedef unsigned __int32 UINT32;
128typedef __int32 INT32;
132typedef unsigned short UINT16;
137typedef unsigned short CHAR16;
146typedef unsigned char BOOLEAN;
150typedef unsigned char UINT8;
158typedef signed char INT8;
163typedef unsigned long long UINT64;
167typedef long long INT64;
171typedef unsigned int UINT32;
179typedef unsigned short UINT16;
184typedef unsigned short CHAR16;
193typedef unsigned char BOOLEAN;
197typedef unsigned char UINT8;
205typedef signed char INT8;
226#define MAX_BIT 0x80000000
230#define MAX_2_BITS 0xC0000000
235#define MAX_ADDRESS 0xFFFFFFFF
240#define MAX_ALLOC_ADDRESS MAX_ADDRESS
245#define MAX_INTN ((INTN)0x7FFFFFFF)
246#define MAX_UINTN ((UINTN)0xFFFFFFFF)
251#define MIN_INTN (((INTN)-2147483647) - 1)
256#define CPU_STACK_ALIGNMENT sizeof(UINTN)
261#define DEFAULT_PAGE_ALLOCATION_GRANULARITY (0x1000)
262#define RUNTIME_PAGE_ALLOCATION_GRANULARITY (0x1000)
273#elif defined (_MSC_EXTENSIONS)
277#define EFIAPI __cdecl
278#elif defined (__GNUC__) || defined (__clang__)
282#define EFIAPI __attribute__((cdecl))
291#if defined (__GNUC__) || defined (__clang__)
296#define ASM_GLOBAL .globl
309#define FUNCTION_ENTRY_POINT(FunctionPointer) (VOID *)(UINTN)(FunctionPointer)
311#ifndef __USER_LABEL_PREFIX__
312#define __USER_LABEL_PREFIX__ _