aboutsummaryrefslogtreecommitdiff
path: root/kernel/paging-as.S
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/paging-as.S')
-rw-r--r--kernel/paging-as.S9
1 files changed, 0 insertions, 9 deletions
diff --git a/kernel/paging-as.S b/kernel/paging-as.S
deleted file mode 100644
index cafaab4..0000000
--- a/kernel/paging-as.S
+++ /dev/null
@@ -1,9 +0,0 @@
- .global do_paging_enable
-do_paging_enable:
- movl 4(%esp), %eax # loads page directory address
- mov %eax, %cr3
- mov %cr0, %eax
- orl $0x80000000, %eax # set PG bit
- sti
- mov %eax, %cr0
- ret