summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHesham ALMatary <heshamelmatary@gmail.com>2015-02-10 14:18:27 -0600
committerJoel Sherrill <joel.sherrill@oarcorp.com>2015-02-10 14:18:27 -0600
commit1c7ee732fca5a12444de3163360075495614c83c (patch)
treee83333c6af7dd486a04bdb8e810c9b034c5403a2
parent16939b1876d2c75534191f5d46ae1c606c3bf2ad (diff)
downloadrtems-1c7ee732fca5a12444de3163360075495614c83c.tar.bz2
or1k/cpu.c: Eliminate dependency on BSP provided header
-rw-r--r--cpukit/score/cpu/or1k/cpu.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/cpukit/score/cpu/or1k/cpu.c b/cpukit/score/cpu/or1k/cpu.c
index 9d1ae49e80..c81aa1e8a8 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@gmail.com>
+ * COPYRIGHT (c) 2014-2015 Hesham ALMatary <heshamelmatary@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.
*/