From 1c7ee732fca5a12444de3163360075495614c83c Mon Sep 17 00:00:00 2001 From: Hesham ALMatary Date: Tue, 10 Feb 2015 14:18:27 -0600 Subject: 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 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 + * COPYRIGHT (c) 2014-2015 Hesham ALMatary * COPYRIGHT (c) 1989-1999. * On-Line Applications Research Corporation (OAR). * @@ -14,9 +14,14 @@ #include #include #include -#include #include +/* 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. */ -- cgit v1.2.3