mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-07-11 07:19:20 +00:00
Updated types
This commit is contained in:
@ -10,14 +10,14 @@ typedef struct SyscallsFrame
|
||||
uint64_t rbp, rdi, rsi, rdx, rcx, rbx, rax;
|
||||
uint64_t InterruptNumber, ErrorCode, rip, cs, rflags, rsp, ss;
|
||||
#elif defined(__i386__)
|
||||
uint64_t ebp, edi, esi, edx, ecx, ebx, eax;
|
||||
uint64_t InterruptNumber, ErrorCode, eip, cs, eflags, esp, ss;
|
||||
uint32_t ebp, edi, esi, edx, ecx, ebx, eax;
|
||||
uint32_t InterruptNumber, ErrorCode, eip, cs, eflags, esp, ss;
|
||||
#elif defined(__aarch64__)
|
||||
#endif
|
||||
} SyscallsFrame;
|
||||
|
||||
uint64_t HandleNativeSyscalls(SyscallsFrame *Frame);
|
||||
uint64_t HandleLinuxSyscalls(SyscallsFrame *Frame);
|
||||
uintptr_t HandleNativeSyscalls(SyscallsFrame *Frame);
|
||||
uintptr_t HandleLinuxSyscalls(SyscallsFrame *Frame);
|
||||
|
||||
/**
|
||||
* @brief Initialize syscalls for the current CPU. (Function is available on x32, x64 & aarch64)
|
||||
|
Reference in New Issue
Block a user