29 uint32_t reg_num,
bool search_all)
34 for (
unsigned int i = 0; i < cache->
num_regs; i++) {
51 const char *
name,
bool search_all)
56 for (
unsigned int i = 0; i < cache->
num_regs; i++) {
78 cache_p = &((*cache_p)->next);
87 while (*cache_p && *cache_p != cache)
88 cache_p = &((*cache_p)->next);
90 *cache_p = cache->
next;
96 for (
unsigned int n = 0; n < cache->
num_regs; n++) {
static const struct reg_arch_type dummy_type
static int register_set_dummy_core_reg(struct reg *reg, uint8_t *buf)
static int register_get_dummy_core_reg(struct reg *reg)
void register_init_dummy(struct reg *reg)
struct reg * register_get_by_name(struct reg_cache *first, const char *name, bool search_all)
struct reg_cache ** register_get_last_cache_p(struct reg_cache **first)
void register_unlink_cache(struct reg_cache **cache_p, const struct reg_cache *cache)
void register_cache_invalidate(struct reg_cache *cache)
Marks the contents of the register cache as invalid (and clean).
struct reg * register_get_by_number(struct reg_cache *first, uint32_t reg_num, bool search_all)
int(* get)(struct reg *reg)
const struct reg_arch_type * type