From 21fe8d0b7d48e92ba0d45c084bf868c94bb67cd7 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Fri, 5 Apr 2024 01:59:36 +0200 Subject: 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 --- Private/Source/New+Delete.cxx | 2 +- Private/Source/NewFS+Journal.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'Private/Source') diff --git a/Private/Source/New+Delete.cxx b/Private/Source/New+Delete.cxx index 1178630b..a42628fe 100644 --- a/Private/Source/New+Delete.cxx +++ b/Private/Source/New+Delete.cxx @@ -34,7 +34,7 @@ void operator delete(void* ptr) { void operator delete(void* ptr, size_t sz) { if (ptr == nullptr) return; - HCORE_UNUSED(sz); + NEWOS_UNUSED(sz); NewOS::ke_delete_ke_heap(ptr); } diff --git a/Private/Source/NewFS+Journal.cxx b/Private/Source/NewFS+Journal.cxx index d6315603..ce04785e 100644 --- a/Private/Source/NewFS+Journal.cxx +++ b/Private/Source/NewFS+Journal.cxx @@ -38,7 +38,7 @@ class NewFSJournalRunner final { if (fUnloadRoutine) fUnloadRoutine(this); } - HCORE_COPY_DEFAULT(NewFSJournalRunner); + NEWOS_COPY_DEFAULT(NewFSJournalRunner); public: Boolean Run(const Int32& operation, VoidPtr classPtr) { -- cgit v1.2.3