aboutsummaryrefslogtreecommitdiff
path: root/include/opcode
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>1998-01-27 02:57:22 +0000
committerDoug Evans <dje@google.com>1998-01-27 02:57:22 +0000
commitdff6e4a297787c06a08191505ec7bab53268e40a (patch)
treef546faaf2c8ba05f8df9d4f09d37859ee9c63f83 /include/opcode
parent63589bf4573a5e37f108b8977032ad05b9cab233 (diff)
downloadgdb-dff6e4a297787c06a08191505ec7bab53268e40a.zip
gdb-dff6e4a297787c06a08191505ec7bab53268e40a.tar.gz
gdb-dff6e4a297787c06a08191505ec7bab53268e40a.tar.bz2
(enum gpuif_reg): Declare.
Diffstat (limited to 'include/opcode')
-rw-r--r--include/opcode/txvu.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/opcode/txvu.h b/include/opcode/txvu.h
index 82730c0..4aad459 100644
--- a/include/opcode/txvu.h
+++ b/include/opcode/txvu.h
@@ -267,6 +267,24 @@ const struct txvu_opcode *dma_opcode_lookup_dis PARAMS ((unsigned int));
/* GPUIF support. */
+typedef enum {
+ GPUIF_REG_PRIM = 0,
+ GPUIF_REG_RGBAQ = 1,
+ GPUIF_REG_ST = 2,
+ GPUIF_REG_UV = 3,
+ GPUIF_REG_XYZF2 = 4,
+ GPUIF_REG_TEXCLUT_1 = 6,
+ GPUIF_REG_TEXCLUT_2 = 7,
+ GPUIF_REG_TEX0_1 = 8,
+ GPUIF_REG_TEX0_2 = 9,
+ GPUIF_REG_TEX1_1 = 10,
+ GPUIF_REG_TEX1_2 = 11,
+ GPUIF_REG_XYZF3 = 12,
+ GPUIF_REG_PRMODE = 13,
+ GPUIF_REG_A_D = 14,
+ GPUIF_REG_NOP = 15
+} gpuif_reg;
+
extern const struct txvu_operand gpuif_operands[];
extern /*const*/ struct txvu_opcode gpuif_opcodes[];
extern const int gpuif_opcodes_count;