diff options
Diffstat (limited to 'Kernel/StorageKit/AHCI.hpp')
| -rw-r--r-- | Kernel/StorageKit/AHCI.hpp | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/Kernel/StorageKit/AHCI.hpp b/Kernel/StorageKit/AHCI.hpp new file mode 100644 index 00000000..5f8908cb --- /dev/null +++ b/Kernel/StorageKit/AHCI.hpp @@ -0,0 +1,33 @@ +/* ------------------------------------------- + + Copyright SoftwareLabs + +------------------------------------------- */ + +#pragma once + +#include <KernelKit/DeviceManager.hpp> +#include <KernelKit/DriveManager.hxx> +#include <NewKit/OwnPtr.hpp> + +namespace NewOS +{ + class AHCIDeviceInterface : public DeviceInterface<MountpointInterface*> + { + public: + explicit AHCIDeviceInterface(void (*Out)(MountpointInterface* outpacket), + void (*In)(MountpointInterface* inpacket), + void (*Cleanup)(void)); + + virtual ~AHCIDeviceInterface(); + + public: + AHCIDeviceInterface& operator=(const AHCIDeviceInterface&) = default; + AHCIDeviceInterface(const AHCIDeviceInterface&) = default; + + const char* Name() const override; + + private: + void (*fCleanup)(void); + }; +} // namespace NewOS
\ No newline at end of file |
