summaryrefslogtreecommitdiffhomepage
path: root/Private/StorageKit
diff options
context:
space:
mode:
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;