/hal_espressif-3.7.0/components/esp_hw_support/port/esp32/ |
D | cache_sram_mmu.c | 45 unsigned int cache_sram_mmu_set_rom(int cpu_no, int pid, unsigned int vaddr, unsigned int paddr, in… 56 … cache_sram_mmu_set(int cpu_no, int pid, unsigned int vaddr, unsigned int paddr, int psize, int nu… in cache_sram_mmu_set() argument 61 return cache_sram_mmu_set_rom(cpu_no, pid, vaddr, paddr, psize, num); in cache_sram_mmu_set() 68 if( (ADDRESS_CHECK(vaddr,psize)) || (ADDRESS_CHECK(paddr,psize)) ){ in cache_sram_mmu_set() 91 mmu_table_val = paddr >> shift; in cache_sram_mmu_set() 132 unsigned int cache_sram_mmu_set(int cpu_no, int pid, unsigned int vaddr, unsigned int paddr, int ps… in cache_sram_mmu_set() argument 133 return cache_sram_mmu_set_rom(cpu_no, pid, vaddr, paddr, psize, num); in cache_sram_mmu_set()
|
/hal_espressif-3.7.0/components/hal/ |
D | mmu_hal.c | 75 void mmu_hal_map_region(uint32_t mmu_id, mmu_target_t mem_type, uint32_t vaddr, uint32_t paddr, uin… in mmu_hal_map_region() argument 79 HAL_ASSERT(paddr % page_size_in_bytes == 0); in mmu_hal_map_region() 80 HAL_ASSERT(mmu_ll_check_valid_paddr_region(mmu_id, paddr, len)); in mmu_hal_map_region() 88 mmu_val = mmu_ll_format_paddr(mmu_id, paddr, mem_type); in mmu_hal_map_region() 133 bool mmu_hal_paddr_to_vaddr(uint32_t mmu_id, uint32_t paddr, mmu_target_t target, mmu_vaddr_t type,… in mmu_hal_paddr_to_vaddr() argument 135 HAL_ASSERT(mmu_ll_check_valid_paddr_region(mmu_id, paddr, 1)); in mmu_hal_paddr_to_vaddr() 137 uint32_t mmu_val = mmu_ll_format_paddr(mmu_id, paddr, target); in mmu_hal_paddr_to_vaddr() 144 uint32_t offset = paddr % page_size_in_bytes; in mmu_hal_paddr_to_vaddr()
|
/hal_espressif-3.7.0/components/esp_rom/include/esp32/rom/ |
D | cache.h | 68 …cache_flash_mmu_set(int cpu_no, int pid, unsigned int vaddr, unsigned int paddr, int psize, int n… in cache_flash_mmu_set() argument 70 …e_flash_mmu_set_rom(int cpu_no, int pid, unsigned int vaddr, unsigned int paddr, int psize, int n… in cache_flash_mmu_set() 75 ret = cache_flash_mmu_set_rom(cpu_no, pid, vaddr, paddr, psize, num); in cache_flash_mmu_set() 111 … cache_sram_mmu_set(int cpu_no, int pid, unsigned int vaddr, unsigned int paddr, int psize, int nu…
|
/hal_espressif-3.7.0/components/esp_mm/include/ |
D | esp_mmu_map.h | 157 esp_err_t esp_mmu_paddr_to_vaddr(esp_paddr_t paddr, mmu_target_t target, mmu_vaddr_t type, void **o… 172 esp_err_t esp_mmu_paddr_find_caps(const esp_paddr_t paddr, mmu_mem_caps_t *out_caps);
|
/hal_espressif-3.7.0/components/hal/include/hal/ |
D | mmu_hal.h | 64 void mmu_hal_map_region(uint32_t mmu_id, mmu_target_t mem_type, uint32_t vaddr, uint32_t paddr, uin… 105 bool mmu_hal_paddr_to_vaddr(uint32_t mmu_id, uint32_t paddr, mmu_target_t target, mmu_vaddr_t type,…
|
/hal_espressif-3.7.0/components/esp_mm/test_apps/mmap_hw/main/ |
D | CMakeLists.txt | 13 # Add this to skip checking mapping to a paddr range that is enclosed by a previous mapped paddr ra…
|
D | test_mmap_hw.c | 166 uint32_t paddr = 0; variable 168 TEST_ESP_OK(esp_mmu_vaddr_to_paddr((void *)vaddr, &paddr, &mem_target)); 169 TEST_ASSERT(paddr == part->address + i); 170 …ESP_LOGV(TAG, "paddr: %p, on %s", (void *)paddr, (mem_target) == MMU_TARGET_FLASH0 ? "Flash" : "PS…
|
/hal_espressif-3.7.0/components/esp_rom/include/esp32c6/rom/ |
D | cache.h | 205 int Cache_MSPI_MMU_Set(uint32_t sensitive, uint32_t ext_ram, uint32_t vaddr, uint32_t paddr, uint3… 233 int Cache_Dbus_MMU_Set(uint32_t ext_ram, uint32_t vaddr, uint32_t paddr, uint32_t psize, uint32_t n… 604 #define Cache_Dbus_MMU_Set(ext_ram, vaddr, paddr, psize, num, fixed) \ argument 605 …ets_efuse_cache_encryption_enabled() ? MMU_SENSITIVE : 0, ext_ram, vaddr, paddr, psize, num, fixed)
|
/hal_espressif-3.7.0/components/esp_rom/include/esp32h2/rom/ |
D | cache.h | 209 int Cache_MSPI_MMU_Set(uint32_t sensitive, uint32_t ext_ram, uint32_t vaddr, uint32_t paddr, uint3… 237 int Cache_Dbus_MMU_Set(uint32_t ext_ram, uint32_t vaddr, uint32_t paddr, uint32_t psize, uint32_t n… 607 #define Cache_Dbus_MMU_Set(ext_ram, vaddr, paddr, psize, num, fixed) \ argument 608 …ets_efuse_cache_encryption_enabled() ? MMU_SENSITIVE : 0, ext_ram, vaddr, paddr, psize, num, fixed)
|
/hal_espressif-3.7.0/components/esp_mm/ |
D | esp_mmu_map.c | 329 IRAM_ATTR esp_err_t esp_mmu_paddr_find_caps(const esp_paddr_t paddr, mmu_mem_caps_t *out_caps) in esp_mmu_paddr_find_caps() argument 350 if (mem_block->paddr_start == paddr) { in esp_mmu_paddr_find_caps() 722 esp_paddr_t paddr = 0; in esp_mmu_vaddr_to_paddr() local 725 bool is_mapped = s_vaddr_to_paddr((uint32_t)vaddr, &paddr, &target); in esp_mmu_vaddr_to_paddr() 728 *out_paddr = paddr; in esp_mmu_vaddr_to_paddr() 735 static bool NOINLINE_ATTR IRAM_ATTR s_paddr_to_vaddr(esp_paddr_t paddr, mmu_target_t target, mmu_va… in s_paddr_to_vaddr() argument 740 bool found = mmu_hal_paddr_to_vaddr(0, paddr, target, type, out_vaddr); in s_paddr_to_vaddr() 746 esp_err_t esp_mmu_paddr_to_vaddr(esp_paddr_t paddr, mmu_target_t target, mmu_vaddr_t type, void **o… in esp_mmu_paddr_to_vaddr() argument 753 found = s_paddr_to_vaddr(paddr, target, type, &vaddr); in esp_mmu_paddr_to_vaddr()
|
/hal_espressif-3.7.0/components/hal/esp32s3/include/hal/ |
D | mmu_ll.h | 156 static inline uint32_t mmu_ll_format_paddr(uint32_t mmu_id, uint32_t paddr, mmu_target_t target) in mmu_ll_format_paddr() argument 160 return paddr >> 16; in mmu_ll_format_paddr()
|
/hal_espressif-3.7.0/components/hal/esp32c3/include/hal/ |
D | mmu_ll.h | 156 static inline uint32_t mmu_ll_format_paddr(uint32_t mmu_id, uint32_t paddr, mmu_target_t target) in mmu_ll_format_paddr() argument 160 return paddr >> 16; in mmu_ll_format_paddr()
|
/hal_espressif-3.7.0/components/spi_flash/ |
D | flash_mmap.c | 290 uint32_t paddr = 0; in spi_flash_cache2phys() local 293 ret = esp_mmu_vaddr_to_paddr((void *)cached, &paddr, &target); in spi_flash_cache2phys() 310 return paddr + offset * CONFIG_MMU_PAGE_SIZE; in spi_flash_cache2phys()
|
/hal_espressif-3.7.0/components/hal/esp32s2/include/hal/ |
D | mmu_ll.h | 174 static inline uint32_t mmu_ll_format_paddr(uint32_t mmu_id, uint32_t paddr, mmu_target_t target) in mmu_ll_format_paddr() argument 178 return paddr >> 16; in mmu_ll_format_paddr()
|
/hal_espressif-3.7.0/components/hal/esp32c2/include/hal/ |
D | mmu_ll.h | 172 static inline uint32_t mmu_ll_format_paddr(uint32_t mmu_id, uint32_t paddr, mmu_target_t target) in mmu_ll_format_paddr() argument 193 return paddr >> shift_code; in mmu_ll_format_paddr()
|
/hal_espressif-3.7.0/components/esp_rom/include/esp32c2/rom/ |
D | cache.h | 210 int Cache_Ibus_MMU_Set(uint32_t ext_ram, uint32_t vaddr, uint32_t paddr, uint32_t psize, uint32_t … 238 int Cache_Dbus_MMU_Set(uint32_t ext_ram, uint32_t vaddr, uint32_t paddr, uint32_t psize, uint32_t n…
|
/hal_espressif-3.7.0/components/hal/esp32h2/include/hal/ |
D | mmu_ll.h | 177 static inline uint32_t mmu_ll_format_paddr(uint32_t mmu_id, uint32_t paddr, mmu_target_t target) in mmu_ll_format_paddr() argument 201 return paddr >> shift_code; in mmu_ll_format_paddr()
|
/hal_espressif-3.7.0/components/hal/esp32c6/include/hal/ |
D | mmu_ll.h | 172 static inline uint32_t mmu_ll_format_paddr(uint32_t mmu_id, uint32_t paddr, mmu_target_t target) in mmu_ll_format_paddr() argument 194 return paddr >> shift_code; in mmu_ll_format_paddr()
|
/hal_espressif-3.7.0/components/esp_rom/include/esp32c3/rom/ |
D | cache.h | 210 int Cache_Ibus_MMU_Set(uint32_t ext_ram, uint32_t vaddr, uint32_t paddr, uint32_t psize, uint32_t … 238 int Cache_Dbus_MMU_Set(uint32_t ext_ram, uint32_t vaddr, uint32_t paddr, uint32_t psize, uint32_t n…
|
/hal_espressif-3.7.0/components/esp_rom/include/esp32s2/rom/ |
D | cache.h | 162 int Cache_Ibus_MMU_Set(uint32_t ext_ram, uint32_t vaddr, uint32_t paddr, uint32_t psize, uint32_t … 189 int Cache_Dbus_MMU_Set(uint32_t ext_ram, uint32_t vaddr, uint32_t paddr, uint32_t psize, uint32_t n…
|
/hal_espressif-3.7.0/components/hal/esp32/include/hal/ |
D | mmu_ll.h | 191 static inline uint32_t mmu_ll_format_paddr(uint32_t mmu_id, uint32_t paddr, mmu_target_t target) in mmu_ll_format_paddr() argument 203 return paddr >> shift_code; in mmu_ll_format_paddr()
|
/hal_espressif-3.7.0/components/esp_rom/include/esp32s3/rom/ |
D | cache.h | 248 int Cache_Ibus_MMU_Set(uint32_t ext_ram, uint32_t vaddr, uint32_t paddr, uint32_t psize, uint32_t … 275 int Cache_Dbus_MMU_Set(uint32_t ext_ram, uint32_t vaddr, uint32_t paddr, uint32_t psize, uint32_t n…
|
/hal_espressif-3.7.0/components/xtensa/include/xtensa/ |
D | hal.h | 992 extern int xthal_static_p2v( unsigned paddr, unsigned *vaddrp, unsigned cached ); 994 extern int xthal_set_region_translation(void* vaddr, void* paddr, 998 extern int xthal_set_region_translation_raw(void *vaddr, void *paddr, unsigned cattr);
|
/hal_espressif-3.7.0/components/esp_system/ld/esp32c2/ |
D | memory.ld.in | 45 * constraint that (paddr % 64KB == vaddr % 64KB).)
|
/hal_espressif-3.7.0/components/esp_system/ld/esp32c3/ |
D | memory.ld.in | 55 * constraint that (paddr % 64KB == vaddr % 64KB).)
|