1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 18:28:12 +00:00
serenity/Kernel/Graphics
Liav A 3af70cb0fc Kernel/Devices: Abstract SysFS Device add/remove methods more properly
It is starting to get a little messy with how each device can try to add
or remove itself to either /sys/dev/block or /sys/dev/char directories.

To better do this, we introduce 4 virtual methods to take care of that,
so until we ensure all nodes in /sys/dev/block and /sys/dev/char are
actual symlinks, we allow the Device base class to call virtual methods
upon insertion or before being destroying, so it add itself elegantly to
either of these directories or remove itself when needed.

For special cases where we need to create symlinks, we have two virtual
methods to be called otherwise to do almost the same thing mentioned
before, but to use symlinks instead.
2022-07-19 11:02:37 +01:00
..
Bochs Kernel/Graphics: Remove GenericGraphicsAdapter::vga_compatible method 2022-07-15 12:23:22 +02:00
Console Kernel/Graphics: Allocate VGA window region according to the usual rules 2022-07-13 19:15:17 +01:00
Generic Kernel/Graphics: Move GenericDisplayConnector code to a new sub-folder 2022-06-25 11:32:09 +01:00
Intel Kernel/Graphics: Remove GenericGraphicsAdapter::vga_compatible method 2022-07-15 12:23:22 +02:00
VirtIOGPU Kernel/Graphics: Remove GenericGraphicsAdapter::vga_compatible method 2022-07-15 12:23:22 +02:00
VMWare Kernel/Graphics: Remove GenericGraphicsAdapter::vga_compatible method 2022-07-15 12:23:22 +02:00
Definitions.h Kernel: Add ioctl to get the EDID from a framebuffer 2022-01-23 22:45:21 +00:00
DisplayConnector.cpp Kernel/Devices: Abstract SysFS Device add/remove methods more properly 2022-07-19 11:02:37 +01:00
DisplayConnector.h Kernel/Graphics: Ensure VMWare and VirtualBox EDIDs have manufacturer ID 2022-06-10 22:32:54 +01:00
GenericGraphicsAdapter.h Kernel/Graphics: Remove GenericGraphicsAdapter::vga_compatible method 2022-07-15 12:23:22 +02:00
GraphicsManagement.cpp Kernel/Graphics: Simplify initialization flow explanation comment 2022-07-12 19:54:48 +01:00
GraphicsManagement.h Kernel/Graphics: Remove VGA folder and its content 2022-07-12 19:54:48 +01:00