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/164756c51ad7
branches: trunk
changeset: 325474:164756c51ad7
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 397fb2bdfd8b -r 164756c51ad7 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