summaryrefslogtreecommitdiffhomepage
path: root/dev/kernel/KernelKit
diff options
context:
space:
mode:
Diffstat (limited to 'dev/kernel/KernelKit')
-rw-r--r--dev/kernel/KernelKit/FileMgr.h2
-rw-r--r--dev/kernel/KernelKit/KPC.h6
2 files changed, 6 insertions, 2 deletions
diff --git a/dev/kernel/KernelKit/FileMgr.h b/dev/kernel/KernelKit/FileMgr.h
index 3dff61b0..2c4b2055 100644
--- a/dev/kernel/KernelKit/FileMgr.h
+++ b/dev/kernel/KernelKit/FileMgr.h
@@ -59,7 +59,7 @@
namespace Kernel {
enum {
- kFileIOInvalid = 0,
+ kFileIOInvalid = 0,
kFileWriteAll = 100,
kFileReadAll = 101,
kFileReadChunk = 102,
diff --git a/dev/kernel/KernelKit/KPC.h b/dev/kernel/KernelKit/KPC.h
index e195d5ad..9de1f70f 100644
--- a/dev/kernel/KernelKit/KPC.h
+++ b/dev/kernel/KernelKit/KPC.h
@@ -61,7 +61,11 @@ 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;
+inline constexpr KPCError kErrorDiskIsTooTiny = 65;
+/// Kernel errors.
+inline constexpr KPCError kErrorDmaExhausted = 101;
+/// Generic errors.
+inline constexpr KPCError kErrorUnimplemented = -1;
/// @brief Does a system wide bug check.
/// @param void no params are needed.