diff options
| author | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-05-19 19:13:03 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-05-19 19:13:03 +0200 |
| commit | aad2c069563a3e7318b575216db6deb313445f2c (patch) | |
| tree | 2ba42b767473bebdca9d2538d120f0b4d82194e4 /Kernel/Source/UserHeap.cxx | |
| parent | c0428f8e5feba9573e572a1a1b3c66cfa1f29108 (diff) | |
MHR-23: Fix run_format.sh, inl files needs to be formated as well.
Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Kernel/Source/UserHeap.cxx')
| -rw-r--r-- | Kernel/Source/UserHeap.cxx | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/Kernel/Source/UserHeap.cxx b/Kernel/Source/UserHeap.cxx index 9d9cd627..02c4c753 100644 --- a/Kernel/Source/UserHeap.cxx +++ b/Kernel/Source/UserHeap.cxx @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright SoftwareLabs + Copyright SoftwareLabs ------------------------------------------- */ @@ -19,9 +19,9 @@ namespace NewOS { /** - * @brief Process Heap Header - * @note Allocated per process, it denotes the user's heap. - */ + * @brief Process Heap Header + * @note Allocated per process, it denotes the user's heap. + */ struct UserHeapHeader final { UInt32 fMagic; @@ -31,10 +31,10 @@ namespace NewOS }; /** - * @brief User Heap Manager class, takes care of allocating the process pools. - * @note This rely on Virtual Memory! Consider adding good vmem support when - * @note porting to a new arch. - */ + * @brief User Heap Manager class, takes care of allocating the process pools. + * @note This rely on Virtual Memory! Consider adding good vmem support when + * @note porting to a new arch. + */ class UserHeapManager final { public: @@ -158,12 +158,12 @@ namespace NewOS } /** - * @brief Check for the ptr and frees it. - * - * @param index Where to look at. - * @param ptr The ptr to check. - * @return Boolean true if successful. - */ + * @brief Check for the ptr and frees it. + * + * @param index Where to look at. + * @param ptr The ptr to check. + * @return Boolean true if successful. + */ STATIC Boolean ke_check_and_free_heap(const SizeT& index, VoidPtr ptr) { if (UserHeapManager::The()[index]) |
