summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2009-11-08 00:54:32 -0800
committerGabe Black <gblack@eecs.umich.edu>2009-11-08 00:54:32 -0800
commit43e9209c218daf506b6c2580e689e297c48e8f48 (patch)
tree2ed267f07e92f62d0bd2da5cb44d1e4a9845039f /src
parenta2b76516c453a946ab6220ad410be6d9e9c2777a (diff)
downloadgem5-43e9209c218daf506b6c2580e689e297c48e8f48.tar.xz
ARM: Initialize processes in user mode.
I accidentally left in a change to test using int registers in system mode. This change reverts that.
Diffstat (limited to 'src')
-rw-r--r--src/arch/arm/isa.hh2
1 files changed, 1 insertions, 1 deletions
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.