target-ppc: Introduce tm_enabled Bit to CPU State
commit69d1a9377453d78ba2279fa56ae9623b3cd98673
authorTom Musta <tommusta@gmail.com>
Thu, 18 Dec 2014 16:34:31 +0000 (18 10:34 -0600)
committerAlexander Graf <agraf@suse.de>
Wed, 7 Jan 2015 15:16:27 +0000 (7 16:16 +0100)
tree3ee55988add9762fc51e3504e352b0f703b32f2d
parente43668a7d20e5d2dfe92b2f3426280b2a351333c
target-ppc: Introduce tm_enabled Bit to CPU State

Add a bit (tm_enabled) to CPU state that mirrors the MSR[TM] bit.
This is analogous to the other "available" bits in the MSR (FP,
VSX, etc.).

NOTE: Since MSR[TM] occupies big-endian bit 31, the code is wrapped
with a PPC64 bit check.

Signed-off-by: Tom Musta <tommusta@gmail.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
target-ppc/translate.c