diff options
| author | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-03-23 21:40:37 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-03-23 21:40:37 +0100 |
| commit | 09383c793fe953da6441902b4f66b1382df46738 (patch) | |
| tree | 9c4e4040ad28818c6f13c96375221609cfc773a5 /Private/Source | |
| parent | d9477b8a80ee0dc9a6d05c0353aa989ceaedae8a (diff) | |
Kernel: See below.
Fix BUG inside ATA driver: Due to bad cast on lba select.
Add ToolBox APIs for kernel GUI.
Userland: See below.
Worked a bit on System.Core, just wrapped Thread.hxx into the System namespace.
Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Private/Source')
| -rw-r--r-- | Private/Source/ProcessScheduler.cxx | 2 | ||||
| -rw-r--r-- | Private/Source/ProcessTeam.cxx | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/Private/Source/ProcessScheduler.cxx b/Private/Source/ProcessScheduler.cxx index 2ab30e94..a2c47225 100644 --- a/Private/Source/ProcessScheduler.cxx +++ b/Private/Source/ProcessScheduler.cxx @@ -268,7 +268,7 @@ bool ProcessHelper::StartScheduling() { SizeT ret = processRef.Run(); kcout << StringBuilder::FromInt( - "ProcessHelper::StartScheduling() Iterated over: % jobs.\r\n", ret); + "ProcessHelper::StartScheduling() Iterated over {%} jobs inside team.\r\n", ret); return true; } diff --git a/Private/Source/ProcessTeam.cxx b/Private/Source/ProcessTeam.cxx index 53b55a0f..45cfb3bc 100644 --- a/Private/Source/ProcessTeam.cxx +++ b/Private/Source/ProcessTeam.cxx @@ -12,7 +12,12 @@ #include <KernelKit/ProcessScheduler.hpp> namespace HCore { +/// @brief Process list array getter. +/// @return MutableArray<Ref<ProcessHeader>>& ProcessTeam::AsArray() { return mProcessList; } + +/// @brief Current process getter. +/// @return Ref<ProcessHeader>& ProcessTeam::AsRef() { return mCurrentProcess; } } // namespace HCore |
