[rtems commit] libbsp/mips/shared: Fix warnings

Joel Sherrill joel at rtems.org
Sun Oct 19 21:51:56 UTC 2014


Module:    rtems
Branch:    master
Commit:    6a094d39306d1b6a97a8fc657a293fabdf8da742
Changeset: http://git.rtems.org/rtems/commit/?id=6a094d39306d1b6a97a8fc657a293fabdf8da742

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Thu Oct 16 15:13:20 2014 -0500

libbsp/mips/shared: Fix warnings

---

 c/src/lib/libbsp/mips/shared/gdbstub/mips-stub.c |    2 +-
 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 c4606a8..8320eb6 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 8ac1035..e916ae5 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()



More information about the vc mailing list