]> git.sur5r.net Git - openocd/blobdiff - src/target/mips32.h
arm_adi_v5: dap_queue_ap_* DAP->AP parameter
[openocd] / src / target / mips32.h
index 4f44384a38088c729d7bc361fdc2021c963265ea..56f4fb4e1b9a231e253c35e290d13c0aa1b0293c 100644 (file)
@@ -66,6 +66,7 @@
 /* offsets into mips32 core register cache */
 enum {
        MIPS32_PC = 37,
+       MIPS32_FIR = 71,
        MIPS32NUMCOREREGS
 };
 
@@ -100,8 +101,8 @@ struct mips32_common {
        struct mips32_comparator *data_break_list;
 
        /* register cache to processor synchronization */
-       int (*read_core_reg)(struct target *target, int num);
-       int (*write_core_reg)(struct target *target, int num);
+       int (*read_core_reg)(struct target *target, unsigned int num);
+       int (*write_core_reg)(struct target *target, unsigned int num);
 };
 
 static inline struct mips32_common *