From 84cc6ff6f43b48383248282743efc514946db641 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Thu, 28 Mar 2024 13:05:28 +0100 Subject: Kernel: :boom: breaking changes, Update API and the HCORE based macros, rename HCore to NewOS. Signed-off-by: Amlal El Mahrouss --- Private/KernelKit/HError.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Private/KernelKit/HError.hpp') diff --git a/Private/KernelKit/HError.hpp b/Private/KernelKit/HError.hpp index 4b943296..6885003f 100644 --- a/Private/KernelKit/HError.hpp +++ b/Private/KernelKit/HError.hpp @@ -9,7 +9,7 @@ #include #include -namespace HCore { +namespace NewOS { typedef Int32 HError; inline constexpr HError kErrorSuccess = 0; @@ -34,10 +34,10 @@ inline constexpr HError kErrorForkAlreadyExists = 50; inline constexpr HError kErrorUnimplemented = 0; Boolean ke_bug_check(void) noexcept; -} // namespace HCore +} // namespace NewOS -#define DbgOk() (kLastError == HCore::kErrorSuccess) -#define DbgFailed() (kLastError != HCore::kErrorSuccess) +#define DbgOk() (kLastError == NewOS::kErrorSuccess) +#define DbgFailed() (kLastError != NewOS::kErrorSuccess) #define DbgLastError() kLastError -inline HCore::HError kLastError = 0; +inline NewOS::HError kLastError = 0; -- cgit v1.2.3