From 0a58960a3fa553c66117dd1832fbfbb9cad7bd89 Mon Sep 17 00:00:00 2001
From: Jeremy Soller <jackpot51@gmail.com>
Date: Mon, 22 Aug 2016 19:56:35 -0600
Subject: [PATCH] Add arch context, WIP switching

---
 x86/startup-x86_64.asm | 2 --
 1 file changed, 2 deletions(-)

diff --git a/x86/startup-x86_64.asm b/x86/startup-x86_64.asm
index bd5a6db..95c01e2 100644
--- a/x86/startup-x86_64.asm
+++ b/x86/startup-x86_64.asm
@@ -103,8 +103,6 @@ startup_arch:
     or ebx, 1 << 31 | 1 << 16 | 1                ;Bit 31: Paging, Bit 16: write protect kernel, Bit 0: Protected Mode
     mov cr0, ebx
 
-    xchg bx, bx
-
     ; far jump to enable Long Mode and load CS with 64 bit segment
     jmp gdt.kernel_code:long_mode
 
-- 
GitLab