Changeset 742 for soft/giet_vm/giet_python
- Timestamp:
- Dec 10, 2015, 1:38:43 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_python/mapping.py
r737 r742 623 623 kernel_data_found = False 624 624 kernel_code_found = False 625 kernel_init_found = False626 625 for vseg in self.globs: 627 626 … … 645 644 kernel_code_size = vseg.length 646 645 kernel_code_found = True 647 648 if ( vseg.name[0:15] == 'seg_kernel_init' ):649 kernel_init_vbase = vseg.vbase650 kernel_init_size = vseg.length651 kernel_init_found = True652 646 653 647 # check if all required vsegs have been found … … 672 666 sys.exit() 673 667 674 if ( kernel_init_found == False ):675 print '[genmap error] in giet_vsegs()'676 print ' seg_kernel_init vseg missing'677 sys.exit()678 679 668 # build string 680 669 s = '/* Generated by genmap for %s */\n' % self.name … … 692 681 s += 'kernel_data_vbase = 0x%x;\n' % kernel_data_vbase 693 682 s += 'kernel_data_size = 0x%x;\n' % kernel_data_size 694 s += '\n'695 s += 'kernel_init_vbase = 0x%x;\n' % kernel_init_vbase696 s += 'kernel_init_size = 0x%x;\n' % kernel_init_size697 683 s += '\n' 698 684
Note: See TracChangeset
for help on using the changeset viewer.