Move the kernel to high memory

This commit is contained in:
2017-11-17 19:49:42 +01:00
parent 8f8e03de10
commit 663668ff93
4 changed files with 31 additions and 11 deletions

View File

@@ -1,4 +1,6 @@
#pragma once
#define KERNEL_OFFSET 0xFFFFFF8000000000
#define V2P(a) ((a) - KERNEL_OFFSET)
#define PAGE_PRESENT 0x001
#define PAGE_WRITE 0x002