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

Kernel/Graphics: Move x86-specific support for VGA to Arch/x86 directory

The new VGAIOArbiter class is now responsible to conduct x86-specific
instructions to control VGA hardware from the old ISA ports. This allows
us to ensure the GraphicsManagement code doesn't use x86-specific code,
thus allowing it to be compiled within non-x86 kernel builds.
This commit is contained in:
Liav A 2022-09-23 11:06:14 +03:00 committed by Linus Groh
parent 8b9c056c5a
commit 48f3d762af
5 changed files with 154 additions and 30 deletions

View file

@ -344,6 +344,8 @@ if ("${SERENITY_ARCH}" STREQUAL "i686" OR "${SERENITY_ARCH}" STREQUAL "x86_64")
Arch/x86/PCI/Controller/HostBridge.cpp
Arch/x86/PCI/IDELegacyModeController.cpp
Arch/x86/PCI/Initializer.cpp
Arch/x86/VGA/IOArbiter.cpp
)
set(KERNEL_SOURCES