summaryrefslogtreecommitdiffhomepage
path: root/Kernel/CFKit
diff options
context:
space:
mode:
authorAmlal EL Mahrouss <amlal@softwarelabs.com>2024-06-15 13:49:07 +0200
committerAmlal EL Mahrouss <amlal@softwarelabs.com>2024-06-15 13:49:07 +0200
commitf05b598a1c1a8ca4f1bf0acca078f9c9e3c07991 (patch)
tree38c9175fe1d297c332fe0d8ee76fb4a28c4bde4a /Kernel/CFKit
parent999877265276c8a5ae78eb01c92d1d9928a13576 (diff)
kernel: include assembly files as well in project.
Signed-off-by: Amlal EL Mahrouss <amlal@softwarelabs.com>
Diffstat (limited to 'Kernel/CFKit')
-rw-r--r--Kernel/CFKit/Property.hpp20
1 files changed, 9 insertions, 11 deletions
diff --git a/Kernel/CFKit/Property.hpp b/Kernel/CFKit/Property.hpp
index 7667194f..5c5aeb8f 100644
--- a/Kernel/CFKit/Property.hpp
+++ b/Kernel/CFKit/Property.hpp
@@ -4,8 +4,8 @@
------------------------------------------- */
-#ifndef _INC_PLIST_HPP__
-#define _INC_PLIST_HPP__
+#ifndef __INC_PLIST_HPP__
+#define __INC_PLIST_HPP__
#include <NewKit/Array.hpp>
#include <NewKit/Defines.hpp>
@@ -14,18 +14,16 @@
namespace NewOS
{
- using PropertyId = Int;
+ /// @brief handle to anything (number, ptr, string...)
+ using PropertyId = UIntPtr;
/// @brief Kernel property class.
+ /// @example \Properties\SmpCores or \Properties\KernelVersion
class Property
{
public:
- explicit Property(const StringView& sw)
- : fName(sw)
- {
- }
-
- virtual ~Property() = default;
+ explicit Property(const StringView& sw);
+ virtual ~Property();
public:
Property& operator=(const Property&) = default;
@@ -39,8 +37,8 @@ namespace NewOS
PropertyId fAction;
};
- template <SSizeT N>
+ template <SizeT N>
using PropertyArray = Array<Property, N>;
} // namespace NewOS
-#endif // !_INC_PLIST_HPP__
+#endif // !__INC_PLIST_HPP__