nuttx/arch
wushenhui 9653e5d6d7 risc-v/mmu: Fix map_region() for incorrect page table setup when vaddr is unaligned
When the vaddr parameter passed to map_region() is not aligned to the page directory,
it causes incorrect address mapping for later regions.

For example, in the sv32 case, `PGPOOL` started at `0x80a00000` with a size of `1024*4096B`,
leading to page table errors for the range `0x80c00000~0x80e00000`.

This patch fixes the issue by ensuring map_region() correctly handles unaligned vaddr cases.

Signed-off-by: wushenhui <wushenhui@xiaomi.com>
2025-06-23 18:38:50 +08:00
..
arm mcx-nxxx: Add LPI2C driver for mcx-nxxx architecture 2025-06-23 18:35:38 +08:00
arm64 arch/arm64/imx9: Guard EL3-only features when booting at EL1 2025-05-28 14:39:55 -03:00
avr arch/avr: make linker print memory usage if GCC is used 2025-05-27 20:46:22 +08:00
ceva Revert "Reduce the size of tcb by four bytes." 2025-05-27 16:30:35 +08:00
dummy
hc style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
mips arch: unify Private Types banners 2025-05-28 10:17:15 +08:00
misoc Revert "Reduce the size of tcb by four bytes." 2025-05-27 16:30:35 +08:00
or1k Revert "Reduce the size of tcb by four bytes." 2025-05-27 16:30:35 +08:00
renesas Revert "Reduce the size of tcb by four bytes." 2025-05-27 16:30:35 +08:00
risc-v risc-v/mmu: Fix map_region() for incorrect page table setup when vaddr is unaligned 2025-06-23 18:38:50 +08:00
sim arch: unify Private Types banners 2025-05-28 10:17:15 +08:00
sparc Revert "Reduce the size of tcb by four bytes." 2025-05-27 16:30:35 +08:00
tricore Revert "Reduce the size of tcb by four bytes." 2025-05-27 16:30:35 +08:00
x86 Revert "Reduce the size of tcb by four bytes." 2025-05-27 16:30:35 +08:00
x86_64 Revert "Reduce the size of tcb by four bytes." 2025-05-27 16:30:35 +08:00
xtensa Revert "Reduce the size of tcb by four bytes." 2025-05-27 16:30:35 +08:00
z16 Revert "Reduce the size of tcb by four bytes." 2025-05-27 16:30:35 +08:00
z80 Revert "Reduce the size of tcb by four bytes." 2025-05-27 16:30:35 +08:00
CMakeLists.txt
Kconfig style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00