Skip to content

Commit

Permalink
Kernel: Move VGATextModeConsole code to the Arch/x86_64/ISABus directory
Browse files Browse the repository at this point in the history
This code is specific to x86 machines, as virtually no other computer
architecture has any compatibility with old VGA legacy functionality.
  • Loading branch information
supercomputer7 authored and ADKaster committed May 23, 2024
1 parent f4636a0 commit c48d540
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Kernel/Arch/init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion Kernel/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion Meta/gn/secondary/Kernel/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit c48d540

Please sign in to comment.