Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jun 2015 17:24:20 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r284452 - head/sys/arm/arm
Message-ID:  <201506161724.t5GHOKgH090512@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: andrew
Date: Tue Jun 16 17:24:20 2015
New Revision: 284452
URL: https://svnweb.freebsd.org/changeset/base/284452

Log:
  Write to the PRRR (Primary Region Remap Register) rather than reading from
  it during the early boot.
  
  Found By:	Patrick Wildt <patrick@bitrig.org>
  Sponsored by:	ABT Systems Ltd

Modified:
  head/sys/arm/arm/locore-v6.S

Modified: head/sys/arm/arm/locore-v6.S
==============================================================================
--- head/sys/arm/arm/locore-v6.S	Tue Jun 16 16:40:25 2015	(r284451)
+++ head/sys/arm/arm/locore-v6.S	Tue Jun 16 17:24:20 2015	(r284452)
@@ -240,7 +240,7 @@ ASENTRY_NP(init_mmu)
 	 *  - All is set to uncacheable memory
 	 */
 	ldr	r0, =0xAAAAA
-	mrc	CP15_PRRR(r0)
+	mcr	CP15_PRRR(r0)
 	mov	r0, #0
 	mcr	CP15_NMRR(r0)
 #endif



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