Add pages related macros and definitions
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
2023-02-13 23:01:20 +01:00
parent 050f24f877
commit 2e790bd9b2
3 changed files with 20 additions and 1 deletions

View File

@@ -12,6 +12,11 @@
#include <xtbase.h>
/* Pages related definitions */
#define MM_PAGE_MASK 0xFFF
#define MM_PAGE_SHIFT 12
#define MM_PAGE_SIZE 4096
/* Page Table entry structure definition (with PAE support) */
typedef struct _HARDWARE_PTE
{