From 83d870e58457a1d335a1d9b9966a6a1887cc297b Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Mon, 24 Nov 2025 03:02:43 +0100 Subject: feat! breaking changes on kernel sources. Signed-off-by: Amlal El Mahrouss --- dev/kernel/StorageKit/AHCI.h | 49 -------------------------------------------- 1 file changed, 49 deletions(-) delete mode 100644 dev/kernel/StorageKit/AHCI.h (limited to 'dev/kernel/StorageKit/AHCI.h') diff --git a/dev/kernel/StorageKit/AHCI.h b/dev/kernel/StorageKit/AHCI.h deleted file mode 100644 index 82bd9747..00000000 --- a/dev/kernel/StorageKit/AHCI.h +++ /dev/null @@ -1,49 +0,0 @@ -/* ======================================== - - Copyright (C) 2024-2025, Amlal El Mahrouss, licensed under the Apache 2.0 license. - -======================================== */ - -#pragma once - -#include -#include -#include - -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 DeviceInterface class. -class AHCIDeviceInterface NE_DEVICE { - public: - explicit AHCIDeviceInterface(void (*out)(DeviceInterface* self, IMountpoint* out), - void (*in)(DeviceInterface* self, IMountpoint* in)); - - virtual ~AHCIDeviceInterface() override; - - public: - AHCIDeviceInterface& operator=(const AHCIDeviceInterface&) = default; - AHCIDeviceInterface(const AHCIDeviceInterface&) = default; - - const Char* Name() const override; - - const UInt16& GetPortsImplemented(); - - Void SetPortsImplemented(const UInt16& pi); - - const UInt32& GetIndex(); - - Void SetIndex(const UInt32& drv); - - public: - AHCIDeviceInterface& operator<<(IMountpoint* Data) override; - AHCIDeviceInterface& operator>>(IMountpoint* Data) override; - - private: - UInt16 fPortsImplemented{0U}; - UInt32 fDriveIndex{0U}; -}; - -UInt16 sk_init_ahci_device(BOOL atapi); -ErrorOr sk_acquire_ahci_device(UInt32 drv_index); -} // namespace Kernel -- cgit v1.2.3