summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-04-06 14:59:15 +0200
committerAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-04-06 14:59:15 +0200
commite2fd9a88d6b9def2fdebbc974001ae0778c26622 (patch)
treee4ad56f68caf7bac2b23faef1dac2b875ff2ab8b
parent32f75625830660468287de0f213baee760fc6384 (diff)
- Add documentation for PRDT struct.
- Property.hpp: change fsName to fName
-rw-r--r--Private/CFKit/Property.hpp4
-rw-r--r--Private/Source/Property.cxx2
-rw-r--r--Private/StorageKit/PRDT.hpp1
3 files changed, 4 insertions, 3 deletions
diff --git a/Private/CFKit/Property.hpp b/Private/CFKit/Property.hpp
index 243580fc..ea427481 100644
--- a/Private/CFKit/Property.hpp
+++ b/Private/CFKit/Property.hpp
@@ -17,7 +17,7 @@ using PropertyId = Int;
class Property {
public:
- explicit Property(const StringView &sw) : fsName(sw) {}
+ explicit Property(const StringView &sw) : fName(sw) {}
virtual ~Property() = default;
@@ -29,7 +29,7 @@ class Property {
const PropertyId &GetPropertyById();
private:
- Ref<StringView> fsName;
+ Ref<StringView> fName;
PropertyId fAction;
};
diff --git a/Private/Source/Property.cxx b/Private/Source/Property.cxx
index c9e20df8..f66c78f6 100644
--- a/Private/Source/Property.cxx
+++ b/Private/Source/Property.cxx
@@ -8,7 +8,7 @@
namespace NewOS {
bool Property::StringEquals(StringView& name) {
- return fsName && this->fsName == name;
+ return fName && this->fName == name;
}
const PropertyId& Property::GetPropertyById() { return fAction; }
diff --git a/Private/StorageKit/PRDT.hpp b/Private/StorageKit/PRDT.hpp
index d83f2a56..12da78ab 100644
--- a/Private/StorageKit/PRDT.hpp
+++ b/Private/StorageKit/PRDT.hpp
@@ -19,6 +19,7 @@ enum kPRDTTransfer {
kPRDTTransferCount,
};
+/// @brief Physical Region Descriptor Table.
struct PRDT {
UInt32 fPhysAddress;
UInt32 fSectorCount;