Remapping command stream and base pointers
Add new weak function ethosu_address_remap() that allows the addresses
for QBASE and BASEP to be remapped.
Change-Id: I36b0d71c57bfd293672b10c7b85f3b2415e9c839
diff --git a/include/ethosu_driver.h b/include/ethosu_driver.h
index c48a3f2..187d49a 100644
--- a/include/ethosu_driver.h
+++ b/include/ethosu_driver.h
@@ -136,6 +136,16 @@
void ethosu_inference_begin(struct ethosu_driver *drv, void *user_arg);
void ethosu_inference_end(struct ethosu_driver *drv, void *user_arg);
+/**
+ * Remapping command stream and base pointer addresses.
+ *
+ * @param address Address to be remapped.
+ * @param index -1: command stream, 0-n base address index
+ *
+ * @return Remapped address
+ */
+uint64_t ethosu_address_remap(uint64_t address, int index);
+
/******************************************************************************
* Prototypes
******************************************************************************/