mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:37:35 +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 "FIFO.h"
|
||||||
#include "KSyms.h"
|
#include "KSyms.h"
|
||||||
#include <WindowServer/WSMessageLoop.h>
|
#include <WindowServer/WSMessageLoop.h>
|
||||||
#include <Kernel/BochsVGADevice.h>
|
|
||||||
#include <Kernel/Socket.h>
|
#include <Kernel/Socket.h>
|
||||||
#include "MasterPTY.h"
|
#include "MasterPTY.h"
|
||||||
#include "elf.h"
|
#include "elf.h"
|
||||||
|
@ -2228,17 +2227,6 @@ bool Process::tick()
|
||||||
return --m_ticks_left;
|
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)
|
int Process::sys$socket(int domain, int type, int protocol)
|
||||||
{
|
{
|
||||||
if (number_of_open_file_descriptors() >= m_max_open_file_descriptors)
|
if (number_of_open_file_descriptors() >= m_max_open_file_descriptors)
|
||||||
|
|
|
@ -223,8 +223,6 @@ public:
|
||||||
int sys$accept(int sockfd, sockaddr*, socklen_t*);
|
int sys$accept(int sockfd, sockaddr*, socklen_t*);
|
||||||
int sys$connect(int sockfd, const sockaddr*, socklen_t);
|
int sys$connect(int sockfd, const sockaddr*, socklen_t);
|
||||||
|
|
||||||
DisplayInfo set_video_resolution(int width, int height);
|
|
||||||
|
|
||||||
bool wait_for_connect(Socket&, int& error);
|
bool wait_for_connect(Socket&, int& error);
|
||||||
|
|
||||||
static void initialize();
|
static void initialize();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue