diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-10-16 15:13:20 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-10-19 17:00:57 -0500 |
commit | 6a094d39306d1b6a97a8fc657a293fabdf8da742 (patch) | |
tree | c06fd2492448de7f58e5e6683f076caa1fdeb487 /c/src/lib/libbsp/mips/shared | |
parent | mips/rbtx4938: Fix warnings (diff) | |
download | rtems-6a094d39306d1b6a97a8fc657a293fabdf8da742.tar.bz2 |
libbsp/mips/shared: Fix warnings
Diffstat (limited to 'c/src/lib/libbsp/mips/shared')
-rw-r--r-- | c/src/lib/libbsp/mips/shared/gdbstub/mips-stub.c | 2 | ||||
-rw-r--r-- | c/src/lib/libbsp/mips/shared/irq/exception.S | 15 |
2 files changed, 5 insertions, 12 deletions
diff --git a/c/src/lib/libbsp/mips/shared/gdbstub/mips-stub.c b/c/src/lib/libbsp/mips/shared/gdbstub/mips-stub.c index c4606a87f6..8320eb66a9 100644 --- a/c/src/lib/libbsp/mips/shared/gdbstub/mips-stub.c +++ b/c/src/lib/libbsp/mips/shared/gdbstub/mips-stub.c @@ -214,7 +214,7 @@ void handle_exception (rtems_vector_number vector, CPU_Interrupt_frame *frame); /* * Prototype needed by this code and to keep it self contained. - *. + */ void rtems_interrupt_catch( rtems_isr_entry, int, rtems_isr_entry *); /* diff --git a/c/src/lib/libbsp/mips/shared/irq/exception.S b/c/src/lib/libbsp/mips/shared/irq/exception.S index 8ac1035441..e916ae55fe 100644 --- a/c/src/lib/libbsp/mips/shared/irq/exception.S +++ b/c/src/lib/libbsp/mips/shared/irq/exception.S @@ -1,9 +1,10 @@ -/* exception.S - * +/* * This file contains a customized MIPS exception handler. * It hooks into the exception handler present in the resident * PMON debug monitor. - * + */ + +/* * Author: Bruce Robinson * * This code was derived from cpu_asm.S with the following copyright: @@ -79,14 +80,6 @@ #define ISR_VEC_SIZE 4 #define EXCP_STACK_SIZE (NREGS*R_SZ) - -#ifdef __GNUC__ -#define EXTERN(x,size) .extern x,size -#else -#define EXTERN(x,size) -#endif - - .extern _Thread_Dispatch /* void __ISR_Handler() |