Changeset 356 for soft/giet_vm/giet_boot


Ignore:
Timestamp:
Jul 3, 2014, 4:50:55 PM (10 years ago)
Author:
alain
Message:

Bloup...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/giet_boot/boot.c

    r347 r356  
    25242524    }  // end monoprocessor boot
    25252525
    2526     // reset BEV bit in the status register to use GIET exception
    2527     // handler instead of the PRELOADER exception handler
     2526    ///////////////////////////////////////////////////////////////////////////////
     2527    //            Parallel execution starts actually here
     2528    ///////////////////////////////////////////////////////////////////////////////
     2529
     2530    // all processors reset BEV bit in the status register to use
     2531    // the GIET_VM exception handler instead of the PRELOADER exception handler
    25282532    _set_sr( 0 );
    25292533
    2530     // all processor initialise SCHED register
     2534    // all processor initialise the SCHED register
     2535    // from the _schedulers[x][y][lpid array]
    25312536    unsigned int cluster_xy = gpid / NB_PROCS_MAX;
    25322537    unsigned int lpid       = gpid % NB_PROCS_MAX;
     
    25422547    }
    25432548
    2544     // all processors jump to kernel_init (address defined in giet_vsegs.ld)
     2549    // all processors jump to kernel_init
     2550    // using the address defined in the giet_vsegs.ld file
    25452551    unsigned int kernel_entry = (unsigned int)&kernel_init_vbase;
    25462552    asm volatile( "jr   %0" ::"r"(kernel_entry) );
Note: See TracChangeset for help on using the changeset viewer.