summaryrefslogtreecommitdiffhomepage
path: root/dev/Kernel/KernelKit
diff options
context:
space:
mode:
Diffstat (limited to 'dev/Kernel/KernelKit')
-rw-r--r--dev/Kernel/KernelKit/LPC.h1
-rw-r--r--dev/Kernel/KernelKit/Timer.h1
-rw-r--r--dev/Kernel/KernelKit/UserProcessScheduler.h5
3 files changed, 3 insertions, 4 deletions
diff --git a/dev/Kernel/KernelKit/LPC.h b/dev/Kernel/KernelKit/LPC.h
index 6596d77f..c73c9da7 100644
--- a/dev/Kernel/KernelKit/LPC.h
+++ b/dev/Kernel/KernelKit/LPC.h
@@ -57,6 +57,7 @@ namespace Kernel
inline constexpr HError kErrorInvalidCreds = 61;
inline constexpr HError kErrorCDTrayBroken = 62;
inline constexpr HError kErrorUnrecoverableDisk = 63;
+ inline constexpr HError kErrorFileLocked = 64;
inline constexpr HError kErrorUnimplemented = 0;
/// @brief Raises a bug check stop code.
diff --git a/dev/Kernel/KernelKit/Timer.h b/dev/Kernel/KernelKit/Timer.h
index b95dc9ca..59c21d40 100644
--- a/dev/Kernel/KernelKit/Timer.h
+++ b/dev/Kernel/KernelKit/Timer.h
@@ -7,7 +7,6 @@
#pragma once
#include <ArchKit/ArchKit.h>
-#include <CompilerKit/CompilerKit.h>
#include <KernelKit/LPC.h>
namespace Kernel
diff --git a/dev/Kernel/KernelKit/UserProcessScheduler.h b/dev/Kernel/KernelKit/UserProcessScheduler.h
index 73780dc3..b79985dd 100644
--- a/dev/Kernel/KernelKit/UserProcessScheduler.h
+++ b/dev/Kernel/KernelKit/UserProcessScheduler.h
@@ -7,7 +7,6 @@
#ifndef INC_PROCESS_SCHEDULER_H
#define INC_PROCESS_SCHEDULER_H
-#include "NewKit/Defines.h"
#include <ArchKit/ArchKit.h>
#include <KernelKit/LockDelegate.h>
#include <KernelKit/User.h>
@@ -155,14 +154,14 @@ namespace Kernel
ZKA_COPY_DEFAULT(UserProcess);
public:
- Char Name[kProcessNameLen] = {"Process (Unnamed)"};
+ Char Name[kProcessNameLen] = {"Process (Unnamed, No Subsystem)"};
ProcessSubsystem SubSystem{ProcessSubsystem::kProcessSubsystemInvalid};
User* Owner{nullptr};
HAL::StackFramePtr StackFrame{nullptr};
AffinityKind Affinity{AffinityKind::kStandard};
ProcessStatusKind Status{ProcessStatusKind::kFinished};
UInt8* StackReserve{nullptr};
- UserProcessImage Image;
+ UserProcessImage Image{};
SizeT StackSize{kSchedMaxStackSz};
IDLLObject* DylibDelegate{nullptr};
SizeT MemoryCursor{0UL};