MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / rt_hw_mmu_map

Function rt_hw_mmu_map

libcpu/mips/gs264/mmu.c:709–718  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

707
708#ifdef RT_USING_SMART
709void *rt_hw_mmu_map(rt_mmu_info *mmu_info, void *v_addr, void* p_addr, size_t size, size_t attr)
710{
711 void *ret;
712 rt_base_t level;
713
714 level = rt_hw_interrupt_disable();
715 ret = _rt_hw_mmu_map(mmu_info, v_addr, p_addr, size, attr);
716 rt_hw_interrupt_enable(level);
717 return ret;
718}
719
720void *rt_hw_mmu_map_auto(rt_mmu_info *mmu_info, void *v_addr, size_t size, size_t attr)
721{

Callers 4

_do_named_mapFunction · 0.50
rt_varea_map_with_msgFunction · 0.50
mmu_page_tcFunction · 0.50

Calls 3

_rt_hw_mmu_mapFunction · 0.85
rt_hw_interrupt_disableFunction · 0.50
rt_hw_interrupt_enableFunction · 0.50

Tested by

no test coverage detected