Allow clients to get the console from the kernel object

This commit is contained in:
Eryn Wells 2016-03-23 01:42:52 -04:00
parent 3ad5e67e66
commit 6aa4453f77
3 changed files with 13 additions and 2 deletions

View file

@ -12,7 +12,7 @@
namespace {
static kernel::Kernel sKernel;
} /* anonymous namespace */
namespace kernel {
@ -55,6 +55,12 @@ Kernel::panic(const char* msg,
halt();
}
Console&
Kernel::console()
{
return mConsole;
}
/*
* Private
*/