kernel: Make the framebuffer a block device
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
7cdb967730
commit
cba0a23db9
@ -13,6 +13,11 @@ class FramebufferDevice : public Device
|
|||||||
|
|
||||||
bool blocking() const override;
|
bool blocking() const override;
|
||||||
|
|
||||||
|
bool is_block_device() const override
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
Result<u64> ioctl(int request, void* arg) override;
|
Result<u64> ioctl(int request, void* arg) override;
|
||||||
|
|
||||||
usize size() const override;
|
usize size() const override;
|
||||||
|
Loading…
Reference in New Issue
Block a user