summaryrefslogtreecommitdiff
path: root/Kernel/Graphics/FramebufferDevice.h
diff options
context:
space:
mode:
authorLiav A <liavalb@gmail.com>2021-09-21 09:26:14 +0300
committerIdan Horowitz <idan.horowitz@gmail.com>2021-10-27 07:57:44 +0300
commitfb0ed2ae46504de82702130894c51e81fbab095f (patch)
treefcf727ee90b81e551439a13e7fc0ee38450464eb /Kernel/Graphics/FramebufferDevice.h
parent4815282a5f768b05c9d075fbcff15b46b84aac3b (diff)
downloadserenity-fb0ed2ae46504de82702130894c51e81fbab095f.zip
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.
Diffstat (limited to 'Kernel/Graphics/FramebufferDevice.h')
-rw-r--r--Kernel/Graphics/FramebufferDevice.h3
1 files changed, 3 insertions, 0 deletions
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);