summaryrefslogtreecommitdiff
path: root/entry.S
diff options
context:
space:
mode:
Diffstat (limited to 'entry.S')
-rw-r--r--entry.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/entry.S b/entry.S
index cf45bf3..d228e88 100644
--- a/entry.S
+++ b/entry.S
@@ -44,11 +44,11 @@ entry:
orl $(CR4_PSE), %eax
movl %eax, %cr4
# Set page directory
- movl $(V2P_WO(enterpgdir)), %eax
+ movl $(V2P_WO(entrypgdir)), %eax
movl %eax, %cr3
# Turn on paging.
movl %cr0, %eax
- orl $(CR0_PE|CR0_PG|CR0_WP), %eax
+ orl $(CR0_PG|CR0_WP), %eax
movl %eax, %cr0
# now switch to using addresses above KERNBASE