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:
parent
530aa51816
commit
340773ddb7
11 changed files with 640 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue