projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2b7651
)
ARM: Initialize processes in user mode.
author
Gabe Black
<gblack@eecs.umich.edu>
Sun, 8 Nov 2009 08:54:32 +0000
(
00:54
-0800)
committer
Gabe Black
<gblack@eecs.umich.edu>
Sun, 8 Nov 2009 08:54:32 +0000
(
00:54
-0800)
I accidentally left in a change to test using int registers in system mode.
This change reverts that.
src/arch/arm/isa.hh
patch
|
blob
|
history
diff --git
a/src/arch/arm/isa.hh
b/src/arch/arm/isa.hh
index 1ad5428e5278f0328f0009505e5823d779b7bfc3..6341e6cd01f5f6e530469a0dfab46df5203e9969 100644
(file)
--- 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.