fix VirtualToPhysicalCR3 when dealing with big pages

This commit is contained in:
Dark Byte 2019-03-11 16:58:33 +01:00
parent 4064f16e01
commit b2adbc8601

View File

@ -848,7 +848,7 @@ begin
begin
if (pagedirentry and (1 shl 7))>0 then //PS==1
begin
PhysicalAddress:=(pagedirentry and MAXPHYADDRMASKPB)+Offset;
PhysicalAddress:=(pagedirentry and MAXPHYADDRMASKPB)+VirtualAddress and $fffff;
exit(true);
end
else