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/lib/hwstub_net.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'utils/hwstub/lib/hwstub_net.cpp') diff --git a/utils/hwstub/lib/hwstub_net.cpp b/utils/hwstub/lib/hwstub_net.cpp index ddafea6351..c9d201a761 100644 --- a/utils/hwstub/lib/hwstub_net.cpp +++ b/utils/hwstub/lib/hwstub_net.cpp @@ -735,6 +735,18 @@ error handle::exec_dev(uint32_t addr, uint16_t flags) return error::SUCCESS; } +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::UNIMPLEMENTED; +} + error handle::status() const { return hwstub::handle::status(); -- cgit v1.2.3