git-svn-id: https://spexeah.com:8443/svn/Asuro@140 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
kieron
2017-05-20 14:08:57 +00:00
parent c5fc5e6fb4
commit b2a11da422
7 changed files with 8 additions and 8 deletions
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
+8 -8
View File
@@ -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;