1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 07:58:11 +00:00

Kernel/Graphics: Implement basic support for VMWare SVGA adapter

This commit is contained in:
Liav A 2022-03-18 16:46:55 +02:00 committed by Linus Groh
parent 530aa51816
commit 340773ddb7
11 changed files with 640 additions and 1 deletions

View file

@ -16,6 +16,7 @@
#include <Kernel/Graphics/VGA/ISAAdapter.h>
#include <Kernel/Graphics/VGA/PCIAdapter.h>
#include <Kernel/Graphics/VGA/VGACompatibleAdapter.h>
#include <Kernel/Graphics/VMWare/GraphicsAdapter.h>
#include <Kernel/Graphics/VirtIOGPU/GraphicsAdapter.h>
#include <Kernel/Memory/AnonymousVMObject.h>
#include <Kernel/Multiboot.h>
@ -167,6 +168,9 @@ UNMAP_AFTER_INIT bool GraphicsManagement::determine_and_initialize_graphics_devi
dmesgln("Graphics: Using VirtIO console");
adapter = VirtIOGraphicsAdapter::initialize(device_identifier);
break;
case PCI::VendorID::VMWare:
adapter = VMWareGraphicsAdapter::try_initialize(device_identifier);
break;
default:
if (!is_vga_compatible_pci_device(device_identifier))
break;