svn commit: r284452 - head/sys/arm/arm
Andrew Turner
andrew at FreeBSD.org
Tue Jun 16 17:24:21 UTC 2015
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 at 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
More information about the svn-src-head
mailing list