diff --git a/Asuro.iso b/Asuro.iso index 396db454..28eea370 100644 Binary files a/Asuro.iso and b/Asuro.iso differ diff --git a/lib/kernel.ppu b/lib/kernel.ppu index 9473159f..264300a6 100644 Binary files a/lib/kernel.ppu and b/lib/kernel.ppu differ diff --git a/lib/libpconsole.a b/lib/libpconsole.a index cf436c51..5b65e72f 100644 Binary files a/lib/libpconsole.a and b/lib/libpconsole.a differ diff --git a/lib/libpmultiboot.a b/lib/libpmultiboot.a index fa7bef0e..734bf694 100644 Binary files a/lib/libpmultiboot.a and b/lib/libpmultiboot.a differ diff --git a/lib/libpsystem.a b/lib/libpsystem.a index 3100e1aa..27b82fc1 100644 Binary files a/lib/libpsystem.a and b/lib/libpsystem.a differ diff --git a/lib/vmemorymanager.ppu b/lib/vmemorymanager.ppu index f10dc57b..7b151585 100644 Binary files a/lib/vmemorymanager.ppu and b/lib/vmemorymanager.ppu differ diff --git a/src/vmemorymanager.pas b/src/vmemorymanager.pas index a2af56ea..897abb59 100644 --- a/src/vmemorymanager.pas +++ b/src/vmemorymanager.pas @@ -57,15 +57,15 @@ var begin console.writestringln('VMM: INIT BEGIN.'); PageDirectory:= load_current_page_directory; - PageDirectory^[KERNEL_VIRTUAL_BASE + 1].Present:= True; - PageDirectory^[KERNEL_VIRTUAL_BASE + 1].PageSize:= True; - PageDirectory^[KERNEL_VIRTUAL_BASE + 1].Writable:= True; - PageDirectory^[KERNEL_VIRTUAL_BASE + 1].Address:= (1 SHL 22); + PageDirectory^[KERNEL_PAGE_NUMBER + 1].Present:= True; + PageDirectory^[KERNEL_PAGE_NUMBER + 1].PageSize:= True; + PageDirectory^[KERNEL_PAGE_NUMBER + 1].Writable:= True; + PageDirectory^[KERNEL_PAGE_NUMBER + 1].Address:= (1 SHL 22); - PageDirectory^[KERNEL_VIRTUAL_BASE + 2].Present:= True; - PageDirectory^[KERNEL_VIRTUAL_BASE + 2].PageSize:= True; - PageDirectory^[KERNEL_VIRTUAL_BASE + 2].Writable:= True; - PageDirectory^[KERNEL_VIRTUAL_BASE + 2].Address:= (2 SHL 22); + PageDirectory^[KERNEL_PAGE_NUMBER + 2].Present:= True; + PageDirectory^[KERNEL_PAGE_NUMBER + 2].PageSize:= True; + PageDirectory^[KERNEL_PAGE_NUMBER + 2].Writable:= True; + PageDirectory^[KERNEL_PAGE_NUMBER + 2].Address:= (2 SHL 22); console.writestringln('VMM: INIT END.'); end;