]> xenbits.xensource.com Git - people/liuw/qemu.git/commitdiff
target-ppc: Introduce Feature Flag for Transactional Memory
authorTom Musta <tommusta@gmail.com>
Thu, 18 Dec 2014 16:34:30 +0000 (10:34 -0600)
committerAlexander Graf <agraf@suse.de>
Wed, 7 Jan 2015 15:16:27 +0000 (16:16 +0100)
Add a flag (POWERPC_FLAG_TM) for the Transactional Memory
Facility introduced in Power ISA 2.07.

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

index 351008384e30d9e3579df3d08b041f420f505a1e..38176c05aa24c7e0827a04eaedfff7b13a5535cf 100644 (file)
@@ -584,6 +584,8 @@ enum {
     POWERPC_FLAG_CFAR     = 0x00040000,
     /* Has VSX                                                               */
     POWERPC_FLAG_VSX      = 0x00080000,
+    /* Has Transaction Memory (ISA 2.07)                                     */
+    POWERPC_FLAG_TM       = 0x00100000,
 };
 
 /*****************************************************************************/