summaryrefslogtreecommitdiffhomepage
path: root/dev/Kernel/ArchKit
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2025-03-04 05:20:58 +0100
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2025-03-04 05:20:58 +0100
commitd62341f615974257eac4125ab68be519efcf0a6e (patch)
treea68661ff4108eb294e06c16319b8f938e3b2ff3a /dev/Kernel/ArchKit
parentfe61c5e33bd2a739885f3f7edc3c0c0798f918c7 (diff)
CHORE&FEAT: Kernel/SCI: Lots of Chore and feat, see below.
- Add traits for CmdListEntry in GPU's SCI. (GPU.h) - Set standard user directory as /user/ instead of /usr/. (User.cc/User.h) - Replace fSourcePid with fPID. (HardwareThreadScheduler.cc/HardwareThreadScheduler.h)
Diffstat (limited to 'dev/Kernel/ArchKit')
-rw-r--r--dev/Kernel/ArchKit/ArchKit.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/dev/Kernel/ArchKit/ArchKit.h b/dev/Kernel/ArchKit/ArchKit.h
index 36dabeb3..d663cdc7 100644
--- a/dev/Kernel/ArchKit/ArchKit.h
+++ b/dev/Kernel/ArchKit/ArchKit.h
@@ -24,6 +24,8 @@
#error !!! unknown architecture !!!
#endif
+#define kKernelMaxSystemCalls (512U)
+
namespace NeOS
{
inline SSizeT rt_hash_seed(const Char* seed, int mul)
@@ -65,11 +67,9 @@ namespace NeOS
}
} // namespace NeOS
-#define kKernelMaxSystemCalls (256)
-
typedef NeOS::Void (*rt_syscall_proc)(NeOS::VoidPtr);
-struct HAL_SYSCALL_RECORD final
+struct HalSyscallEntry final
{
NeOS::Int64 fHash;
NeOS::Bool fHooked;
@@ -81,11 +81,11 @@ struct HAL_SYSCALL_RECORD final
}
};
-inline NeOS::Array<HAL_SYSCALL_RECORD,
+inline NeOS::Array<HalSyscallEntry,
kKernelMaxSystemCalls>
kSyscalls;
-inline NeOS::Array<HAL_SYSCALL_RECORD,
+inline NeOS::Array<HalSyscallEntry,
kKernelMaxSystemCalls>
kKerncalls;