mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 21:53:06 +00:00
[MM]
- Fix calculation of MemoryArea size for the Page tables - Fix debug output for page table and hyperspace addresses svn path=/branches/ros-amd64-bringup/; revision=44321
This commit is contained in:
parent
43eaa8106d
commit
8a4f13825c
1 changed files with 4 additions and 4 deletions
|
@ -84,7 +84,7 @@ MiInitSystemMemoryAreas()
|
||||||
Status = MmCreateMemoryArea(MmGetKernelAddressSpace(),
|
Status = MmCreateMemoryArea(MmGetKernelAddressSpace(),
|
||||||
MEMORY_AREA_OWNED_BY_ARM3 | MEMORY_AREA_STATIC,
|
MEMORY_AREA_OWNED_BY_ARM3 | MEMORY_AREA_STATIC,
|
||||||
&BaseAddress,
|
&BaseAddress,
|
||||||
PTE_BASE - PTE_TOP + 1,
|
PTE_TOP - PTE_BASE + 1,
|
||||||
PAGE_READWRITE,
|
PAGE_READWRITE,
|
||||||
&MArea,
|
&MArea,
|
||||||
TRUE,
|
TRUE,
|
||||||
|
@ -308,13 +308,13 @@ MiDbgDumpAddressSpace(VOID)
|
||||||
MiSessionSpaceEnd,
|
MiSessionSpaceEnd,
|
||||||
"Session Space");
|
"Session Space");
|
||||||
DPRINT1(" 0x%p - 0x%p\t%s\n",
|
DPRINT1(" 0x%p - 0x%p\t%s\n",
|
||||||
PTE_BASE, PDE_BASE,
|
PTE_BASE, PTE_TOP,
|
||||||
"Page Tables");
|
"Page Tables");
|
||||||
DPRINT1(" 0x%p - 0x%p\t%s\n",
|
DPRINT1(" 0x%p - 0x%p\t%s\n",
|
||||||
PDE_BASE, HYPER_SPACE,
|
PDE_BASE, PDE_TOP,
|
||||||
"Page Directories");
|
"Page Directories");
|
||||||
DPRINT1(" 0x%p - 0x%p\t%s\n",
|
DPRINT1(" 0x%p - 0x%p\t%s\n",
|
||||||
HYPER_SPACE, HYPER_SPACE + (4 * 1024 * 1024),
|
HYPER_SPACE, HYPER_SPACE_END,
|
||||||
"Hyperspace");
|
"Hyperspace");
|
||||||
DPRINT1(" 0x%p - 0x%p\t%s\n",
|
DPRINT1(" 0x%p - 0x%p\t%s\n",
|
||||||
MmPagedPoolStart,
|
MmPagedPoolStart,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue