Allowing thread stacks from the entire 0x4-0x7 range.
This commit is contained in:
parent
84e884a07f
commit
5ca8caa9a7
|
@ -67,8 +67,8 @@ ThreadState::ThreadState(Processor* processor, uint32_t thread_id,
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
memory()
|
memory()
|
||||||
->LookupHeap(0x70000000)
|
->LookupHeap(0x40000000)
|
||||||
->AllocRange(0x70000000, 0x7FFFFFFF, actual_stack_size, stack_alignment,
|
->AllocRange(0x40000000, 0x7FFFFFFF, actual_stack_size, stack_alignment,
|
||||||
kMemoryAllocationReserve | kMemoryAllocationCommit,
|
kMemoryAllocationReserve | kMemoryAllocationCommit,
|
||||||
kMemoryProtectRead | kMemoryProtectWrite, top_down,
|
kMemoryProtectRead | kMemoryProtectWrite, top_down,
|
||||||
&stack_address_);
|
&stack_address_);
|
||||||
|
|
Loading…
Reference in New Issue