diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-09-06 00:03:14 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-09-06 00:03:14 +0000 |
commit | 5982921836cadf985efcff7f52f063055848a4d2 (patch) | |
tree | 578e3462b392137e4e827618b54fa8d487250b8e /c | |
parent | 2007-09-05 Daniel Hellstrom <daniel@gaisler.com> (diff) | |
download | rtems-5982921836cadf985efcff7f52f063055848a4d2.tar.bz2 |
2007-09-05 Daniel Hellstrom <daniel@gaisler.com>
* include/bsp.h: 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')
-rw-r--r-- | c/src/lib/libbsp/sparc/leon2/ChangeLog | 8 | ||||
-rw-r--r-- | c/src/lib/libbsp/sparc/leon2/include/bsp.h | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/sparc/leon2/ChangeLog b/c/src/lib/libbsp/sparc/leon2/ChangeLog index 69190125ba..54eb6eff4a 100644 --- a/c/src/lib/libbsp/sparc/leon2/ChangeLog +++ b/c/src/lib/libbsp/sparc/leon2/ChangeLog @@ -1,5 +1,13 @@ 2007-09-05 Daniel Hellstrom <daniel@gaisler.com> + * include/bsp.h: 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...) + +2007-09-05 Daniel Hellstrom <daniel@gaisler.com> + * Makefile.am, preinstall.am: LEON3 AMBA PnP bus scanning moved to shared/amba/amba.c and shared/include/ambapp.h. The AMBA scanning was improved to take account for PnP info address translation. This is diff --git a/c/src/lib/libbsp/sparc/leon2/include/bsp.h b/c/src/lib/libbsp/sparc/leon2/include/bsp.h index 7b39beca9c..ce2527014b 100644 --- a/c/src/lib/libbsp/sparc/leon2/include/bsp.h +++ b/c/src/lib/libbsp/sparc/leon2/include/bsp.h @@ -68,6 +68,8 @@ extern int rtems_smc91111_driver_attach_leon2(struct rtems_bsdnet_ifconfig *conf extern void Clock_delay(uint32_t microseconds); #define delay( microseconds ) Clock_delay(microseconds) +extern int CPU_SPARC_HAS_SNOOPING; + /* Constants */ |