Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Feb 2014 23:06:51 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r262413 - head/sys/arm/arm
Message-ID:  <201402232306.s1NN6pIs080378@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ian
Date: Sun Feb 23 23:06:50 2014
New Revision: 262413
URL: http://svnweb.freebsd.org/changeset/base/262413

Log:
  Actually set the proper bit to indicate TTB shared memory.
  
  Submitted by:	Juergan Weiss

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

Modified: head/sys/arm/arm/locore.S
==============================================================================
--- head/sys/arm/arm/locore.S	Sun Feb 23 22:55:07 2014	(r262412)
+++ head/sys/arm/arm/locore.S	Sun Feb 23 23:06:50 2014	(r262413)
@@ -425,7 +425,7 @@ Ltag:
 	orr	r0, r0, #PHYSADDR
 	ldr	r0, [r0]
 #if defined(SMP)
-	orr 	r0, r0, #0		/* Set TTB shared memory flag */
+	orr 	r0, r0, #2		/* Set TTB shared memory flag */
 #endif
 	mcr	p15, 0, r0, c2, c0, 0	/* Set TTB */
 	mcr	p15, 0, r0, c8, c7, 0	/* Flush TLB */



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