nuttx/arch/arm64/src
Marco Casaroli 55cd85c9ab arch/arm64: Map a region that does not start at a page table boundary.
create_region() mapped up to ENTRIES_PER_PGT pages through one final
level table, from whatever address the region started at.  The text
region starts one page after the reserved area, so a region that
crossed the end of the table wrapped around and mapped its last pages
over the first entries of the same table.  In a program with more than
about 2 MB of text, the reserved area became read-only and the kernel
faulted in umm_initialize().

Walk the region one final level table at a time.

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Marco Casaroli <marco.casaroli@gmail.com>
2026-10-09 11:20:33 -03:00
..
a64 include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
a527 include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
am62x arm64/am62x: Add TISCI client, GPIO and I2C drivers 2026-08-02 11:40:13 +08:00
bcm2711 arm64/bcm2711/pwm: Fix PWM defconfigs 2026-07-28 02:46:42 +08:00
cmake arch/arm64: make per-core -mcpu flags reachable in both build systems 2026-10-09 18:13:57 +08:00
common arch/arm64: Map a region that does not start at a page table boundary. 2026-10-09 11:20:33 -03:00
fvp-v8r include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
goldfish include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
imx8 include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
imx9 arch/arm64/imx9: skip unused PWM channel slots 2026-10-09 18:11:57 +08:00
qemu arch/arm64/qemu: Use the PL031 RTC of the virt machine. 2026-10-09 06:12:07 -03:00
rk3399 include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
rk3588 arm64: add RK3588 support 2026-07-20 20:55:52 -03:00
zynq-mpsoc include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
.gitignore
CMakeLists.txt arch: fix arch_interface guard for kernel builds 2026-08-06 02:39:03 +08:00
Makefile tools: fix stale archive members surviving a Kconfig-driven CSRCS change 2026-07-28 21:26:03 -03:00
Toolchain.defs arch/arm64: make per-core -mcpu flags reachable in both build systems 2026-10-09 18:13:57 +08:00