1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 06:27:45 +00:00

Kernel/aarch64: Add RPi/MMIO.cpp to SOURCES_RUNNING_WITHOUT_MMU

Otherwise, `MMIO::MMIO` will fault on the RPi 3 due to accessing
`__stack_chk_guard` before the kernel is mapped into high memory.
This commit is contained in:
Daniel Bertalan 2023-05-27 09:42:19 +02:00 committed by Andrew Kaster
parent 12a2f741a7
commit 7987bf5b92

View file

@ -443,7 +443,6 @@ elseif("${SERENITY_ARCH}" STREQUAL "aarch64")
Arch/aarch64/RPi/InterruptController.cpp Arch/aarch64/RPi/InterruptController.cpp
Arch/aarch64/RPi/Mailbox.cpp Arch/aarch64/RPi/Mailbox.cpp
Arch/aarch64/RPi/MiniUART.cpp Arch/aarch64/RPi/MiniUART.cpp
Arch/aarch64/RPi/MMIO.cpp
Arch/aarch64/RPi/SDHostController.cpp Arch/aarch64/RPi/SDHostController.cpp
Arch/aarch64/RPi/Timer.cpp Arch/aarch64/RPi/Timer.cpp
Arch/aarch64/RPi/UART.cpp Arch/aarch64/RPi/UART.cpp
@ -453,6 +452,7 @@ elseif("${SERENITY_ARCH}" STREQUAL "aarch64")
Arch/aarch64/Exceptions.cpp Arch/aarch64/Exceptions.cpp
Arch/aarch64/MMU.cpp Arch/aarch64/MMU.cpp
Arch/aarch64/pre_init.cpp Arch/aarch64/pre_init.cpp
Arch/aarch64/RPi/MMIO.cpp
) )
set(KERNEL_SOURCES set(KERNEL_SOURCES
${KERNEL_SOURCES} ${KERNEL_SOURCES}