Don't put kernel stacks in GPU memory.

This commit is contained in:
Ben Vanik 2016-02-16 15:05:11 -08:00
parent c5de61860d
commit c667dfc596
1 changed files with 1 additions and 1 deletions

View File

@ -568,7 +568,7 @@ dword_result_t MmCreateKernelStack(dword_t stack_size, dword_t r4) {
uint32_t stack_address;
kernel_memory()
->LookupHeap(0x70000000)
->AllocRange(0x70000000, 0x7FFFFFFF, stack_size_aligned, stack_alignment,
->AllocRange(0x70000000, 0x7F000000, stack_size_aligned, stack_alignment,
kMemoryAllocationReserve | kMemoryAllocationCommit,
kMemoryProtectRead | kMemoryProtectWrite, false,
&stack_address);