X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Ftarget%2Farm926ejs.h;h=76cc24a0c30ddcc0f9528d7a6387d889d8967e38;hb=54d6330b78f46678e78d1ffb265c65fcc8991e83;hp=9202fc6f2bd12cb35cf1d1825e3f2ae0d8a59271;hpb=2c35b35e111b5a23a3316e02e419c212840c4cc2;p=fw%2Fopenocd diff --git a/src/target/arm926ejs.h b/src/target/arm926ejs.h index 9202fc6f2..76cc24a0c 100644 --- a/src/target/arm926ejs.h +++ b/src/target/arm926ejs.h @@ -20,7 +20,7 @@ #ifndef ARM926EJS_H #define ARM926EJS_H -#include +#include "arm9tdmi.h" #include "armv4_5_mmu.h" #define ARM926EJS_COMMON_MAGIC 0xa926a926 @@ -50,7 +50,7 @@ int arm926ejs_init_arch_info(struct target *target, struct arm926ejs_common *arm926ejs, struct jtag_tap *tap); int arm926ejs_arch_state(struct target *target); int arm926ejs_write_memory(struct target *target, - uint32_t address, uint32_t size, uint32_t count, uint8_t *buffer); + uint32_t address, uint32_t size, uint32_t count, const uint8_t *buffer); int arm926ejs_soft_reset_halt(struct target *target); extern const struct command_registration arm926ejs_command_handlers[];