mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:18:12 +00:00
Kernel: Move all code into the Kernel namespace
This commit is contained in:
parent
d42f0f4661
commit
a356e48150
201 changed files with 907 additions and 111 deletions
|
@ -57,19 +57,19 @@ Console::~Console()
|
|||
}
|
||||
|
||||
#if defined(KERNEL)
|
||||
bool Console::can_read(const FileDescription&) const
|
||||
bool Console::can_read(const Kernel::FileDescription&) const
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
ssize_t Console::read(FileDescription&, u8*, ssize_t)
|
||||
ssize_t Console::read(Kernel::FileDescription&, u8*, ssize_t)
|
||||
{
|
||||
// FIXME: Implement reading from the console.
|
||||
// Maybe we could use a ring buffer for this device?
|
||||
return 0;
|
||||
}
|
||||
|
||||
ssize_t Console::write(FileDescription&, const u8* data, ssize_t size)
|
||||
ssize_t Console::write(Kernel::FileDescription&, const u8* data, ssize_t size)
|
||||
{
|
||||
if (!size)
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue