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 Deal with __ARM_ARCH_8A__



details:   https://anonhg.NetBSD.org/src/rev/21a83b02f329
branches:  trunk
changeset: 326415:21a83b02f329
user:      matt <matt%NetBSD.org@localhost>
date:      Tue Jan 28 21:17:12 2014 +0000

description:
Deal with __ARM_ARCH_8A__

diffstat:

 sys/arch/arm/include/cdefs.h |  13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)

diffs (24 lines):

diff -r 40b06b7833f7 -r 21a83b02f329 sys/arch/arm/include/cdefs.h
--- a/sys/arch/arm/include/cdefs.h      Tue Jan 28 20:43:55 2014 +0000
+++ b/sys/arch/arm/include/cdefs.h      Tue Jan 28 21:17:12 2014 +0000
@@ -1,11 +1,16 @@
-/*     $NetBSD: cdefs.h,v 1.9 2013/08/17 00:21:47 matt Exp $   */
+/*     $NetBSD: cdefs.h,v 1.10 2014/01/28 21:17:12 matt Exp $  */
 
 #ifndef        _ARM_CDEFS_H_
 #define        _ARM_CDEFS_H_
 
-#if defined (__ARM_ARCH_7__) || defined (__ARM_ARCH_7A__) || \
-    defined (__ARM_ARCH_7R__) || defined (__ARM_ARCH_7M__) || \
-    defined (__ARM_ARCH_7EM__) /* 7R, 7M, 7EM are for non MMU arms */
+#if defined (__ARM_ARCH_8A__)
+#define _ARM_ARCH_8            /* ARMv8 64-bit in AARCH32 */
+#endif
+
+#if defined (_ARM_ARCH_8) || defined (__ARM_ARCH_7__) || \
+    defined (__ARM_ARCH_7A__) || defined (__ARM_ARCH_7R__) || \
+    defined (__ARM_ARCH_7M__) || defined (__ARM_ARCH_7EM__)
+       /* 7R, 7M, 7EM are for non MMU arms */
 #define _ARM_ARCH_7
 #endif
 



Home | Main Index | Thread Index | Old Index