[SDK] Grab some missing 64bit addresses for arm64

This commit is contained in:
Justin Miller 2023-09-27 08:32:40 -07:00
parent 1b0b4ff729
commit 04ea1248da
2 changed files with 14 additions and 4 deletions

View file

@ -29,6 +29,8 @@ extern "C" {
#define IPI_PACKET_READY 6
#define IPI_SYNCH_REQUEST 16
#define KSEG0_BASE 0xfffff80000000000ULL
//
// PRCB Flags
//

View file

@ -5,17 +5,25 @@
#ifdef __cplusplus
extern "C" {
#endif
//
// Page-related Macros
//
#ifndef PAGE_SIZE
#define PAGE_SIZE 0x1000
#endif
#define PAGE_SHIFT 12L
#define MM_ALLOCATION_GRANULARITY 0x10000
#define MM_ALLOCATION_GRANULARITY_SHIFT 16L
#define MM_PAGE_FRAME_NUMBER_SIZE 20
#define MM_PAGE_FRAME_NUMBER_SIZE 52
//
// User space range limit
//
#define MI_HIGHEST_USER_ADDRESS (PVOID)0x000007FFFFFEFFFFULL
//
// Address of the shared user page
//
#define MM_SHARED_USER_DATA_VA 0x7FFE0000ULL
/* Following structs are based on WoA symbols */
typedef struct _HARDWARE_PTE