summaryrefslogtreecommitdiffhomepage
path: root/dev/Kernel/StorageKit/AHCI.h
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2025-03-03 05:46:44 +0100
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2025-03-03 05:46:44 +0100
commit6249f2078e0c024dc2cd52436ba11baf6f70bc2a (patch)
tree0272dd3ecf200819e2838a4be5e2bf0c28cfd557 /dev/Kernel/StorageKit/AHCI.h
parent31698c31a8a48f77a64e97baa5297633b18221e5 (diff)
ADD: AHCI: New AHCI Driver API, and refactor AHCIDeviceInterface class
from SK. NEXT: System Call Table for Kernel to User interaction. Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/Kernel/StorageKit/AHCI.h')
-rw-r--r--dev/Kernel/StorageKit/AHCI.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/dev/Kernel/StorageKit/AHCI.h b/dev/Kernel/StorageKit/AHCI.h
index c68ba5d2..ce0f91c3 100644
--- a/dev/Kernel/StorageKit/AHCI.h
+++ b/dev/Kernel/StorageKit/AHCI.h
@@ -31,6 +31,7 @@ namespace NeOS
{
return this->fPortsImplemented;
}
+
Void SetPi(const UInt16& pi)
{
MUST_PASS(pi > 0);
@@ -41,6 +42,7 @@ namespace NeOS
{
return this->fDriveIndex;
}
+
Void SetIndex(const UInt32& drv)
{
this->fDriveIndex = drv;
@@ -52,6 +54,6 @@ namespace NeOS
UInt32 fDriveIndex{0U};
};
- Bool sk_init_ahci_device(BOOL atapi);
+ UInt16 sk_init_ahci_device(BOOL atapi);
AHCIDeviceInterface sk_acquire_ahci_device(Int32 drv_index);
} // namespace NeOS