summaryrefslogtreecommitdiffhomepage
path: root/src/kernel/StorageKit
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/StorageKit')
-rw-r--r--src/kernel/StorageKit/SCSI.h21
1 files changed, 20 insertions, 1 deletions
diff --git a/src/kernel/StorageKit/SCSI.h b/src/kernel/StorageKit/SCSI.h
index 4dad00ad..12eb52d3 100644
--- a/src/kernel/StorageKit/SCSI.h
+++ b/src/kernel/StorageKit/SCSI.h
@@ -7,5 +7,24 @@
#pragma once
#include <modules/SCSI/SCSI.h>
+#include <KernelKit/DriveMgr.h>
+#include <NeKit/OwnPtr.h>
-namespace Kernel {} // namespace Kernel \ No newline at end of file
+namespace Kernel {
+class SCSIDeviceInterface final NE_DEVICE<IMountpoint*> {
+ public:
+ explicit SCSIDeviceInterface(Void (*out)(DeviceInterface*, IMountpoint* out_packet),
+ Void (*in)(DeviceInterface*, IMountpoint* in_packet),
+ Void (*cleanup)(Void));
+
+ ~SCSIDeviceInterface() override;
+
+ public:
+ NE_COPY_DEFAULT(SCSIDeviceInterface)
+
+ const Char* Name() const override;
+
+ private:
+ Void (*fCleanup)(Void) = {nullptr};
+};
+} // namespace Kernel