share Make headers assembler friendly
This commit is contained in:
@ -3,17 +3,17 @@
|
||||
|
||||
#define PROC_ARG_MAX 128
|
||||
|
||||
enum {
|
||||
PCTL_KILL = 0,
|
||||
PCTL_SPAWN = 1,
|
||||
PCTL_POLLSTATE = 2,
|
||||
PCTL_RUN = 3,
|
||||
PCTL_GETPID = 4,
|
||||
PCTL_ARGLEN = 5,
|
||||
PCTL_ARGV = 6,
|
||||
PCTL_PLS_SZ = 7,
|
||||
PCTL_PLS_STAT = 8,
|
||||
};
|
||||
#define PCTL_KILL 0
|
||||
#define PCTL_SPAWN 1
|
||||
#define PCTL_POLLSTATE 2
|
||||
#define PCTL_RUN 3
|
||||
#define PCTL_GETPID 4
|
||||
#define PCTL_ARGLEN 5
|
||||
#define PCTL_ARGV 6
|
||||
#define PCTL_PLS_SZ 7
|
||||
#define PCTL_PLS_STAT 8
|
||||
|
||||
#if !defined(__ASSEMBLER__)
|
||||
|
||||
typedef struct {
|
||||
uint64_t pid;
|
||||
@ -24,4 +24,6 @@ typedef struct {
|
||||
|
||||
typedef uint64_t PID_t;
|
||||
|
||||
#endif
|
||||
|
||||
#endif // SHARE_HDRS_PROCESSCTL_H_
|
||||
|
Reference in New Issue
Block a user