Ignore:
Timestamp:
Mar 5, 2013, 4:00:09 PM (12 years ago)
Author:
meunier
Message:

Ajout du malloc dans le Giet.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/mappings/1c_4p_four.xml

    r215 r232  
    147147
    148148            <vseg name = "seg_data"     vbase = "0x00800000" mode = "__WU" clusterid = "0" psegname  = "PSEG_RAM" >
    149                 <vobj name = "data"     type = "ELF" length  = "0x00010000" binpath = "build/router/router.elf" />
    150             </vseg>
    151             <vseg name = "seg_code"     vbase = "0x00400000" mode = "CX_U" clusterid = "0" psegname  = "PSEG_RAM" >
    152                 <vobj name = "code"     type = "ELF" length  = "0x00010000" binpath = "build/router/router.elf" />
    153             </vseg>
    154             <vseg name = "seg_ptab"     vbase = "0x00300000" mode = "C___" clusterid = "0" psegname  = "PSEG_RAM" >
    155                 <vobj name = "ptab"     type = "PTAB" length  = "0x00012000" align   = "13" />
     149                <vobj name = "data"     type = "ELF" length = "0x00010000" binpath = "build/router/router.elf" />
     150            </vseg>
     151            <vseg name = "seg_code"     vbase = "0x00400000" mode = "CX_U" clusterid = "0" psegname  = "PSEG_RAM" >
     152                <vobj name = "code"     type = "ELF" length = "0x00010000" binpath = "build/router/router.elf" />
     153            </vseg>
     154            <vseg name = "seg_ptab"     vbase = "0x00300000" mode = "C___" clusterid = "0" psegname  = "PSEG_RAM" >
     155                <vobj name = "ptab"     type = "PTAB" length = "0x00012000" align   = "13" />
    156156            </vseg>
    157157            <vseg name = "seg_stack_p"  vbase = "0x00010000" mode = "C_WU" clusterid = "0" psegname  = "PSEG_RAM" >
    158                 <vobj name = "stack_p"  type = "BUFFER" length  = "0x00010000" />
    159                         </vseg>
    160             <vseg name = "seg_stack_c"  vbase = "0x00020000" mode = "C_WU" clusterid = "0" psegname  = "PSEG_RAM" >
    161                 <vobj name = "stack_c"  type = "BUFFER" length  = "0x00010000" />
     158                <vobj name = "stack_p"  type = "BUFFER" length = "0x00010000" />
     159                <vobj name = "heap_p"   type = "BUFFER" length = "0x00010000" />
     160                           </vseg>
     161            <vseg name = "seg_stack_c"  vbase = "0x00030000" mode = "C_WU" clusterid = "0" psegname  = "PSEG_RAM" >
     162                <vobj name = "stack_c"  type = "BUFFER" length = "0x00010000" />
     163                <vobj name = "heap_c"   type = "BUFFER" length = "0x00010000" />
    162164                                                </vseg>
    163             <vseg name = "seg_stack_rA" vbase = "0x00030000" mode = "C_WU" clusterid = "0" psegname  = "PSEG_RAM" >
    164                 <vobj name = "stack_rA" type = "BUFFER" length  = "0x00010000" />
    165             </vseg>
    166             <vseg name = "seg_stack_rB" vbase = "0x00040000" mode = "C_WU" clusterid = "0" psegname  = "PSEG_RAM" >
     165            <vseg name = "seg_stack_rA" vbase = "0x00050000" mode = "C_WU" clusterid = "0" psegname  = "PSEG_RAM" >
     166                <vobj name = "stack_rA" type = "BUFFER" length = "0x00010000" />
     167                <vobj name = "heap_rA"  type = "BUFFER" length = "0x00010000" />
     168            </vseg>
     169            <vseg name = "seg_stack_rB" vbase = "0x00070000" mode = "C_WU" clusterid = "0" psegname  = "PSEG_RAM" >
    167170                <vobj name = "stack_rB" type = "BUFFER" length  = "0x00010000" />
    168             </vseg>
    169             <vseg name = "seg_mwmrs"    vbase = "0x00050000" mode = "__WU" clusterid = "0" psegname  = "PSEG_RAM" >
    170                 <vobj name = "mwmr_in"  type = "MWMR" length  = "0x00000020" init = "1" />
    171                 <vobj name = "mwmr_out" type = "MWMR" length  = "0x00000020" init = "1" />
    172             </vseg>
    173 
    174             <task name = "producer" clusterid = "0" proclocid = "0" stackname = "stack_p"  startid = "0" usetty = "1" />
    175             <task name = "consumer" clusterid = "0" proclocid = "1" stackname = "stack_c"  startid = "1" usetty = "1" />
    176             <task name = "router_A" clusterid = "0" proclocid = "2" stackname = "stack_rA" startid = "2" usetty = "1" />
    177             <task name = "router_B" clusterid = "0" proclocid = "3" stackname = "stack_rB" startid = "2" usetty = "1" />
     171                <vobj name = "heap_rB"  type = "BUFFER" length = "0x00010000" />
     172            </vseg>
     173            <vseg name = "seg_mwmrs"    vbase = "0x00090000" mode = "__WU" clusterid = "0" psegname  = "PSEG_RAM" >
     174                <vobj name = "mwmr_in"  type = "MWMR" length = "0x00000020" init = "1" />
     175                <vobj name = "mwmr_out" type = "MWMR" length = "0x00000020" init = "1" />
     176            </vseg>
     177
     178            <task name = "producer" clusterid = "0" proclocid = "0" stackname = "stack_p"  heapname = "heap_p"  startid = "0" usetty = "1" />
     179            <task name = "consumer" clusterid = "0" proclocid = "1" stackname = "stack_c"  heapname = "heap_c"  startid = "1" usetty = "1" />
     180            <task name = "router_A" clusterid = "0" proclocid = "2" stackname = "stack_rA" heapname = "heap_rA" startid = "2" usetty = "1" />
     181            <task name = "router_B" clusterid = "0" proclocid = "3" stackname = "stack_rB" heapname = "heap_rB" startid = "2" usetty = "1" />
    178182
    179183        </vspace>
Note: See TracChangeset for help on using the changeset viewer.