Changeset 176e1ed8 in rtems for cpukit/score/cpu/mips/cpu_asm.S
- Timestamp:
- 04/20/01 13:07:34 (22 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 831aba1
- Parents:
- 4ff04390
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/score/cpu/mips/cpu_asm.S
r4ff04390 r176e1ed8 427 427 ADDIU sp,sp,-40 428 428 STREG ra,32(sp) /* store ra on the stack */ 429 MFC0 t0, C0_EPC /* XXX */ 430 STREG t0,16(sp) /* XXX store EPC on the stack */ 431 mfc0 t0,C0_SR 432 STREG t0,24(sp) /* XXX store SR on the stack */ 429 433 430 434 /* determine if an interrupt generated this exception */ … … 530 534 _ISR_Handler_exit: 531 535 LDREG ra,32(sp) 536 LDREG t0,16(sp) /* XXX restore EPC on the stack */ 537 MTC0 t0, C0_EPC /* XXX */ 538 LDREG t0,24(sp) /* XXX restore SR on the stack */ 539 mtc0 t0,C0_SR 532 540 ADDIU sp,sp,40 /* Q: Again with the 40...Is this needed? */ 533 541 … … 564 572 565 573 MFC0 k0, C0_EPC 574 nop 566 575 567 576 rfe /* Might not need to do RFE here... */
Note: See TracChangeset
for help on using the changeset viewer.