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:
Gabe Black
2009-11-08 00:54:32 -08:00
parent a2b76516c4
commit 43e9209c21

View File

@@ -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.