summaryrefslogtreecommitdiffhomepage
path: root/src/kernel/ArchKit/ArchKit.h
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-12-22 07:38:52 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2025-12-22 07:42:26 +0100
commit36dee4f0d8ea806b2f061ed66a89e812ab007ed2 (patch)
tree8fe0f6895abb96eb40ee390d6411099b4decf489 /src/kernel/ArchKit/ArchKit.h
parentf7023f6a08e117d483b5928fd4301062a3384abf (diff)
feat: test: Add `kout` test and rename DeviceInterface to IDevice in KernelKit.
introduce UserPtr and unburden vettable by removing the IVettable helper. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'src/kernel/ArchKit/ArchKit.h')
-rw-r--r--src/kernel/ArchKit/ArchKit.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/ArchKit/ArchKit.h b/src/kernel/ArchKit/ArchKit.h
index 9d35c445..375c5b44 100644
--- a/src/kernel/ArchKit/ArchKit.h
+++ b/src/kernel/ArchKit/ArchKit.h
@@ -67,7 +67,7 @@ namespace HAL {
} // namespace HAL
} // namespace Kernel
-typedef Kernel::Void (*rt_syscall_proc)(Kernel::VoidPtr);
+using rt_syscall_proc = Kernel::Void (*)(Kernel::VoidPtr);
/// @brief System Call Dispatch.
struct HAL_DISPATCH_ENTRY final {
@@ -81,7 +81,7 @@ struct HAL_DISPATCH_ENTRY final {
operator bool() { return fHooked; }
};
-typedef Kernel::Void (*rt_kerncall_proc)(Kernel::SizeT, Kernel::VoidPtr, Kernel::SizeT);
+using rt_kerncall_proc = Kernel::Void (*)(Kernel::SizeT, Kernel::VoidPtr, Kernel::SizeT);
/// @brief Kernel Call Dispatch.
struct HAL_KERNEL_DISPATCH_ENTRY final {