⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rominit.s

📁 ixp425 bsp for vxworks
💻 S
📖 第 1 页 / 共 3 页
字号:
	.space	(0x4000 * \		((. - _romInit + (ROM_TEXT_ADRS - ROM_BASE_ADRS) + 0x3fff) \		/ 0x4000)) - (ROM_TEXT_ADRS - ROM_BASE_ADRS) - (. - _romInit)romL1PTable: 	/* * RAM_SECT_DESC is cacheable, OTHER_SECT_DESC is non-cacheable *//* SDRAM  - Set in data coherent when in LE mode*/#ifdef _DIAB_TOOLcount:  .set    0options:  .set    (OTHER_SECT_DESC | P_BIT_SET_MASK)range:  .set    (IXP425_SDRAM_END_ADDR_3MSB - IXP425_SDRAM_START_ADDR_3MSB)#else   /* then GNU... */        .set    count, 0        .set    options, (OTHER_SECT_DESC | P_BIT_SET_MASK)        .set    range, (IXP425_SDRAM_END_ADDR_3MSB - IXP425_SDRAM_START_ADDR_3MSB)#endif  /* _DIAB_TOOL */PT_ENTRY count,options,range/* Map the first SDRAM aliase as address coherent. This will be needed * by the sysToMonitor routines */#ifdef _DIAB_TOOLcount:  .set    count+rangeoptions:  .set    0range:  .set    (IXP425_SDRAM_ALT_START_ADDR_3MSB - IXP425_SDRAM_END_ADDR_3MSB)#else   /* then GNU... */        .set    count, count+range        .set    options, 0        .set    range, (IXP425_SDRAM_ALT_START_ADDR_3MSB - IXP425_SDRAM_END_ADDR_3MSB)#endif  /* _DIAB_TOOL */#ifdef ADD_INVALID_ADDRESSABLE_REGION_AFTER_SDRAMPT_ENTRY count,options,range/* SDRAM is less than 256 Meg, need to mark the addressable region after * SDRAM as invalid */#ifdef _DIAB_TOOLcount:  .set    count+rangeoptions:  .set    OTHER_SECT_DESCrange:  .set    (IXP425_SDRAM_ALT_END_ADDR_3MSB - IXP425_SDRAM_ALT_START_ADDR_3MSB)#else   /* then GNU... */        .set    count, count+range        .set    options, OTHER_SECT_DESC        .set    range, (IXP425_SDRAM_ALT_END_ADDR_3MSB - IXP425_SDRAM_ALT_START_ADDR_3MSB)#endif  /* _DIAB_TOOL */#endifPT_ENTRY count,options,range/* Map the rest of the SDRAM aliases as address coherent */#ifdef _DIAB_TOOLcount:  .set    count+rangeoptions:  .set    0range:  .set    (0x200 - IXP425_SDRAM_ALT_END_ADDR_3MSB)#else   /* then GNU... */        .set    count, count+range        .set    options, 0        .set    range, (0x200 - IXP425_SDRAM_ALT_END_ADDR_3MSB)#endif  /* _DIAB_TOOL */#ifdef ADD_INVALID_ADDRESSABLE_REGION_AFTER_SDRAM_ALT/* SDRAM is less than 256 Meg, need to mark the addressable region after * SDRAM ALT region as invalid */PT_ENTRY count,options,range#ifdef _DIAB_TOOLcount:  .set    count+rangeoptions:  .set    OTHER_SECT_DESCrange:  .set    (0x480 - 0x200)#else   /* then GNU... */        .set    count, count+range        .set    options, OTHER_SECT_DESC        .set    range, (0x480 - 0x200)#endif  /* _DIAB_TOOL */#endifPT_ENTRY count,options,range/*  PCI base mapped as invalid */#ifdef INCLUDE_PCI#ifdef _DIAB_TOOLcount:  .set    count+rangeoptions:  .set    (OTHER_SECT_DESC | P_BIT_SET_MASK)range:  .set    (0x500 - 0x480)#else   /* then GNU... */        .set    count, count+range        .set    options, (OTHER_SECT_DESC | P_BIT_SET_MASK)        .set    range, (0x500 - 0x480)#endif  /* _DIAB_TOOL */PT_ENTRY count,options,range#else#ifdef _DIAB_TOOLcount:  .set    count+rangeoptions:  .set    0range:  .set    (0x500 - 0x480)#else   /* then GNU... */        .set    count, count+range        .set    options, 0        .set    range, (0x500 - 0x480)#endif  /* _DIAB_TOOL *//*  PCI base mapped as invalid */PT_ENTRY count,options,range#endif /* INCLUDE_PCI *//* EXP BUS base 2 */#ifdef _DIAB_TOOLcount:  .set    count+rangeoptions:  .set    OTHER_SECT_DESCrange:  .set    (0x510 - 0x500)#else   /* then GNU... */        .set    count, count+range        .set    options, OTHER_SECT_DESC        .set    range, (0x510 - 0x500)#endif  /* _DIAB_TOOL */PT_ENTRY count,options,range/* Exp Bus CS1 base */#ifdef _DIAB_TOOLcount:  .set    count+rangeoptions:  .set    OTHER_SECT_DESCrange:  .set    (0x520 - 0x510)#else   /* then GNU... */        .set    count, count+range        .set    options, OTHER_SECT_DESC        .set    range, (0x520 - 0x510)#endif  /* _DIAB_TOOL */PT_ENTRY count,options,range/* Exp Bus CS2 base */#ifdef _DIAB_TOOLcount:  .set    count+rangeoptions:  .set    OTHER_SECT_DESCrange:  .set    (0x530 - 0x520)#else   /* then GNU... */        .set    count, count+range        .set    options, OTHER_SECT_DESC        .set    range, (0x530 - 0x520)#endif  /* _DIAB_TOOL */PT_ENTRY count,options,range/* Exp Bus CS3 base */#ifdef _DIAB_TOOLcount:  .set    count+rangeoptions:  .set    OTHER_SECT_DESCrange:  .set    (0x540 - 0x530)#else   /* then GNU... */        .set    count, count+range        .set    options, OTHER_SECT_DESC        .set    range, (0x540 - 0x530)#endif  /* _DIAB_TOOL */PT_ENTRY count,options,range/* Exp Bus CS4 base */#ifdef _DIAB_TOOLcount:  .set    count+rangeoptions:  .set    OTHER_SECT_DESCrange:  .set    (0x550 - 0x540)#else   /* then GNU... */        .set    count, count+range        .set    options, OTHER_SECT_DESC        .set    range, (0x550 - 0x540)#endif  /* _DIAB_TOOL */PT_ENTRY count,options,range/* Exp Bus CS5 base */#ifdef _DIAB_TOOLcount:  .set    count+rangeoptions:  .set    OTHER_SECT_DESCrange:  .set    (0x560 - 0x550)#else   /* then GNU... */        .set    count, count+range        .set    options, OTHER_SECT_DESC        .set    range, (0x560 - 0x550)#endif  /* _DIAB_TOOL */PT_ENTRY count,options,range/* Exp Bus CS6 base */#ifdef _DIAB_TOOLcount:  .set    count+rangeoptions:  .set    OTHER_SECT_DESCrange:  .set    (0x570 - 0x560)#else   /* then GNU... */        .set    count, count+range        .set    options, OTHER_SECT_DESC        .set    range, (0x570 - 0x560)#endif  /* _DIAB_TOOL */PT_ENTRY count,options,range/* Exp Bus CS7 base */#ifdef _DIAB_TOOLcount:  .set    count+rangeoptions:  .set    OTHER_SECT_DESCrange:  .set    (0x580 - 0x570)#else   /* then GNU... */        .set    count, count+range        .set    options, OTHER_SECT_DESC        .set    range, (0x580 - 0x570)#endif  /* _DIAB_TOOL */PT_ENTRY count,options,range/* Invalid */#ifdef _DIAB_TOOLcount:  .set    count+rangeoptions:  .set    0range:  .set    (0x600 - 0x580)#else   /* then GNU... */        .set    count, count+range        .set    options, 0        .set    range, (0x600 - 0x580)#endif  /* _DIAB_TOOL */PT_ENTRY count,options,range/* QMgr base */#ifdef _DIAB_TOOLcount:  .set    count+rangeoptions:  .set    OTHER_SECT_DESCrange:  .set    (0x610 - 0x600)#else   /* then GNU... */        .set    count, count+range        .set    options, OTHER_SECT_DESC        .set    range, (0x610 - 0x600)#endif  /* _DIAB_TOOL */PT_ENTRY count,options,range/* Invalid */#ifdef _DIAB_TOOLcount:  .set    count+rangeoptions:  .set    0range:  .set    (0xC00 - 0x610)#else   /* then GNU... */        .set    count, count+range        .set    options, 0        .set    range, (0xC00 - 0x610)#endif  /* _DIAB_TOOL */PT_ENTRY count,options,range/* PCI config space */#ifdef _DIAB_TOOLcount:  .set    count+rangeoptions:  .set    OTHER_SECT_DESCrange:  .set    (0xC10 - 0xC00)#else   /* then GNU... */        .set    count, count+range        .set    options, OTHER_SECT_DESC        .set    range, (0xC10 - 0xC00)#endif  /* _DIAB_TOOL */PT_ENTRY count,options,range/* Invalid */#ifdef _DIAB_TOOLcount:  .set    count+rangeoptions:  .set    0range:  .set    (0xC40 - 0xC10)#else   /* then GNU... */        .set    count, count+range        .set    options, 0        .set    range, (0xC40 - 0xC10)#endif  /* _DIAB_TOOL */PT_ENTRY count,options,range/* Exp config base */#ifdef _DIAB_TOOLcount:  .set    count+rangeoptions:  .set    OTHER_SECT_DESCrange:  .set    (0xC50 - 0xC40)#else   /* then GNU... */        .set    count, count+range        .set    options, OTHER_SECT_DESC        .set    range, (0xC50 - 0xC40)#endif  /* _DIAB_TOOL */PT_ENTRY count,options,range/* Invalid */#ifdef _DIAB_TOOLcount:  .set    count+rangeoptions:  .set    0range:  .set    (0xC80 - 0xC50)#else   /* then GNU... */        .set    count, count+range        .set    options, 0        .set    range, (0xC80 - 0xC50)#endif  /* _DIAB_TOOL */PT_ENTRY count,options,range/* Peripheral base */#ifdef _DIAB_TOOLcount:  .set    count+rangeoptions:  .set    OTHER_SECT_DESCrange:  .set    (0xC90 - 0xC80)#else   /* then GNU... */        .set    count, count+range        .set    options, OTHER_SECT_DESC        .set    range, (0xC90 - 0xC80)#endif  /* _DIAB_TOOL */PT_ENTRY count,options,range/* Invalid */#ifdef _DIAB_TOOLcount:  .set    count+rangeoptions:  .set    0range:  .set    (0xCC0 - 0xC90)#else   /* then GNU... */        .set    count, count+range        .set    options, 0        .set    range, (0xCC0 - 0xC90)#endif  /* _DIAB_TOOL */PT_ENTRY count,options,range/* SDRAM Config base */#ifdef _DIAB_TOOLcount:  .set    count+rangeoptions:  .set    OTHER_SECT_DESCrange:  .set    (0xCC1 - 0xCC0)#else   /* then GNU... */        .set    count, count+range        .set    options, OTHER_SECT_DESC        .set    range, (0xCC1 - 0xCC0)#endif  /* _DIAB_TOOL */PT_ENTRY count,options,range/* Peripheral LE Virtual data coherent base * This needs to map to the real peripheral base */#ifdef _DIAB_TOOLcount:  .set    count+rangeoptions:  .set    (OTHER_SECT_DESC | P_BIT_SET_MASK)range:  .set    (0xCC2 - 0xCC1)realAddr:       .set    0xC80#else   /* then GNU... */        .set    count, count+range        .set    options, (OTHER_SECT_DESC | P_BIT_SET_MASK)        .set    range, (0xCC2 - 0xCC1)        .set    realAddr, 0xC80#endif  /* _DIAB_TOOL */PT_ENTRY realAddr,options,range/* QMgr LE Virt data coherent base * This needs to map to the real QMgr base */#ifdef _DIAB_TOOLcount:  .set    count+rangeoptions:  .set    (OTHER_SECT_DESC | P_BIT_SET_MASK)range:  .set    (0xCC3 - 0xCC2)realAddr:       .set    0x600#else   /* then GNU... */        .set    count, count+range        .set    options, (OTHER_SECT_DESC | P_BIT_SET_MASK)        .set    range, (0xCC3 - 0xCC2)        .set    realAddr, 0x600#endif  /* _DIAB_TOOL */PT_ENTRY realAddr,options,range/* Expansion Config register LE Virt data coherent base * This needs to map to the real Exp config base */#ifdef _DIAB_TOOLcount:  .set    count+rangeoptions:  .set    (OTHER_SECT_DESC | P_BIT_SET_MASK)range:  .set    (0xCC4 - 0xCC3)realAddr:       .set    0xC40#else   /* then GNU... */        .set    count, count+range        .set    options, (OTHER_SECT_DESC | P_BIT_SET_MASK)        .set    range, (0xCC4 - 0xCC3)        .set    realAddr, 0xC40#endif  /* _DIAB_TOOL */PT_ENTRY realAddr,options,range/* Expansion bus LE Virt data coherent base * This needs to map to the real Expansion bus. * Total size is 128Meg -  8 regions x 16Meg each */#ifdef _DIAB_TOOLcount:  .set    count+rangeoptions:  .set    (OTHER_SECT_DESC | P_BIT_SET_MASK)range:  .set    (0xD44 - 0xCC4)realAddr:       .set    0x500#else   /* then GNU... */        .set    count, count+range        .set    options, (OTHER_SECT_DESC | P_BIT_SET_MASK)        .set    range, (0xD44 - 0xCC4)        .set    realAddr, 0x500#endif  /* _DIAB_TOOL */PT_ENTRY realAddr,options,range/* Map rest of memory flat */#ifdef _DIAB_TOOLcount:  .set    count+rangeoptions:  .set    OTHER_SECT_DESCrange:  .set    (0xFFF - 0xd44)#else   /* then GNU... */        .set    count, count+range        .set    options, OTHER_SECT_DESC        .set    range, (0xFFF - 0xd44)#endif  /* _DIAB_TOOL */PT_ENTRY count,options,range#endif /* ROM_ENABLES_MMU */#ifdef _DIAB_TOOL        .ltorg#endif  /* _DIAB_TOOL */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -