diff options
author | cognet <cognet@FreeBSD.org> | 2004-09-23 22:27:42 +0000 |
---|---|---|
committer | cognet <cognet@FreeBSD.org> | 2004-09-23 22:27:42 +0000 |
commit | bce0b28077deb8caa2ff2f2df09b6028f7629e02 (patch) | |
tree | 004711feb00db7022d07bd6f9b95842f00efe8f8 /sys/arm/include/param.h | |
parent | 6198d361e4eea954992b5f5a21521573fcdeda24 (diff) | |
download | FreeBSD-src-bce0b28077deb8caa2ff2f2df09b6028f7629e02.zip FreeBSD-src-bce0b28077deb8caa2ff2f2df09b6028f7629e02.tar.gz |
Define STACKALIGNBYTES and STACKALIGN.
Diffstat (limited to 'sys/arm/include/param.h')
-rw-r--r-- | sys/arm/include/param.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/arm/include/param.h b/sys/arm/include/param.h index ae4a5f9..7f8fa5f 100644 --- a/sys/arm/include/param.h +++ b/sys/arm/include/param.h @@ -54,6 +54,8 @@ #define _ALIGN(p) (((unsigned)(p) + _ALIGNBYTES) & ~_ALIGNBYTES) #endif +#define STACKALIGNBYTES (8 - 1) +#define STACKALIGN(p) ((u_int)(p) & ~STACKALIGNBYTES) #ifndef _MACHINE #define _MACHINE "arm" #endif |