diff options
Diffstat (limited to 'dev/kernel/ArchKit/ArchKit.h')
| -rw-r--r-- | dev/kernel/ArchKit/ArchKit.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/dev/kernel/ArchKit/ArchKit.h b/dev/kernel/ArchKit/ArchKit.h index b6637ec1..09839d98 100644 --- a/dev/kernel/ArchKit/ArchKit.h +++ b/dev/kernel/ArchKit/ArchKit.h @@ -29,8 +29,8 @@ #define kMaxDispatchCallCount (512U) namespace Kernel { -inline SSizeT rt_hash_seed(const Char* seed, int mul) { - SSizeT hash = 0; +inline SizeT rt_hash_seed(const Char* seed, UInt32 mul) { + SizeT hash = 0; for (SSizeT idx = 0; seed[idx] != 0; ++idx) { hash += seed[idx]; @@ -69,7 +69,7 @@ namespace HAL { typedef Kernel::Void (*rt_syscall_proc)(Kernel::VoidPtr); -struct HalSyscallEntry final { +struct HAL_DISPATCH_ENTRY final { Kernel::Int64 fHash; Kernel::Bool fHooked; rt_syscall_proc fProc; @@ -77,9 +77,9 @@ struct HalSyscallEntry final { operator bool() { return fHooked; } }; -inline Kernel::Array<HalSyscallEntry, kMaxDispatchCallCount> kSysCalls; +inline Kernel::Array<HAL_DISPATCH_ENTRY, kMaxDispatchCallCount> kSysCalls; -inline Kernel::Array<HalSyscallEntry, kMaxDispatchCallCount> kKernCalls; +inline Kernel::Array<HAL_DISPATCH_ENTRY, kMaxDispatchCallCount> kKernCalls; #ifdef __NE_VIRTUAL_MEMORY_SUPPORT__ |
