Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm32/arm32 ARM7TDMI != ARM7 for our purposes (it h...
details: https://anonhg.NetBSD.org/src/rev/c0a226aa3dfb
branches: trunk
changeset: 506990:c0a226aa3dfb
user: bjh21 <bjh21%NetBSD.org@localhost>
date: Sat Mar 10 20:03:51 2001 +0000
description:
ARM7TDMI != ARM7 for our purposes (it has an ARMv4 CP15).
diffstat:
sys/arch/arm32/arm32/cpufunc.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r d462ee3c5c19 -r c0a226aa3dfb sys/arch/arm32/arm32/cpufunc.c
--- a/sys/arch/arm32/arm32/cpufunc.c Sat Mar 10 19:59:13 2001 +0000
+++ b/sys/arch/arm32/arm32/cpufunc.c Sat Mar 10 20:03:51 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpufunc.c,v 1.16 2001/03/06 22:29:13 bjh21 Exp $ */
+/* $NetBSD: cpufunc.c,v 1.17 2001/03/10 20:03:51 bjh21 Exp $ */
/*
* arm8 support code Copyright (c) 1997 ARM Limited
@@ -362,7 +362,8 @@
#endif /* CPU_ARM6 */
#ifdef CPU_ARM7
if ((cputype & CPU_ID_IMPLEMENTOR_MASK) == CPU_ID_ARM_LTD &&
- (cputype & 0x0000f000) == 0x00007000) {
+ CPU_ID_IS7(cputype) &&
+ (cputype & CPU_ID_7ARCH_MASK) == CPU_ID_7ARCH_V3) {
cpufuncs = arm7_cpufuncs;
cpu_reset_needs_v4_MMU_disable = 0;
return 0;
Home |
Main Index |
Thread Index |
Old Index