diff options
author | Per Fogelstrom <pefo@cvs.openbsd.org> | 1997-10-13 10:53:50 +0000 |
---|---|---|
committer | Per Fogelstrom <pefo@cvs.openbsd.org> | 1997-10-13 10:53:50 +0000 |
commit | ef834a87737378e1dc26e0e3e32e5d1445167855 (patch) | |
tree | 6d0361ba13d27d2dc1e4f8dac57eebd57defdded /sys/arch/powerpc/include/param.h | |
parent | 3741f00a6b332fa2e185b942e237df76267d52b8 (diff) |
Monolithic PowerPC kernel, new include
Diffstat (limited to 'sys/arch/powerpc/include/param.h')
-rw-r--r-- | sys/arch/powerpc/include/param.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/sys/arch/powerpc/include/param.h b/sys/arch/powerpc/include/param.h index 5fcf64326d5..b68dd5d1c4c 100644 --- a/sys/arch/powerpc/include/param.h +++ b/sys/arch/powerpc/include/param.h @@ -1,4 +1,4 @@ -/* $OpenBSD: param.h,v 1.4 1997/02/28 22:57:40 niklas Exp $ */ +/* $OpenBSD: param.h,v 1.5 1997/10/13 10:53:47 pefo Exp $ */ /* $NetBSD: param.h,v 1.1 1996/09/30 16:34:28 ws Exp $ */ /*- @@ -45,15 +45,11 @@ #define _MACHINE powerpc #define MACHINE_ARCH "powerpc" #define _MACHINE_ARCH powerpc -#define MID_MACHINE MID_ZERO #define ALIGNBYTES (sizeof(double) - 1) #define ALIGN(p) (((u_int)(p) + ALIGNBYTES) & ~ALIGNBYTES) #define PGSHIFT 12 -#if 0 -#define NBPG (1 << PGSHIFT) /* Page size */ -#endif #define NBPG 4096 #define PGOFSET (NBPG - 1) @@ -80,12 +76,13 @@ #define MSIZE 128 /* size of an mbuf */ #define MCLSHIFT 11 /* convert bytes to m_buf clusters */ #define MCLBYTES (1 << MCLSHIFT) /* size of a m_buf cluster */ +#define MCLOFSET (MCLBYTES - 1) #ifndef NMBCLUSTERS #ifdef GATEWAY -#define NMBCLUSTERS 512 /* map size, max cluster allocation */ +#define NMBCLUSTERS 2048 /* map size, max cluster allocation */ #else -#define NMBCLUSTERS 256 /* map size, max cluster allocation */ +#define NMBCLUSTERS 1024 /* map size, max cluster allocation */ #endif #endif |