![]() |
Max OS 0.3
|
The arguments passed to a syscall (simplified representation of values in registers) More...
#include <syscalls.h>
Public Attributes | |
| uint64_t | arg0 |
| First argument (in rdi) | |
| uint64_t | arg1 |
| Second argument (in rsi) | |
| uint64_t | arg2 |
| Third argument (in rdx) | |
| uint64_t | arg3 |
| Fourth argument (in rcx) | |
| uint64_t | arg4 |
| Fifth argument (in r8) | |
| uint64_t | arg5 |
| Sixth argument (in r9) | |
| uint64_t | return_value |
| The return value of the syscall (in rax) | |
| cpu_status_t * | return_state |
| The CPU state to return to after the syscall. | |
The arguments passed to a syscall (simplified representation of values in registers)
Definition at line 36 of file syscalls.h.
| uint64_t MaxOS::system::SyscallArguments::arg0 |
First argument (in rdi)
Definition at line 38 of file syscalls.h.
| uint64_t MaxOS::system::SyscallArguments::arg1 |
Second argument (in rsi)
Definition at line 39 of file syscalls.h.
| uint64_t MaxOS::system::SyscallArguments::arg2 |
Third argument (in rdx)
Definition at line 40 of file syscalls.h.
| uint64_t MaxOS::system::SyscallArguments::arg3 |
Fourth argument (in rcx)
Definition at line 41 of file syscalls.h.
| uint64_t MaxOS::system::SyscallArguments::arg4 |
Fifth argument (in r8)
Definition at line 42 of file syscalls.h.
| uint64_t MaxOS::system::SyscallArguments::arg5 |
Sixth argument (in r9)
Definition at line 43 of file syscalls.h.
| cpu_status_t* MaxOS::system::SyscallArguments::return_state |
The CPU state to return to after the syscall.
Definition at line 45 of file syscalls.h.
| uint64_t MaxOS::system::SyscallArguments::return_value |
The return value of the syscall (in rax)
Definition at line 44 of file syscalls.h.