Allowing thread stacks from the entire 0x4-0x7 range.

This commit is contained in:
Ben Vanik 2015-06-28 14:34:11 -07:00
parent 84e884a07f
commit 5ca8caa9a7
1 changed files with 2 additions and 2 deletions

View File

@ -67,8 +67,8 @@ ThreadState::ThreadState(Processor* processor, uint32_t thread_id,
break;
}
memory()
->LookupHeap(0x70000000)
->AllocRange(0x70000000, 0x7FFFFFFF, actual_stack_size, stack_alignment,
->LookupHeap(0x40000000)
->AllocRange(0x40000000, 0x7FFFFFFF, actual_stack_size, stack_alignment,
kMemoryAllocationReserve | kMemoryAllocationCommit,
kMemoryProtectRead | kMemoryProtectWrite, top_down,
&stack_address_);