diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-02-16 10:40:47 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-02-16 10:40:47 +0100 |
commit | 7210d2ade5cfb9b0928f8d7b363093f6484b1dea (patch) | |
tree | d5fea72d22ed5a79080b729a840e5b4da1c9b231 | |
parent | 468113422f2b5fd8702f0e3b3c8588e3955cfa4a (diff) | |
download | serenity-7210d2ade5cfb9b0928f8d7b363093f6484b1dea.zip |
Kernel: Remove knowledge about BochsVGADevice from Process.
-rw-r--r-- | Kernel/Process.cpp | 12 | ||||
-rw-r--r-- | Kernel/Process.h | 2 |
2 files changed, 0 insertions, 14 deletions
diff --git a/Kernel/Process.cpp b/Kernel/Process.cpp index 290c8cf0ae..4e75e11f43 100644 --- a/Kernel/Process.cpp +++ b/Kernel/Process.cpp @@ -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) diff --git a/Kernel/Process.h b/Kernel/Process.h index e75b2279ee..3c6396875b 100644 --- a/Kernel/Process.h +++ b/Kernel/Process.h @@ -223,8 +223,6 @@ public: int sys$accept(int sockfd, 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); static void initialize(); |