git-svn-id: https://spexeah.com:8443/svn/Asuro@150 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
kieron
2017-05-20 19:20:29 +00:00
parent 8aeb0f6c29
commit f7384fa946
42 changed files with 3 additions and 3 deletions

View File

@ -77,10 +77,10 @@ begin
console.writehexln(mmap^.length);
console.writehexln(mmap^.mtype);
console.writestringln('');
if mmap^.mtype <> $01 then begin
set_memory_area_present(mmap^.base_addr, mmap^.length, False);
end else begin
if mmap^.mtype = $01 then begin
set_memory_area_present(mmap^.base_addr, mmap^.length, True);
end else begin
set_memory_area_present(mmap^.base_addr, mmap^.length, False);
end;
mmap:= Pmemory_map_t(uint32(mmap)+mmap^.size+sizeof(mmap^.size));
end;