diff options
author | Conrad Pankoff <deoxxa@fknsrs.biz> | 2020-04-10 19:44:42 +1000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-04-10 11:59:30 +0200 |
commit | a3edeb5868abbd642d55d25f84c6ef83a7c7c9a2 (patch) | |
tree | dca1fe766c20f592e45a28b77563cb3e9f40d7e4 /Kernel/Devices/PATADiskDevice.h | |
parent | 68c7ca7d3b246c5233dc6c93fa04f731beadafaa (diff) | |
download | serenity-a3edeb5868abbd642d55d25f84c6ef83a7c7c9a2.zip |
Kernel: Add explicit offset parameter to File::read etc
Diffstat (limited to 'Kernel/Devices/PATADiskDevice.h')
-rw-r--r-- | Kernel/Devices/PATADiskDevice.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Kernel/Devices/PATADiskDevice.h b/Kernel/Devices/PATADiskDevice.h index 4e03f83fbd..434aa0dfa1 100644 --- a/Kernel/Devices/PATADiskDevice.h +++ b/Kernel/Devices/PATADiskDevice.h @@ -61,10 +61,10 @@ public: void set_drive_geometry(u16, u16, u16); // ^BlockDevice - virtual ssize_t read(FileDescription&, u8*, ssize_t) override; - virtual bool can_read(const FileDescription&) const override; - virtual ssize_t write(FileDescription&, const u8*, ssize_t) override; - virtual bool can_write(const FileDescription&) const override; + virtual ssize_t read(FileDescription&, size_t, u8*, ssize_t) override; + virtual bool can_read(const FileDescription&, size_t) const override; + virtual ssize_t write(FileDescription&, size_t, const u8*, ssize_t) override; + virtual bool can_write(const FileDescription&, size_t) const override; protected: explicit PATADiskDevice(PATAChannel&, DriveType, int, int); |