diff options
author | Alexey Kardashevskiy <aik@ozlabs.ru> | 2014-06-04 22:51:00 +1000 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2014-06-16 13:24:45 +0200 |
commit | 80b3f79b999a334b277137f698c43e7730da4224 (patch) | |
tree | 646ebfc678d2da7932627939d83ac4f167bd1c68 /target-ppc/cpu.h | |
parent | cdcdda27fc843873875e7e444e0164ba2a5e9942 (diff) | |
download | qemu-80b3f79b999a334b277137f698c43e7730da4224.zip qemu-80b3f79b999a334b277137f698c43e7730da4224.tar.gz qemu-80b3f79b999a334b277137f698c43e7730da4224.tar.bz2 |
KVM: target-ppc: Enable TM state migration
This adds migration support for registers saved before Transactional
Memory (TM) transaction started.
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: Tom Musta <tommusta@gmail.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'target-ppc/cpu.h')
-rw-r--r-- | target-ppc/cpu.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/target-ppc/cpu.h b/target-ppc/cpu.h index a85916e..c5837dd 100644 --- a/target-ppc/cpu.h +++ b/target-ppc/cpu.h @@ -1099,6 +1099,20 @@ struct CPUPPCState { */ uint8_t fit_period[4]; uint8_t wdt_period[4]; + + /* Transactional memory state */ + target_ulong tm_gpr[32]; + ppc_avr_t tm_vsr[64]; + uint64_t tm_cr; + uint64_t tm_lr; + uint64_t tm_ctr; + uint64_t tm_fpscr; + uint64_t tm_amr; + uint64_t tm_ppr; + uint64_t tm_vrsave; + uint32_t tm_vscr; + uint64_t tm_dscr; + uint64_t tm_tar; }; #define SET_FIT_PERIOD(a_, b_, c_, d_) \ |