summaryrefslogtreecommitdiffhomepage
path: root/src/modules/SCSI/SCSI.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/SCSI/SCSI.h')
-rw-r--r--src/modules/SCSI/SCSI.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/modules/SCSI/SCSI.h b/src/modules/SCSI/SCSI.h
new file mode 100644
index 00000000..e0bc2517
--- /dev/null
+++ b/src/modules/SCSI/SCSI.h
@@ -0,0 +1,21 @@
+/* ========================================
+
+ Copyright (C) 2024-2025, Amlal El Mahrouss, licensed under the Apache 2.0 license.
+
+======================================== */
+
+#pragma once
+
+#include <NeKit/Defines.h>
+
+/// @file SCSI.h
+/// @brief Small Computer System Interface device.
+
+namespace Kernel {
+template <Int32 PacketBitLen>
+using scsi_packet_type = Kernel::UInt16[PacketBitLen];
+
+using scsi_packet_type_12 = scsi_packet_type<12>;
+
+extern const scsi_packet_type_12 kCDRomPacketTemplate;
+} // namespace Kernel \ No newline at end of file