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

Kernel: Move QEMU shutdown code to the x86 subdirectory

QEMU VM shutdown code is really x86 specific, so let's ensure we only
use it when compiling a Kernel for x86 machines.
This commit is contained in:
Liav A 2022-09-02 09:45:30 +03:00 committed by Linus Groh
parent d3601aedc5
commit 4555cac639
4 changed files with 43 additions and 6 deletions

View file

@ -335,6 +335,7 @@ if ("${SERENITY_ARCH}" STREQUAL "i686" OR "${SERENITY_ARCH}" STREQUAL "x86_64")
Arch/x86/common/ScopedCritical.cpp
Arch/x86/common/SmapDisabler.cpp
Arch/x86/common/QEMUShutdown.cpp
)
set(KERNEL_SOURCES