Virtualizing memory after exiting boot services

This commit is contained in:
Justin C. Miller
2018-03-22 19:16:44 -07:00
parent b5c579fe0d
commit cdef82f06f
6 changed files with 86 additions and 35 deletions

View File

@@ -1,6 +1,18 @@
#pragma once
#include <efi.h>
#ifndef KERNEL_PHYS_ADDRESS
#define KERNEL_PHYS_ADDRESS 0x0000000000100000
#endif
#ifndef KERNEL_VIRT_ADDRESS
#define KERNEL_VIRT_ADDRESS 0x7fff000000000000
#endif
#ifndef KERNEL_MEMTYPE
#define KERNEL_MEMTYPE 0xffffffff
#endif
#ifndef KERNEL_FILENAME
#define KERNEL_FILENAME L"kernel.bin"
#endif