forked from Bananymous/banan-os
Kernel: Implement TerminalDriver for Framebuffer device
Use this new FramebufferTerminalDriver for terminal instead of the old VesaTerminalDriver. Only drawback with this is that framebuffer device can only be intialized after DevFS is initialized.
This commit is contained in:
@@ -23,10 +23,6 @@ namespace Kernel
|
||||
MUST(s_instance->TmpFileSystem::initialize(0755, 0, 0));
|
||||
s_instance->add_device(MUST(NullDevice::create(0666, 0, 0)));
|
||||
s_instance->add_device(MUST(ZeroDevice::create(0666, 0, 0)));
|
||||
|
||||
auto fbdev_or_error = FramebufferDevice::create_from_boot_framebuffer();
|
||||
if (!fbdev_or_error.is_error())
|
||||
s_instance->add_device(fbdev_or_error.release_value());
|
||||
}
|
||||
|
||||
DevFileSystem& DevFileSystem::get()
|
||||
|
||||
Reference in New Issue
Block a user