Don't put kernel stacks in GPU memory.
This commit is contained in:
parent
c5de61860d
commit
c667dfc596
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue