From b982799a336b3450caaf030dbdb04da4df20e7e3 Mon Sep 17 00:00:00 2001
From: Jeremy Soller <jackpot51@gmail.com>
Date: Mon, 31 Oct 2016 18:04:28 -0600
Subject: [PATCH] Remove rd/wrfsbase

---
 x86_64/startup-x86_64.asm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/x86_64/startup-x86_64.asm b/x86_64/startup-x86_64.asm
index f3abdf9..6059331 100644
--- a/x86_64/startup-x86_64.asm
+++ b/x86_64/startup-x86_64.asm
@@ -26,9 +26,9 @@ startup_ap:
     mov edi, 0x70000
     mov cr3, edi
 
-    ;enable FSGSBASE, FXSAVE/FXRSTOR, Page Global, Page Address Extension, and Page Size Extension
+    ;enable FXSAVE/FXRSTOR, Page Global, Page Address Extension, and Page Size Extension
     mov eax, cr4
-    or eax, 1 << 16 | 1 << 9 | 1 << 7 | 1 << 5 | 1 << 4
+    or eax, 1 << 9 | 1 << 7 | 1 << 5 | 1 << 4
     mov cr4, eax
 
     ; load protected mode GDT
@@ -91,9 +91,9 @@ startup_arch:
     mov edi, 0x70000
     mov cr3, edi
 
-    ;enable FSGSBASE, FXSAVE/FXRSTOR, Page Global, Page Address Extension, and Page Size Extension
+    ;enable FXSAVE/FXRSTOR, Page Global, Page Address Extension, and Page Size Extension
     mov eax, cr4
-    or eax, 1 << 16 | 1 << 9 | 1 << 7 | 1 << 5 | 1 << 4
+    or eax, 1 << 9 | 1 << 7 | 1 << 5 | 1 << 4
     mov cr4, eax
 
     ; load protected mode GDT
-- 
GitLab