1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 06:38:10 +00:00

Kernel: Much improved BochsVGA (BXVGA) support.

Instead of cowboy-calling the VESA BIOS in the bootloader, find the emulator
VGA adapter by scanning the PCI bus. Then set up the desired video mode by
sending device commands.
This commit is contained in:
Andreas Kling 2019-02-06 10:17:26 +01:00
parent e9f6508ada
commit 731fc5a7c8
16 changed files with 298 additions and 114 deletions

View file

@ -23,6 +23,7 @@
#include "PS2MouseDevice.h"
#include "PTYMultiplexer.h"
#include "DevPtsFS.h"
#include "BochsVGADevice.h"
//#define SPAWN_GUITEST
#define SPAWN_GUITEST2
@ -170,11 +171,14 @@ void init()
MemoryManager::initialize();
StringImpl::initialize_globals();
BochsVGADevice::initialize_statics();
PIT::initialize();
memset(&system, 0, sizeof(system));
new BochsVGADevice;
auto new_procfs = ProcFS::create();
new_procfs->initialize();