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 <patr...@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
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to