summaryrefslogtreecommitdiffhomepage
path: root/StorageKit/Storage.hpp
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-01-06 09:14:11 +0100
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-01-06 09:14:11 +0100
commit5339d016c07bf717ee388f4feb73544087324af0 (patch)
tree94be6f67ed626091f24aee24ec3b3be03d01e4e7 /StorageKit/Storage.hpp
git: port from mercurial repo.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'StorageKit/Storage.hpp')
-rw-r--r--StorageKit/Storage.hpp28
1 files changed, 28 insertions, 0 deletions
diff --git a/StorageKit/Storage.hpp b/StorageKit/Storage.hpp
new file mode 100644
index 00000000..420e67fd
--- /dev/null
+++ b/StorageKit/Storage.hpp
@@ -0,0 +1,28 @@
+/*
+ * ========================================================
+ *
+ * hCore
+ * Copyright Mahrouss Logic, all rights reserved.
+ *
+ * ========================================================
+ */
+
+#pragma once
+
+#include <NewKit/Defines.hpp>
+
+#include <StorageKit/ATA.hpp>
+#include <StorageKit/NVME.hpp>
+
+#include <StorageKit/StorageCore.inl>
+
+typedef hCore::UInt16 OSScsiPacket[12];
+
+extern const OSScsiPacket kCDRomPacketTemplate;
+
+#define f_kDriveSectorSize 2048
+#define f_kDriveSize(last_lba) (last_lba + 1) * f_kDriveSectorSize
+
+
+
+