summaryrefslogtreecommitdiffstats
path: root/target-cris
authorEdgar E. Iglesias <[email protected]>2010-09-18 22:30:25 (GMT)
committer Edgar E. Iglesias <[email protected]>2010-09-18 22:30:25 (GMT)
commitebab1720f6998dbd4a0c485eacf0cb542492be87 (patch) (side-by-side diff)
tree88acb5d90d6979537cf8bf005017948e8c3f6712 /target-cris
parent58aebb946acff82c62383f350cab593e55cc13dc (diff)
downloadqemu-kvm-ebab1720f6998dbd4a0c485eacf0cb542492be87.zip
qemu-kvm-ebab1720f6998dbd4a0c485eacf0cb542492be87.tar.gz
qemu-kvm-ebab1720f6998dbd4a0c485eacf0cb542492be87.tar.bz2
cris: Fix watchdog resets
Signed-off-by: Edgar E. Iglesias <[email protected]>
Diffstat (limited to 'target-cris') (more/less context) (ignore whitespace changes)
-rw-r--r--target-cris/cpu.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/target-cris/cpu.h b/target-cris/cpu.h
index fce0804..e1d48ed 100644
--- a/target-cris/cpu.h
+++ b/target-cris/cpu.h
@@ -155,9 +155,10 @@ typedef struct CPUCRISState {
uint32_t lo;
} tlbsets[2][4][16];
- void *load_info;
-
CPU_COMMON
+
+ /* Members after CPU_COMMON are preserved across resets. */
+ void *load_info;
} CPUCRISState;
CPUCRISState *cpu_cris_init(const char *cpu_model);