jtag: retire jtag_alloc_in_value32 API
[fw/openocd] / src / target / register.h
index 0f8f2f4e0b1c8f09102c7fbf9ea30d95ed2774d6..4b45fd3c455791ac3b7d4c47653d1cc0925050b5 100644 (file)
@@ -27,10 +27,10 @@ struct target;
 
 struct reg
 {
-       char *name;
+       const char *name;
        void *value;
-       int dirty;
-       int valid;
+       bool dirty;
+       bool valid;
        uint32_t size;
        void *arch_info;
        const struct reg_arch_type *type;
@@ -38,7 +38,7 @@ struct reg
 
 struct reg_cache
 {
-       char *name;
+       const char *name;
        struct reg_cache *next;
        struct reg *reg_list;
        unsigned num_regs;