Changeset 279 for trunk/tools/arch_info
- Timestamp:
- Jul 27, 2017, 12:23:29 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/arch_info/genarch.py
r6 r279 25 25 # --fbf_size=int : frame buffer width & heigth 26 26 # --ioc_type=string : can be IOC_BDV , IOC_HBA , IOC_SDC , IOC_SPI 27 # --io_cxy=int : IO cluster identifier28 # --boot_cxy=int : boot cluster identifier29 # --cache_line=int : number of bytes in a cache line30 27 # 31 28 # The following parameters can be used to generate the optional "hard_config.h" file, … … 82 79 help = 'define type of IOC: BDV / HBA / SDC / RDK / SPI' ) 83 80 84 parser.add_option( '--io_cxy', type = 'int', dest = 'io_cxy',85 default = 0,86 help = 'define IO cluster identifier' )87 88 parser.add_option( '--boot_cxy', type = 'int', dest = 'boot_cxy',89 default = 0,90 help = 'define boot cluster identifier' )91 92 parser.add_option( '--cache_line', type = 'int', dest = 'cache_line',93 default = 64,94 help = 'define number of bytes in a cache line' )95 96 81 parser.add_option( '--hard', type = 'string', dest = 'hard_path', 97 82 help = 'define pathname to directory for the hard_config.h file ' ) … … 120 105 nb_nics = options.nb_nics # number of NIC channels 121 106 ioc_type = options.ioc_type # ioc controller type 122 io_cxy = options.io_cxy # IO cluster identifier123 boot_cxy = options.boot_cxy # boot cluster identifier124 cache_line = options.cache_line # number of bytes in a cache line125 107 126 108 hard_path = options.hard_path # path for hard_config.h file … … 152 134 nb_nics, 153 135 fbf_size, 154 ioc_type, 155 io_cxy, 156 boot_cxy, 157 cache_line ) 136 ioc_type ) 158 137 159 138 print '[genarch] archinfo build for %s' % archinfo.name
Note: See TracChangeset
for help on using the changeset viewer.