summaryrefslogtreecommitdiffhomepage
path: root/dev/Kernel
diff options
context:
space:
mode:
Diffstat (limited to 'dev/Kernel')
-rw-r--r--dev/Kernel/HALKit/AMD64/HalCoreInterruptHandlerAMD64.cc2
-rw-r--r--dev/Kernel/KernelKit/LPC.h2
-rw-r--r--dev/Kernel/POSIXKit/POSIX.h11
-rw-r--r--dev/Kernel/SignalKit/Signals.h (renamed from dev/Kernel/POSIXKit/Signals.h)6
4 files changed, 4 insertions, 17 deletions
diff --git a/dev/Kernel/HALKit/AMD64/HalCoreInterruptHandlerAMD64.cc b/dev/Kernel/HALKit/AMD64/HalCoreInterruptHandlerAMD64.cc
index 63ed2a21..75219dc6 100644
--- a/dev/Kernel/HALKit/AMD64/HalCoreInterruptHandlerAMD64.cc
+++ b/dev/Kernel/HALKit/AMD64/HalCoreInterruptHandlerAMD64.cc
@@ -7,7 +7,7 @@
#include <ArchKit/ArchKit.h>
#include <KernelKit/UserProcessScheduler.h>
#include <NewKit/KString.h>
-#include <POSIXKit/Signals.h>
+#include <SignalKit/Signals.h>
STATIC BOOL kIsScheduling = NO;
diff --git a/dev/Kernel/KernelKit/LPC.h b/dev/Kernel/KernelKit/LPC.h
index 2eae8b6f..a962bc05 100644
--- a/dev/Kernel/KernelKit/LPC.h
+++ b/dev/Kernel/KernelKit/LPC.h
@@ -58,7 +58,7 @@ namespace Kernel
inline constexpr HError kErrorCDTrayBroken = 62;
inline constexpr HError kErrorUnrecoverableDisk = 63;
inline constexpr HError kErrorFileLocked = 64;
- inline constexpr HError kErrorUnimplemented = 0;
+ inline constexpr HError kErrorUnimplemented = -1;
/// @brief Raises a bug check stop code.
Void err_bug_check_raise(Void) noexcept;
diff --git a/dev/Kernel/POSIXKit/POSIX.h b/dev/Kernel/POSIXKit/POSIX.h
deleted file mode 100644
index 69834843..00000000
--- a/dev/Kernel/POSIXKit/POSIX.h
+++ /dev/null
@@ -1,11 +0,0 @@
-/* -------------------------------------------
-
- Copyright (C) 2024-2025, Amlal EL Mahrouss, all rights reserved.
-
-------------------------------------------- */
-
-#pragma once
-
-#include <KernelKit/UserProcessScheduler.h>
-#include <KernelKit/PEFCodeMgr.h>
-#include <SystemKit/SwapDisk.h>
diff --git a/dev/Kernel/POSIXKit/Signals.h b/dev/Kernel/SignalKit/Signals.h
index 684a8ced..2e32e57f 100644
--- a/dev/Kernel/POSIXKit/Signals.h
+++ b/dev/Kernel/SignalKit/Signals.h
@@ -6,11 +6,9 @@
#pragma once
-/** https://pubs.opengroup.org/onlinepubs/009695399/basedefs/signal.h.html */
+#include <NewKit/Defines.h>
-#include <POSIXKit/POSIX.h>
-
-typedef Kernel::UInt32 signal_t;
+typedef Kernel::UInt32 SignalKind;
#define SIGKILL 0
#define SIGPAUS 1