diff options
Diffstat (limited to 'src/kernel/arch/generic.h')
-rw-r--r-- | src/kernel/arch/generic.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kernel/arch/generic.h b/src/kernel/arch/generic.h index 22efe58..7ce3d46 100644 --- a/src/kernel/arch/generic.h +++ b/src/kernel/arch/generic.h @@ -6,6 +6,7 @@ // i have no idea where else to put it // some code assumes that it's a power of 2 #define PAGE_SIZE 4096 +#define PAGE_MASK (PAGE_SIZE - 1) // linker.ld extern char _bss_end; |