cache.h 668 B

1234567891011121314151617181920212223
  1. /*
  2. * Copyright (c) 2006-2022, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2022-12-18 RT-Thread the first version
  9. */
  10. #ifndef __CACHE_H__
  11. #define __CACHE_H__
  12. void rt_hw_dcache_flush_all(void);
  13. void rt_hw_dcache_invalidate_all(void);
  14. void rt_hw_dcache_flush_range(unsigned long start_addr, unsigned long size);
  15. void rt_hw_cpu_dcache_clean(void *addr, int size);
  16. void rt_hw_cpu_dcache_invalidate(unsigned long start_addr,unsigned long size);
  17. void rt_hw_icache_invalidate_all();
  18. void rt_hw_icache_invalidate_range(unsigned long start_addr, int size);
  19. #endif /* __CACHE_H__ */