Common between A3xx and A4xx:
-->
-<enum name="a3xx_regid">
- <value name="REGID_UNUSED" value="0xfc"/>
-</enum>
-
<enum name="a3xx_rop_code">
<value name="ROP_CLEAR" value="0"/>
<value name="ROP_NOR" value="1"/>
self.shr = shr
self.type = type
- builtin_types = [ None, "boolean", "uint", "hex", "int", "fixed", "ufixed", "float", "address", "waddress" ]
+ builtin_types = [ None, "a3xx_regid", "boolean", "uint", "hex", "int", "fixed", "ufixed", "float", "address", "waddress" ]
if low < 0 or low > 31:
raise parser.error("low attribute out of range: %d" % low)
elif self.type == "boolean":
type = "bool"
val = var_name
- elif self.type == "uint" or self.type == "hex":
+ elif self.type == "uint" or self.type == "hex" or self.type == "a3xx_regid":
type = "uint32_t"
val = var_name
elif self.type == "int":