return ERROR_OK;
}
-int mips_m4k_init_arch_info(target_t *target, mips_m4k_common_t *mips_m4k, struct jtag_tap *tap)
+int mips_m4k_init_arch_info(target_t *target, struct mips_m4k_common *mips_m4k, struct jtag_tap *tap)
{
struct mips32_common *mips32 = &mips_m4k->mips32_common;
int mips_m4k_target_create(struct target_s *target, Jim_Interp *interp)
{
- mips_m4k_common_t *mips_m4k = calloc(1,sizeof(mips_m4k_common_t));
+ struct mips_m4k_common *mips_m4k = calloc(1,sizeof(struct mips_m4k_common));
mips_m4k_init_arch_info(target, mips_m4k, target->tap);
#define MIPSM4K_COMMON_MAGIC 0xB321B321
-typedef struct mips_m4k_common_s
+struct mips_m4k_common
{
int common_magic;
struct mips32_common mips32_common;
-} mips_m4k_common_t;
+};
int mips_m4k_bulk_write_memory(struct target_s *target,
uint32_t address, uint32_t count, uint8_t *buffer);