X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=AcessNative%2Fsyscalls.h;h=21a9cb53037c4f86e88da93a181a95e8947b04bc;hb=2f0e6c00cafde3555c04ee6bac1150583cb5fb13;hp=d1a0bdce499f076dc214c0a31225a3ef6acb8f4e;hpb=b3398bcfe17be9751d98a0dcd8ccd27bb1568039;p=tpg%2Facess2.git diff --git a/AcessNative/syscalls.h b/AcessNative/syscalls.h index d1a0bdce..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,6 +67,7 @@ enum eSyscalls { // IPC SYS_SLEEP, SYS_AN_FORK, + SYS_AN_SPAWN, SYS_SENDMSG, SYS_GETMSG, SYS_SELECT,