-
git-svn-id: https://spexeah.com:8443/svn/Asuro@138 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
1 parent
e573b5a57d
commit
797c0f66fc
11 files changed
+9
-9
No files matched your search
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user