1
0

cache.h 525 B

123456789101112131415161718192021222324
  1. /*
  2. * Copyright (c) 2006-2021, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2018-03-25 quanzhao the first version
  9. */
  10. #ifndef __CACHE_H__
  11. #define __CACHE_H__
  12. unsigned long rt_cpu_get_smp_id(void);
  13. void rt_cpu_mmu_disable(void);
  14. void rt_cpu_mmu_enable(void);
  15. void rt_cpu_tlb_set(volatile unsigned long*);
  16. void rt_cpu_dcache_clean_flush(void);
  17. void rt_cpu_icache_flush(void);
  18. void rt_cpu_vector_set_base(unsigned int addr);
  19. #endif