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/SMPManager.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/SMPManager.cxx')
| -rw-r--r-- | Kernel/Source/SMPManager.cxx | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/Kernel/Source/SMPManager.cxx b/Kernel/Source/SMPManager.cxx index 2c3f11f2..90a9d440 100644 --- a/Kernel/Source/SMPManager.cxx +++ b/Kernel/Source/SMPManager.cxx @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright SoftwareLabs + Copyright SoftwareLabs ------------------------------------------- */ @@ -98,8 +98,8 @@ namespace NewOS fStack->Rbp = stack->Rbp; fStack->Rsp = stack->Rsp; - fStack->Fs = stack->Fs; - fStack->Gs = stack->Gs; + fStack->Fs = stack->Fs; + fStack->Gs = stack->Gs; } rt_do_context_switch(fStack); @@ -183,10 +183,10 @@ namespace NewOS } /** - * Index Hardware thread - * @param idx the index - * @return the reference to the hardware thread. - */ + * Index Hardware thread + * @param idx the index + * @return the reference to the hardware thread. + */ Ref<HardwareThread> SMPManager::operator[](const SizeT& idx) { if (idx == 0) @@ -208,18 +208,18 @@ namespace NewOS } /** - * Check if thread pool isn't empty. - * @return - */ + * Check if thread pool isn't empty. + * @return + */ SMPManager::operator bool() noexcept { return !fThreadList.Empty(); } /** - * Reverse operator bool - * @return - */ + * Reverse operator bool + * @return + */ bool SMPManager::operator!() noexcept { return fThreadList.Empty(); |
