Prevent initialization of invisible memory ranges
This commit is contained in:
@@ -493,6 +493,10 @@ MM::Pfn::ProcessMemoryDescriptor(IN PFN_NUMBER BasePage,
|
|||||||
LinkFreePage(CurrentPage);
|
LinkFreePage(CurrentPage);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if(MM::Manager::VerifyMemoryTypeInvisible(MemoryType))
|
||||||
|
{
|
||||||
|
/* This memory range should never be used, skip it */
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* Handle all other (non-free) memory types */
|
/* Handle all other (non-free) memory types */
|
||||||
|
|||||||
Reference in New Issue
Block a user