summaryrefslogtreecommitdiffstats
path: root/spec/build/bsps/aarch64/optmmupages.yml (follow)
Commit message (Collapse)AuthorAgeFilesLines
* bsps/aarch64: Add MMU driver to relax alignmentKinsey Moore2021-05-271-0/+19
Currently, the AArch64 BSPs have a hard time running on real hardware without building the toolchain and the bsps with -mstrict-align in multiple places. Configuring the MMU on these chips allows for unaligned memory accesses for non-device memory which avoids requiring strict alignment in the toolchain and in the BSPs themselves. In writing this driver, it was found that the synchronous exception handling code needed to be rewritten since it relied on clearing SCTLR_EL1 to avoid thread stack misalignments in RTEMS_DEBUG mode. This is now avoided by exactly preserving thread mode stack and flags and the new implementation is compatible with the draft information provided on the mailing list covering the Exception Management API.