diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2016-08-04 17:06:11 +0100 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2017-01-24 15:25:14 +0100 |
commit | 8fabbb008c1a31c809a3d97f22351f141a2bd02d (patch) | |
tree | 6e16386a7348197920a5ce1d99f623d0e10b6c3c /utils/hwstub/include/hwstub_net.hpp | |
parent | d91d9f6851bba401650912c5cabcfe4c5f1150df (diff) | |
download | rockbox-8fabbb008c1a31c809a3d97f22351f141a2bd02d.tar.gz rockbox-8fabbb008c1a31c809a3d97f22351f141a2bd02d.zip |
hwstub: add support for coprocessor operations
At the moment the stub only implement them for MIPS.
Change-Id: Ica835a0e9c70fa5675c3d655eae986e812a47de8
Diffstat (limited to 'utils/hwstub/include/hwstub_net.hpp')
-rw-r--r-- | utils/hwstub/include/hwstub_net.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/hwstub/include/hwstub_net.hpp b/utils/hwstub/include/hwstub_net.hpp index 2cf6e07ccb..ae0e09e920 100644 --- a/utils/hwstub/include/hwstub_net.hpp +++ b/utils/hwstub/include/hwstub_net.hpp | |||
@@ -184,6 +184,8 @@ protected: | |||
184 | virtual error get_dev_desc(uint16_t desc, void *buf, size_t& buf_sz); | 184 | virtual error get_dev_desc(uint16_t desc, void *buf, size_t& buf_sz); |
185 | virtual error get_dev_log(void *buf, size_t& buf_sz); | 185 | virtual error get_dev_log(void *buf, size_t& buf_sz); |
186 | virtual error exec_dev(uint32_t addr, uint16_t flags); | 186 | virtual error exec_dev(uint32_t addr, uint16_t flags); |
187 | virtual error cop_dev(uint8_t op, uint8_t args[HWSTUB_COP_ARGS], const void *out_data, | ||
188 | size_t out_size, void *in_data, size_t *in_size); | ||
187 | virtual error status() const; | 189 | virtual error status() const; |
188 | virtual size_t get_buffer_size(); | 190 | virtual size_t get_buffer_size(); |
189 | 191 | ||