From: Gabe Black Date: Sun, 8 Nov 2009 08:54:32 +0000 (-0800) Subject: ARM: Initialize processes in user mode. X-Git-Tag: stable_2012_02_02~1575^2~92 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=43e9209c218daf506b6c2580e689e297c48e8f48;p=gem5.git ARM: Initialize processes in user mode. I accidentally left in a change to test using int registers in system mode. This change reverts that. --- diff --git a/src/arch/arm/isa.hh b/src/arch/arm/isa.hh index 1ad5428e5..6341e6cd0 100644 --- a/src/arch/arm/isa.hh +++ b/src/arch/arm/isa.hh @@ -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.