mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 08:58:11 +00:00
Kernel: Remove knowledge about BochsVGADevice from Process.
This commit is contained in:
parent
468113422f
commit
7210d2ade5
2 changed files with 0 additions and 14 deletions
|
@ -19,7 +19,6 @@
|
|||
#include "FIFO.h"
|
||||
#include "KSyms.h"
|
||||
#include <WindowServer/WSMessageLoop.h>
|
||||
#include <Kernel/BochsVGADevice.h>
|
||||
#include <Kernel/Socket.h>
|
||||
#include "MasterPTY.h"
|
||||
#include "elf.h"
|
||||
|
@ -2228,17 +2227,6 @@ bool Process::tick()
|
|||
return --m_ticks_left;
|
||||
}
|
||||
|
||||
DisplayInfo Process::set_video_resolution(int width, int height)
|
||||
{
|
||||
DisplayInfo info;
|
||||
info.width = width;
|
||||
info.height = height;
|
||||
info.bpp = 32;
|
||||
info.pitch = width * 4;
|
||||
BochsVGADevice::the().set_resolution(width, height);
|
||||
return info;
|
||||
}
|
||||
|
||||
int Process::sys$socket(int domain, int type, int protocol)
|
||||
{
|
||||
if (number_of_open_file_descriptors() >= m_max_open_file_descriptors)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue