1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 19:25:10 +00:00

Kernel/Graphics: Rename TextModeConsole => VGATextModeConsole

This change represents well the fact that the text mode console is based
on VGA text mode.
This commit is contained in:
Liav A 2022-07-13 20:11:28 +03:00 committed by Linus Groh
parent 97a769d2a9
commit 00dbd667d5
4 changed files with 19 additions and 19 deletions

View file

@ -35,7 +35,7 @@
#include <Kernel/Firmware/ACPI/Parser.h>
#include <Kernel/Firmware/Hypervisor/VMWareBackdoor.h>
#include <Kernel/Graphics/Console/BootFramebufferConsole.h>
#include <Kernel/Graphics/Console/TextModeConsole.h>
#include <Kernel/Graphics/Console/VGATextModeConsole.h>
#include <Kernel/Graphics/GraphicsManagement.h>
#include <Kernel/Heap/kmalloc.h>
#include <Kernel/Interrupts/APIC.h>
@ -208,7 +208,7 @@ extern "C" [[noreturn]] UNMAP_AFTER_INIT void init(BootInfo const& boot_info)
if (!multiboot_framebuffer_addr.is_null() && multiboot_framebuffer_type == MULTIBOOT_FRAMEBUFFER_TYPE_RGB) {
g_boot_console = &try_make_ref_counted<Graphics::BootFramebufferConsole>(multiboot_framebuffer_addr, multiboot_framebuffer_width, multiboot_framebuffer_height, multiboot_framebuffer_pitch).value().leak_ref();
} else {
g_boot_console = &Graphics::TextModeConsole::initialize().leak_ref();
g_boot_console = &Graphics::VGATextModeConsole::initialize().leak_ref();
}
}
dmesgln("Starting SerenityOS...");