diff --git a/arch/x86/scc/RCCE_admin.c b/arch/x86/scc/RCCE_admin.c index 8b4cbccc..34f0e677 100644 --- a/arch/x86/scc/RCCE_admin.c +++ b/arch/x86/scc/RCCE_admin.c @@ -45,7 +45,7 @@ // #include // En-/ or disable debug prints... -#define DEBUG 1 +#define DEBUG 0 //...................................................................................... // GLOBAL VARIABLES USED BY THE LIBRARY diff --git a/arch/x86/scc/scc_init.c b/arch/x86/scc/scc_init.c index 33645aaa..d9f2628a 100644 --- a/arch/x86/scc/scc_init.c +++ b/arch/x86/scc/scc_init.c @@ -99,14 +99,16 @@ int scc_init(void) mb(); end = rdtsc(); ticks = end > start ? end - start : start - end; - } while(ticks*TIMER_FREQ < 1000ULL*freq*1000000ULL); - kprintf("ticks %llu\n", ticks); + } while(ticks*TIMER_FREQ < 300ULL*freq*1000000ULL); if (RCCE_init(&bootinfo->argc, &bootinfo->argv) != RCCE_SUCCESS) return -ENODEV; if (iRCCE_init() != iRCCE_SUCCESS) return -ENODEV; + // enable additional outputs + RCCE_debug_set(RCCE_DEBUG_ALL); + my_rank = RCCE_ue(); num_ranks = RCCE_num_ues(); kprintf("Got rank %d of %d ranks\n", my_rank, num_ranks);