NeKernel dev
Loading...
Searching...
No Matches
KPC.h File Reference

Kernel Procedure Code. More...

#include <NeKit/Config.h>

Go to the source code of this file.

Namespaces

namespace  Kernel
 UPS inline definitions.

Macros

#define err_local_ok()
#define err_local_fail()
#define err_local_get()
#define err_global_ok()
#define err_global_fail()
#define err_global_get()

Typedefs

typedef Int32 Kernel::KPCError

Functions

Boolean Kernel::err_bug_check_raise (Void)
 Does a system wide bug check.

Variables

KPCError Kernel::kErrorLocalNumber = 0UL
constexpr KPCError Kernel::kErrorSuccess = 0
constexpr KPCError Kernel::kErrorExecutable = 33
constexpr KPCError Kernel::kErrorExecutableLib = 34
constexpr KPCError Kernel::kErrorFileNotFound = 35
constexpr KPCError Kernel::kErrorDirectoryNotFound = 36
constexpr KPCError Kernel::kErrorDiskReadOnly = 37
constexpr KPCError Kernel::kErrorDiskIsFull = 38
constexpr KPCError Kernel::kErrorProcessFault = 39
constexpr KPCError Kernel::kErrorSocketHangUp = 40
constexpr KPCError Kernel::kErrorThreadLocalStorage = 41
constexpr KPCError Kernel::kErrorMath = 42
constexpr KPCError Kernel::kErrorNoNetwork = 43
constexpr KPCError Kernel::kErrorHeapOutOfMemory = 44
constexpr KPCError Kernel::kErrorNoSuchDisk = 45
constexpr KPCError Kernel::kErrorFileExists = 46
constexpr KPCError Kernel::kErrorFormatFailed = 47
constexpr KPCError Kernel::kErrorNetworkTimeout = 48
constexpr KPCError Kernel::kErrorInternal = 49
constexpr KPCError Kernel::kErrorForkAlreadyExists = 50
constexpr KPCError Kernel::kErrorOutOfTeamSlot = 51
constexpr KPCError Kernel::kErrorHeapNotPresent = 52
constexpr KPCError Kernel::kErrorNoEntrypoint = 53
constexpr KPCError Kernel::kErrorDiskIsCorrupted = 54
constexpr KPCError Kernel::kErrorDisk = 55
constexpr KPCError Kernel::kErrorInvalidData = 56
constexpr KPCError Kernel::kErrorAsync = 57
constexpr KPCError Kernel::kErrorNonBlocking = 58
constexpr KPCError Kernel::kErrorIPC = 59
constexpr KPCError Kernel::kErrorSign = 60
constexpr KPCError Kernel::kErrorInvalidCreds = 61
constexpr KPCError Kernel::kErrorCDTrayBroken = 62
constexpr KPCError Kernel::kErrorUnrecoverableDisk = 63
constexpr KPCError Kernel::kErrorFileLocked = 64
constexpr KPCError Kernel::kErrorDiskIsTooTiny = 65
constexpr KPCError Kernel::kErrorDmaExhausted = 66
constexpr KPCError Kernel::kErrorOutOfBitMapMemory = 67
constexpr KPCError Kernel::kErrorTimeout = 68
constexpr KPCError Kernel::kErrorAccessDenied = 69
constexpr KPCError Kernel::kErrorUnavailable = 70
constexpr KPCError Kernel::kErrorUnimplemented = -1
 Generic errors.

Detailed Description

Kernel Procedure Code.

Macro Definition Documentation

◆ err_global_fail

#define err_global_fail ( )
Value:
constexpr KPCError kErrorSuccess
Definition KPC.h:32
KPCError kErrorLocalNumber
Definition KPC.h:30

◆ err_global_get

#define err_global_get ( )

◆ err_global_ok

#define err_global_ok ( )

◆ err_local_fail

#define err_local_fail ( )
Value:
T & Leak()
Definition Ref.h:41
STATIC UserProcessScheduler & The()
Retrieves the singleton of the process scheduler.
Definition UserProcessScheduler.cc:450
USER_PROCESS_REF & TheCurrentProcess()
Gets current running process.
Definition UserProcessScheduler.cc:565

◆ err_local_get

#define err_local_get ( )

◆ err_local_ok

#define err_local_ok ( )