summaryrefslogtreecommitdiffstats
path: root/sys/sparc64/include/param.h
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2001-09-30 18:48:37 +0000
committerjake <jake@FreeBSD.org>2001-09-30 18:48:37 +0000
commit0faa0047f499fc2e08f43816ca6a239940a9498f (patch)
tree1f0b79f4759bdfbe8386ea97808b9d6318159a2f /sys/sparc64/include/param.h
parentde1928a0bc09906d2f0199a21ae8209f505c8f76 (diff)
downloadFreeBSD-src-0faa0047f499fc2e08f43816ca6a239940a9498f.zip
FreeBSD-src-0faa0047f499fc2e08f43816ca6a239940a9498f.tar.gz
Move the pcb the to the top of the kernel stack.
Add a guard page at the bottom of the kernel stack. Its unclear how easy it will be to detect these faults and do something useful. Setup the registers on exec how the c runtime expects. Implement various {fill,set}_*regs. Fix proc locking.
Diffstat (limited to 'sys/sparc64/include/param.h')
-rw-r--r--sys/sparc64/include/param.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/sparc64/include/param.h b/sys/sparc64/include/param.h
index 2f8d6a6..6699778 100644
--- a/sys/sparc64/include/param.h
+++ b/sys/sparc64/include/param.h
@@ -115,12 +115,11 @@
#define MAXPHYS (128 * 1024) /* max raw I/O transfer size */
#define MAXDUMPPGS (DFLTPHYS/PAGE_SIZE)
-#define IOPAGES 2 /* pages of i/o permission bitmap */
-
#define KSTACK_PAGES 4 /* pages of kernel stack (with pcb) */
#define UAREA_PAGES 1 /* pages of user area */
-/* #define KSTACK_GUARD */ /* compile in kstack guard page */
+#define KSTACK_GUARD /* compile in kstack guard page */
+#define KSTACK_GUARD_PAGES 1
/*
* Constants related to network buffer management.
OpenPOWER on IntegriCloud