diff options
Diffstat (limited to 'StorageKit/Storage.hpp')
| -rw-r--r-- | StorageKit/Storage.hpp | 28 |
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 + + + + |
