cleanup: rename Graphics:Cursor => Graphics::Framebuffer
This commit is contained in:
+4
-4
@@ -30,7 +30,7 @@
|
||||
#include <Drivers/PS2/Mouse.hpp>
|
||||
#include <Drivers/Init.hpp>
|
||||
#include <Drivers/USB/Bluetooth/Bluetooth.hpp>
|
||||
#include <Graphics/Cursor.hpp>
|
||||
#include <Graphics/Framebuffer.hpp>
|
||||
#include <Hal/MSR.hpp>
|
||||
#include <Hal/Cpu.hpp>
|
||||
#include <Fs/Boot.hpp>
|
||||
@@ -125,14 +125,14 @@ extern "C" void kmain() {
|
||||
|
||||
#endif
|
||||
|
||||
// Initialize Cursor early so we can WC-map the framebuffer before
|
||||
// Initialize the framebuffer early so we can WC-map it before
|
||||
// the bulk of boot logging begins (ACPI, PCI, drivers, etc.)
|
||||
Graphics::Cursor::Initialize(framebuffer);
|
||||
Graphics::Framebuffer::Initialize(framebuffer);
|
||||
|
||||
#if defined (__x86_64__)
|
||||
// Map framebuffer as Write-Combining immediately for faster screen writes.
|
||||
// All subsequent log output benefits from WC burst transfers.
|
||||
Graphics::Cursor::MapWriteCombining();
|
||||
Graphics::Framebuffer::MapWriteCombining();
|
||||
#endif
|
||||
|
||||
Hal::ACPI g_acpi((Hal::ACPI::XSDP*)Memory::HHDM(boot.rsdpPhysical));
|
||||
|
||||
Reference in New Issue
Block a user