Parameterize maximum allocation address in hardware pool and scan memory descriptors in reverse
All checks were successful
All checks were successful
This commit is contained in:
@@ -298,7 +298,7 @@ MM::Manager::MapKernelSharedData(VOID)
|
||||
XTSTATUS Status;
|
||||
|
||||
/* Allocate one physical page from the hardware pool for the shared data */
|
||||
Status = MM::HardwarePool::AllocateHardwareMemory(1, FALSE, &PhysAddr);
|
||||
Status = MM::HardwarePool::AllocateHardwareMemory(1, FALSE, MM_MAXIMUM_PHYSICAL_ADDRESS, &PhysAddr);
|
||||
if(Status != STATUS_SUCCESS)
|
||||
{
|
||||
/* Memory allocation failed, return error code */
|
||||
|
||||
Reference in New Issue
Block a user