cache_sram_mmu_set() function
Set Ext-SRAM-Cache mmu mapping. Please do not call this function in your SDK application. Note that this code lives in IRAM and has a bugfix in respect to the ROM version of this function (which erroneously refused a vaddr > 2MiB
Return value
unsigned int: error status 0 : mmu set success 1 : vaddr or paddr is not aligned 2 : pid error 3 : psize error 4 : mmu table to be written is out of range 5 : vaddr is out of range
![]()
cache_sram_mmu_set(0, 0, v_start, 0, 32, (size / 1024 / 32));![]()
cache_sram_mmu_set(1, 0, v_start, 0, 32, (size / 1024 / 32));
cache_sram_mmu_set() is called by 2 functions and calls 5 functions:
![]()
cache_sram_mmu_set()
cache_sram_mmu_set():
![]()
cache_sram_mmu_set()