1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:38:11 +00:00

Kernel: Rename Console => ConsoleDevice

This change will help to distinguish between the console
device and the Console abstraction layer in the Graphics
subsystem later.
This commit is contained in:
Liav A 2021-04-24 17:50:35 +03:00 committed by Andreas Kling
parent 0669dd82e2
commit 8f2ddde4cb
7 changed files with 28 additions and 24 deletions

View file

@ -12,7 +12,7 @@
#include <Kernel/Arch/x86/CPU.h>
#include <Kernel/Arch/x86/ProcessorInfo.h>
#include <Kernel/CommandLine.h>
#include <Kernel/Console.h>
#include <Kernel/ConsoleDevice.h>
#include <Kernel/DMI.h>
#include <Kernel/Debug.h>
#include <Kernel/Devices/BlockDevice.h>
@ -653,7 +653,7 @@ static bool procfs$self(InodeIdentifier, KBufferBuilder& builder)
static bool procfs$dmesg(InodeIdentifier, KBufferBuilder& builder)
{
InterruptDisabler disabler;
for (char ch : Console::the().logbuffer())
for (char ch : ConsoleDevice::the().logbuffer())
builder.append(ch);
return true;
}