Changeset 240 for soft/giet_vm/boot/boot_init.c
- Timestamp:
- Jun 3, 2013, 5:28:47 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/boot/boot_init.c
r238 r240 1521 1521 boot_get_sched_vaddr( cluster_id, &sched_vbase, &sched_length ); 1522 1522 1523 // each processor scheduler requires 1Kbytes1524 if ( sched_length < (nprocs<<1 0) )1523 // each processor scheduler requires 4 Kbytes 1524 if ( sched_length < (nprocs<<12) ) 1525 1525 { 1526 1526 boot_puts("\n[BOOT ERROR] Schedulers segment too small in cluster "); … … 1536 1536 // set the schedulers pointers array 1537 1537 boot_schedulers[cluster_id * NB_PROCS_MAX + lpid] = 1538 (static_scheduler_t*)( sched_vbase + (lpid<<1 0) );1538 (static_scheduler_t*)( sched_vbase + (lpid<<12) ); 1539 1539 1540 1540 #if BOOT_DEBUG_SCHED … … 1542 1542 boot_putd(lpid); 1543 1543 boot_puts(" : scheduler virtual base address = "); 1544 boot_putx( sched_vbase + (lpid<<1 0) );1544 boot_putx( sched_vbase + (lpid<<12) ); 1545 1545 boot_puts("\n"); 1546 1546 #endif 1547 1547 // current processor scheduler pointer : psched 1548 static_scheduler_t* psched = (static_scheduler_t*)(sched_vbase+(lpid<<1 0));1548 static_scheduler_t* psched = (static_scheduler_t*)(sched_vbase+(lpid<<12)); 1549 1549 1550 1550 // initialise the "tasks" variable
Note: See TracChangeset
for help on using the changeset viewer.