summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlmuHS <almuhs@github.com>2019-05-20 16:28:38 +0200
committerAlmuHS <almuhs@github.com>2019-05-20 16:28:38 +0200
commitf533f44f599e86da8e3b6d8dec8863b8a17b1dbd (patch)
tree2c17744a8e7b7aa1d80954a4f08fa62212e4a41f
parent5505a49d8f0479de6309f86a8a4448d4afafd67e (diff)
fix: fixed cr0 initialize
-rw-r--r--i386/i386/cpuboot.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/i386/i386/cpuboot.S b/i386/i386/cpuboot.S
index f074654f..d50d2dc5 100644
--- a/i386/i386/cpuboot.S
+++ b/i386/i386/cpuboot.S
@@ -132,7 +132,7 @@ nopae:
movl $CR0_CD, %edx
orl $CR0_NW, %edx
not %edx
- mov %edx, %eax
+ andl %edx, %eax
movl %eax, %cr0