]> Git Repo - qemu.git/commit
target-arm: port ARM CPU save/load to use VMState
authorJuan Quintela <[email protected]>
Fri, 19 Apr 2013 11:24:19 +0000 (12:24 +0100)
committerPeter Maydell <[email protected]>
Fri, 19 Apr 2013 11:24:19 +0000 (12:24 +0100)
commit3cc1d20823e8677038c5bb5db10910f6271b1883
treed87ff547e6affa2312844d3b53221f0336116a8e
parent3b3284486be6898937395fac3ddbd2e68c5cb52f
target-arm: port ARM CPU save/load to use VMState

Port the ARM CPU save/load code to use VMState. Some state is
saved in a slightly different order to simplify things -- for
example arrays are saved one after the other rather than 'striped',
and we always save all 32 VFP registers even if the CPU happens
to only have 16.

Use one subsection for each feature.  This means that we don't need to
bump the version field each time that a new feature gets introduced.

Signed-off-by: Juan Quintela <[email protected]>
[PMM: fixed conflicts, updated to use cpu_class_set_vmsd(),  updated
 with new/removed fields since original patch, changed to use custom
 VMStateInfo for cpsr rather than presave/postload hooks, corrected
 subsection names so vmload doesn't fail]
Signed-off-by: Peter Maydell <[email protected]>
target-arm/cpu-qom.h
target-arm/cpu.c
target-arm/cpu.h
target-arm/machine.c
This page took 0.022062 seconds and 4 git commands to generate.