summaryrefslogtreecommitdiffhomepage
path: root/dev/kernel/KernelKit
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-05-23 04:07:12 +0200
committerAmlal El Mahrouss <amlal@nekernel.org>2025-05-23 04:07:12 +0200
commitfc67c4af554189c941c811486a0b2b21aa3f54ea (patch)
treeddc7677c3bb1072c9b9fb85618b75c8ee172b377 /dev/kernel/KernelKit
parentfbd1f65a2cd30b3b4ed3da236398ddcfc437ac47 (diff)
feat!(kernel): Rename NewKit to NeKit.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/kernel/KernelKit')
-rw-r--r--dev/kernel/KernelKit/BinaryMutex.h2
-rw-r--r--dev/kernel/KernelKit/CoreProcessScheduler.h4
-rw-r--r--dev/kernel/KernelKit/DebugOutput.h6
-rw-r--r--dev/kernel/KernelKit/Defines.h9
-rw-r--r--dev/kernel/KernelKit/DeviceMgr.h4
-rw-r--r--dev/kernel/KernelKit/DriveMgr.h6
-rw-r--r--dev/kernel/KernelKit/FileMgr.h6
-rw-r--r--dev/kernel/KernelKit/HardwareThreadScheduler.h2
-rw-r--r--dev/kernel/KernelKit/IDylibObject.h2
-rw-r--r--dev/kernel/KernelKit/IPEFDylibObject.h2
-rw-r--r--dev/kernel/KernelKit/KPC.h2
-rw-r--r--dev/kernel/KernelKit/LoaderInterface.h4
-rw-r--r--dev/kernel/KernelKit/LockDelegate.h4
-rw-r--r--dev/kernel/KernelKit/MSDOS.h2
-rw-r--r--dev/kernel/KernelKit/MemoryMgr.h2
-rw-r--r--dev/kernel/KernelKit/PCI/DMA.h6
-rw-r--r--dev/kernel/KernelKit/PCI/Database.h2
-rw-r--r--dev/kernel/KernelKit/PCI/Device.h2
-rw-r--r--dev/kernel/KernelKit/PCI/Express.h2
-rw-r--r--dev/kernel/KernelKit/PCI/IO.h6
-rw-r--r--dev/kernel/KernelKit/PCI/Iterator.h6
-rw-r--r--dev/kernel/KernelKit/PCI/PCI.h2
-rw-r--r--dev/kernel/KernelKit/PE.h2
-rw-r--r--dev/kernel/KernelKit/PECodeMgr.h4
-rw-r--r--dev/kernel/KernelKit/PEF.h2
-rw-r--r--dev/kernel/KernelKit/PEFCodeMgr.h4
-rw-r--r--dev/kernel/KernelKit/Semaphore.h2
-rw-r--r--dev/kernel/KernelKit/ThreadLocalStorage.h4
-rw-r--r--dev/kernel/KernelKit/User.h4
-rw-r--r--dev/kernel/KernelKit/UserProcessScheduler.h2
-rw-r--r--dev/kernel/KernelKit/XCOFF.h2
31 files changed, 56 insertions, 53 deletions
diff --git a/dev/kernel/KernelKit/BinaryMutex.h b/dev/kernel/KernelKit/BinaryMutex.h
index a1cd5b7c..45d4bd8d 100644
--- a/dev/kernel/KernelKit/BinaryMutex.h
+++ b/dev/kernel/KernelKit/BinaryMutex.h
@@ -8,7 +8,7 @@
#include <CompilerKit/CompilerKit.h>
#include <KernelKit/Timer.h>
-#include <NewKit/Defines.h>
+#include <NeKit/Defines.h>
namespace Kernel {
class USER_PROCESS;
diff --git a/dev/kernel/KernelKit/CoreProcessScheduler.h b/dev/kernel/KernelKit/CoreProcessScheduler.h
index 6ac55424..5ba29d3a 100644
--- a/dev/kernel/KernelKit/CoreProcessScheduler.h
+++ b/dev/kernel/KernelKit/CoreProcessScheduler.h
@@ -6,8 +6,8 @@
#pragma once
-#include <NewKit/Defines.h>
-#include <NewKit/ErrorOr.h>
+#include <NeKit/Defines.h>
+#include <NeKit/ErrorOr.h>
#define kSchedMinMicroTime (AffinityKind::kStandard)
#define kSchedInvalidPID (-1)
diff --git a/dev/kernel/KernelKit/DebugOutput.h b/dev/kernel/KernelKit/DebugOutput.h
index cf9378a9..9598f590 100644
--- a/dev/kernel/KernelKit/DebugOutput.h
+++ b/dev/kernel/KernelKit/DebugOutput.h
@@ -8,9 +8,9 @@
#include <CompilerKit/CompilerKit.h>
#include <KernelKit/DeviceMgr.h>
-#include <NewKit/OwnPtr.h>
-#include <NewKit/Stream.h>
-#include <NewKit/Utils.h>
+#include <NeKit/OwnPtr.h>
+#include <NeKit/Stream.h>
+#include <NeKit/Utils.h>
#define kDebugUnboundPort 0x0FEED
diff --git a/dev/kernel/KernelKit/Defines.h b/dev/kernel/KernelKit/Defines.h
index 2c170940..975520b6 100644
--- a/dev/kernel/KernelKit/Defines.h
+++ b/dev/kernel/KernelKit/Defines.h
@@ -6,11 +6,14 @@
#pragma once
-#include <NewKit/Defines.h>
+#include <NeKit/Defines.h>
-#define KERNELKIT_VERSION "0.0.1"
+#define KERNELKIT_VERSION "0.0.1-kernelkit"
#define KERNELKIT_VERSION_BCD 0x0001
+namespace Kernel {
class UserProcessScheduler;
class IDylibObject;
-class Process;
+class USER_PROCESS;
+class KERNEL_TASK;
+} // namespace Kernel \ No newline at end of file
diff --git a/dev/kernel/KernelKit/DeviceMgr.h b/dev/kernel/KernelKit/DeviceMgr.h
index 210cef2a..8d749ec9 100644
--- a/dev/kernel/KernelKit/DeviceMgr.h
+++ b/dev/kernel/KernelKit/DeviceMgr.h
@@ -19,8 +19,8 @@
/* @file KernelKit/DeviceMgr.h */
/* @brief Device abstraction and I/O buffer. */
-#include <NewKit/ErrorOr.h>
-#include <NewKit/Ref.h>
+#include <NeKit/ErrorOr.h>
+#include <NeKit/Ref.h>
#define kDeviceMgrRootDirPath "/devices/"
diff --git a/dev/kernel/KernelKit/DriveMgr.h b/dev/kernel/KernelKit/DriveMgr.h
index 7972ac74..684e2e5c 100644
--- a/dev/kernel/KernelKit/DriveMgr.h
+++ b/dev/kernel/KernelKit/DriveMgr.h
@@ -12,9 +12,9 @@
#include <KernelKit/DeviceMgr.h>
#include <KernelKit/KPC.h>
#include <KernelKit/ProcessScheduler.h>
-#include <NewKit/Defines.h>
-#include <NewKit/KString.h>
-#include <NewKit/Ref.h>
+#include <NeKit/Defines.h>
+#include <NeKit/KString.h>
+#include <NeKit/Ref.h>
#define kDriveMaxCount (4U)
#define kDriveSectorSz (512U)
diff --git a/dev/kernel/KernelKit/FileMgr.h b/dev/kernel/KernelKit/FileMgr.h
index 32c30b70..86354d7f 100644
--- a/dev/kernel/KernelKit/FileMgr.h
+++ b/dev/kernel/KernelKit/FileMgr.h
@@ -30,9 +30,9 @@
#include <KernelKit/DebugOutput.h>
#include <KernelKit/KPC.h>
#include <KernelKit/MemoryMgr.h>
-#include <NewKit/ErrorOr.h>
-#include <NewKit/Ref.h>
-#include <NewKit/Stream.h>
+#include <NeKit/ErrorOr.h>
+#include <NeKit/Ref.h>
+#include <NeKit/Stream.h>
#include <hint/CompilerHint.h>
/// @brief Filesystem manager, abstraction over mounted filesystem.
diff --git a/dev/kernel/KernelKit/HardwareThreadScheduler.h b/dev/kernel/KernelKit/HardwareThreadScheduler.h
index 11347c7e..a10d3a9e 100644
--- a/dev/kernel/KernelKit/HardwareThreadScheduler.h
+++ b/dev/kernel/KernelKit/HardwareThreadScheduler.h
@@ -9,7 +9,7 @@
#include <ArchKit/ArchKit.h>
#include <CompilerKit/CompilerKit.h>
-#include <NewKit/Ref.h>
+#include <NeKit/Ref.h>
/// @note Last Rev Sun 28 Jul CET 2024
/// @note Last Rev Thu, Aug 1, 2024 9:07:38 AM
diff --git a/dev/kernel/KernelKit/IDylibObject.h b/dev/kernel/KernelKit/IDylibObject.h
index 7a7cd913..da6c3a7a 100644
--- a/dev/kernel/KernelKit/IDylibObject.h
+++ b/dev/kernel/KernelKit/IDylibObject.h
@@ -10,7 +10,7 @@
#pragma once
#include <CompilerKit/CompilerKit.h>
-#include <NewKit/Defines.h>
+#include <NeKit/Defines.h>
#define NE_DYLIB_OBJECT : public IDylibObject
diff --git a/dev/kernel/KernelKit/IPEFDylibObject.h b/dev/kernel/KernelKit/IPEFDylibObject.h
index 42ed1830..f4461a69 100644
--- a/dev/kernel/KernelKit/IPEFDylibObject.h
+++ b/dev/kernel/KernelKit/IPEFDylibObject.h
@@ -14,7 +14,7 @@
#include <KernelKit/PEF.h>
#include <KernelKit/PEFCodeMgr.h>
#include <KernelKit/ProcessScheduler.h>
-#include <NewKit/Defines.h>
+#include <NeKit/Defines.h>
namespace Kernel {
/**
diff --git a/dev/kernel/KernelKit/KPC.h b/dev/kernel/KernelKit/KPC.h
index 4c48b53a..944c8efc 100644
--- a/dev/kernel/KernelKit/KPC.h
+++ b/dev/kernel/KernelKit/KPC.h
@@ -6,7 +6,7 @@
#pragma once
-#include <NewKit/Defines.h>
+#include <NeKit/Defines.h>
/// @file KPC.h
/// @brief Kernel Procedure Code.
diff --git a/dev/kernel/KernelKit/LoaderInterface.h b/dev/kernel/KernelKit/LoaderInterface.h
index 2b38ddbf..1f9b1e56 100644
--- a/dev/kernel/KernelKit/LoaderInterface.h
+++ b/dev/kernel/KernelKit/LoaderInterface.h
@@ -7,8 +7,8 @@
#pragma once
#include <CompilerKit/CompilerKit.h>
-#include <NewKit/Defines.h>
-#include <NewKit/ErrorOr.h>
+#include <NeKit/Defines.h>
+#include <NeKit/ErrorOr.h>
#include <hint/CompilerHint.h>
namespace Kernel {
diff --git a/dev/kernel/KernelKit/LockDelegate.h b/dev/kernel/KernelKit/LockDelegate.h
index 18ab0cf5..a8162897 100644
--- a/dev/kernel/KernelKit/LockDelegate.h
+++ b/dev/kernel/KernelKit/LockDelegate.h
@@ -6,8 +6,8 @@
#pragma once
-#include <NewKit/Atom.h>
-#include <NewKit/Defines.h>
+#include <NeKit/Atom.h>
+#include <NeKit/Defines.h>
namespace Kernel {
enum {
diff --git a/dev/kernel/KernelKit/MSDOS.h b/dev/kernel/KernelKit/MSDOS.h
index a0751a6f..b4ffeff2 100644
--- a/dev/kernel/KernelKit/MSDOS.h
+++ b/dev/kernel/KernelKit/MSDOS.h
@@ -15,7 +15,7 @@
#define __MSDOS_EXEC__
#include <KernelKit/PE.h>
-#include <NewKit/Defines.h>
+#include <NeKit/Defines.h>
// Last Rev
// Sat Feb 24 CET 2024
diff --git a/dev/kernel/KernelKit/MemoryMgr.h b/dev/kernel/KernelKit/MemoryMgr.h
index bf389955..7ca7da90 100644
--- a/dev/kernel/KernelKit/MemoryMgr.h
+++ b/dev/kernel/KernelKit/MemoryMgr.h
@@ -12,7 +12,7 @@
/// @brief: Memory allocation support for the NeKernel.
#include <KernelKit/KPC.h>
-#include <NewKit/KernelPanic.h>
+#include <NeKit/KernelPanic.h>
#include <hint/CompilerHint.h>
namespace Kernel {
diff --git a/dev/kernel/KernelKit/PCI/DMA.h b/dev/kernel/KernelKit/PCI/DMA.h
index cad27a7a..7e7d3f0c 100644
--- a/dev/kernel/KernelKit/PCI/DMA.h
+++ b/dev/kernel/KernelKit/PCI/DMA.h
@@ -8,9 +8,9 @@
#include <KernelKit/DeviceMgr.h>
#include <KernelKit/PCI/Device.h>
-#include <NewKit/Array.h>
-#include <NewKit/OwnPtr.h>
-#include <NewKit/Ref.h>
+#include <NeKit/Array.h>
+#include <NeKit/OwnPtr.h>
+#include <NeKit/Ref.h>
namespace Kernel {
enum class DmaKind {
diff --git a/dev/kernel/KernelKit/PCI/Database.h b/dev/kernel/KernelKit/PCI/Database.h
index 6da653dd..093338da 100644
--- a/dev/kernel/KernelKit/PCI/Database.h
+++ b/dev/kernel/KernelKit/PCI/Database.h
@@ -6,7 +6,7 @@
#pragma once
#include <KernelKit/PCI/Device.h>
-#include <NewKit/Defines.h>
+#include <NeKit/Defines.h>
namespace Kernel {
namespace Types {
diff --git a/dev/kernel/KernelKit/PCI/Device.h b/dev/kernel/KernelKit/PCI/Device.h
index d9bb4e70..f41e0575 100644
--- a/dev/kernel/KernelKit/PCI/Device.h
+++ b/dev/kernel/KernelKit/PCI/Device.h
@@ -5,7 +5,7 @@
------------------------------------------- */
#pragma once
-#include <NewKit/Defines.h>
+#include <NeKit/Defines.h>
namespace Kernel::PCI {
enum class PciConfigKind : UShort {
diff --git a/dev/kernel/KernelKit/PCI/Express.h b/dev/kernel/KernelKit/PCI/Express.h
index 4d94830c..c9d65da7 100644
--- a/dev/kernel/KernelKit/PCI/Express.h
+++ b/dev/kernel/KernelKit/PCI/Express.h
@@ -7,6 +7,6 @@
#pragma once
#include <KernelKit/PCI/PCI.h>
-#include <NewKit/Defines.h>
+#include <NeKit/Defines.h>
#define PCI_EXPRESS_BUS_COUNT (4096)
diff --git a/dev/kernel/KernelKit/PCI/IO.h b/dev/kernel/KernelKit/PCI/IO.h
index bd5751ec..a7abc163 100644
--- a/dev/kernel/KernelKit/PCI/IO.h
+++ b/dev/kernel/KernelKit/PCI/IO.h
@@ -7,9 +7,9 @@
#pragma once
#include <ArchKit/ArchKit.h>
-#include <NewKit/Array.h>
-#include <NewKit/Defines.h>
-#include <NewKit/Ref.h>
+#include <NeKit/Array.h>
+#include <NeKit/Defines.h>
+#include <NeKit/Ref.h>
namespace Kernel {
template <SizeT Sz>
diff --git a/dev/kernel/KernelKit/PCI/Iterator.h b/dev/kernel/KernelKit/PCI/Iterator.h
index 10924bc8..d4c89404 100644
--- a/dev/kernel/KernelKit/PCI/Iterator.h
+++ b/dev/kernel/KernelKit/PCI/Iterator.h
@@ -9,9 +9,9 @@
#include <KernelKit/PCI/Database.h>
#include <KernelKit/PCI/Device.h>
-#include <NewKit/Array.h>
-#include <NewKit/Defines.h>
-#include <NewKit/Ref.h>
+#include <NeKit/Array.h>
+#include <NeKit/Defines.h>
+#include <NeKit/Ref.h>
#define NE_BUS_COUNT (256)
#define NE_DEVICE_COUNT (33)
diff --git a/dev/kernel/KernelKit/PCI/PCI.h b/dev/kernel/KernelKit/PCI/PCI.h
index 7b30d455..d8805a0c 100644
--- a/dev/kernel/KernelKit/PCI/PCI.h
+++ b/dev/kernel/KernelKit/PCI/PCI.h
@@ -6,7 +6,7 @@
#pragma once
-#include <NewKit/Defines.h>
+#include <NeKit/Defines.h>
#define kPCIConfigAddressPort (0xCF8)
#define kPCIConfigDataPort (0xCFC)
diff --git a/dev/kernel/KernelKit/PE.h b/dev/kernel/KernelKit/PE.h
index b961e901..df5047a3 100644
--- a/dev/kernel/KernelKit/PE.h
+++ b/dev/kernel/KernelKit/PE.h
@@ -14,7 +14,7 @@
#ifndef __KERNELKIT_INC_PE_H__
#define __KERNELKIT_INC_PE_H__
-#include <NewKit/Defines.h>
+#include <NeKit/Defines.h>
#define kPeSignature (0x00004550)
diff --git a/dev/kernel/KernelKit/PECodeMgr.h b/dev/kernel/KernelKit/PECodeMgr.h
index 05a2674c..15c2b7ee 100644
--- a/dev/kernel/KernelKit/PECodeMgr.h
+++ b/dev/kernel/KernelKit/PECodeMgr.h
@@ -22,8 +22,8 @@
#include <KernelKit/FileMgr.h>
#include <KernelKit/LoaderInterface.h>
#include <KernelKit/PE.h>
-#include <NewKit/ErrorOr.h>
-#include <NewKit/KString.h>
+#include <NeKit/ErrorOr.h>
+#include <NeKit/KString.h>
#ifndef INC_PROCESS_SCHEDULER_H
#include <KernelKit/ProcessScheduler.h>
diff --git a/dev/kernel/KernelKit/PEF.h b/dev/kernel/KernelKit/PEF.h
index 9381e491..c28c8f8c 100644
--- a/dev/kernel/KernelKit/PEF.h
+++ b/dev/kernel/KernelKit/PEF.h
@@ -16,7 +16,7 @@
#include <CompilerKit/CompilerKit.h>
#include <KernelKit/LoaderInterface.h>
-#include <NewKit/Defines.h>
+#include <NeKit/Defines.h>
#define kPefMagic "Joy!"
#define kPefMagicFat "yoJ!"
diff --git a/dev/kernel/KernelKit/PEFCodeMgr.h b/dev/kernel/KernelKit/PEFCodeMgr.h
index a637892f..18041f8f 100644
--- a/dev/kernel/KernelKit/PEFCodeMgr.h
+++ b/dev/kernel/KernelKit/PEFCodeMgr.h
@@ -9,8 +9,8 @@
#include <KernelKit/FileMgr.h>
#include <KernelKit/PEF.h>
-#include <NewKit/ErrorOr.h>
-#include <NewKit/KString.h>
+#include <NeKit/ErrorOr.h>
+#include <NeKit/KString.h>
#ifndef INC_PROCESS_SCHEDULER_H
#include <KernelKit/ProcessScheduler.h>
diff --git a/dev/kernel/KernelKit/Semaphore.h b/dev/kernel/KernelKit/Semaphore.h
index 9a66b9fe..a1b5ecad 100644
--- a/dev/kernel/KernelKit/Semaphore.h
+++ b/dev/kernel/KernelKit/Semaphore.h
@@ -8,7 +8,7 @@
#include <CompilerKit/CompilerKit.h>
#include <KernelKit/Timer.h>
-#include <NewKit/Defines.h>
+#include <NeKit/Defines.h>
namespace Kernel {
typedef Int64 Semaphore;
diff --git a/dev/kernel/KernelKit/ThreadLocalStorage.h b/dev/kernel/KernelKit/ThreadLocalStorage.h
index bf34f39a..6c764221 100644
--- a/dev/kernel/KernelKit/ThreadLocalStorage.h
+++ b/dev/kernel/KernelKit/ThreadLocalStorage.h
@@ -7,8 +7,8 @@
#ifndef KERNELKIT_TLS_H
#define KERNELKIT_TLS_H
-#include <NewKit/Defines.h>
-#include <NewKit/ErrorOr.h>
+#include <NeKit/Defines.h>
+#include <NeKit/ErrorOr.h>
///! @brief Thread Local Storage for neoskrnl.
diff --git a/dev/kernel/KernelKit/User.h b/dev/kernel/KernelKit/User.h
index 2a12e41e..b7e7ac1d 100644
--- a/dev/kernel/KernelKit/User.h
+++ b/dev/kernel/KernelKit/User.h
@@ -17,8 +17,8 @@
#include <CompilerKit/CompilerKit.h>
#include <KernelKit/KPC.h>
-#include <NewKit/Defines.h>
-#include <NewKit/KString.h>
+#include <NeKit/Defines.h>
+#include <NeKit/KString.h>
///! We got the Super, Standard (%s format) and Guest user,
///! all are used to make authorization operations on the OS.
diff --git a/dev/kernel/KernelKit/UserProcessScheduler.h b/dev/kernel/KernelKit/UserProcessScheduler.h
index a15e8e38..1815a558 100644
--- a/dev/kernel/KernelKit/UserProcessScheduler.h
+++ b/dev/kernel/KernelKit/UserProcessScheduler.h
@@ -15,7 +15,7 @@
#include <KernelKit/CoreProcessScheduler.h>
#include <KernelKit/LockDelegate.h>
#include <KernelKit/User.h>
-#include <NewKit/MutableArray.h>
+#include <NeKit/MutableArray.h>
////////////////////////////////////////////////////
// Last revision date is: Fri Mar 28 2025 //
diff --git a/dev/kernel/KernelKit/XCOFF.h b/dev/kernel/KernelKit/XCOFF.h
index 7b15782b..9cfe8ded 100644
--- a/dev/kernel/KernelKit/XCOFF.h
+++ b/dev/kernel/KernelKit/XCOFF.h
@@ -14,7 +14,7 @@
#ifndef INC_XOCFF_H
#define INC_XOCFF_H
-#include <NewKit/Defines.h>
+#include <NeKit/Defines.h>
#define kXCOFF64Magic (0x01F7)
#define kXCOFF64ForkNameLen (256U)