Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbarm/awin fix a31_mpinit synchronization
details: https://anonhg.NetBSD.org/src/rev/f3364b441c47
branches: trunk
changeset: 333349:f3364b441c47
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Thu Oct 30 00:55:53 2014 +0000
description:
fix a31_mpinit synchronization
diffstat:
sys/arch/evbarm/awin/awin_start.S | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 9702232b876a -r f3364b441c47 sys/arch/evbarm/awin/awin_start.S
--- a/sys/arch/evbarm/awin/awin_start.S Thu Oct 30 00:32:55 2014 +0000
+++ b/sys/arch/evbarm/awin/awin_start.S Thu Oct 30 00:55:53 2014 +0000
@@ -41,7 +41,7 @@
#include <arm/allwinner/awin_reg.h>
#include <evbarm/awin/platform.h>
-RCSID("$NetBSD: awin_start.S,v 1.3 2014/10/10 23:51:28 jmcneill Exp $")
+RCSID("$NetBSD: awin_start.S,v 1.4 2014/10/30 00:55:53 jmcneill Exp $")
#if defined(VERBOSE_INIT_ARM)
#define XPUTC(n) mov r0, n; bl xputc
@@ -410,7 +410,7 @@
1: dmb // memory barrier
ldr r0, [r6] // load hatched
tst r0, #0xe // our bits set yet?
- bxne r4 // yes, return
+ bxeq r4 // yes, return
subs r5, r5, #1 // decrement count
bxeq r4 // 0? return
mov r0, #0x1d800 // 5.03ms
Home |
Main Index |
Thread Index |
Old Index