[NTOSKRNL]

Use MiNonPagedSystemSize when creating the system NP memory area instead of making assumptions about the memory layout
Finally the amd64 port boots into usermode and usetup is partly working, formats the harddisk but freezes, when copying files.

svn path=/trunk/; revision=55513
This commit is contained in:
Timo Kreuzer 2012-02-09 12:04:31 +00:00
parent 2de5176c84
commit 672c617e8c

View file

@ -126,8 +126,7 @@ MiInitSystemMemoryAreas()
Status = MmCreateMemoryArea(MmGetKernelAddressSpace(),
MEMORY_AREA_OWNED_BY_ARM3 | MEMORY_AREA_STATIC,
&BaseAddress,
(ULONG_PTR)MmNonPagedPoolEnd -
(ULONG_PTR)MmNonPagedSystemStart,
MiNonPagedSystemSize,
PAGE_READWRITE,
&MArea,
TRUE,