tSyscallRegs Struct Reference

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.

Detailed Description

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.

Note:
The fields shown here are need only be present in the actual structure, in any order. The implementation may also add more fields for padding purposes.

The documentation for this struct was generated from the following file:
Generated on Mon Feb 14 15:21:31 2011 for Acess2 by  doxygen 1.6.3