ARM: Initialize processes in user mode.
I accidentally left in a change to test using int registers in system mode. This change reverts that.
This commit is contained in:
@@ -79,7 +79,7 @@ namespace ArmISA
|
||||
{
|
||||
memset(miscRegs, 0, sizeof(miscRegs));
|
||||
CPSR cpsr = 0;
|
||||
cpsr.mode = MODE_SYSTEM;
|
||||
cpsr.mode = MODE_USER;
|
||||
miscRegs[MISCREG_CPSR] = cpsr;
|
||||
updateRegMap(cpsr);
|
||||
//XXX We need to initialize the rest of the state.
|
||||
|
||||
Reference in New Issue
Block a user