mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 19:26:05 +00:00
[NTOSKRNL]
- Use MiGetPdeOffset macro instead of ADDR_TO_PDE_OFFSET. svn path=/branches/header-work/; revision=47303
This commit is contained in:
@@ -1202,7 +1202,7 @@ MiAddHalIoMappings(VOID)
|
||||
|
||||
/* Check how many PDEs the heap has */
|
||||
PointerPde = MiAddressToPde(BaseAddress);
|
||||
PdeCount = PDE_COUNT - ADDR_TO_PDE_OFFSET(BaseAddress);
|
||||
PdeCount = PDE_COUNT - MiGetPdeOffset(BaseAddress);
|
||||
for (i = 0; i < PdeCount; i++)
|
||||
{
|
||||
/* Does the HAL own this mapping? */
|
||||
|
||||
Reference in New Issue
Block a user