From 5a4db78897063e5b09a676b02fec3ba4a2965921 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Fri, 25 Oct 2019 23:26:29 +0200 Subject: Rewrite of paging and alloc functions Still not working though :/ --- src/kernel/boot.asm | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src/kernel/boot.asm') 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" -- cgit v1.2.3