On 2014-07-03 11:39, Daniel Cederman wrote:
@@ -39,7 +40,9 @@ void bsp_start_on_secondary_processor()
{
uint32_t cpu_index_self = _CPU_SMP_Get_current_processor();
- leon3_set_cache_control_register(0x8F);
+ if( ! leon3_data_cache_snooping_enabled() )
+BSP_fatal_exit( LEON3_FATAL
OK besides style comments.
On 7/3/2014 4:39 AM, Daniel Cederman wrote:
> Check that data cache snooping exists and is enabled on all cores.
> ---
> c/src/lib/libbsp/shared/include/fatal.h |1 +
> c/src/lib/libbsp/sparc/leon3/include/leon.h | 10 ++
> c/src/lib/libbsp/sparc/le
Check that data cache snooping exists and is enabled on all cores.
---
c/src/lib/libbsp/shared/include/fatal.h |1 +
c/src/lib/libbsp/sparc/leon3/include/leon.h | 10 ++
c/src/lib/libbsp/sparc/leon3/startup/bspsmp.c |8 ++--
3 files changed, 17 insertions(+), 2 deleti