projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cde2dc6
)
[NTOSKRNL]
author
Amine Khaldi
<amine.khaldi@reactos.org>
Sat, 22 May 2010 14:24:06 +0000
(14:24 +0000)
committer
Amine Khaldi
<amine.khaldi@reactos.org>
Sat, 22 May 2010 14:24:06 +0000
(14:24 +0000)
- Use MiGetPdeOffset macro instead of ADDR_TO_PDE_OFFSET.
svn path=/branches/header-work/; revision=47303
ntoskrnl/mm/ARM3/mminit.c
patch
|
blob
|
history
diff --git
a/ntoskrnl/mm/ARM3/mminit.c
b/ntoskrnl/mm/ARM3/mminit.c
index
25c37dc
..
63be4f6
100644
(file)
--- a/
ntoskrnl/mm/ARM3/mminit.c
+++ b/
ntoskrnl/mm/ARM3/mminit.c
@@
-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? */