summaryrefslogtreecommitdiffhomepage
path: root/dev/ZKAKit/StorageKit/StorageKit.h
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-11-19 18:48:45 +0100
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-11-19 18:48:45 +0100
commitade3a2578ca8d6836b8e73160455df80d49cf045 (patch)
tree8444cddccdf80261d268c3a3cd06bbcee5c030f1 /dev/ZKAKit/StorageKit/StorageKit.h
parent9e5339aed47bdb25a811a00bc5e376006aaadcf4 (diff)
IMP: Implement NVME device as ZKA_DEVICE type.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/ZKAKit/StorageKit/StorageKit.h')
-rw-r--r--dev/ZKAKit/StorageKit/StorageKit.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/dev/ZKAKit/StorageKit/StorageKit.h b/dev/ZKAKit/StorageKit/StorageKit.h
new file mode 100644
index 00000000..4b8b2411
--- /dev/null
+++ b/dev/ZKAKit/StorageKit/StorageKit.h
@@ -0,0 +1,22 @@
+/* -------------------------------------------
+
+ Copyright (C) 2024, EL Mahrouss Logic, all rights reserved.
+
+------------------------------------------- */
+
+#pragma once
+
+#define kDriveSectorSizeHDD (512U)
+#define kDriveSectorSizeSSD (512U)
+#define kDriveSectorSizeOptical (2048)
+
+namespace Kernel
+{
+ template <typename T>
+ class DeviceInterface;
+
+ class NVMEDeviceInterface;
+ class AHCIDeviceInterface;
+ class ATADeviceInterface;
+ class SCSIDeviceInterface;
+} // namespace Kernel