diff options
| author | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-03-17 10:59:07 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-03-17 11:00:09 +0100 |
| commit | 9898520f721220a2af4be59fd92e8ad8afcd4287 (patch) | |
| tree | 35662af54535ccc07366b1a3a554f6296e76f4ce /Private/StorageKit | |
| parent | 45548d516ddf5e88bf80940365d151e1bd69c29f (diff) | |
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 <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Private/StorageKit')
| -rw-r--r-- | Private/StorageKit/Storage.hpp | 6 |
1 files changed, 5 insertions, 1 deletions
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 <StorageKit/StorageCore.inl> + |
