mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 19:27: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:
parent
8b9c056c5a
commit
48f3d762af
5 changed files with 154 additions and 30 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue