esp-idf/components/esp_mm
Armando 98892a3288 esp_mm: correct mmap reserved irom and drom size
Prior to this commit, we don't consider the offset of the irom vaddr
start.

If the offset + size is bigger than the MMU page size, for example:
MMU page size: 0x10000
irom vaddr: 0x4200_0800, so offset = 0x800
irom size: 0xF900
offset + size = 0x10100

Under this condition, the 0x4200_0000 ~ 0x4202_0000, two MMU pages are
used.

With this commit, when reserving the irom and drom, we take the offset
into consideration as well.
2023-02-07 20:23:53 +08:00
..
include
port
test_apps/mmap
CMakeLists.txt
Kconfig
Kconfig.mmap
esp_mmu_map.c esp_mm: correct mmap reserved irom and drom size 2023-02-07 20:23:53 +08:00
ext_mem_layout.h