const arch_register_class_t *reg_class; /**< The class the register belongs to. */
unsigned index; /**< The index of the register in the class. */
arch_register_type_t type; /**< The type of the register. */
- void *data; /**< Custom data. */
};
static INLINE const arch_register_class_t *
# realname is name if not set by user
$_->{"realname"} = $_->{"name"} if (! exists($_->{"realname"}));
my $realname = $_->{realname};
- my $execunitvarname = get_execunit_variable_name($_->{"unit"});
$reg2class{$_->{"name"}} = { "class" => $old_classname, "index" => $idx }; # remember reg to class for later use
push(@obst_regtypes_def, "\t\t\"$realname\",\n");
push(@obst_regtypes_def, "\t\t$class_ptr,\n");
push(@obst_regtypes_def, "\t\tREG_${ucname},\n");
- push(@obst_regtypes_def, "\t\t$type,\n");
- push(@obst_regtypes_def, "\t\t$execunitvarname\n");
+ push(@obst_regtypes_def, "\t\t$type\n");
push(@obst_regtypes_def, "\t},\n");
$idx++;