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 13 unsigned long rt_cpu_get_smp_id(void); 14 15 void rt_cpu_mmu_disable(void); 16 void rt_cpu_mmu_enable(void); 17 void rt_cpu_tlb_set(volatile unsigned long*); 18 19 void rt_cpu_dcache_clean_flush(void); 20 void rt_cpu_icache_flush(void); 21 22 void rt_cpu_vector_set_base(unsigned int addr); 23 24 #endif 25