mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
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
This commit is contained in:
parent
4207117c93
commit
a90b7318ba
4 changed files with 26 additions and 14 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue