From 81027667166d9624ee12f45f011426678d1bbbf4 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Thu, 29 May 2025 17:19:57 +0200 Subject: feat: Improve libSystem's architecture and implementation. fix: Fix NeKit's Ref, and ErrorOr classes. fix: Fix userland tools. next: - Finish the latest tickets and then release nekernel 0.0.3 Signed-off-by: Amlal El Mahrouss --- dev/libSystem/System.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'dev/libSystem/System.h') diff --git a/dev/libSystem/System.h b/dev/libSystem/System.h index 920ea2b2..88e1f173 100644 --- a/dev/libSystem/System.h +++ b/dev/libSystem/System.h @@ -7,8 +7,8 @@ Purpose: System Call Interface. ------------------------------------------- */ -#ifndef SCI_SYSTEM_CALLS_H -#define SCI_SYSTEM_CALLS_H +#ifndef LIBSYS_SYSTEM_CALLS_H +#define LIBSYS_SYSTEM_CALLS_H #include @@ -16,12 +16,12 @@ Purpose: System Call Interface. /// @brief Types API. // ------------------------------------------------------------------------------------------ // -struct RefType { - UInt32 __hash; - VoidPtr __self; +struct REF_TYPE { + UInt64 __hash; /// @brief Hash of the syscall + VoidPtr __self; /// @brief Syscall self value. }; -typedef RefType* Ref; +typedef REF_TYPE* Ref; typedef Ref IORef; typedef Ref FSRef; @@ -382,4 +382,4 @@ IMPORT_C Char* StrFmt(const Char* fmt, ...); IMPORT_C UInt64 StrMathToNumber(const Char* in, const Char** endp, const SInt16 base); -#endif // ifndef SCI_SYSTEM_CALLS_H +#endif // ifndef LIBSYS_SYSTEM_CALLS_H -- cgit v1.2.3