18#ifndef __PROCESSOR_BIND_H__
19#define __PROCESSOR_BIND_H__
94#define MAX_BIT ((UINTN)((1ULL << (sizeof (INTN) * 8 - 1))))
99#define MAX_2_BITS ((UINTN)(3ULL << (sizeof (INTN) * 8 - 2)))
104#define MAX_ADDRESS ((UINTN)(~0ULL >> (64 - sizeof (INTN) * 8)))
109#define MAX_UINTN ((UINTN)(~0ULL >> (64 - sizeof (INTN) * 8)))
110#define MAX_INTN ((INTN)(~0ULL >> (65 - sizeof (INTN) * 8)))
115#define MIN_INTN (((INTN)-MAX_INTN) - 1)
120#define CPU_STACK_ALIGNMENT sizeof(UINTN)
125#define DEFAULT_PAGE_ALLOCATION_GRANULARITY (0x1000)
126#define RUNTIME_PAGE_ALLOCATION_GRANULARITY (0x1000)
150#define FUNCTION_ENTRY_POINT(FunctionPointer) (VOID *)(UINTN)(FunctionPointer)
152#ifndef __USER_LABEL_PREFIX__
153#define __USER_LABEL_PREFIX__
unsigned short UINT16
Definition ProcessorBind.h:104
unsigned char BOOLEAN
Definition ProcessorBind.h:107
char CHAR8
Definition ProcessorBind.h:109
UINT64 UINTN
Definition ProcessorBind.h:118
unsigned long long UINT64
Definition ProcessorBind.h:100
short INT16
Definition ProcessorBind.h:106
int INT32
Definition ProcessorBind.h:103
long long INT64
Definition ProcessorBind.h:101
unsigned short CHAR16
Definition ProcessorBind.h:105
signed char INT8
Definition ProcessorBind.h:110
INT64 INTN
Definition ProcessorBind.h:124
unsigned char UINT8
Definition ProcessorBind.h:108
unsigned int UINT32
Definition ProcessorBind.h:102