diff options
Diffstat (limited to 'utils/hwstub/stub/target.h')
-rw-r--r-- | utils/hwstub/stub/target.h | 4 |
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); void target_write8(void *addr, uint8_t val); void target_write16(void *addr, uint16_t val); void target_write32(void *addr, uint32_t val); +#ifdef CONFIG_FLUSH_CACHES +/* flush cache: commit dcache and invalidate icache */ +void target_flush_caches(void); +#endif /* mandatory for all targets */ extern struct hwstub_target_desc_t target_descriptor; |