ecf2d82159
* Synchronize the code of the rt mart branch to the master branch. * TTY device * Add lwP code from rt-smart * Add vnode in DFS, but DFS will be re-write for rt-smart * There are three libcpu for rt-smart: * arm/cortex-a, arm/aarch64 * riscv64 Co-authored-by: Rbb666 <zhangbingru@rt-thread.com> Co-authored-by: zhkag <zhkag@foxmail.com>
21 lines
794 B
C
21 lines
794 B
C
#ifndef ARCH_H__
|
|
#define ARCH_H__
|
|
|
|
#define arch_break(...) do { \
|
|
asm volatile ("ebreak": : :"memory"); \
|
|
} while(0)
|
|
|
|
void awos_arch_clean_dcache(void);
|
|
void awos_arch_clean_flush_dcache(void);
|
|
void awos_arch_flush_dcache(void);
|
|
void awos_arch_flush_cache(void);
|
|
void awos_arch_flush_icache_all(void);
|
|
void awos_arch_clean_flush_cache_region(unsigned long start, unsigned long len);
|
|
void awos_arch_clean_flush_cache(void);
|
|
void awos_arch_mems_flush_dcache_region(unsigned long start, unsigned long len);
|
|
void awos_arch_mems_clean_flush_dcache_region(unsigned long start, unsigned long len);
|
|
void awos_arch_mems_clean_dcache_region(unsigned long start, unsigned long len);
|
|
void awos_arch_mems_flush_icache_region(unsigned long start, unsigned long len);
|
|
|
|
#endif
|