OpenOCD
|
Go to the source code of this file.
Macros | |
#define | EJTAG_CTRL_DMA_BYTE 0x00000000 |
#define | EJTAG_CTRL_DMA_HALFWORD 0x00000080 |
#define | EJTAG_CTRL_DMA_TRIPLEBYTE 0x00000180 |
#define | EJTAG_CTRL_DMA_WORD 0x00000100 |
#define | RETRY_ATTEMPTS 0 |
Functions | |
int | mips32_dmaacc_read_mem (struct mips_ejtag *ejtag_info, uint32_t addr, int size, int count, void *buf) |
int | mips32_dmaacc_write_mem (struct mips_ejtag *ejtag_info, uint32_t addr, int size, int count, const void *buf) |
#define EJTAG_CTRL_DMA_BYTE 0x00000000 |
Definition at line 18 of file mips32_dmaacc.h.
#define EJTAG_CTRL_DMA_HALFWORD 0x00000080 |
Definition at line 19 of file mips32_dmaacc.h.
#define EJTAG_CTRL_DMA_TRIPLEBYTE 0x00000180 |
Definition at line 21 of file mips32_dmaacc.h.
#define EJTAG_CTRL_DMA_WORD 0x00000100 |
Definition at line 20 of file mips32_dmaacc.h.
#define RETRY_ATTEMPTS 0 |
Definition at line 23 of file mips32_dmaacc.h.
int mips32_dmaacc_read_mem | ( | struct mips_ejtag * | ejtag_info, |
uint32_t | addr, | ||
int | size, | ||
int | count, | ||
void * | buf | ||
) |
Definition at line 341 of file mips32_dmaacc.c.
References addr, count, ERROR_OK, mips32_dmaacc_read_mem16(), mips32_dmaacc_read_mem32(), mips32_dmaacc_read_mem8(), and size.
Referenced by disable_dcr_mp(), and mips_m4k_read_memory().
int mips32_dmaacc_write_mem | ( | struct mips_ejtag * | ejtag_info, |
uint32_t | addr, | ||
int | size, | ||
int | count, | ||
const void * | buf | ||
) |
Definition at line 397 of file mips32_dmaacc.c.
References addr, count, ERROR_OK, mips32_dmaacc_write_mem16(), mips32_dmaacc_write_mem32(), mips32_dmaacc_write_mem8(), and size.
Referenced by disable_dcr_mp(), and mips_m4k_write_memory().