diff options
author | Andreas Färber <afaerber@suse.de> | 2013-02-02 13:45:29 +0100 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2013-03-12 10:35:55 +0100 |
commit | 0ad6773f1151c9e172b0b714aada78655dda4cf4 (patch) | |
tree | 66c68bddfc79af0f1d695d0ef62155b15326091a /target-lm32/cpu.h | |
parent | e6f010cc27177c97596455b2e2b589bd19b2a486 (diff) | |
download | qemu-0ad6773f1151c9e172b0b714aada78655dda4cf4.zip qemu-0ad6773f1151c9e172b0b714aada78655dda4cf4.tar.gz qemu-0ad6773f1151c9e172b0b714aada78655dda4cf4.tar.bz2 |
target-lm32: Update VMStateDescription to LM32CPU
Add a vmstate_lm32_cpu referencing the previous VMStateDescription as a
sub-struct and hook it up to CPUClass::vmsd. Drop cpu_{save,load}().
Acked-by: Michael Walle <michael@walle.cc>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'target-lm32/cpu.h')
-rw-r--r-- | target-lm32/cpu.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/target-lm32/cpu.h b/target-lm32/cpu.h index 1be9778..fd50b53 100644 --- a/target-lm32/cpu.h +++ b/target-lm32/cpu.h @@ -211,8 +211,6 @@ static inline CPULM32State *cpu_init(const char *cpu_model) #define cpu_gen_code cpu_lm32_gen_code #define cpu_signal_handler cpu_lm32_signal_handler -#define CPU_SAVE_VERSION 1 - int cpu_lm32_handle_mmu_fault(CPULM32State *env, target_ulong address, int rw, int mmu_idx); #define cpu_handle_mmu_fault cpu_lm32_handle_mmu_fault |