From e2fd9a88d6b9def2fdebbc974001ae0778c26622 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sat, 6 Apr 2024 14:59:15 +0200 Subject: - Add documentation for PRDT struct. - Property.hpp: change fsName to fName --- Private/CFKit/Property.hpp | 4 ++-- Private/Source/Property.cxx | 2 +- Private/StorageKit/PRDT.hpp | 1 + 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 fsName; + Ref 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; -- cgit v1.2.3