1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 21:08:12 +00:00

Kernel/Graphics: Force VirtIO Framebuffer to inherit FramebufferDevice

The distinction is not justified because a VirtIO Framebuffer device
acts much more like a regular FramebufferDevice than a pure BlockDevice.
This commit is contained in:
Liav A 2021-09-21 09:26:14 +03:00 committed by Idan Horowitz
parent 4815282a5f
commit fb0ed2ae46
7 changed files with 24 additions and 14 deletions

View file

@ -34,6 +34,9 @@ public:
virtual ~FramebufferDevice() {};
KResult initialize();
protected:
FramebufferDevice(const GraphicsDevice&, size_t);
private:
FramebufferDevice(const GraphicsDevice&, size_t, PhysicalAddress, size_t, size_t, size_t);