diff options
author | mp <mp@FreeBSD.org> | 2001-09-20 00:47:17 +0000 |
---|---|---|
committer | mp <mp@FreeBSD.org> | 2001-09-20 00:47:17 +0000 |
commit | a2e5cb9c1ece11bd25f867c25e6f34022389125f (patch) | |
tree | c07dd541ea7e2e8cf948e0f0147a7d96d38bf958 /sys/powerpc/include/param.h | |
parent | 7418b6f0974dece312233d4ca5fd06777377bf9c (diff) | |
download | FreeBSD-src-a2e5cb9c1ece11bd25f867c25e6f34022389125f.zip FreeBSD-src-a2e5cb9c1ece11bd25f867c25e6f34022389125f.tar.gz |
Update PowerPC MD code to compile and do initial bootstrap based on
recent changes (KSE and VM requiring physmem to be setup).
Reviewed by: benno, jhb, julian
Diffstat (limited to 'sys/powerpc/include/param.h')
-rw-r--r-- | sys/powerpc/include/param.h | 7 |
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. |