share Make headers assembler friendly

This commit is contained in:
2025-10-03 22:31:22 +02:00
parent 57ba9ff126
commit 3c1c63e970
6 changed files with 52 additions and 58 deletions

View File

@ -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_