Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Jan 2014 23:28:18 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r261337 - head/sys/arm/at91
Message-ID:  <201401312328.s0VNSIwL057775@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401312328.s0VNSIwL057775>