:D
git-svn-id: https://spexeah.com:8443/svn/Asuro@154 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
parent
edd3f968f0
commit
5d9f613f3e
Binary file not shown.
Binary file not shown.
BIN
lib/libpsystem.a
BIN
lib/libpsystem.a
Binary file not shown.
@ -30,12 +30,12 @@ var
|
|||||||
i : uint32;
|
i : uint32;
|
||||||
|
|
||||||
begin
|
begin
|
||||||
console.writestringln('VMM: INIT BEGIN.');
|
console.writestringln('LMM: INIT BEGIN.');
|
||||||
For i:=0 to MAX_ENTRIES-1 do begin
|
For i:=0 to MAX_ENTRIES-1 do begin
|
||||||
Memory_Manager[i].Present:= False;
|
Memory_Manager[i].Present:= False;
|
||||||
end;
|
end;
|
||||||
Memory_Start:= uint32(@util.endptr);
|
Memory_Start:= uint32(@util.endptr);
|
||||||
console.writestringln('VMM: INIT END.');
|
console.writestringln('LMM: INIT END.');
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function kalloc(size : uint32) : void;
|
function kalloc(size : uint32) : void;
|
||||||
|
@ -73,10 +73,6 @@ begin
|
|||||||
PhysicalMemory[i].MappedTo:= 0;
|
PhysicalMemory[i].MappedTo:= 0;
|
||||||
end;
|
end;
|
||||||
while uint32(mmap) < (address + length) do begin
|
while uint32(mmap) < (address + length) do begin
|
||||||
console.writehexln(mmap^.base_addr);
|
|
||||||
console.writehexln(mmap^.length);
|
|
||||||
console.writehexln(mmap^.mtype);
|
|
||||||
console.writestringln('');
|
|
||||||
if mmap^.mtype = $01 then begin
|
if mmap^.mtype = $01 then begin
|
||||||
set_memory_area_present(mmap^.base_addr, mmap^.length, True);
|
set_memory_area_present(mmap^.base_addr, mmap^.length, True);
|
||||||
end else begin
|
end else begin
|
||||||
|
Loading…
x
Reference in New Issue
Block a user