Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/arm32 add memory access barrier
details: https://anonhg.NetBSD.org/src/rev/ac116a71d549
branches: trunk
changeset: 802447:ac116a71d549
user: ryo <ryo%NetBSD.org@localhost>
date: Sun Sep 14 20:35:45 2014 +0000
description:
add memory access barrier
diffstat:
sys/arch/arm/arm32/arm32_boot.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 3683e566ae73 -r ac116a71d549 sys/arch/arm/arm32/arm32_boot.c
--- a/sys/arch/arm/arm32/arm32_boot.c Sun Sep 14 20:16:07 2014 +0000
+++ b/sys/arch/arm/arm32/arm32_boot.c Sun Sep 14 20:35:45 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: arm32_boot.c,v 1.7 2014/03/28 21:39:09 matt Exp $ */
+/* $NetBSD: arm32_boot.c,v 1.8 2014/09/14 20:35:45 ryo Exp $ */
/*
* Copyright (c) 2002, 2003, 2005 Genetec Corporation. All rights reserved.
@@ -123,7 +123,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: arm32_boot.c,v 1.7 2014/03/28 21:39:09 matt Exp $");
+__KERNEL_RCSID(1, "$NetBSD: arm32_boot.c,v 1.8 2014/09/14 20:35:45 ryo Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@@ -408,6 +408,7 @@
printf(" done!\n");
#endif
atomic_and_32(&arm_cpu_mbox, ~(1 << cpuid));
+ membar_producer();
__asm __volatile("sev; sev; sev");
}
#endif /* MULTIPROCESSOR */
Home |
Main Index |
Thread Index |
Old Index