mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:57:34 +00:00
Kernel: Split SmapDisabler so header is platform independent
A new header file has been created in the Arch/ folder while the implementation has been moved into a CPP living in the X86 folder.
This commit is contained in:
parent
f4fb637914
commit
0fbeac6011
12 changed files with 76 additions and 39 deletions
|
@ -20,7 +20,6 @@ set(KERNEL_HEAP_SOURCES
|
|||
|
||||
set(KERNEL_SOURCES
|
||||
AddressSanitizer.cpp
|
||||
Arch/x86/SmapDisabler.h
|
||||
Bus/PCI/Access.cpp
|
||||
Bus/PCI/API.cpp
|
||||
Bus/PCI/Device.cpp
|
||||
|
@ -291,6 +290,7 @@ if ("${SERENITY_ARCH}" STREQUAL "i686" OR "${SERENITY_ARCH}" STREQUAL "x86_64")
|
|||
set(KERNEL_SOURCES
|
||||
${KERNEL_SOURCES}
|
||||
Arch/x86/ScopedCritical.cpp
|
||||
Arch/x86/SmapDisabler.cpp
|
||||
)
|
||||
|
||||
set(KERNEL_SOURCES
|
||||
|
@ -369,6 +369,7 @@ else()
|
|||
${AK_SOURCES}
|
||||
|
||||
Arch/aarch64/dummy.cpp
|
||||
Arch/aarch64/SmapDisabler.cpp
|
||||
Arch/aarch64/ScopedCritical.cpp
|
||||
|
||||
UBSanitizer.cpp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue