diff options
author | Alex Auvolat <alex@adnab.me> | 2016-07-16 15:59:46 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2016-07-16 15:59:46 +0200 |
commit | 3d6a857b9186ef6304ea6cf04627c2b787169f29 (patch) | |
tree | 756179ce1e1838f75c57e3efec2a570d72051594 /src/common/include | |
parent | 59000174aa50ed6b2d24a71576d15e6a53c5be0c (diff) | |
download | kogata-3d6a857b9186ef6304ea6cf04627c2b787169f29.tar.gz kogata-3d6a857b9186ef6304ea6cf04627c2b787169f29.zip |
Make way for libc implementation
Diffstat (limited to 'src/common/include')
-rw-r--r-- | src/common/include/proto/launch.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/common/include/proto/launch.h b/src/common/include/proto/launch.h new file mode 100644 index 0000000..3192f82 --- /dev/null +++ b/src/common/include/proto/launch.h @@ -0,0 +1,26 @@ +#pragma once + +// Standard file descriptor numbers +// If these FDs are mapped when a process is launched, a specific role for them is assumed + +// {{ Automatically causes libc stdio initialization + +// tty_stdio : assume we have a terminal window for keyboard I/O +#define STD_FD_TTY_STDIO 1 + +// if stdin is mapped, we assume no terminal window +#define STD_FD_STDIN 2 +#define STD_FD_STDOUT 3 +#define STD_FD_STDERR 4 + +// }} + + +#define STD_FD_GIP 5 // graphics initiation protocol, i.e. GUI window + +// For system services +#define STD_FD_GIOSRV 10 + +#define STD_FD_TTYSRV 11 + +/* vim: set sts=0 ts=4 sw=4 tw=0 noet :*/ |