qemu-e2k/target-cris
Juan Quintela 16a1b6e97c target-cris: update CPU state save/load to use VMStateDescription
Update the CRIS CPU state save/load to use a VMStateDescription struct
rather than cpu_save/cpu_load functions.

Have to define TLBSet struct.
Multidimensional arrays in C are a mess, just unroll them.

Signed-off-by: Juan Quintela <quintela@redhat.com>
[PMM:
 * expand commit message a little since it's no longer one patch in
   a 35-patch series
 * add header/copyright comment to machine.c; credited copyright is
   Red Hat and author is Juan, since this commit gives the file all-new
   contents; license is LGPL-2-or-later, to match other target-cris code
 * remove hardcoded tab
 * add fields for locked_irq, interrupt_vector, fault_vector, trap_vector
 * drop minimum_version_id_old fields
 * bump version_id to 2 as we are not compatible with old state format
 * remove unnecessary hw/boards.h include
 * update to register via dc->vmsd]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Acked-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
2015-09-17 14:31:38 +01:00
..
cpu-qom.h target-cris: update CPU state save/load to use VMStateDescription 2015-09-17 14:31:38 +01:00
cpu.c target-cris: update CPU state save/load to use VMStateDescription 2015-09-17 14:31:38 +01:00
cpu.h target-cris: update CPU state save/load to use VMStateDescription 2015-09-17 14:31:38 +01:00
crisv10-decode.h
crisv32-decode.h janitor: add guards to headers 2012-12-19 08:31:31 +01:00
gdbstub.c target-cris: Factor out CPUClass::gdb_read_register() hook for v10 2013-07-27 00:04:17 +02:00
helper.c qemu-log: add log category for MMU info 2014-12-16 18:43:19 +00:00
helper.h tcg: Invert the inclusion of helper.h 2014-05-28 09:33:54 -07:00
machine.c target-cris: update CPU state save/load to use VMStateDescription 2015-09-17 14:31:38 +01:00
Makefile.objs cpu: Introduce CPUClass::gdb_{read,write}_register() 2013-07-27 00:04:17 +02:00
mmu.c cputlb: Change tlb_flush_page() argument to CPUState 2014-03-13 19:52:47 +01:00
mmu.h
op_helper.c softmmu: introduce cpu_ldst.h 2014-06-05 16:10:33 +02:00
opcode-cris.h cris: remove unused cris_cond15 declarations 2015-03-19 11:11:55 +03:00
translate_v10.c tlb: Add "ifetch" argument to cpu_mmu_index() 2015-09-11 08:15:28 -07:00
translate.c tlb: Add "ifetch" argument to cpu_mmu_index() 2015-09-11 08:15:28 -07:00