mirror of
https://github.com/linux-msm/openocd.git
synced 2026-02-25 13:15:07 -08:00
arm_adi_v5: add transfer functions prototypes with selection of ap
Signed-off-by: Luca Ellero <lroluk@gmail.com>
This commit is contained in:
committed by
Øyvind Harboe
parent
aaa52e16ce
commit
dcc9624b98
@@ -379,6 +379,37 @@ int mem_ap_write_buf_u16(struct adiv5_dap *swjdp,
|
||||
int mem_ap_write_buf_u32(struct adiv5_dap *swjdp,
|
||||
uint8_t *buffer, int count, uint32_t address);
|
||||
|
||||
|
||||
|
||||
/* Queued MEM-AP memory mapped single word transfers with selection of ap */
|
||||
int mem_ap_sel_read_u32(struct adiv5_dap *swjdp, uint8_t apsel,
|
||||
uint32_t address, uint32_t *value);
|
||||
int mem_ap_sel_write_u32(struct adiv5_dap *swjdp, uint8_t apsel,
|
||||
uint32_t address, uint32_t value);
|
||||
|
||||
/* Synchronous MEM-AP memory mapped single word transfers with selection of ap */
|
||||
int mem_ap_sel_read_atomic_u32(struct adiv5_dap *swjdp, uint8_t apsel,
|
||||
uint32_t address, uint32_t *value);
|
||||
int mem_ap_sel_write_atomic_u32(struct adiv5_dap *swjdp, uint8_t apsel,
|
||||
uint32_t address, uint32_t value);
|
||||
|
||||
/* MEM-AP memory mapped bus block transfers with selection of ap*/
|
||||
int mem_ap_sel_read_buf_u8(struct adiv5_dap *swjdp, uint8_t apsel,
|
||||
uint8_t *buffer, int count, uint32_t address);
|
||||
int mem_ap_sel_read_buf_u16(struct adiv5_dap *swjdp, uint8_t apsel,
|
||||
uint8_t *buffer, int count, uint32_t address);
|
||||
int mem_ap_sel_read_buf_u32(struct adiv5_dap *swjdp, uint8_t apsel,
|
||||
uint8_t *buffer, int count, uint32_t address);
|
||||
|
||||
int mem_ap_sel_write_buf_u8(struct adiv5_dap *swjdp, uint8_t apsel,
|
||||
uint8_t *buffer, int count, uint32_t address);
|
||||
int mem_ap_sel_write_buf_u16(struct adiv5_dap *swjdp, uint8_t apsel,
|
||||
uint8_t *buffer, int count, uint32_t address);
|
||||
int mem_ap_sel_write_buf_u32(struct adiv5_dap *swjdp, uint8_t apsel,
|
||||
uint8_t *buffer, int count, uint32_t address);
|
||||
|
||||
|
||||
|
||||
/* Initialisation of the debug system, power domains and registers */
|
||||
int ahbap_debugport_init(struct adiv5_dap *swjdp);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user