diff options
Diffstat (limited to 'src/user/lib/include/_proc.h')
-rw-r--r-- | src/user/lib/include/_proc.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/user/lib/include/_proc.h b/src/user/lib/include/_proc.h new file mode 100644 index 0000000..c8fd70b --- /dev/null +++ b/src/user/lib/include/_proc.h @@ -0,0 +1,7 @@ +#pragma once + +/* That page contains a null-terminated string that describes the process + * for tools such as ps. It's first allocated in the bootstrap process, and + * then it's freed on every exec() - just to be immediately reallocated by + * _start2(). */ +static char *const _libc_psdata = (void*)0x10000; |