diff options
author | Liav A <liavalb@gmail.com> | 2021-09-21 09:26:14 +0300 |
---|---|---|
committer | Idan Horowitz <idan.horowitz@gmail.com> | 2021-10-27 07:57:44 +0300 |
commit | fb0ed2ae46504de82702130894c51e81fbab095f (patch) | |
tree | fcf727ee90b81e551439a13e7fc0ee38450464eb /Kernel/Graphics/FramebufferDevice.h | |
parent | 4815282a5f768b05c9d075fbcff15b46b84aac3b (diff) | |
download | serenity-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.h | 3 |
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); |