summaryrefslogtreecommitdiffstats
path: root/sys/arm/include
diff options
context:
space:
mode:
authorcognet <cognet@FreeBSD.org>2004-09-23 22:27:42 +0000
committercognet <cognet@FreeBSD.org>2004-09-23 22:27:42 +0000
commitbce0b28077deb8caa2ff2f2df09b6028f7629e02 (patch)
tree004711feb00db7022d07bd6f9b95842f00efe8f8 /sys/arm/include
parent6198d361e4eea954992b5f5a21521573fcdeda24 (diff)
downloadFreeBSD-src-bce0b28077deb8caa2ff2f2df09b6028f7629e02.zip
FreeBSD-src-bce0b28077deb8caa2ff2f2df09b6028f7629e02.tar.gz
Define STACKALIGNBYTES and STACKALIGN.
Diffstat (limited to 'sys/arm/include')
-rw-r--r--sys/arm/include/param.h2
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
OpenPOWER on IntegriCloud