Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/include Adjust ALIGNBYTES32 depending on __ARM_...



details:   https://anonhg.NetBSD.org/src/rev/2bf671b53d4d
branches:  trunk
changeset: 780679:2bf671b53d4d
user:      matt <matt%NetBSD.org@localhost>
date:      Fri Aug 03 08:11:40 2012 +0000

description:
Adjust ALIGNBYTES32 depending on __ARM_EABI__

diffstat:

 sys/arch/arm/include/param.h |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r c6c514214b7a -r 2bf671b53d4d sys/arch/arm/include/param.h
--- a/sys/arch/arm/include/param.h      Fri Aug 03 08:02:47 2012 +0000
+++ b/sys/arch/arm/include/param.h      Fri Aug 03 08:11:40 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: param.h,v 1.16 2012/08/03 07:59:23 matt Exp $  */
+/*     $NetBSD: param.h,v 1.17 2012/08/03 08:11:40 matt Exp $  */
 
 /*
  * Copyright (c) 1994,1995 Mark Brinicombe.
@@ -81,7 +81,11 @@
 
 /* ARM-specific macro to align a stack pointer (downwards). */
 #define STACK_ALIGNBYTES       (8 - 1)
+#ifdef __ARM_EABI__
 #define        ALIGNBYTES32    3
+#else
+#define        ALIGNBYTES32    7
+#endif
 
 #define        DEV_BSHIFT      9               /* log2(DEV_BSIZE) */
 #define        DEV_BSIZE       (1 << DEV_BSHIFT)



Home | Main Index | Thread Index | Old Index