ptos: mm: Properly convert pfd to physical in PM

Signed-off-by: Chloe M <chloe@mensia.org>
This commit is contained in:
2026-07-11 20:15:16 -04:00
parent 14afdcf62e
commit 072253dc34
+1 -1
View File
@@ -221,7 +221,7 @@ MmRequestFrame(VOID)
Pfd = PmPfdListPop(&AvlList);
RtlMemSet(Pfd, 0, PAGESIZE);
PhysicalBase = (UPTR)Pfd;
PhysicalBase = VMA_TO_PMA(Pfd);
return ADDRESS_TO_PFN(PhysicalBase);
}