summaryrefslogtreecommitdiffhomepage
path: root/dev/kernel/KernelKit/KPC.h
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-03-29 05:03:14 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2025-03-29 05:06:15 +0100
commitc4870d08fa4bfb2613bf22a0b7cf306b388f58a4 (patch)
treec8b5023a5ab4fe257f7687573812053c6e5273fb /dev/kernel/KernelKit/KPC.h
parenta8bd5ed975031d63eb448d2ed4f160cf7159c3bc (diff)
ddk: refactor: reorganize kit into a standard kernel kit.
sched: refactor: refactor scheduler file names, for future additions. xcoff: refactor: document and improve XCOFF for NeFS (regarding Ne's FW) codemgr: refactor: make a difference between kernel and user processes. refactor: document project overall. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/kernel/KernelKit/KPC.h')
-rw-r--r--dev/kernel/KernelKit/KPC.h72
1 files changed, 36 insertions, 36 deletions
diff --git a/dev/kernel/KernelKit/KPC.h b/dev/kernel/KernelKit/KPC.h
index c6724282..3e52be64 100644
--- a/dev/kernel/KernelKit/KPC.h
+++ b/dev/kernel/KernelKit/KPC.h
@@ -21,44 +21,44 @@
namespace Kernel
{
- typedef Int32 HError;
+ typedef Int32 KPCError;
- inline HError kErrorLocalNumber = 0UL;
+ inline KPCError kErrorLocalNumber = 0UL;
- inline constexpr HError kErrorSuccess = 0;
- inline constexpr HError kErrorExecutable = 33;
- inline constexpr HError kErrorExecutableLib = 34;
- inline constexpr HError kErrorFileNotFound = 35;
- inline constexpr HError kErrorDirectoryNotFound = 36;
- inline constexpr HError kErrorDiskReadOnly = 37;
- inline constexpr HError kErrorDiskIsFull = 38;
- inline constexpr HError kErrorProcessFault = 39;
- inline constexpr HError kErrorSocketHangUp = 40;
- inline constexpr HError kErrorThreadLocalStorage = 41;
- inline constexpr HError kErrorMath = 42;
- inline constexpr HError kErrorNoNetwork = 43;
- inline constexpr HError kErrorHeapOutOfMemory = 44;
- inline constexpr HError kErrorNoSuchDisk = 45;
- inline constexpr HError kErrorFileExists = 46;
- inline constexpr HError kErrorFormatFailed = 47;
- inline constexpr HError kErrorNetworkTimeout = 48;
- inline constexpr HError kErrorInternal = 49;
- inline constexpr HError kErrorForkAlreadyExists = 50;
- inline constexpr HError kErrorOutOfTeamSlot = 51;
- inline constexpr HError kErrorHeapNotPresent = 52;
- inline constexpr HError kErrorNoEntrypoint = 53;
- inline constexpr HError kErrorDiskIsCorrupted = 54;
- inline constexpr HError kErrorDisk = 55;
- inline constexpr HError kErrorInvalidData = 56;
- inline constexpr HError kErrorAsync = 57;
- inline constexpr HError kErrorNonBlocking = 58;
- inline constexpr HError kErrorIPC = 59;
- inline constexpr HError kErrorSign = 60;
- inline constexpr HError kErrorInvalidCreds = 61;
- inline constexpr HError kErrorCDTrayBroken = 62;
- inline constexpr HError kErrorUnrecoverableDisk = 63;
- inline constexpr HError kErrorFileLocked = 64;
- inline constexpr HError kErrorUnimplemented = -1;
+ inline constexpr KPCError kErrorSuccess = 0;
+ inline constexpr KPCError kErrorExecutable = 33;
+ inline constexpr KPCError kErrorExecutableLib = 34;
+ inline constexpr KPCError kErrorFileNotFound = 35;
+ inline constexpr KPCError kErrorDirectoryNotFound = 36;
+ inline constexpr KPCError kErrorDiskReadOnly = 37;
+ inline constexpr KPCError kErrorDiskIsFull = 38;
+ inline constexpr KPCError kErrorProcessFault = 39;
+ inline constexpr KPCError kErrorSocketHangUp = 40;
+ inline constexpr KPCError kErrorThreadLocalStorage = 41;
+ inline constexpr KPCError kErrorMath = 42;
+ inline constexpr KPCError kErrorNoNetwork = 43;
+ inline constexpr KPCError kErrorHeapOutOfMemory = 44;
+ inline constexpr KPCError kErrorNoSuchDisk = 45;
+ inline constexpr KPCError kErrorFileExists = 46;
+ inline constexpr KPCError kErrorFormatFailed = 47;
+ inline constexpr KPCError kErrorNetworkTimeout = 48;
+ inline constexpr KPCError kErrorInternal = 49;
+ inline constexpr KPCError kErrorForkAlreadyExists = 50;
+ inline constexpr KPCError kErrorOutOfTeamSlot = 51;
+ inline constexpr KPCError kErrorHeapNotPresent = 52;
+ inline constexpr KPCError kErrorNoEntrypoint = 53;
+ inline constexpr KPCError kErrorDiskIsCorrupted = 54;
+ inline constexpr KPCError kErrorDisk = 55;
+ inline constexpr KPCError kErrorInvalidData = 56;
+ inline constexpr KPCError kErrorAsync = 57;
+ inline constexpr KPCError kErrorNonBlocking = 58;
+ inline constexpr KPCError kErrorIPC = 59;
+ inline constexpr KPCError kErrorSign = 60;
+ inline constexpr KPCError kErrorInvalidCreds = 61;
+ inline constexpr KPCError kErrorCDTrayBroken = 62;
+ inline constexpr KPCError kErrorUnrecoverableDisk = 63;
+ inline constexpr KPCError kErrorFileLocked = 64;
+ inline constexpr KPCError kErrorUnimplemented = -1;
/// @brief Does a system wide bug check.
/// @param void no params are needed.