Prevent initialization of invisible memory ranges

This commit is contained in:
2026-03-25 15:03:33 +01:00
committed by CodingWorkshop Signing Team
parent 896803e248
commit e0e3482326
+4
View File
@@ -493,6 +493,10 @@ MM::Pfn::ProcessMemoryDescriptor(IN PFN_NUMBER BasePage,
LinkFreePage(CurrentPage);
}
}
else if(MM::Manager::VerifyMemoryTypeInvisible(MemoryType))
{
/* This memory range should never be used, skip it */
}
else
{
/* Handle all other (non-free) memory types */