summaryrefslogtreecommitdiffhomepage
path: root/dev/kernel/StorageKit/AHCI.h
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-04-19 08:40:12 +0200
committerGitHub <noreply@github.com>2025-04-19 08:40:12 +0200
commitf87797692777540eede1d4739199b444bd15340a (patch)
tree646ae3f61ebcd3f83c888912c5f72efc0a8c25b0 /dev/kernel/StorageKit/AHCI.h
parentee1edba85ea13627871e1ed005931bd502b86ab8 (diff)
parent1740a0dff822d7666b8c1f056b6c411ef6b0f9fd (diff)
NeKernel: 0.0.10.0.1-release
# NeKernel: 0.0.1 ## Features (not all included): - New extended File System. - Kernel and Bootloader (NeKernel and BootZ) - Process Scheduler. - NeKernel's Preferred Executable Format. - SysChk. - Explicit Partition Map scheme. #### NOTE: The GPT scheme is in WiP! Please run NeKernel on QEMU!
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};
};