3 #ifndef _NATIVE_SYSCALLS_H_
4 #define _NATIVE_SYSCALLS_H_
6 #define SERVER_PORT 0xACE
11 * tRequestHeader header
12 * tRequestValue params[header.NParams]
13 * tRequestValue retvals[header.NReturn]
14 * uint8_t paramData[SUM(params[].Lengh)];
17 typedef struct sRequestValue {
18 /// \see eArgumentTypes
24 typedef struct sRequestHeader {
26 uint16_t CallID; //!< \see eSyscalls
29 tRequestValue Params[];
72 #ifndef DONT_INCLUDE_SYSCALL_NAMES
73 static const char * casSYSCALL_NAMES[] = {
112 enum eArgumentTypes {
119 enum eArgumentFlags {
120 ARG_FLAG_RETURN = 0x40, // Pass back in the return message
121 ARG_FLAG_ZEROED = 0x80 // Not present in the message, just fill with zero