mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:47:35 +00:00
Kernel: Use established device name and number for framebuffer
This is to prepare for other framebuffer implementations, for which it would be inappropriate to use the /dev/bxvga device name.
This commit is contained in:
parent
e60577aab6
commit
53ddbce0b3
3 changed files with 3 additions and 3 deletions
|
@ -23,7 +23,7 @@ WSScreen::WSScreen(unsigned width, unsigned height)
|
|||
ASSERT(!s_the);
|
||||
s_the = this;
|
||||
m_cursor_location = rect().center();
|
||||
m_framebuffer_fd = open("/dev/bxvga", O_RDWR);
|
||||
m_framebuffer_fd = open("/dev/fb0", O_RDWR);
|
||||
ASSERT(m_framebuffer_fd >= 0);
|
||||
|
||||
set_resolution(width, height);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue