From fb0ed2ae46504de82702130894c51e81fbab095f Mon Sep 17 00:00:00 2001 From: Liav A Date: Tue, 21 Sep 2021 09:26:14 +0300 Subject: 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. --- Kernel/Graphics/FramebufferDevice.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Kernel/Graphics/FramebufferDevice.h') diff --git a/Kernel/Graphics/FramebufferDevice.h b/Kernel/Graphics/FramebufferDevice.h index eb631d32e0..0c048b684c 100644 --- a/Kernel/Graphics/FramebufferDevice.h +++ b/Kernel/Graphics/FramebufferDevice.h @@ -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); -- cgit v1.2.3