summaryrefslogtreecommitdiff
path: root/target-cris/cpu.h
diff options
context:
space:
mode:
authorEdgar E. Iglesias <edgar.iglesias@gmail.com>2010-09-19 00:30:25 +0200
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>2010-09-19 00:30:25 +0200
commitebab1720f6998dbd4a0c485eacf0cb542492be87 (patch)
tree88acb5d90d6979537cf8bf005017948e8c3f6712 /target-cris/cpu.h
parent58aebb946acff82c62383f350cab593e55cc13dc (diff)
downloadqemu-ebab1720f6998dbd4a0c485eacf0cb542492be87.tar.gz
qemu-ebab1720f6998dbd4a0c485eacf0cb542492be87.tar.bz2
qemu-ebab1720f6998dbd4a0c485eacf0cb542492be87.zip
cris: Fix watchdog resets
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Diffstat (limited to 'target-cris/cpu.h')
-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 fce0804a90..e1d48ed77e 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);