From 43e9209c218daf506b6c2580e689e297c48e8f48 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Sun, 8 Nov 2009 00:54:32 -0800 Subject: [PATCH] ARM: Initialize processes in user mode. I accidentally left in a change to test using int registers in system mode. This change reverts that. --- src/arch/arm/isa.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.30.2