Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Dec 2013 13:09:59 +0000 (UTC)
From:      Zbigniew Bodek <zbb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r258845 - head/sys/arm/arm
Message-ID:  <201312021309.rB2D9xoM076740@svn.freebsd.org>

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



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