X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=AcessNative%2Fsyscalls.h;h=21a9cb53037c4f86e88da93a181a95e8947b04bc;hb=507f19941f45bca7c1de783a394f56b15f10be4d;hp=3c7bd85d9b5e2457900b203a3ed6fe7e924fe2bd;hpb=a41f3e5efdf853726d078dc03550de40e9d63bdd;p=tpg%2Facess2.git diff --git a/AcessNative/syscalls.h b/AcessNative/syscalls.h index 3c7bd85d..21a9cb53 100644 --- a/AcessNative/syscalls.h +++ b/AcessNative/syscalls.h @@ -14,16 +14,22 @@ * uint8_t paramData[SUM(params[].Lengh)]; */ +typedef struct { + uint32_t pid; + uint32_t key; +} tRequestAuthHdr; + typedef struct sRequestValue { /// \see eArgumentTypes uint16_t Type; uint16_t Flags; - uint16_t Length; + uint32_t Length; } tRequestValue; typedef struct sRequestHeader { uint16_t ClientID; uint16_t CallID; //!< \see eSyscalls + uint32_t MessageLength; uint16_t NParams; tRequestValue Params[]; @@ -61,9 +67,11 @@ enum eSyscalls { // IPC SYS_SLEEP, SYS_AN_FORK, + SYS_AN_SPAWN, SYS_SENDMSG, SYS_GETMSG, SYS_SELECT, + SYS_WAITEVENT, N_SYSCALLS }; @@ -103,7 +111,8 @@ static const char * casSYSCALL_NAMES[] = { "SYS_AN_FORK", "SYS_SENDMSG", "SYS_GETMSG", - "SYS_SELECT" + "SYS_SELECT", + "SYS_WAITEVENT" }; #endif