mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
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>
This commit is contained in:
parent
e6f010cc27
commit
0ad6773f11
4 changed files with 18 additions and 14 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue