summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorHanhui <hanhui@acoinfo.com>2021-07-15 08:44:32 (GMT)
committer Hanhui <hanhui@acoinfo.com>2021-07-15 08:44:32 (GMT)
commit5fd9d4140b9dca60d95ef1249c4f562a5541ce8e (patch)
treeb8437ea58c719cc05d87f45ba1a4e736df1b51ec
parentc323a2a575efce11b93ab593b1e9be3cdddc7962 (diff)
downloadlibsylixos-5fd9d4140b9dca60d95ef1249c4f562a5541ce8e.zip
libsylixos-5fd9d4140b9dca60d95ef1249c4f562a5541ce8e.tar.gz
libsylixos-5fd9d4140b9dca60d95ef1249c4f562a5541ce8e.tar.bz2
Fixed continuously physical page flags changed bug.
-rw-r--r--SylixOS/kernel/vmm/phyPage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/SylixOS/kernel/vmm/phyPage.c b/SylixOS/kernel/vmm/phyPage.c
index a61e64d..dbe0b8f 100644
--- a/SylixOS/kernel/vmm/phyPage.c
+++ b/SylixOS/kernel/vmm/phyPage.c
@@ -434,7 +434,7 @@ VOID __vmmPhysicalPageFreeAll (PLW_VMM_PAGE pvmpageVirtual)
VOID __vmmPhysicalPageSetFlag (PLW_VMM_PAGE pvmpage, ULONG ulFlag, BOOL bFlushTlb)
{
if (pvmpage->PAGE_ulMapPageAddr != PAGE_MAP_ADDR_INV) {
- __vmmLibSetFlag(pvmpage->PAGE_ulMapPageAddr, 1, ulFlag, bFlushTlb);
+ __vmmLibSetFlag(pvmpage->PAGE_ulMapPageAddr, pvmpage->PAGE_ulCount, ulFlag, bFlushTlb);
pvmpage->PAGE_ulFlags = ulFlag;
}
}