diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-05-29 17:19:57 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-05-29 17:19:57 +0200 |
| commit | 81027667166d9624ee12f45f011426678d1bbbf4 (patch) | |
| tree | d12fd352d23ae9c9a167c2c1b8b98c2c9cac2df7 /dev/libSystem/System.h | |
| parent | 3167f59dbb401d6a79b1524537e04218baf49ee3 (diff) | |
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 <amlal@nekernel.org>
Diffstat (limited to 'dev/libSystem/System.h')
| -rw-r--r-- | dev/libSystem/System.h | 14 |
1 files changed, 7 insertions, 7 deletions
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 <libSystem/Macros.h>
@@ -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
|
