source: rtems/c/src/lib/libcpu/mips/shared/interrupts/isr_entries.S @ 0ab87349

4.104.114.84.95
Last change on this file since 0ab87349 was 0ab87349, checked in by Joel Sherrill <joel.sherrill@…>, on 02/05/02 at 21:06:13

2001-02-05 Joel Sherrill <joel@…>

  • isr_entries.S: Removed comment incorrectly indicating this file was cpu_asm.S.
  • vectorexceptions.c (mips_dump_exception_frame): New routine broken out from default exception handler.
  • Property mode set to 100644
File size: 1.4 KB
Line 
1/*
2 *  This file contains the raw entry points for the exceptions.
3 *
4 *  COPYRIGHT (c) 1989-2000.
5 *  On-Line Applications Research Corporation (OAR).
6 *
7 *  The license and distribution terms for this file may be
8 *  found in the file LICENSE in this distribution or at
9 *  http://www.OARcorp.com/rtems/license.html.
10 *
11 *  $Id$
12 */
13
14#include <asm.h>
15#include "iregdef.h"
16#include "idtcpu.h"
17
18/*
19 *  MIPS ISA Level 1 entries
20 */
21
22#if __mips == 1
23
24FRAME(exc_norm_code,sp,0,ra)
25        la      k0, _ISR_Handler /* generic external int hndlr */
26        j       k0
27        nop
28ENDFRAME(exc_norm_code)
29
30/* XXX this is dependent on IDT/SIM and needs to be addressed */
31FRAME(exc_utlb_code,sp,0,ra)
32        la      k0, (R_VEC+((48)*8))
33        j       k0
34        nop
35ENDFRAME(exc_tlb_code)
36
37/*
38 * MIPS ISA Level 3
39 * XXX Again, reliance on SIM. Not good.
40 */
41#elif __mips == 3
42
43FRAME(exc_tlb_code,sp,0,ra)
44        la      k0, (R_VEC+((112)*8)) /* R4000 Sim location */
45        j       k0
46        nop
47ENDFRAME(exc_tlb_code)
48
49FRAME(exc_xtlb_code,sp,0,ra)
50        la      k0, (R_VEC+((112)*8)) /* R4000 Sim location */
51        j       k0
52        nop
53
54ENDFRAME(exc_xtlb_code)
55
56FRAME(exc_cache_code,sp,0,ra)
57        la      k0, (R_VEC+((112)*8)) /* R4000 Sim location */
58        j       k0
59        nop
60ENDFRAME(exc_cache_code)
61
62FRAME(exc_norm_code,sp,0,ra)
63        la      k0, _ISR_Handler /* generic external int hndlr */
64        j       k0
65        nop
66ENDFRAME(exc_norm_code)
67
68#else
69
70#error "isr_entries.S: ISA support problem"
71
72#endif
73
Note: See TracBrowser for help on using the repository browser.