Loading...
Searching...
No Matches
Go to the documentation of this file.
12#ifndef __PROCESSOR_BIND_H__
13#define __PROCESSOR_BIND_H__
27typedef signed char INT8;
32typedef unsigned char BOOLEAN;
36typedef unsigned char UINT8;
48typedef unsigned short UINT16;
53typedef unsigned short CHAR16;
61typedef unsigned int UINT32;
69typedef unsigned __int64 UINT64;
88#define MAX_BIT ((UINTN)((1ULL << (sizeof (INTN) * 8 - 1))))
93#define MAX_2_BITS ((UINTN)(3ULL << (sizeof (INTN) * 8 - 2)))
98#define MAX_ADDRESS ((UINTN)(~0ULL >> (64 - sizeof (INTN) * 8)))
103#define MAX_ALLOC_ADDRESS MAX_ADDRESS
108#define MAX_UINTN ((UINTN)(~0ULL >> (64 - sizeof (INTN) * 8)))
109#define MAX_INTN ((INTN)(~0ULL >> (65 - sizeof (INTN) * 8)))
114#define MIN_INTN (((INTN)-MAX_INTN) - 1)
119#define CPU_STACK_ALIGNMENT sizeof(UINTN)
124#define DEFAULT_PAGE_ALLOCATION_GRANULARITY (0x1000)
125#define RUNTIME_PAGE_ALLOCATION_GRANULARITY (0x1000)
149#define FUNCTION_ENTRY_POINT(FunctionPointer) (VOID *)(UINTN)(FunctionPointer)
151#ifndef __USER_LABEL_PREFIX__
152#define __USER_LABEL_PREFIX__