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 Add more arm7 and arm6 variants.
details: https://anonhg.NetBSD.org/src/rev/f2350df92361
branches: trunk
changeset: 780143:f2350df92361
user: matt <matt%NetBSD.org@localhost>
date: Thu Jul 12 21:29:04 2012 +0000
description:
Add more arm7 and arm6 variants.
diffstat:
sys/arch/arm/include/cdefs.h | 13 +++++++++++--
1 files changed, 11 insertions(+), 2 deletions(-)
diffs (24 lines):
diff -r 1644565a49cb -r f2350df92361 sys/arch/arm/include/cdefs.h
--- a/sys/arch/arm/include/cdefs.h Thu Jul 12 20:32:31 2012 +0000
+++ b/sys/arch/arm/include/cdefs.h Thu Jul 12 21:29:04 2012 +0000
@@ -1,9 +1,18 @@
-/* $NetBSD: cdefs.h,v 1.4 2012/01/20 14:08:05 joerg Exp $ */
+/* $NetBSD: cdefs.h,v 1.5 2012/07/12 21:29:04 matt Exp $ */
#ifndef _MACHINE_CDEFS_H_
#define _MACHINE_CDEFS_H_
-#if defined (__ARM_ARCH_6__) || defined (__ARM_ARCH_6J__)
+#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 */
+#define _ARM_ARCH_7
+#endif
+
+#if defined (_ARM_ARCH_7) || defined (__ARM_ARCH_6__) || \
+ defined (__ARM_ARCH_6J__) || defined (__ARM_ARCH_6K__) || \
+ defined (__ARM_ARCH_6Z__) || defined (__ARM_ARCH_6ZK__) || \
+ defined (__ARM_ARCH_6T2__) || defined (__ARM_ARCH_6ZM__)
#define _ARM_ARCH_6
#endif
Home |
Main Index |
Thread Index |
Old Index