summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlmuHS <almuhs@github.com>2019-05-20 17:39:44 +0200
committerAlmuHS <almuhs@github.com>2019-05-20 17:40:03 +0200
commit91a320b2c5cf7cf5332a70e00e0f3de5c59ad48e (patch)
treecb3c93125348b0c6a69b98d8e3bda1f28808e7b6
parent6e3eeaf99388c62dd8c4d6203e1de79cc12fd730 (diff)
fix: fixed error in test pae jump
-rw-r--r--i386/i386/cpuboot.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/i386/i386/cpuboot.S b/i386/i386/cpuboot.S
index 35ef2e92..0157ae1f 100644
--- a/i386/i386/cpuboot.S
+++ b/i386/i386/cpuboot.S
@@ -100,8 +100,8 @@ _apboot:
//if (!CPU_HAS_FEATURE(CPU_FEATURE_PAE))
mov cpu_features, %eax
test $(1<<CPU_FEATURE_PAE), %eax
- jz setpae
- jnz nopae
+ jnz setpae
+ jz nopae
setpae:
movl %cr4, %eax