Changeset 975 for trunk/platforms/tsar_generic_iob
- Timestamp:
- Apr 15, 2015, 4:02:09 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/platforms/tsar_generic_iob/arch.py
r972 r975 221 221 arg0 = 32, arg1 = 32, arg2 = 32 ) 222 222 223 mapping.addIrq( xcu, index = 0, isrtype = 'ISR_MMC' ) 224 mapping.addIrq( xcu, index = 1, isrtype = 'ISR_MWR' ) 225 226 mapping.addPeriph( 'MMC', base = mmc_base + offset, 227 size = mmc_size, ptype = 'MMC' ) 223 mapping.addPeriph( 'MMC', base = mmc_base + offset, 224 size = mmc_size, ptype = 'MMC' ) 228 225 229 226 if ( mwr_type == 'GCD' ): 230 m apping.addPeriph( 'MWR', base = mwr_base + offset,231 size = mwr_size, ptype = 'MWR', subtype = 'GCD',232 arg0 = 2, arg1 = 1, arg2 = 1, arg3 = 0 )227 mwr = mapping.addPeriph( 'MWR', base = mwr_base + offset, 228 size = mwr_size, ptype = 'MWR', subtype = 'GCD', 229 arg0 = 2, arg1 = 1, arg2 = 1, arg3 = 0 ) 233 230 234 231 if ( mwr_type == 'DCT' ): 235 m apping.addPeriph( 'MWR', base = mwr_base + offset,236 size = mwr_size, ptype = 'MWR', subtype = 'DCT',237 arg0 = 1, arg1 = 1, arg2 = 1, arg3 = 0 )232 mwr = mapping.addPeriph( 'MWR', base = mwr_base + offset, 233 size = mwr_size, ptype = 'MWR', subtype = 'DCT', 234 arg0 = 1, arg1 = 1, arg2 = 1, arg3 = 0 ) 238 235 239 236 if ( mwr_type == 'CPY' ): 240 mapping.addPeriph( 'MWR', base = mwr_base + offset, 241 size = mwr_size, ptype = 'MWR', subtype = 'CPY', 242 arg0 = 1, arg1 = 1, arg2 = 1, arg3 = 0 ) 237 mwr = mapping.addPeriph( 'MWR', base = mwr_base + offset, 238 size = mwr_size, ptype = 'MWR', subtype = 'CPY', 239 arg0 = 1, arg1 = 1, arg2 = 1, arg3 = 0 ) 240 241 mapping.addIrq( xcu, index = 0, src = mmc, isrtype = 'ISR_MMC' ) 242 mapping.addIrq( xcu, index = 1, src = mwr, isrtype = 'ISR_MWR' ) 243 243 244 244 for p in xrange ( nb_procs ): … … 272 272 ptype = 'PIC', channels = 32 ) 273 273 274 mapping.addIrq( pic, index = 0, isrtype = 'ISR_NIC_RX', channel = 0 ) 275 mapping.addIrq( pic, index = 1, isrtype = 'ISR_NIC_RX', channel = 1 ) 276 277 mapping.addIrq( pic, index = 2, isrtype = 'ISR_NIC_TX', channel = 0 ) 278 mapping.addIrq( pic, index = 3, isrtype = 'ISR_NIC_TX', channel = 1 ) 279 280 mapping.addIrq( pic, index = 4, isrtype = 'ISR_CMA' , channel = 0 ) 281 mapping.addIrq( pic, index = 5, isrtype = 'ISR_CMA' , channel = 1 ) 282 mapping.addIrq( pic, index = 6, isrtype = 'ISR_CMA' , channel = 2 ) 283 mapping.addIrq( pic, index = 7, isrtype = 'ISR_CMA' , channel = 3 ) 274 mapping.addIrq( pic, index = 0, src = nic, 275 isrtype = 'ISR_NIC_RX', channel = 0 ) 276 mapping.addIrq( pic, index = 1, src = nic, 277 isrtype = 'ISR_NIC_RX', channel = 1 ) 278 279 mapping.addIrq( pic, index = 2, src = nic, 280 isrtype = 'ISR_NIC_TX', channel = 0 ) 281 mapping.addIrq( pic, index = 3, src = nic, 282 isrtype = 'ISR_NIC_TX', channel = 1 ) 283 284 mapping.addIrq( pic, index = 4, src = cma, 285 isrtype = 'ISR_CMA', channel = 0 ) 286 mapping.addIrq( pic, index = 5, src = cma, 287 isrtype = 'ISR_CMA', channel = 1 ) 288 mapping.addIrq( pic, index = 6, src = cma, 289 isrtype = 'ISR_CMA', channel = 2 ) 290 mapping.addIrq( pic, index = 7, src = cma, 291 isrtype = 'ISR_CMA', channel = 3 ) 284 292 285 293 if ( ioc_type == 'BDV' ): isr_ioc = 'ISR_BDV' … … 287 295 if ( ioc_type == 'SDC' ): isr_ioc = 'ISR_SDC' 288 296 289 mapping.addIrq( pic, index = 8, isrtype = isr_ioc , channel = 0 ) 290 291 mapping.addIrq( pic, index = 16, isrtype = 'ISR_TTY_RX', channel = 0 ) 292 mapping.addIrq( pic, index = 17, isrtype = 'ISR_TTY_RX', channel = 1 ) 293 mapping.addIrq( pic, index = 18, isrtype = 'ISR_TTY_RX', channel = 2 ) 294 mapping.addIrq( pic, index = 19, isrtype = 'ISR_TTY_RX', channel = 3 ) 295 mapping.addIrq( pic, index = 20, isrtype = 'ISR_TTY_RX', channel = 4 ) 296 mapping.addIrq( pic, index = 21, isrtype = 'ISR_TTY_RX', channel = 5 ) 297 mapping.addIrq( pic, index = 22, isrtype = 'ISR_TTY_RX', channel = 6 ) 298 mapping.addIrq( pic, index = 23, isrtype = 'ISR_TTY_RX', channel = 7 ) 297 mapping.addIrq( pic, index = 8, src = ioc, 298 isrtype = isr_ioc, channel = 0 ) 299 mapping.addIrq( pic, index = 16, src = tty, 300 isrtype = 'ISR_TTY_RX', channel = 0 ) 301 mapping.addIrq( pic, index = 17, src = tty, 302 isrtype = 'ISR_TTY_RX', channel = 1 ) 303 mapping.addIrq( pic, index = 18, src = tty, 304 isrtype = 'ISR_TTY_RX', channel = 2 ) 305 mapping.addIrq( pic, index = 19, src = tty, 306 isrtype = 'ISR_TTY_RX', channel = 3 ) 307 mapping.addIrq( pic, index = 20, src = tty, 308 isrtype = 'ISR_TTY_RX', channel = 4 ) 309 mapping.addIrq( pic, index = 21, src = tty, 310 isrtype = 'ISR_TTY_RX', channel = 5 ) 311 mapping.addIrq( pic, index = 22, src = tty, 312 isrtype = 'ISR_TTY_RX', channel = 6 ) 313 mapping.addIrq( pic, index = 23, src = tty, 314 isrtype = 'ISR_TTY_RX', channel = 7 ) 299 315 300 316
Note: See TracChangeset
for help on using the changeset viewer.