From 8fabbb008c1a31c809a3d97f22351f141a2bd02d Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Thu, 4 Aug 2016 17:06:11 +0100 Subject: hwstub: add support for coprocessor operations At the moment the stub only implement them for MIPS. Change-Id: Ica835a0e9c70fa5675c3d655eae986e812a47de8 --- utils/hwstub/include/hwstub_net.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'utils/hwstub/include/hwstub_net.hpp') 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: virtual error get_dev_desc(uint16_t desc, void *buf, size_t& buf_sz); virtual error get_dev_log(void *buf, size_t& buf_sz); virtual error exec_dev(uint32_t addr, uint16_t flags); + virtual error 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); virtual error status() const; virtual size_t get_buffer_size(); -- cgit v1.2.3