1
0
Fork 0
forked from len0rd/rockbox

hwstub: add support for coprocessor operations

At the moment the stub only implement them for MIPS.

Change-Id: Ica835a0e9c70fa5675c3d655eae986e812a47de8
This commit is contained in:
Amaury Pouly 2016-08-04 17:06:11 +01:00
parent d91d9f6851
commit 8fabbb008c
11 changed files with 423 additions and 17 deletions

View file

@ -221,6 +221,18 @@ error handle::exec_dev(uint32_t addr, uint16_t flags)
return p ? p->exec_dev(addr, flags) : error::DISCONNECTED;
}
error handle::cop_dev(uint8_t op, uint8_t args[HWSTUB_COP_ARGS],
const void *out_data, size_t out_size, void *in_data, size_t *in_size)
{
(void) op;
(void) args;
(void) out_data;
(void) out_size;
(void) in_data;
(void) in_size;
return error::UNSUPPORTED;
}
error handle::status() const
{
return hwstub::handle::status();