We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
CP15_CTL_MMU_ENABLE .equ 0x0001CP15_CTL_ALIGN_FAULT_ENABLE .equ 0x0002CP15_CTL_INST_CACHE_ENABLE .equ 0x0004CP15_CTL_DATA_CACHE_ENABLE .equ 0x1000;__CACHE_enable .long CACHE_enable .global CACHE_enableCACHE_enable:.asmfunc mov r0, #0 mrc p15, #0, r0, c1, c0, #0; orr r0, r0, #CP15_CTL_MMU_ENABLE orr r0, r0, #CP15_CTL_ALIGN_FAULT_ENABLE orr r0, r0, #CP15_CTL_INST_CACHE_ENABLE orr r0, r0, #CP15_CTL_DATA_CACHE_ENABLE mcr p15, #0, r0, c1, c0, #0 mov r0, r0 mov r0, r0 mov r0, r0 mov r0, r0 mov r0, r0 .endasmfunc