-
git-svn-id: https://spexeah.com:8443/svn/Asuro@138 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
parent
e573b5a57d
commit
797c0f66fc
BIN
lib/console.o
BIN
lib/console.o
Binary file not shown.
BIN
lib/console.ppu
BIN
lib/console.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.
Binary file not shown.
@ -181,7 +181,7 @@ var
|
||||
|
||||
begin
|
||||
for c:=0 to 7 do begin
|
||||
Hex[c]:= 255;
|
||||
Hex[c]:= 0;
|
||||
end;
|
||||
c:=0;
|
||||
Res:= i;
|
||||
|
@ -54,9 +54,9 @@ begin
|
||||
console.writestring('4MiB Block Added @ ');
|
||||
console.writeword(i);
|
||||
console.writestring(' [');
|
||||
console.writeword(i SHL 22);
|
||||
console.writehex(i SHL 22);
|
||||
console.writestring(' - ');
|
||||
console.writeword(((i+1) SHL 22)-1);
|
||||
console.writehex(((i+1) SHL 22)-1);
|
||||
console.writestringln(']');
|
||||
exit;
|
||||
end;
|
||||
|
@ -85,7 +85,7 @@ begin
|
||||
exit;
|
||||
end else begin
|
||||
PageDirectory^[page_number].Present:= true;
|
||||
PageDirectory^[page_number].Address:= block SHL 4;
|
||||
PageDirectory^[page_number].Address:= block-1;
|
||||
PageDirectory^[page_number].PageSize:= true;
|
||||
PageDirectory^[page_number].Writable:= true;
|
||||
rldpd:= uint32(PageDirectory) - KERNEL_VIRTUAL_BASE;
|
||||
@ -97,18 +97,18 @@ begin
|
||||
console.writestringln('New Page Added:');
|
||||
|
||||
console.writestring('- P:');
|
||||
console.writeword(page_number);
|
||||
console.writehex(page_number);
|
||||
console.writestring('-->B:');
|
||||
console.writewordln(block);
|
||||
console.writehexln(block);
|
||||
|
||||
console.writestring('- P:[');
|
||||
console.writeword(page_number SHL 22);
|
||||
console.writestring(' - ');
|
||||
console.writeword(((page_number+1) SHL 22)-1);
|
||||
console.writehex(((page_number+1) SHL 22)-1);
|
||||
console.writestring(']-->B:[');
|
||||
console.writeword(block SHL 22);
|
||||
console.writehex(block SHL 22);
|
||||
console.writestring(' - ');
|
||||
console.writeword(((block+1) SHL 22)-1);
|
||||
console.writehex(((block+1) SHL 22)-1);
|
||||
console.writestringln(']');
|
||||
end;
|
||||
end;
|
||||
|
Loading…
x
Reference in New Issue
Block a user