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,3 +1,11 @@ +2007-09-05 Daniel Hellstrom + + * 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 * Makefile.am, preinstall.am: LEON3 AMBA PnP bus scanning moved to 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 */