d
git-svn-id: https://spexeah.com:8443/svn/Asuro@136 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
parent
061950ad80
commit
8424e2cf81
Binary file not shown.
Binary file not shown.
BIN
lib/libpsystem.a
BIN
lib/libpsystem.a
Binary file not shown.
Binary file not shown.
2
run.sh
2
run.sh
@ -12,7 +12,7 @@ then
|
|||||||
sleep 1
|
sleep 1
|
||||||
gdb -ex "target remote localhost:1234"
|
gdb -ex "target remote localhost:1234"
|
||||||
else
|
else
|
||||||
qemu-system-i386 -cdrom Asuro.iso
|
qemu-system-i386 -monitor stdio -cdrom Asuro.iso
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $? -ne 0 ]
|
if [ $? -ne 0 ]
|
||||||
|
@ -88,11 +88,11 @@ begin
|
|||||||
PageDirectory^[page_number].Address:= block;
|
PageDirectory^[page_number].Address:= block;
|
||||||
PageDirectory^[page_number].PageSize:= true;
|
PageDirectory^[page_number].PageSize:= true;
|
||||||
PageDirectory^[page_number].Writable:= true;
|
PageDirectory^[page_number].Writable:= 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