[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(), Status = MmCreateMemoryArea(MmGetKernelAddressSpace(),
MEMORY_AREA_OWNED_BY_ARM3 | MEMORY_AREA_STATIC, MEMORY_AREA_OWNED_BY_ARM3 | MEMORY_AREA_STATIC,
&BaseAddress, &BaseAddress,
(ULONG_PTR)MmNonPagedPoolEnd - MiNonPagedSystemSize,
(ULONG_PTR)MmNonPagedSystemStart,
PAGE_READWRITE, PAGE_READWRITE,
&MArea, &MArea,
TRUE, TRUE,