dff
git-svn-id: https://spexeah.com:8443/svn/Asuro@127 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
parent
2788d81f7c
commit
e68c1f686c
BIN
bin/kernel.bin
BIN
bin/kernel.bin
Binary file not shown.
Binary file not shown.
BIN
lib/kernel.ppu
BIN
lib/kernel.ppu
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
lib/libpsystem.a
BIN
lib/libpsystem.a
Binary file not shown.
Binary file not shown.
@ -54,8 +54,8 @@ begin
|
|||||||
pmemorymanager.init();
|
pmemorymanager.init();
|
||||||
vmemorymanager.init();
|
vmemorymanager.init();
|
||||||
|
|
||||||
vmemorymanager.new_page(0);
|
vmemorymanager.new_page(1);
|
||||||
pint:= puint32(0);
|
pint:= puint32(1 SHL 22);
|
||||||
console.writestringln('Writing 1234 to Logical Address $00000000');
|
console.writestringln('Writing 1234 to Logical Address $00000000');
|
||||||
pint^:= 1234;
|
pint^:= 1234;
|
||||||
if pint^ = 1234 then console.writestringln('Read 1234 back from Logical Address $00000000!!!');
|
if pint^ = 1234 then console.writestringln('Read 1234 back from Logical Address $00000000!!!');
|
||||||
|
@ -78,11 +78,11 @@ begin
|
|||||||
PageDirectory^[page_number].Present:= true;
|
PageDirectory^[page_number].Present:= true;
|
||||||
PageDirectory^[page_number].Address:= block;
|
PageDirectory^[page_number].Address:= block;
|
||||||
PageDirectory^[page_number].PageSize:= true;
|
PageDirectory^[page_number].PageSize:= true;
|
||||||
rldpd:= uint32(PageDirectory) - KERNEL_VIRTUAL_BASE;
|
// rldpd:= uint32(PageDirectory) - KERNEL_VIRTUAL_BASE;
|
||||||
asm
|
// asm
|
||||||
mov eax, rldpd
|
// mov eax, rldpd
|
||||||
mov CR3, eax
|
// mov CR3, eax
|
||||||
end;
|
// end;
|
||||||
new_page:= true;
|
new_page:= true;
|
||||||
console.writestringln('New Page Added:');
|
console.writestringln('New Page Added:');
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user