summaryrefslogtreecommitdiffhomepage
path: root/dev/kernel/StorageKit/AHCI.h
diff options
context:
space:
mode:
Diffstat (limited to 'dev/kernel/StorageKit/AHCI.h')
-rw-r--r--dev/kernel/StorageKit/AHCI.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/dev/kernel/StorageKit/AHCI.h b/dev/kernel/StorageKit/AHCI.h
index 7e2eaf68..68a42c46 100644
--- a/dev/kernel/StorageKit/AHCI.h
+++ b/dev/kernel/StorageKit/AHCI.h
@@ -12,12 +12,14 @@
namespace Kernel
{
+ /// @brief AHCIDeviceInterface class
+ /// @details This class is used to send and receive data from the AHCI device.
+ /// @note The class is derived from the IDeviceObject class.
class AHCIDeviceInterface NE_DEVICE<MountpointInterface*>
{
public:
explicit AHCIDeviceInterface(void (*out)(IDeviceObject* self, MountpointInterface* out),
- void (*in)(IDeviceObject* self, MountpointInterface* in),
- void (*cleanup)(void));
+ void (*in)(IDeviceObject* self, MountpointInterface* in));
virtual ~AHCIDeviceInterface() override;
@@ -40,7 +42,6 @@ namespace Kernel
AHCIDeviceInterface& operator>>(MountpointInterface* Data) override;
private:
- Void (*fCleanup)(Void) = {nullptr};
UInt16 fPortsImplemented{0U};
UInt32 fDriveIndex{0U};
};