Ignore:
Timestamp:
Jul 23, 2014, 10:14:33 AM (10 years ago)
Author:
alain
Message:

Remove the seg_boot_buffer from the generated hard_config.h file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/giet_python/mapping.py

    r356 r361  
    10101010        boot_code_found      = False
    10111011        boot_data_found      = False
    1012         boot_buffer_found    = False
    10131012        boot_stack_found     = False
    10141013
     
    10321031                boot_data_found         = True
    10331032
    1034             if ( vseg.name == 'seg_boot_buffer' ):
    1035                 boot_buffer_base        = vseg.vbase
    1036                 boot_buffer_size        = vseg.vobjs[0].length
    1037                 boot_buffer_identity    = vseg.identity
    1038                 boot_buffer_found       = True
    1039 
    10401033            if ( vseg.name == 'seg_boot_stack' ):
    10411034                boot_stack_base         = vseg.vbase
     
    10551048        if ( (boot_data_found == False) or (boot_data_identity == False) ):
    10561049             print '[genmap error] in hard_config() : seg_boot_data missing or not ident'
    1057              sys.exit()
    1058 
    1059         if ( (boot_buffer_found == False) or (boot_buffer_identity == False) ):
    1060              print '[genmap error] in hard_config() : seg_boot_buffer missing or not ident'
    10611050             sys.exit()
    10621051
     
    11951184        s += '#define SEG_BOOT_DATA_BASE     0x%x\n'  % boot_data_base
    11961185        s += '#define SEG_BOOT_DATA_SIZE     0x%x\n'  % boot_data_size
    1197         s += '\n'
    1198         s += '#define SEG_BOOT_BUFFER_BASE   0x%x\n'  % boot_buffer_base
    1199         s += '#define SEG_BOOT_BUFFER_SIZE   0x%x\n'  % boot_buffer_size
    12001186        s += '\n'
    12011187        s += '#define SEG_BOOT_STACK_BASE    0x%x\n'  % boot_stack_base
Note: See TracChangeset for help on using the changeset viewer.