fix: change the pte to use a bitmask operation (still crashes but later)

This commit is contained in:
2024-10-18 15:38:36 +02:00
parent 7128f2640a
commit 55037b75fa
4 changed files with 9 additions and 8 deletions

View File

@ -8,6 +8,7 @@
#define ACCESSED (1 << 4)
#define INIT_FLAGS (PRESENT | RW | SUPERVISOR)
#define PAGE_SIZE 4096
#define PAGE_MASK 0xFFFFF000
#define HEAP_END 0xC0000000
void init_memory(void);