Register state passed to the syscall handler. More...
#include <archdoc.h>
Data Fields | |
Uint | Arg4 |
Fourth argument. | |
Uint | Arg3 |
Third argument. | |
Uint | Arg2 |
Second argument. | |
union { | |
Uint Arg1 | |
First arugment. | |
Uint RetHi | |
High part of the return. | |
}; | |
union { | |
Uint Num | |
Call Number. | |
Uint Return | |
Low return value. | |
}; | |
Uint | StackPointer |
User stack pointer. |
Register state passed to the syscall handler.
The tSyscallRegs structure allows the system call handler to read the user state to get the arguments for the call. It also allows the handler to alter specific parts of the user state to reflect the result of the call.