summaryrefslogtreecommitdiff
path: root/utils/hwstub/stub/target.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils/hwstub/stub/target.h')
-rw-r--r--utils/hwstub/stub/target.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/hwstub/stub/target.h b/utils/hwstub/stub/target.h
index 5cd049d04f..4992dd5bf8 100644
--- a/utils/hwstub/stub/target.h
+++ b/utils/hwstub/stub/target.h
@@ -41,6 +41,10 @@ uint32_t target_read32(const void *addr);
41void target_write8(void *addr, uint8_t val); 41void target_write8(void *addr, uint8_t val);
42void target_write16(void *addr, uint16_t val); 42void target_write16(void *addr, uint16_t val);
43void target_write32(void *addr, uint32_t val); 43void target_write32(void *addr, uint32_t val);
44#ifdef CONFIG_FLUSH_CACHES
45/* flush cache: commit dcache and invalidate icache */
46void target_flush_caches(void);
47#endif
44 48
45/* mandatory for all targets */ 49/* mandatory for all targets */
46extern struct hwstub_target_desc_t target_descriptor; 50extern struct hwstub_target_desc_t target_descriptor;