summaryrefslogtreecommitdiffhomepage
path: root/Private/StorageKit
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-04-06 14:52:33 +0200
committerAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-04-06 14:52:33 +0200
commit32f75625830660468287de0f213baee760fc6384 (patch)
treeaaa8286ee13a4188d826d4efd59482c7b1aa0e73 /Private/StorageKit
parent422b8029eba71b6fbb6b3dcb386b8e115bbd08ef (diff)
:boom: Breaking changes, disk API improvemenets and bringing support for
more drivers... Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Private/StorageKit')
-rw-r--r--Private/StorageKit/PRDT.hpp31
1 files changed, 4 insertions, 27 deletions
diff --git a/Private/StorageKit/PRDT.hpp b/Private/StorageKit/PRDT.hpp
index 9163a8bf..d83f2a56 100644
--- a/Private/StorageKit/PRDT.hpp
+++ b/Private/StorageKit/PRDT.hpp
@@ -19,33 +19,10 @@ enum kPRDTTransfer {
kPRDTTransferCount,
};
-class PRDT final {
- public:
- explicit PRDT() = delete;
- explicit PRDT(const UIntPtr &physAddr);
- ~PRDT();
-
- PRDT &operator=(const PRDT &) = default;
- PRDT(const PRDT &) = default;
-
- public:
- const UInt &Low();
- const UShort &High();
- const UIntPtr &PhysicalAddress();
-
- public:
- PRDT &operator=(const UIntPtr &prdtAddress);
-
- public:
- operator bool() { return m_PrdtAddr != 0; }
-
- private:
- union {
- UInt m_Low;
- UShort m_High;
- };
-
- UIntPtr m_PrdtAddr;
+struct PRDT {
+ UInt32 fPhysAddress;
+ UInt32 fSectorCount;
+ UInt8 fEndBit;
};
EXTERN_C Int32 kPRDTTransferStatus;