summaryrefslogtreecommitdiff
path: root/param.h
diff options
context:
space:
mode:
authorRobert Morris <[email protected]>2010-09-27 16:14:33 -0400
committerRobert Morris <[email protected]>2010-09-27 16:14:33 -0400
commit4655d42e3b65f906eae8c815fb78331790f6e423 (patch)
treede5b3e4e74c992fd3cd8fef0a2d37cb805c659ac /param.h
parenta9183883b88bfccd1c6a62e27621b2c892d50b67 (diff)
downloadxv6-labs-4655d42e3b65f906eae8c815fb78331790f6e423.tar.gz
xv6-labs-4655d42e3b65f906eae8c815fb78331790f6e423.tar.bz2
xv6-labs-4655d42e3b65f906eae8c815fb78331790f6e423.zip
copyout() copies data to a va in a pagetable, for exec() &c
usertest that passes too many arguments, break exec
Diffstat (limited to 'param.h')
-rw-r--r--param.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/param.h b/param.h
index 48c3352..70f88e8 100644
--- a/param.h
+++ b/param.h
@@ -7,4 +7,6 @@
#define NINODE 50 // maximum number of active i-nodes
#define NDEV 10 // maximum major device number
#define ROOTDEV 1 // device number of file system root disk
+#define USERTOP 0xA0000 // end of user address space
#define PHYSTOP 0x1000000 // use phys mem up to here as free pool
+#define MAXARG 32 // max exec arguments