aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/boot.asm
diff options
context:
space:
mode:
authorMarvin Borner2019-10-25 23:26:29 +0200
committerMarvin Borner2019-10-25 23:26:29 +0200
commit5a4db78897063e5b09a676b02fec3ba4a2965921 (patch)
treeba9e1bf1ebc31ba3b541fd3936655c7a70e8ef61 /src/kernel/boot.asm
parentd97071a061df629fa8ee7a29cc7c0b23ac304506 (diff)
Rewrite of paging and alloc functions
Still not working though :/
Diffstat (limited to 'src/kernel/boot.asm')
-rw-r--r--src/kernel/boot.asm15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/kernel/boot.asm b/src/kernel/boot.asm
index b628018..e3d469c 100644
--- a/src/kernel/boot.asm
+++ b/src/kernel/boot.asm
@@ -41,21 +41,6 @@ stublet:
call kernel_main
jmp $
-[global copy_page_physical]
-copy_page_physical:
- push ebx
- pushf
- cli
- mov ebx, [esp+12]
- mov ecx, [esp+16]
-
- ; Disable paging
- mov edx, cr0
- and edx, 0x7fffffff
- mov cr0, edx
-
- mov edx, 0x400
-
%include "src/kernel/gdt/gdt.asm"
%include "src/kernel/interrupts/idt.asm"