diff options
author | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-05-01 01:28:01 +0000 |
---|---|---|
committer | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-05-01 01:28:01 +0000 |
commit | a90b7318ba55b1aed71e299ec965bbd8f393b9b3 (patch) | |
tree | 46ff4f1b6f0d90bda5ed61ba5c3702c419342b2d /hw/pxa2xx.c | |
parent | 4207117c93357347500235952ce7891688089cb1 (diff) |
Implement power state changes (IDLE and SLEEP) for PXA.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2762 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/pxa2xx.c')
-rw-r--r-- | hw/pxa2xx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/pxa2xx.c b/hw/pxa2xx.c index 2f5dc96062..43d40c7fd9 100644 --- a/hw/pxa2xx.c +++ b/hw/pxa2xx.c @@ -247,7 +247,8 @@ static void pxa2xx_clkpwr_write(void *opaque, int op2, int reg, int crm, goto message; case 3: - cpu_reset(s->env); + s->env->uncached_cpsr = + ARM_CPU_MODE_SVC | CPSR_A | CPSR_F | CPSR_I; s->env->cp15.c1_sys = 0; s->env->cp15.c1_coproc = 0; s->env->cp15.c2 = 0; |