x86_64: Set kernel entry to 1M to avoid EPT Violation

Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
This commit is contained in:
Brennan Ashton 2020-05-02 02:36:01 -07:00 committed by patacongo
parent a2f6dc9b7c
commit d4bf61c523

View File

@ -22,7 +22,7 @@ OUTPUT_ARCH(i386:x86-64)
ENTRY(__pmode_entry)
SECTIONS
{
. = 0x4M;
. = 0x1M;
_kernel_physical_start = .;
.loader.text : {