[rtems commit] or1k/cpu.c: Eliminate dependency on BSP provided header

Joel Sherril joel at rtems.org
Tue Feb 10 20:18:42 UTC 2015


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

Author:    Hesham ALMatary <heshamelmatary at gmail.com>
Date:      Tue Feb 10 14:18:27 2015 -0600

or1k/cpu.c: Eliminate dependency on BSP provided header

---

 cpukit/score/cpu/or1k/cpu.c | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/cpukit/score/cpu/or1k/cpu.c b/cpukit/score/cpu/or1k/cpu.c
index 9d1ae49..c81aa1e 100644
--- a/cpukit/score/cpu/or1k/cpu.c
+++ b/cpukit/score/cpu/or1k/cpu.c
@@ -1,7 +1,7 @@
 /*
  *  Opencore OR1K CPU Dependent Source
  *
- *  COPYRIGHT (c) 2014 Hesham ALMatary <heshamelmatary at gmail.com>
+ *  COPYRIGHT (c) 2014-2015 Hesham ALMatary <heshamelmatary at gmail.com>
  *  COPYRIGHT (c) 1989-1999.
  *  On-Line Applications Research Corporation (OAR).
  *
@@ -14,9 +14,14 @@
 #include <rtems/system.h>
 #include <rtems/score/isr.h>
 #include <rtems/score/wkspace.h>
-#include <bsp/linker-symbols.h>
 #include <rtems/score/cpu.h>
 
+/* bsp_start_vector_table_begin is the start address of the vector table
+ * containing addresses to ISR Handlers. It's defined at the BSP linkcmds
+ * and may differ from one BSP to another. 
+ */
+extern char bsp_start_vector_table_begin[];
+
 /**
  * @brief Performs processor dependent initialization.
  */



More information about the vc mailing list