git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed crt0.o not creating its output directory
[tpg/acess2.git]
/
AcessNative
/
syscalls.h
diff --git
a/AcessNative/syscalls.h
b/AcessNative/syscalls.h
index
903cbfa
..
b4d211c
100644
(file)
--- a/
AcessNative/syscalls.h
+++ b/
AcessNative/syscalls.h
@@
-17,6
+17,7
@@
typedef struct sRequestValue {
/// \see eArgumentTypes
uint16_t Type;
typedef struct sRequestValue {
/// \see eArgumentTypes
uint16_t Type;
+ uint8_t Flags;
uint16_t Length;
} tRequestValue;
uint16_t Length;
} tRequestValue;
@@
-24,7
+25,6
@@
typedef struct sRequestHeader {
uint16_t ClientID;
uint16_t CallID; //!< \see eSyscalls
uint16_t NParams;
uint16_t ClientID;
uint16_t CallID; //!< \see eSyscalls
uint16_t NParams;
- uint16_t NReturn;
tRequestValue Params[];
} tRequestHeader;
tRequestValue Params[];
} tRequestHeader;
@@
-43,6
+43,7
@@
enum eSyscalls {
SYS_OPENCHILD,
SYS_GETACL,
SYS_MOUNT,
SYS_OPENCHILD,
SYS_GETACL,
SYS_MOUNT,
+ SYS_REOPEN,
N_SYSCALLS
};
N_SYSCALLS
};
@@
-53,5
+54,9
@@
enum eArgumentTypes {
ARG_TYPE_STRING,
ARG_TYPE_DATA
};
ARG_TYPE_STRING,
ARG_TYPE_DATA
};
+enum eArgumentFlags {
+ ARG_FLAG_RETURN = 0x40, // Pass back in the return message
+ ARG_FLAG_ZEROED = 0x80 // Not present in the message, just fill with zero
+};
#endif
#endif
UCC
git Repository :: git.ucc.asn.au