Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/usermode/include make sure USPACE is large enough t...
details: https://anonhg.NetBSD.org/src/rev/a59082fb428c
branches: trunk
changeset: 769386:a59082fb428c
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Thu Sep 08 10:49:41 2011 +0000
description:
make sure USPACE is large enough to hold our struct pcb
diffstat:
sys/arch/usermode/include/genheaders.sh | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diffs (13 lines):
diff -r 886fc0ec6008 -r a59082fb428c sys/arch/usermode/include/genheaders.sh
--- a/sys/arch/usermode/include/genheaders.sh Thu Sep 08 01:19:52 2011 +0000
+++ b/sys/arch/usermode/include/genheaders.sh Thu Sep 08 10:49:41 2011 +0000
@@ -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}
Home |
Main Index |
Thread Index |
Old Index