Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/arm To quote the BCM2835 datasheet that's publi...
details: https://anonhg.NetBSD.org/src/rev/0935f399c63b
branches: trunk
changeset: 785552:0935f399c63b
user: skrll <skrll%NetBSD.org@localhost>
date: Tue Mar 19 17:11:13 2013 +0000
description:
To quote the BCM2835 datasheet that's publicly available
"The BCM2835 system uses an AMBA AXI-compatible interface
structure. In order to keep the system complexity low and data
throughput high, the BCM2835 AXI system does not always
return read data in-order."
Deal with this by defining DSB for _ARM_ARCH_6.
OK matt@
diffstat:
sys/arch/arm/arm/bus_space_asm_generic.S | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r 3dbedda1926b -r 0935f399c63b sys/arch/arm/arm/bus_space_asm_generic.S
--- a/sys/arch/arm/arm/bus_space_asm_generic.S Tue Mar 19 16:49:56 2013 +0000
+++ b/sys/arch/arm/arm/bus_space_asm_generic.S Tue Mar 19 17:11:13 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bus_space_asm_generic.S,v 1.8 2012/09/27 00:23:52 matt Exp $ */
+/* $NetBSD: bus_space_asm_generic.S,v 1.9 2013/03/19 17:11:13 skrll Exp $ */
/*
* Copyright (c) 1997 Causality Limited.
@@ -40,6 +40,8 @@
#ifdef _ARM_ARCH_7
#define DSB dsb
+#elif defined(_ARM_ARCH_6)
+#define DSB mcr p15, 0, r0, c7, c10, 4
#else
#define DSB
#endif
Home |
Main Index |
Thread Index |
Old Index