From 9898520f721220a2af4be59fd92e8ad8afcd4287 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sun, 17 Mar 2024 10:59:07 +0100 Subject: Unstable: See below. These changes are related to the current ticket regarding AHCI support. This commit is just to upstream changes from local. Signed-off-by: Amlal El Mahrouss --- Private/StorageKit/Storage.hpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Private/StorageKit') diff --git a/Private/StorageKit/Storage.hpp b/Private/StorageKit/Storage.hpp index 8e05f557..51b2fdd6 100644 --- a/Private/StorageKit/Storage.hpp +++ b/Private/StorageKit/Storage.hpp @@ -14,7 +14,11 @@ typedef HCore::UInt16 SKScsiPacket[12]; extern const SKScsiPacket kCDRomPacketTemplate; -#define f_kDriveSectorSize (512) +#define f_kDriveSectorSizeHDD (512) +#define f_kDriveSectorSizeSSD (4096) +#define f_kDriveSectorSizeCDROM (2048) + #define f_kDriveSize(LAST_LBA) ((LAST_LBA + 1) * f_kDriveSectorSize) #include + -- cgit v1.2.3