diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2001-06-23 01:59:06 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2001-06-23 01:59:06 +0000 |
commit | 0d5632f907ffd4f64207a14938984544f38bc12e (patch) | |
tree | 3963c0cc0d4d2520b74f56825a716e19374142de /sys/arch/powerpc/include/param.h | |
parent | 45412c747eb969d4d11c658ce4335d0dabeca14e (diff) |
Header file changes to support symbol loading just added.
Diffstat (limited to 'sys/arch/powerpc/include/param.h')
-rw-r--r-- | sys/arch/powerpc/include/param.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/powerpc/include/param.h b/sys/arch/powerpc/include/param.h index 6632d9fd25d..503efc20c72 100644 --- a/sys/arch/powerpc/include/param.h +++ b/sys/arch/powerpc/include/param.h @@ -1,4 +1,4 @@ -/* $OpenBSD: param.h,v 1.14 2001/05/05 20:56:50 art Exp $ */ +/* $OpenBSD: param.h,v 1.15 2001/06/23 01:59:05 drahn Exp $ */ /* $NetBSD: param.h,v 1.1 1996/09/30 16:34:28 ws Exp $ */ /*- @@ -38,6 +38,7 @@ #endif /* _LOCORE */ #endif + /* * Machine dependent constants for PowerPC (32-bit only currently) */ @@ -50,6 +51,7 @@ #define ALIGNBYTES (sizeof(double) - 1) #define ALIGN(p) (((u_int)(p) + ALIGNBYTES) & ~ALIGNBYTES) +#define ALIGNED_POINTER(p,t) ((((u_long)(p)) & (sizeof(t)-1)) == 0) #define PGSHIFT 12 #define NBPG 4096 |