From c9c17ca1c67b8e682626bc037c6ca4e476b8c123 Mon Sep 17 00:00:00 2001
From: Jeremy Soller <jackpot51@gmail.com>
Date: Wed, 14 Sep 2016 20:47:55 -0600
Subject: [PATCH] Higher-half kernel mapping. Unmap where possible, freeing up
 lower memory

---
 x86_64/startup-x86_64.asm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/x86_64/startup-x86_64.asm b/x86_64/startup-x86_64.asm
index 9cb683b..d5a0a79 100644
--- a/x86_64/startup-x86_64.asm
+++ b/x86_64/startup-x86_64.asm
@@ -126,6 +126,7 @@ long_mode:
 
     ;rust init
     mov rax, [kernel_base + 0x18]
+    xchg bx, bx
     jmp rax
 
 long_mode_ap:
-- 
GitLab