📄 mmu.h
字号:
#ifndef MMU_H_#define MMU_H_/* * MMU Level 1 Page Table Constants * Section descriptor */ #define MMU_FULL_ACCESS (3 << 10) /* access permission bits */#define MMU_DOMAIN (0 << 5) /* domain control bits */#define MMU_SPECIAL (1 << 4) /* must be 1 */#define MMU_CACHEABLE (1 << 3) /* cacheable */#define MMU_BUFFERABLE (1 << 2) /* bufferable */#define MMU_SECTION (2) /* indicates that this is a section descriptor */#define MMU_SECDESC (MMU_FULL_ACCESS | MMU_DOMAIN | \ MMU_SPECIAL | MMU_SECTION)#define MMU_SECTION_SIZE 0x00100000void cache_clean_invalidate(void);void tlb_invalidate(void);void mmu_init(void);void mem_map_init(void);#define CONFIG_CPU_D_CACHE_ON#define CONFIG_CPU_I_CACHE_ON//#undef CONFIG_CPU_D_CACHE_ON//#undef CONFIG_CPU_I_CACHE_ON#endif /* MMU_H_ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -