Move kernel to higher half.

Return to having the bootloader re-map the kernel into the higher
half before jumping into the kernel entrypoint, so we don't have
to juggle pointers inside the kernel.
This commit is contained in:
Justin C. Miller
2018-04-19 01:34:30 -07:00
parent a27b8d6a3a
commit 3b560c063a
7 changed files with 134 additions and 9 deletions

View File

@@ -1,7 +1,8 @@
ENTRY(_start)
SECTIONS
{
. = 0x100000;
OFFSET = 0xFFFF800000000000;
. = OFFSET + 0x100000;
.header : {
header = .;