diff options
author | Steve Murphree <smurph@cvs.openbsd.org> | 1999-02-09 06:36:31 +0000 |
---|---|---|
committer | Steve Murphree <smurph@cvs.openbsd.org> | 1999-02-09 06:36:31 +0000 |
commit | a57803c95c08dbdb30356100d3b94c219d5c46cb (patch) | |
tree | 797d6906b97d2f70dbabbc79151496c303e85e93 /sys/arch/mvme88k/include/param.h | |
parent | 93a73fb959e9887211b761afd3c887abd096e3ff (diff) |
Added kernel support for user debugging. Fixed file ID's
Diffstat (limited to 'sys/arch/mvme88k/include/param.h')
-rw-r--r-- | sys/arch/mvme88k/include/param.h | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/sys/arch/mvme88k/include/param.h b/sys/arch/mvme88k/include/param.h index ff24b77c0a7..34ecc00afe4 100644 --- a/sys/arch/mvme88k/include/param.h +++ b/sys/arch/mvme88k/include/param.h @@ -1,4 +1,6 @@ +/* $OpenBSD: param.h,v 1.8 1999/02/09 06:36:27 smurph Exp $ */ /* + * Copyright (c) 1999 Steve Murphree, Jr. * Copyright (c) 1988 University of Utah. * Copyright (c) 1982, 1986, 1990 The Regents of the University of California. * All rights reserved. @@ -38,14 +40,14 @@ * from: Utah $Hdr: machparam.h 1.11 89/08/14$ * * @(#)param.h 7.8 (Berkeley) 6/28/91 - * $Id: param.h,v 1.7 1998/12/15 04:45:50 smurph Exp $ + * $Id: param.h,v 1.8 1999/02/09 06:36:27 smurph Exp $ */ #ifndef _MACHINE_PARAM_H_ #define _MACHINE_PARAM_H_ -#define _MACHINE "mvme88k" +#define _MACHINE mvme88k #define MACHINE "mvme88k" -#define _MACHINE_ARCH "m88k" +#define _MACHINE_ARCH m88k #define MACHINE_ARCH "m88k" #define MID_MACHINE MID_M88K @@ -56,17 +58,10 @@ * aligning stack, which needs to be on a double word boundary for * 88k. */ -/*#define ALIGNBYTES (sizeof(int) - 1)*/ -#define ALIGNBYTES 15 -/* Stack alignment upon a double word boundary proves deadly */ -#define DOUBLE_ALIGN 1 -#ifdef DOUBLE_ALIGN -/*#define ALIGN(p) (((u_int)(p) + (sizeof(double) - 1)) & ~(sizeof(double) - 1))*/ +#define ALIGNBYTES 15 /* 64 bit alignment */ #define ALIGN(p) (((u_int)(p) + ALIGNBYTES) & ~ALIGNBYTES) -#else /* 16 byte alignment works */ -#define ALIGN(p) (((u_int)(p) + ((sizeof(double)*2) - 1)) & ~((sizeof(double)*2) - 1)) -#endif +#define ALIGNED_POINTER(p,t) ((((u_long)(p)) & (sizeof(t)-1)) == 0) #ifndef NBPG #define NBPG 4096 /* bytes/page */ @@ -125,9 +120,9 @@ #define MCLOFSET (MCLBYTES - 1) #ifndef NMBCLUSTERS #ifdef GATEWAY -#define NMBCLUSTERS 512 /* map size, max cluster allocation */ +#define NMBCLUSTERS 1024 /* map size, max cluster allocation */ #else -#define NMBCLUSTERS 256 /* map size, max cluster allocation */ +#define NMBCLUSTERS 512 /* map size, max cluster allocation */ #endif #endif @@ -135,7 +130,7 @@ * Size of kernel malloc arena in CLBYTES-sized logical pages */ #ifndef NKMEMCLUSTERS -#define NKMEMCLUSTERS (3072*1024/CLBYTES) +#define NKMEMCLUSTERS (4096*1024/CLBYTES) #endif /* pages ("clicks") to disk blocks */ |