summaryrefslogtreecommitdiff
path: root/src/arch/amd64/shim.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/amd64/shim.c')
-rw-r--r--src/arch/amd64/shim.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/arch/amd64/shim.c b/src/arch/amd64/shim.c
index 1e73525..cb0b1d5 100644
--- a/src/arch/amd64/shim.c
+++ b/src/arch/amd64/shim.c
@@ -57,7 +57,8 @@ static int get_maxphysaddr() {
__cpuid(0x80000008, eax, ebx, ecx, edx);
return eax & 0xFF;
}
-
+#define PREFERRED_VY 4096
+#define PREFERRED_B 32
// entry point for amd64
void* amd64_shim(void *boot_info) {
struct pml4e *pml4 = (struct pml4e *)0x1000;