summaryrefslogtreecommitdiff
path: root/payloads/libpayload/include/mock/arch/cache.h
blob: 1e71d5e0e290c08017cadc89c51d850be7d47cbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* SPDX-License-Identifier: GPL-2.0-only */

#ifndef __ARCH_CACHE_H__
#define __ARCH_CACHE_H__

/* No support for cache in the mock architecture */

#define dmb()
#define dsb()
#define dcache_clean_all()
#define dcache_clean_by_mva(addr, len)
#define dcache_invalidate_all()
#define dcache_invalidate_by_mva(addr, len)
#define dcache_clean_invalidate_all()
#define dcache_clean_invalidate_by_mva(addr, len)
#define cache_sync_instructions()

#endif /* __ARCH_CACHE_H__ */