Changes between Version 15 and Version 16 of boot_loader


Ignore:
Timestamp:
Dec 7, 2014, 9:50:39 PM (10 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • boot_loader

    v15 v16  
    5656This code is executed by all processors, but sequencially. All processors enter the same [source:soft/giet_vm/giet_kernel/kernel_init.c kernel_init.c] code that makes the following actions:
    5757
    58  * step 0 : processor(0][0][0] makes kernel_heap[x][y] array and kernel fat initialisation.
     58 * step 0 : processor[0][0][0] makes kernel_heap[x][y] array and kernel fat initialisation.
    5959 * step 1 : each processor get its scheduler virtual address from CP0_SCHED register and contributes to _schedulers[x][y][p] array initialisation.
    60  * step 2 : each processor loops on all allocated tasks to build the _ptabs_vaddr[] & _ptabs_ptprs[] arrays from the tasks contexts.
     60 * step 2 : each processor loops on all allocated tasks to build the _ptabs_vaddr[vspace] & _ptabs_ptprs[vspace] arrays from the tasks contexts.
    6161 * step 3 : each processor computes and set the XCU masks, as specified in the HWI, PTI, and WTI interrupt vectors.
    6262 * step 4 : each processor starts its TICK timer if it has at least one task allocated.