summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/include/param.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/powerpc/include/param.h')
-rw-r--r--sys/powerpc/include/param.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/powerpc/include/param.h b/sys/powerpc/include/param.h
index 3ebcd94..3ac5646 100644
--- a/sys/powerpc/include/param.h
+++ b/sys/powerpc/include/param.h
@@ -112,8 +112,11 @@
#define MAXPHYS (128 * 1024) /* max raw I/O transfer size */
#define MAXDUMPPGS (DFLTPHYS/PAGE_SIZE)
-#define UPAGES 2 /* pages of u-area */
-#define USPACE (UPAGES * PAGE_SIZE) /* total size of u-area */
+#ifndef KSTACK_UPAGES
+#define KSTACK_PAGES 2 /* includes pcb */
+#endif
+#define USPACE (KSTACK_PAGES * PAGE_SIZE) /* total size of pcb */
+#define UAREA_PAGES 1 /* holds struct user WITHOUT PCB */
/*
* Constants related to network buffer management.
OpenPOWER on IntegriCloud