ladybird/Kernel/Graphics
Liav A 72b144e9e9 Kernel/Graphics: Introduce a new mechanism to initialize a PCI device
Instead of using a clunky switch-case paradigm, we now have all drivers
being declaring two methods for their adapter class - create and probe.
These methods are linked in each PCIGraphicsDriverInitializer structure,
in a new s_initializers static list of them.
Then, when we probe for a PCI device, we use each probe method and if
there's a match, then the corresponding create method is called.

As a result of this change, it's much more easy to add more drivers and
the initialization code is more readable.
2023-01-07 11:51:13 -07:00
..
Bochs Kernel/Graphics: Introduce a new mechanism to initialize a PCI device 2023-01-07 11:51:13 -07:00
Console Kernel: Turn lock ranks into template parameters 2023-01-02 18:15:27 -05:00
Generic Kernel: Remove unused includes of Kernel/Debug.h 2023-01-02 20:27:20 -05:00
Intel Kernel/Graphics: Introduce a new mechanism to initialize a PCI device 2023-01-07 11:51:13 -07:00
VirtIOGPU Kernel/Graphics: Introduce a new mechanism to initialize a PCI device 2023-01-07 11:51:13 -07:00
VMWare Kernel/Graphics: Introduce a new mechanism to initialize a PCI device 2023-01-07 11:51:13 -07:00
Definitions.h Kernel: Add ioctl to get the EDID from a framebuffer 2022-01-23 22:45:21 +00:00
DisplayConnector.cpp Kernel/Graphics: Allocate 16 MiB framebuffer if failed allocating larger 2023-01-07 11:45:08 -07:00
DisplayConnector.h Kernel/Graphics: Allocate 16 MiB framebuffer if failed allocating larger 2023-01-07 11:45:08 -07:00
GenericGraphicsAdapter.h Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
GraphicsManagement.cpp Kernel/Graphics: Introduce a new mechanism to initialize a PCI device 2023-01-07 11:51:13 -07:00
GraphicsManagement.h Kernel/Graphics: Introduce a new mechanism to initialize a PCI device 2023-01-07 11:51:13 -07:00