- int id;
- int (*get)(reg_t *reg);
- int (*set)(reg_t *reg, uint8_t *buf);
- struct reg_arch_type_s *next;
-} reg_arch_type_t;
-
-reg_t* register_get_by_name(reg_cache_t *first, char *name, int search_all);
-reg_cache_t** register_get_last_cache_p(reg_cache_t **first);
+ int (*get)(struct reg *reg);
+ int (*set)(struct reg *reg, uint8_t *buf);
+};