Changes between Version 8 and Version 9 of arch_info


Ignore:
Timestamp:
Jul 20, 2016, 2:42:47 PM (8 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • arch_info

    v8 v9  
    88This binary file is exploited by the ALMOS-MK boot loader to configure ALMOS-MK. It can be generated by a specific  '''arch_info.py''' python scrip, for each target architecture.
    99
    10 == 1)  Cluster and cores identification  ==
     10== __1)  Cluster and cores identification__  ==
    1111
    1212=== 1.1) Cluster identification ===
     
    2727The association of a composite index '''[cx,lid]''' to a global physical identifier '''gid''', is defined in the '''arch_info.bin''' file.
    2828
    29 == 2) Hardware architecture description ==
     29== __2) Hardware architecture description__ ==
    3030
    3131For ALMOS-MK, the target hardware architecture is described in the binary file '''arch_info.bin'''.
     
    6060These five C structures are defined in the  [source:almos-work/tools/arch_info/arch_info.h arch_info.h] file. The access functions are defined in the  [source:almos-work/tools/arch_info/arch_info.c arch_info.c] file.
    6161
    62 == 3) The python script ===
     62== __3) The python script__ ===
    6363
    6464This section defines the python constructs that can be used to generate  the '''arch_info.bin''' binary file.
    6565These Python classes are defined in the [source:soft/almos-work/tools/python/genarch.py genarch.py] file.
    66 
    67 == __Python hardware architecture description__ ==
    6866
    6967The target hardware architecture must be defined in the ''arch.py'' file , you must use the following constructors:
     
    7169=== 3.1) architecture  ===
    7270
    73 The Archi( ) constructor build an architecture object and defines the target architecture general parameters:
     71The Archi( ) constructor build an ''archi'' object and defines the target architecture general parameters:
    7472
    7573|| '''name'''               || mapping name == architecture name ||
     
    144142
    145143
    146 == 4) The boot_info_t structure ==
     144== __4) The boot_info_t structure__ ==
    147145
    148146The ALMOS-MK boot-loader  uses the informations found in '''arch_info.bin''' to build one '''boot_info_t''' structure in each cluster. This generic  '''boot_info_t''' structure is used by the ALMOS kernel to build in each cluster its own representation of the hardware.