Changes between Version 22 and Version 23 of boot_loader


Ignore:
Timestamp:
Mar 21, 2015, 12:53:07 PM (9 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • boot_loader

    v22 v23  
    1818
    1919The GIET_VM boot-loader is defined in the [source:soft/giet_vm/giet_boot/boot.c boot.c] and [source:soft/giet_vm/giet_boot/boot_entry.S boot_entry.S] files.
    20 The main steps are the following:
     20The step 1 is executed by processor P(0,0,0) only, but the other steps are executed in parallel by all processor P(x,y,0) : one processor per cluster.
    2121
    2222=== step 0 ===
     
    2525 * The stack size for P(x,y,0) is 1.25 Kbytes.
    2626 * The stack size for other processors is 0.25 Kbytes.
    27  * The SEG_BOOT_STACK_SIZE cannot be smaller than : 0x100 * (NN_PROCS_MAX-1) + 0x500) * X_SIZE * Y_SIZE
     27 * The SEG_BOOT_STACK_SIZE cannot be smaller than : 0x100 * (NB_PROCS_MAX-1) + 0x500) * X_SIZE * Y_SIZE
    2828
    2929=== step 1 ===
    30 Processor P(0,0,0) initializes the FAT,  initializes the TTY0 lock, initializes the synchronization barrier, and load the ''map.bin'' file to the physical memory bank in cluster(0,0): segment seg_boot_mapping. Then processor P(0,0,0) uses inter-processor-interrupts (WTI) to start the parallel execution, and activates one processor per cluster (processor P(x,y,0) ) in all clusters containing processors.
     30Processor P(0,0,0) initializes the FAT,  initializes the TTY0 lock, initializes the synchronization barrier, and load the ''map.bin'' file to the physical memory bank in cluster(0,0), in segment ''seg_boot_mapping''. Then processor P(0,0,0) uses inter-processor-interrupts (WTI) to start the parallel execution, and activates one processor per cluster (processor P(x,y,0) ) in all clusters containing processors.
    3131
    32 === step2 ===
     32=== step 2 ===
    3333In each cluster(x,y), processor P(x,y,0) makes the physical memory allocator initialisation (function  '''boot_pmem_init()''' ). The GIET VM uses two types of pages:  BPP (Big Physical Page, 2 Mbytes), and  SPP  (Small Physical Page, 4 Kbytes).
    3434There is one SPP and one BPP allocator per cluster containing a physical memory bank.