svn commit: r258845 - head/sys/arm/arm

Zbigniew Bodek zbb at FreeBSD.org
Mon Dec 2 13:10:00 UTC 2013


Author: zbb
Date: Mon Dec  2 13:09:59 2013
New Revision: 258845
URL: http://svnweb.freebsd.org/changeset/base/258845

Log:
  Enable missing Access Flag for secondary cores on ARMv6/v7
  
  Spotted by:	Wojciech Macek <wma at semihalf.com>
  Obtained from:	Semihalf
  
  > Description of fields to fill in above:                     76 columns --|
  > PR:            If a GNATS PR is affected by the change.
  > Submitted by:  If someone else sent in the change.
  > Reviewed by:   If someone else reviewed your modification.
  > Approved by:   If you needed approval for this commit.
  > Obtained from: If the change is from a third party.
  > MFC after:     N [day[s]|week[s]|month[s]].  Request a reminder email.
  > Security:      Vulnerability reference (one per line) or description.
  > Empty fields above will be automatically removed.
  
  M    sys/arm/arm/locore.S

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

Modified: head/sys/arm/arm/locore.S
==============================================================================
--- head/sys/arm/arm/locore.S	Mon Dec  2 10:59:41 2013	(r258844)
+++ head/sys/arm/arm/locore.S	Mon Dec  2 13:09:59 2013	(r258845)
@@ -391,6 +391,7 @@ Ltag:
 	mrc	p15, 0, r0, c1, c0, 0
 #if defined(CPU_ARM1136) || defined(CPU_ARM1176) || defined(CPU_MV_PJ4B) || defined(CPU_CORTEXA)
 	orr	r0, r0, #CPU_CONTROL_V6_EXTPAGE
+	orr	r0, r0, #CPU_CONTROL_AF_ENABLE
 #endif
 	orr	r0, r0, #(CPU_CONTROL_MMU_ENABLE | CPU_CONTROL_DC_ENABLE)
 	mcr	p15, 0, r0, c1, c0, 0


More information about the svn-src-all mailing list