diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2001-09-01 15:49:07 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2001-09-01 15:49:07 +0000 |
commit | 65997b0cdeb6b9e16cdbbb314ede217802895ade (patch) | |
tree | bc94445005d87ce5bb877ac490e9dde833e03342 /sys/arch/powerpc/include/param.h | |
parent | b0437314cc10bd43e476454d2df24ec3d953247f (diff) |
The "powerpc" port which has supported the newer Apple Macintosh powerpc based
is being renamed to macppc. This is to allow sharing of common code
between different powerpc base platforms.
Most of the work involved in the renaming process was performed by miod@
Files moved from powerpc/include to macppc/include
Some files were not "moved" but wrapper files were created which include
the powerpc/include version.
Several of the powerpc/include files where changed to reflect that they
are POWERPC_* not MACHINE_*.
Diffstat (limited to 'sys/arch/powerpc/include/param.h')
-rw-r--r-- | sys/arch/powerpc/include/param.h | 23 |
1 files changed, 6 insertions, 17 deletions
diff --git a/sys/arch/powerpc/include/param.h b/sys/arch/powerpc/include/param.h index 8de202ada69..9d4ce5045c4 100644 --- a/sys/arch/powerpc/include/param.h +++ b/sys/arch/powerpc/include/param.h @@ -1,4 +1,4 @@ -/* $OpenBSD: param.h,v 1.17 2001/07/09 02:14:05 mickey Exp $ */ +/* $OpenBSD: param.h,v 1.18 2001/09/01 15:49:05 drahn Exp $ */ /* $NetBSD: param.h,v 1.1 1996/09/30 16:34:28 ws Exp $ */ /*- @@ -32,18 +32,18 @@ * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#ifndef _POWERPC_PARAM_H_ +#define _POWERPC_PARAM_H_ + #ifdef _KERNEL #ifndef _LOCORE #include <machine/cpu.h> #endif /* _LOCORE */ #endif - /* * Machine dependent constants for PowerPC (32-bit only currently) */ -#define MACHINE "powerpc" -#define _MACHINE powerpc #define MACHINE_ARCH "powerpc" #define _MACHINE_ARCH powerpc @@ -68,8 +68,6 @@ #define UPAGES 4 #define USPACE (UPAGES * NBPG) -#define KERNBASE 0x100000 - /* * Constants related to network buffer management. * MCLBYTES must be no larger than the software page size, and, @@ -90,15 +88,6 @@ #endif #endif -#define MSGBUFSIZE (NBPG*2) - -/* - * Size of kernel malloc arena in logical pages. - */ -#ifndef NKMEMCLUSTERS -#define NKMEMCLUSTERS (16 * 1024 * 1024 / PAGE_SIZE) -#endif - /* * pages ("clicks") to disk blocks */ @@ -137,8 +126,6 @@ #define EMPTY_SEGMENT 0xfffff0 #define USER_ADDR ((void *)(USER_SR << ADDR_SR_SHFT)) -#define __COMPAT_OLD_TIMEOUTS - /* * Some system constants */ @@ -150,3 +137,5 @@ * Temporary kludge till we do (ov)bcopy in assembler */ #define ovbcopy bcopy + +#endif /* _POWERPC_PARAM_H_ */ |