soc/intel/xeon_sp: Revise IIO domain ACPI name encoding
[coreboot2.git] / payloads / libpayload / include / mock / arch / cache.h
blob0e4bc033d0ac13eb81c20e91abdc5adab0ba7f34
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #ifndef __ARCH_CACHE_H__
4 #define __ARCH_CACHE_H__
6 #include <stddef.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. */
11 void dmb(void);
12 void dsb(void);
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__ */