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 ARMv6+ platforms no longer have strict ...



details:   https://anonhg.NetBSD.org/src/rev/54a1f0880a3d
branches:  trunk
changeset: 795564:54a1f0880a3d
user:      matt <matt%NetBSD.org@localhost>
date:      Fri Apr 18 15:45:46 2014 +0000

description:
ARMv6+ platforms no longer have strict alignment requirements.

diffstat:

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

diffs (19 lines):

diff -r 1f5092b7e2c9 -r 54a1f0880a3d sys/arch/arm/include/types.h
--- a/sys/arch/arm/include/types.h      Fri Apr 18 15:00:37 2014 +0000
+++ b/sys/arch/arm/include/types.h      Fri Apr 18 15:45:46 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: types.h,v 1.26 2014/02/22 08:02:28 matt Exp $  */
+/*     $NetBSD: types.h,v 1.27 2014/04/18 15:45:46 matt Exp $  */
 
 /*
  * Copyright (c) 1990 The Regents of the University of California.
@@ -93,6 +93,9 @@
 #if defined(__ARM_EABI__) && defined(_ARM_ARCH_6)
 #define        __HAVE_ATOMIC64_OPS
 #endif
+#if defined(_ARM_ARCH_6)
+#define        __NO_STRICT_ALIGNMENT
+#endif
 
 #if defined(_KERNEL) || defined(_KMEMUSER)
 #define        PCU_FPU                 0



Home | Main Index | Thread Index | Old Index