Fixing test.

This commit is contained in:
Ben Vanik 2015-05-17 13:47:20 -07:00
parent 3f7da258fc
commit 50b84203c5
1 changed files with 3 additions and 2 deletions

View File

@ -198,8 +198,9 @@ class TestRunner {
uint32_t stack_size = 64 * 1024;
uint32_t stack_address = START_ADDRESS - stack_size;
uint32_t pcr_address = stack_address - 0x1000;
thread_state.reset(new ThreadState(processor.get(), 0x100, stack_address,
stack_size, pcr_address));
thread_state.reset(new ThreadState(processor.get(), 0x100,
ThreadStackType::kUserStack,
stack_address, stack_size, pcr_address));
return true;
}