mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
[NTOSKRNL]
- Use MiGetPdeOffset macro instead of ADDR_TO_PDE_OFFSET. svn path=/branches/header-work/; revision=47303
This commit is contained in:
parent
cde2dc6dc4
commit
19ed67279d
1 changed files with 1 additions and 1 deletions
|
@ -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? */
|
||||
|
|
Loading…
Reference in a new issue