mirror of
https://github.com/reactos/reactos.git
synced 2024-11-02 12:53:33 +00:00
[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:
parent
2de5176c84
commit
672c617e8c
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue