summaryrefslogtreecommitdiffhomepage
path: root/Private/KernelKit/ProcessScheduler.hpp
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-04-05 01:59:36 +0200
committerAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-04-05 02:01:15 +0200
commit21fe8d0b7d48e92ba0d45c084bf868c94bb67cd7 (patch)
tree4193f80c02ce03b2e02d6c2ef1a1a0526ea7b8fc /Private/KernelKit/ProcessScheduler.hpp
parenta45872967f07906297782cd04223706cfc326219 (diff)
HAL/PPC: Adding support for PowerPC, implemented rt_do_context_switch.
Refactor: Everything which starts with HCORE_ is NEWOS_ now. Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Private/KernelKit/ProcessScheduler.hpp')
-rw-r--r--Private/KernelKit/ProcessScheduler.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Private/KernelKit/ProcessScheduler.hpp b/Private/KernelKit/ProcessScheduler.hpp
index 97ba92e3..3085713f 100644
--- a/Private/KernelKit/ProcessScheduler.hpp
+++ b/Private/KernelKit/ProcessScheduler.hpp
@@ -120,7 +120,7 @@ class ProcessHeader final {
~ProcessHeader() = default;
- HCORE_COPY_DEFAULT(ProcessHeader)
+ NEWOS_COPY_DEFAULT(ProcessHeader)
public:
void SetEntrypoint(UIntPtr &imageStart) noexcept;
@@ -199,7 +199,7 @@ class ProcessTeam final {
explicit ProcessTeam() = default;
~ProcessTeam() = default;
- HCORE_COPY_DEFAULT(ProcessTeam);
+ NEWOS_COPY_DEFAULT(ProcessTeam);
MutableArray<Ref<ProcessHeader>> &AsArray();
Ref<ProcessHeader> &AsRef();
@@ -220,7 +220,7 @@ class ProcessScheduler final {
public:
~ProcessScheduler() = default;
- HCORE_COPY_DEFAULT(ProcessScheduler)
+ NEWOS_COPY_DEFAULT(ProcessScheduler)
operator bool() { return mTeam.AsArray().Count() > 0; }
bool operator!() { return mTeam.AsArray().Count() == 0; }