Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/cortex dsb is preferred for post-armv7 CPUs.



details:   https://anonhg.NetBSD.org/src/rev/79a033d578fa
branches:  trunk
changeset: 792214:79a033d578fa
user:      joerg <joerg%NetBSD.org@localhost>
date:      Thu Dec 26 00:19:07 2013 +0000

description:
dsb is preferred for post-armv7 CPUs.

diffstat:

 sys/arch/arm/cortex/a9_mpsubr.S |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 663d6c0a26d2 -r 79a033d578fa sys/arch/arm/cortex/a9_mpsubr.S
--- a/sys/arch/arm/cortex/a9_mpsubr.S   Wed Dec 25 23:35:17 2013 +0000
+++ b/sys/arch/arm/cortex/a9_mpsubr.S   Thu Dec 26 00:19:07 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: a9_mpsubr.S,v 1.10 2013/11/12 17:10:39 matt Exp $      */
+/*     $NetBSD: a9_mpsubr.S,v 1.11 2013/12/26 00:19:07 joerg Exp $     */
 /*-
  * Copyright (c) 2012 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -150,7 +150,7 @@
 
        XPUTC(#70)
        mov     r1, #0
-       mcr     p15, 0, r1, c7, c10, 4  /* Drain the write buffers. */
+       dsb                             /* Drain the write buffers. */
 
        XPUTC(#71)
        mrc     p15, 0, r2, c0, c0, 5   /* get MPIDR */



Home | Main Index | Thread Index | Old Index