1
0
Fork 0
forked from len0rd/rockbox

hwstub: add support for jump/call in library

Change-Id: Ia57ca613609a5e89e41ff927d7fc137c6841046a
This commit is contained in:
Amaury Pouly 2014-09-08 11:12:54 +02:00
parent d815c26e8f
commit 847106cdb2
2 changed files with 16 additions and 20 deletions

View file

@ -56,6 +56,7 @@ int hwstub_read(struct hwstub_device_t *dev, uint32_t addr, void *buf, size_t sz
int hwstub_write(struct hwstub_device_t *dev, uint32_t addr, void *buf, size_t sz);
int hwstub_rw_mem(struct hwstub_device_t *dev, int read, uint32_t addr, void *buf, size_t sz);
/* Returns <0 on error */
int hwstub_exec(struct hwstub_device_t *dev, uint32_t addr, uint16_t flags);
int hwstub_call(struct hwstub_device_t *dev, uint32_t addr);
int hwstub_jump(struct hwstub_device_t *dev, uint32_t addr);