svn commit: r257569 - projects/specific_leg/sys/arm/arm

Andrew Turner andrew at FreeBSD.org
Sun Nov 3 12:03:41 UTC 2013


Author: andrew
Date: Sun Nov  3 12:03:41 2013
New Revision: 257569
URL: http://svnweb.freebsd.org/changeset/base/257569

Log:
  Use _ARM_ARCH_6 instead of listing all CPU types we support.

Modified:
  projects/specific_leg/sys/arm/arm/locore.S

Modified: projects/specific_leg/sys/arm/arm/locore.S
==============================================================================
--- projects/specific_leg/sys/arm/arm/locore.S	Sun Nov  3 10:01:53 2013	(r257568)
+++ projects/specific_leg/sys/arm/arm/locore.S	Sun Nov  3 12:03:41 2013	(r257569)
@@ -171,7 +171,7 @@ from_ram:
 	mcr	p15, 0, r0, c2, c0, 0	/* Set TTB */
 	mcr	p15, 0, r0, c8, c7, 0	/* Flush TLB */
 
-#if defined(CPU_ARM1136) || defined(CPU_ARM1176) || defined(CPU_CORTEXA) || defined(CPU_MV_PJ4B)
+#ifdef _ARM_ARCH_6
 	mov	r0, #0
 	mcr	p15, 0, r0, c13, c0, 1	/* Set ASID to 0 */
 #endif


More information about the svn-src-projects mailing list