Module Name:    src
Committed By:   jmcneill
Date:           Thu Sep  8 10:49:41 UTC 2011

Modified Files:
        src/sys/arch/usermode/include: genheaders.sh

Log Message:
make sure USPACE is large enough to hold our struct pcb


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/usermode/include/genheaders.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/usermode/include/genheaders.sh
diff -u src/sys/arch/usermode/include/genheaders.sh:1.1 src/sys/arch/usermode/include/genheaders.sh:1.2
--- src/sys/arch/usermode/include/genheaders.sh:1.1	Sat Sep  3 14:23:50 2011
+++ src/sys/arch/usermode/include/genheaders.sh	Thu Sep  8 10:49:41 2011
@@ -51,6 +51,9 @@
 	elif [ "$hdr" = "ptrace.h" ]; then
 		echo "#undef __HAVE_PTRACE_MACHDEP" >> ${hdr}
 		echo "#undef __HAVE_PROCFS_MACHDEP" >> ${hdr}
+	elif [ "$hdr" = "param.h" ]; then
+		echo "#undef USPACE" >> ${hdr}
+		echo "#define USPACE (PAGE_SIZE*4)" >> ${hdr}
 	fi
 
 	echo >>${hdr}

Reply via email to