Changeset 361 for soft/giet_vm/giet_python/mapping.py
- Timestamp:
- Jul 23, 2014, 10:14:33 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_python/mapping.py
r356 r361 1010 1010 boot_code_found = False 1011 1011 boot_data_found = False 1012 boot_buffer_found = False1013 1012 boot_stack_found = False 1014 1013 … … 1032 1031 boot_data_found = True 1033 1032 1034 if ( vseg.name == 'seg_boot_buffer' ):1035 boot_buffer_base = vseg.vbase1036 boot_buffer_size = vseg.vobjs[0].length1037 boot_buffer_identity = vseg.identity1038 boot_buffer_found = True1039 1040 1033 if ( vseg.name == 'seg_boot_stack' ): 1041 1034 boot_stack_base = vseg.vbase … … 1055 1048 if ( (boot_data_found == False) or (boot_data_identity == False) ): 1056 1049 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'1061 1050 sys.exit() 1062 1051 … … 1195 1184 s += '#define SEG_BOOT_DATA_BASE 0x%x\n' % boot_data_base 1196 1185 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_base1199 s += '#define SEG_BOOT_BUFFER_SIZE 0x%x\n' % boot_buffer_size1200 1186 s += '\n' 1201 1187 s += '#define SEG_BOOT_STACK_BASE 0x%x\n' % boot_stack_base
Note: See TracChangeset
for help on using the changeset viewer.