Don't put kernel stacks in GPU memory.
This commit is contained in:
@@ -568,7 +568,7 @@ dword_result_t MmCreateKernelStack(dword_t stack_size, dword_t r4) {
|
|||||||
uint32_t stack_address;
|
uint32_t stack_address;
|
||||||
kernel_memory()
|
kernel_memory()
|
||||||
->LookupHeap(0x70000000)
|
->LookupHeap(0x70000000)
|
||||||
->AllocRange(0x70000000, 0x7FFFFFFF, stack_size_aligned, stack_alignment,
|
->AllocRange(0x70000000, 0x7F000000, stack_size_aligned, stack_alignment,
|
||||||
kMemoryAllocationReserve | kMemoryAllocationCommit,
|
kMemoryAllocationReserve | kMemoryAllocationCommit,
|
||||||
kMemoryProtectRead | kMemoryProtectWrite, false,
|
kMemoryProtectRead | kMemoryProtectWrite, false,
|
||||||
&stack_address);
|
&stack_address);
|
||||||
|
|||||||
Reference in New Issue
Block a user