diff options
Diffstat (limited to 'Kernel/Devices/BXVGADevice.h')
-rw-r--r-- | Kernel/Devices/BXVGADevice.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Kernel/Devices/BXVGADevice.h b/Kernel/Devices/BXVGADevice.h index 465203a9a8..1fdf454a7e 100644 --- a/Kernel/Devices/BXVGADevice.h +++ b/Kernel/Devices/BXVGADevice.h @@ -17,10 +17,10 @@ public: private: virtual const char* class_name() const override { return "BXVGA"; } - virtual bool can_read(const FileDescription&) const override; - virtual bool can_write(const FileDescription&) const override; - virtual ssize_t read(FileDescription&, u8*, ssize_t) override; - virtual ssize_t write(FileDescription&, const u8*, ssize_t) override; + virtual bool can_read(const FileDescription&) const override { return true; } + virtual bool can_write(const FileDescription&) const override { return true; } + virtual ssize_t read(FileDescription&, u8*, ssize_t) override { return -EINVAL; } + virtual ssize_t write(FileDescription&, const u8*, ssize_t) override { return -EINVAL; } void set_register(u16 index, u16 value); u32 find_framebuffer_address(); |