summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Bertalan <dani@danielbertalan.dev>2023-05-27 09:42:19 +0200
committerAndrew Kaster <andrewdkaster@gmail.com>2023-05-28 05:05:09 -0600
commit7987bf5b92317917e042cadfea1e8531c7f55df2 (patch)
tree42c2f35cc6cb37bc8a91d5714a923b7a14061659
parent12a2f741a7c7a262cd9e65624620d74d77c9ed0c (diff)
downloadserenity-7987bf5b92317917e042cadfea1e8531c7f55df2.zip
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.
-rw-r--r--Kernel/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/CMakeLists.txt b/Kernel/CMakeLists.txt
index cdbd99f8e1..67694bbb50 100644
--- a/Kernel/CMakeLists.txt
+++ b/Kernel/CMakeLists.txt
@@ -443,7 +443,6 @@ elseif("${SERENITY_ARCH}" STREQUAL "aarch64")
Arch/aarch64/RPi/InterruptController.cpp
Arch/aarch64/RPi/Mailbox.cpp
Arch/aarch64/RPi/MiniUART.cpp
- Arch/aarch64/RPi/MMIO.cpp
Arch/aarch64/RPi/SDHostController.cpp
Arch/aarch64/RPi/Timer.cpp
Arch/aarch64/RPi/UART.cpp
@@ -453,6 +452,7 @@ elseif("${SERENITY_ARCH}" STREQUAL "aarch64")
Arch/aarch64/Exceptions.cpp
Arch/aarch64/MMU.cpp
Arch/aarch64/pre_init.cpp
+ Arch/aarch64/RPi/MMIO.cpp
)
set(KERNEL_SOURCES
${KERNEL_SOURCES}