adding environmental variables support

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@304 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
lillo
2002-07-18 13:59:03 +00:00
parent a4f9f99fb0
commit 0ba337c0a4
17 changed files with 111 additions and 14 deletions
+4 -1
View File
@@ -36,7 +36,10 @@ extern "C" {
* Size of the stack given to processes
*/
#define STACK_SIZE (PAGE_SIZE*16)
/**
* Size of the environmental variables space for a process
*/
#define ENV_SIZE (PAGE_SIZE*8)
#define ROUNDUP(a, b) (((a) + ((b)-1)) & ~((b)-1))
#define ROUNDOWN(a, b) (((a) / (b)) * (b))