diff options
author | Leon Alrae | 2015-02-20 14:07:44 +0100 |
---|---|---|
committer | Leon Alrae | 2015-03-11 15:13:57 +0100 |
commit | 04cd79625fa4103c5839ba36ad476dd22f7f7557 (patch) | |
tree | 2424cb76fe47517fb7eeff6ea5b81d2908ce5969 /target-mips/cpu.c | |
parent | Merge remote-tracking branch 'remotes/ehabkost/tags/x86-pull-request' into st... (diff) | |
download | qemu-04cd79625fa4103c5839ba36ad476dd22f7f7557.tar.gz qemu-04cd79625fa4103c5839ba36ad476dd22f7f7557.tar.xz qemu-04cd79625fa4103c5839ba36ad476dd22f7f7557.zip |
target-mips: replace cpu_save/cpu_load with VMStateDescription
Create VMStateDescription for MIPS CPU. The new structure contains exactly the
same fields as before, therefore leaving existing version_id.
Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
Diffstat (limited to 'target-mips/cpu.c')
-rw-r--r-- | target-mips/cpu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target-mips/cpu.c b/target-mips/cpu.c index 98dc94e74b..958c999f0a 100644 --- a/target-mips/cpu.c +++ b/target-mips/cpu.c @@ -148,6 +148,7 @@ static void mips_cpu_class_init(ObjectClass *c, void *data) cc->do_unassigned_access = mips_cpu_unassigned_access; cc->do_unaligned_access = mips_cpu_do_unaligned_access; cc->get_phys_page_debug = mips_cpu_get_phys_page_debug; + cc->vmsd = &vmstate_mips_cpu; #endif cc->gdb_num_core_regs = 73; |