diff options
author | Richard Henderson | 2011-11-09 09:03:33 +0100 |
---|---|---|
committer | Alexander Graf | 2011-11-14 17:47:26 +0100 |
commit | 771142c2a7d67d491962fdf8e94d27513849d5b3 (patch) | |
tree | 0da771c20e72e23132cee667d0ef9437a4943702 /tcg/ppc64/tcg-target.h | |
parent | s390x: Add shutdown for TCG s390-virtio machine (diff) | |
download | qemu-771142c2a7d67d491962fdf8e94d27513849d5b3.tar.gz qemu-771142c2a7d67d491962fdf8e94d27513849d5b3.tar.xz qemu-771142c2a7d67d491962fdf8e94d27513849d5b3.zip |
tcg: Standardize on TCGReg as the enum for hard registers
Most targets did not name the enum; tci used TCGRegister.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'tcg/ppc64/tcg-target.h')
-rw-r--r-- | tcg/ppc64/tcg-target.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tcg/ppc64/tcg-target.h b/tcg/ppc64/tcg-target.h index 8d1fb738e4..97eec0843d 100644 --- a/tcg/ppc64/tcg-target.h +++ b/tcg/ppc64/tcg-target.h @@ -26,7 +26,7 @@ #define TCG_TARGET_WORDS_BIGENDIAN #define TCG_TARGET_NB_REGS 32 -enum { +typedef enum { TCG_REG_R0 = 0, TCG_REG_R1, TCG_REG_R2, @@ -59,7 +59,7 @@ enum { TCG_REG_R29, TCG_REG_R30, TCG_REG_R31 -}; +} TCGReg; /* used for function call generation */ #define TCG_REG_CALL_STACK TCG_REG_R1 |