summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc/leon3/include/bsp.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-09-06 00:03:16 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-09-06 00:03:16 +0000
commit4cb04f22509a2c8469700a9653ff463e740a0629 (patch)
treedef6a97e9b5f1e85480922a49f62f67a24afd84f /c/src/lib/libbsp/sparc/leon3/include/bsp.h
parent2007-09-05 Daniel Hellstrom <daniel@gaisler.com> (diff)
downloadrtems-4cb04f22509a2c8469700a9653ff463e740a0629.tar.bz2
2007-09-05 Daniel Hellstrom <daniel@gaisler.com>
* include/bsp.h, startup/bspstart.c: LEON2 and LEON3 Data cache snooping detection on startup, for drivers. (LEON2,3 are configurable processors, they can be with or without DCache snooping. Caches without snooping needs the drivers to flush cache or use the sparc instruction lda to force cache miss...)
Diffstat (limited to 'c/src/lib/libbsp/sparc/leon3/include/bsp.h')
-rw-r--r--c/src/lib/libbsp/sparc/leon3/include/bsp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/sparc/leon3/include/bsp.h b/c/src/lib/libbsp/sparc/leon3/include/bsp.h
index 717395fad4..045b7c2f5a 100644
--- a/c/src/lib/libbsp/sparc/leon3/include/bsp.h
+++ b/c/src/lib/libbsp/sparc/leon3/include/bsp.h
@@ -83,6 +83,8 @@ extern int rtems_leon_greth_driver_attach(
extern void Clock_delay(uint32_t microseconds);
#define delay( microseconds ) Clock_delay(microseconds)
+extern int CPU_SPARC_HAS_SNOOPING;
+
/* Constants */