Move the kernel to high memory

This commit is contained in:
thomas committed 2018-03-20 14:10:03 +01:00
1 parent 8f8e03de10
commit 663668ff93
4 files changed
+31 -11

No files matched your search

+2
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