1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 15:27:35 +00:00

Kernel: Export both interface type and command set of a StorageDevice

This commit is contained in:
Liav A 2022-04-22 16:15:41 +03:00 committed by Andreas Kling
parent 6ff1aeb64d
commit 7db6b77e75
6 changed files with 54 additions and 0 deletions

View file

@ -32,6 +32,7 @@ private:
// ^StorageDevice
virtual CommandSet command_set() const override { return CommandSet::PlainMemory; }
virtual InterfaceType interface_type() const override { return InterfaceType::PlainMemory; }
Mutex m_lock { "RamdiskDevice"sv };