svn commit: r261337 - head/sys/arm/at91

Warner Losh imp at FreeBSD.org
Fri Jan 31 23:28:19 UTC 2014


Author: imp
Date: Fri Jan 31 23:28:18 2014
New Revision: 261337
URL: http://svnweb.freebsd.org/changeset/base/261337

Log:
  Minor cleanup of comments.

Modified:
  head/sys/arm/at91/at91_machdep.c

Modified: head/sys/arm/at91/at91_machdep.c
==============================================================================
--- head/sys/arm/at91/at91_machdep.c	Fri Jan 31 23:18:30 2014	(r261336)
+++ head/sys/arm/at91/at91_machdep.c	Fri Jan 31 23:28:18 2014	(r261337)
@@ -131,15 +131,12 @@ struct pv_addr kernelstack;
 /* Static device mappings. */
 const struct arm_devmap_entry at91_devmap[] = {
 	/*
-	 * Map the on-board devices VA == PA so that we can access them
-	 * with the MMU on or off.
+	 * Map the critical on-board devices. The interrupt vector at
+	 * 0xffff0000 makes it impossible to map them PA == VA, so we map all
+	 * 0xfffxxxxx addresses to 0xdffxxxxx. This covers all critical devices
+	 * on all members of the AT91SAM9 and AT91RM9200 families.
 	 */
 	{
-		/*
-		 * This at least maps the interrupt controller, the UART
-		 * and the timer. Other devices should use newbus to
-		 * map their memory anyway.
-		 */
 		0xdff00000,
 		0xfff00000,
 		0x00100000,


More information about the svn-src-all mailing list