Changeset 4a3db517 in rtems
- Timestamp:
- 12/05/14 10:07:02 (8 years ago)
- Branches:
- 4.11, 5, master
- Children:
- b657ea4d
- Parents:
- 12072880
- Location:
- c/src/lib/libbsp/sparc
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/sparc/erc32/startup/spurious.c
r12072880 r4a3db517 156 156 /* 157 157 * Skip window overflow, underflow, and flush as well as software 158 * trap 0 which we will use as a shutdown. Also avoid trap 0x70 - 0x7f159 * which cannot happen and where some of the space is used to pass160 * paramaters to the program.158 * trap 0,9,10 which we will use as a shutdown, IRQ disable, IRQ enable. 159 * Also avoid trap 0x70 - 0x7f which cannot happen and where some of the 160 * space is used to pass parameters to the program. 161 161 */ 162 162 163 163 if (( trap == 5 || trap == 6 ) || 164 164 (( trap >= 0x11 ) && ( trap <= 0x1f )) || 165 (( trap >= 0x70 ) && ( trap <= 0x83 ))) 165 (( trap >= 0x70 ) && ( trap <= 0x83 )) || 166 ( trap == 0x80 + SPARC_SWTRAP_IRQDIS ) || 167 ( trap == 0x80 + SPARC_SWTRAP_IRQEN )) 166 168 continue; 167 169 -
c/src/lib/libbsp/sparc/leon2/startup/spurious.c
r12072880 r4a3db517 143 143 /* 144 144 * Skip window overflow, underflow, and flush as well as software 145 * trap 0 which we will use as a shutdown. Also avoid trap 0x70 - 0x7f146 * which cannot happen and where some of the space is used to pass147 * paramaters to the program.145 * trap 0,9,10 which we will use as a shutdown, IRQ disable, IRQ enable. 146 * Also avoid trap 0x70 - 0x7f which cannot happen and where some of the 147 * space is used to pass parameters to the program. 148 148 */ 149 149 150 150 if (( trap == 5 || trap == 6 ) || 151 151 (( trap >= 0x11 ) && ( trap <= 0x1f )) || 152 (( trap >= 0x70 ) && ( trap <= 0x83 ))) 152 (( trap >= 0x70 ) && ( trap <= 0x83 )) || 153 ( trap == 0x80 + SPARC_SWTRAP_IRQDIS ) || 154 ( trap == 0x80 + SPARC_SWTRAP_IRQEN )) 153 155 continue; 154 156 -
c/src/lib/libbsp/sparc/leon3/startup/spurious.c
r12072880 r4a3db517 150 150 * trap 0,9,10 which we will use as a shutdown, IRQ disable, IRQ enable. 151 151 * Also avoid trap 0x70 - 0x7f which cannot happen and where some of the 152 * space is used to pass param aters to the program.152 * space is used to pass parameters to the program. 153 153 */ 154 154
Note: See TracChangeset
for help on using the changeset viewer.