X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Ftarget%2Fmips32.h;h=56f4fb4e1b9a231e253c35e290d13c0aa1b0293c;hb=13ac3d556c8cae37807801b64c289a3e9bfde359;hp=4f44384a38088c729d7bc361fdc2021c963265ea;hpb=f16b7a6d7e4464692c7fcd8d39e150a09c270d1b;p=openocd.git diff --git a/src/target/mips32.h b/src/target/mips32.h index 4f44384a38..56f4fb4e1b 100644 --- a/src/target/mips32.h +++ b/src/target/mips32.h @@ -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 *