From d1ac6fb03e3110e35023f60f643f0c4d02c3d8b6 Mon Sep 17 00:00:00 2001 From: Alexis211 Date: Sat, 24 Oct 2009 22:58:28 +0200 Subject: More work on syscalls : userland applications can run other apps. --- Source/Library/Interface/Process.iface.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Source/Library/Interface') diff --git a/Source/Library/Interface/Process.iface.h b/Source/Library/Interface/Process.iface.h index 52543aa..0152947 100644 --- a/Source/Library/Interface/Process.iface.h +++ b/Source/Library/Interface/Process.iface.h @@ -1,10 +1,14 @@ #ifndef DEF_PROCESS_IFACE_H #define DEF_PROCESS_IFACE_H +#define E_AUTODELETE 0x0FFFFF03 + #define PRIF_OBJTYPE 0x20 //S = static, GET = get, C = current, PR = process #define PRIF_SGETCPR 0 +#define PRIF_SRUN 1 +#define PRIF_SWAIT 2 #define PRIF_EXIT 0x01 #define PRIF_ALLOCPAGE 0x02 @@ -15,4 +19,10 @@ #define PRIF_ARGC 0x10 #define PRIF_ARGV 0x11 +#define PRIF_START 0x20 +#define PRIF_AUTODELETE 0x21 +#define PRIF_PUSHARG 0x28 +#define PRIF_SETOUTVT 0x29 +#define PRIF_SETINVT 0x30 + #endif -- cgit v1.2.3