summaryrefslogtreecommitdiffhomepage
path: root/Private/KernelKit/HError.hpp
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlalelmahrouss@icloud.com>2024-03-01 09:37:23 +0100
committerAmlal El Mahrouss <amlalelmahrouss@icloud.com>2024-03-01 09:37:23 +0100
commit374d341bf0216294b58f0198dbe4ba986464563f (patch)
treead9fb1a0b02f40f566f09d36531060780457d249 /Private/KernelKit/HError.hpp
parentc3e8cddf8c689807097f6f956d45e3ba96afec20 (diff)
:boom: See below.
HCoreLdr: Start effort to load HCoreKrnl in case of a non-installer scenario. HCoreKrnl: Start working on disk abstraction (AHCI) and rework PE format header file. Signed-off-by: Amlal El Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'Private/KernelKit/HError.hpp')
-rw-r--r--Private/KernelKit/HError.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Private/KernelKit/HError.hpp b/Private/KernelKit/HError.hpp
index c9dcc2a5..1b971e94 100644
--- a/Private/KernelKit/HError.hpp
+++ b/Private/KernelKit/HError.hpp
@@ -29,8 +29,8 @@ inline constexpr HError kErrorNoSuchDisk = 45;
Boolean ke_bug_check(void) noexcept;
} // namespace HCore
-#define IsOk(HERR) (HERR == HCore::kErrorSuccess)
-#define HasFailed(HERR) (HERR != HCore::kErrorSuccess)
-#define GetLastError() LastError
+#define DbgOk() (kLastError == HCore::kErrorSuccess)
+#define DbgFailed() (kLastError != HCore::kErrorSuccess)
+#define DbgLastError() kLastError
-inline HCore::HError LastError = 0;
+inline HCore::HError kLastError = 0;