Changeset 356 for soft/giet_vm/giet_boot/boot.c
- Timestamp:
- Jul 3, 2014, 4:50:55 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_boot/boot.c
r347 r356 2524 2524 } // end monoprocessor boot 2525 2525 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 2528 2532 _set_sr( 0 ); 2529 2533 2530 // all processor initialise SCHED register 2534 // all processor initialise the SCHED register 2535 // from the _schedulers[x][y][lpid array] 2531 2536 unsigned int cluster_xy = gpid / NB_PROCS_MAX; 2532 2537 unsigned int lpid = gpid % NB_PROCS_MAX; … … 2542 2547 } 2543 2548 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 2545 2551 unsigned int kernel_entry = (unsigned int)&kernel_init_vbase; 2546 2552 asm volatile( "jr %0" ::"r"(kernel_entry) );
Note: See TracChangeset
for help on using the changeset viewer.