From ade3a2578ca8d6836b8e73160455df80d49cf045 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Tue, 19 Nov 2024 18:48:45 +0100 Subject: IMP: Implement NVME device as ZKA_DEVICE type. Signed-off-by: Amlal El Mahrouss --- dev/ZKAKit/StorageKit/StorageKit.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 dev/ZKAKit/StorageKit/StorageKit.h (limited to 'dev/ZKAKit/StorageKit/StorageKit.h') 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 + class DeviceInterface; + + class NVMEDeviceInterface; + class AHCIDeviceInterface; + class ATADeviceInterface; + class SCSIDeviceInterface; +} // namespace Kernel -- cgit v1.2.3