1
0
mirror of https://github.com/SerenityOS/serenity synced 2024-07-09 09:00:46 +00:00

Kernel: Move VGATextModeConsole code to the Arch/x86_64/ISABus directory

This code is specific to x86 machines, as virtually no other computer
architecture has any compatibility with old VGA legacy functionality.
This commit is contained in:
Liav A. 2024-03-16 00:20:12 +02:00 committed by Andrew Kaster
parent f4636a0cf5
commit c48d540230
5 changed files with 3 additions and 4 deletions

View File

@ -68,7 +68,7 @@
# include <Kernel/Arch/x86_64/Hypervisor/VMWareBackdoor.h>
# include <Kernel/Arch/x86_64/Interrupts/APIC.h>
# include <Kernel/Arch/x86_64/Interrupts/PIC.h>
# include <Kernel/Devices/GPU/Console/VGATextModeConsole.h>
# include <Kernel/Arch/x86_64/VGA/TextModeConsole.h>
#elif ARCH(AARCH64)
# include <Kernel/Arch/aarch64/RPi/Framebuffer.h>
# include <Kernel/Arch/aarch64/RPi/Mailbox.h>

View File

@ -4,7 +4,7 @@
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <Kernel/Devices/GPU/Console/VGATextModeConsole.h>
#include <Kernel/Arch/x86_64/VGA/TextModeConsole.h>
#include <Kernel/Devices/GPU/Management.h>
#include <Kernel/Sections.h>

View File

@ -89,7 +89,6 @@ set(KERNEL_SOURCES
Devices/GPU/Console/BootFramebufferConsole.cpp
Devices/GPU/Console/GenericFramebufferConsole.cpp
Devices/GPU/Console/ContiguousFramebufferConsole.cpp
Devices/GPU/Console/VGATextModeConsole.cpp
Devices/GPU/DisplayConnector.cpp
Devices/GPU/Generic/DisplayConnector.cpp
Devices/GPU/Management.cpp
@ -424,6 +423,7 @@ if ("${SERENITY_ARCH}" STREQUAL "x86_64")
Arch/x86_64/PCI/MSI.cpp
Arch/x86_64/VGA/IOArbiter.cpp
Arch/x86_64/VGA/TextModeConsole.cpp
Arch/x86_64/PowerState.cpp
Arch/x86_64/RTC.cpp

View File

@ -514,7 +514,6 @@ executable("Kernel_bin") {
"Devices/GPU/Console/BootFramebufferConsole.cpp",
"Devices/GPU/Console/ContiguousFramebufferConsole.cpp",
"Devices/GPU/Console/GenericFramebufferConsole.cpp",
"Devices/GPU/Console/VGATextModeConsole.cpp",
"Devices/GPU/DisplayConnector.cpp",
"Devices/GPU/Generic/DisplayConnector.cpp",
"Devices/GPU/Intel/Auxiliary/GMBusConnector.cpp",