Kernel: Add ioctl to sync rectangular areas in framebuffer

msync is not really the best API for framebuffer synchronization
This commit is contained in:
2026-04-11 08:29:10 +03:00
parent 2b97587e9f
commit ac6e6f3ec1
3 changed files with 32 additions and 0 deletions

View File

@@ -37,6 +37,8 @@ namespace Kernel
virtual BAN::ErrorOr<size_t> read_impl(off_t, BAN::ByteSpan) override;
virtual BAN::ErrorOr<size_t> write_impl(off_t, BAN::ConstByteSpan) override;
BAN::ErrorOr<long> ioctl_impl(int cmd, void* arg) override;
virtual bool can_read_impl() const override { return true; }
virtual bool can_write_impl() const override { return true; }
virtual bool has_error_impl() const override { return false; }