Ignore:
Timestamp:
Apr 3, 2014, 2:02:50 PM (10 years ago)
Author:
alain
Message:

ntroducing the TOTAL_PROCS variable in the hard_config.h file
(used by the synchronisation barrier in kernel_init.c)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/giet_kernel/kernel_init.c

    r294 r299  
    157157
    158158#if GIET_DEBUG_INIT
    159 _printf("\n[GIET DEBUG INIT] Processor[%d,%d,%d] contibutes to PTABS arrays\n"
     159_printf("\n[GIET DEBUG INIT] Processor[%d,%d,%d] contributes to PTABS arrays\n"
    160160        " - ptabs_vaddr[%d] = %x / ptpr_paddr[%d] = %l\n",
    161161        x, y, lpid, 
     
    176176
    177177#if GIET_DEBUG_INIT
    178 _printf("\n[GIET DEBUG INIT] Processor[%d,%d,%d] set scheduler for task %d\n"
     178_printf("\n[GIET DEBUG INIT] Processor[%d,%d,%d] update context for task %d\n"
    179179        " - ctx_epc   = %x\n"
    180180        " - ctx_ra    = %x\n",
     
    307307
    308308    unsigned int*  pcount = &_init_barrier;
    309     unsigned int   nprocs = X_SIZE*(Y_SIZE-1)*NB_PROCS_MAX;
     309    unsigned int   nprocs = TOTAL_PROCS;
    310310    unsigned int   count;
    311311
Note: See TracChangeset for help on using the changeset viewer.