1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #ifndef __ARCH_CACHE_H__
4 #define __ARCH_CACHE_H__
8 /* Functions in this file are unimplemented by default. Tests are expected to implement
9 mocks for these functions, if tests will call functions using functions listed below. */
13 void dcache_clean_all(void);
14 void dcache_clean_by_mva(void const *addr
, size_t len
);
15 void dcache_invalidate_all(void);
16 void dcache_invalidate_by_mva(void const *addr
, size_t len
);
17 void dcache_clean_invalidate_all(void);
18 void dcache_clean_invalidate_by_mva(void const *addr
, size_t len
);
19 void cache_sync_instructions(void);
21 #endif /* __ARCH_CACHE_H__ */