Merge pull request 'bug: vtop incorrect bitmask' (#36) from feature/vtop-fix into develop
continuous-integration/drone/push Build is passing

Reviewed-on: #36
Reviewed-by: Aaron Hance <[email protected]>
This commit was merged in pull request #36.
This commit is contained in:
t3hn3rd committed 2026-03-03 20:03:47 +00:00
commit 452203b7b4
1 file changed
+1 -1
+1 -1
View File
@@ -190,7 +190,7 @@ begin
push_trace('vmemorymanager.vtop'); push_trace('vmemorymanager.vtop');
idx:= address SHR 22; idx:= address SHR 22;
paddress:= uint32(KERNEL_PAGE_DIRECTORY^[idx].address) SHL 12; paddress:= uint32(KERNEL_PAGE_DIRECTORY^[idx].address) SHL 12;
loadd:= address AND $FFFFFF; loadd:= address AND $3FFFFF;
vtop:= paddress + loadd; vtop:= paddress + loadd;
pop_trace; pop_trace;
end; end;