diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-02-17 15:12:43 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-02-19 09:59:41 +0100 |
commit | 4d9bd56d2905c4a848e9f3c41210fc0f1be8b530 (patch) | |
tree | cda556f0b569a014b4a5879fdd3d57730641b713 /cpukit | |
parent | score: Rename rtems_smp_secondary_cpu_initialize() (diff) | |
download | rtems-4d9bd56d2905c4a848e9f3c41210fc0f1be8b530.tar.bz2 |
score: Rename rtems_smp_process_interrupt()
Rename rtems_smp_process_interrupt() into
_SMP_Inter_processor_interrupt_handler(). Delete unused header file
<rtems/bspsmp.h>.
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/score/Makefile.am | 1 | ||||
-rw-r--r-- | cpukit/score/include/rtems/bspsmp.h | 73 | ||||
-rw-r--r-- | cpukit/score/include/rtems/score/smpimpl.h | 5 | ||||
-rw-r--r-- | cpukit/score/preinstall.am | 4 | ||||
-rw-r--r-- | cpukit/score/src/smp.c | 3 |
5 files changed, 6 insertions, 80 deletions
diff --git a/cpukit/score/Makefile.am b/cpukit/score/Makefile.am index b247af6950..6663d5c905 100644 --- a/cpukit/score/Makefile.am +++ b/cpukit/score/Makefile.am @@ -10,7 +10,6 @@ include_rtemsdir = $(includedir)/rtems include_rtems_HEADERS = include/rtems/debug.h include_rtems_HEADERS += include/rtems/system.h include_rtems_HEADERS += include/rtems/seterr.h -include_rtems_HEADERS += include/rtems/bspsmp.h include_rtems_scoredir = $(includedir)/rtems/score diff --git a/cpukit/score/include/rtems/bspsmp.h b/cpukit/score/include/rtems/bspsmp.h deleted file mode 100644 index 37c038088a..0000000000 --- a/cpukit/score/include/rtems/bspsmp.h +++ /dev/null @@ -1,73 +0,0 @@ -/** - * @file rtems/bspsmp.h - * - * @brief Interface Between RTEMS and an SMP Aware BSP - * - * This include file defines the interface between RTEMS and an - * SMP aware BSP. These methods will only be used when RTEMS - * is configured with SMP support enabled. - */ - -/* - * COPYRIGHT (c) 1989-2011. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.com/license/LICENSE. - */ - -#ifndef _RTEMS_BSPSMP_H -#define _RTEMS_BSPSMP_H - -#include <rtems/score/cpuopts.h> - -#if defined (RTEMS_SMP) -#include <rtems/score/percpu.h> - -/** - * @defgroup RTEMS BSP SMP Interface - * - * @ingroup Score - * - * This defines the interface between RTEMS and the BSP for - * SMP support. The interface uses the term primary - * to refer to the "boot" processor and secondary to refer - * to the "application" processors. Different architectures - * use different terminology. - * - * It is assumed that when the processor is reset and thus - * when RTEMS is initialized, that the primary processor is - * the only one executing. The others are assumed to be in - * a quiescent or reset state awaiting a command to come online. - */ - -/**@{*/ - -#ifdef __cplusplus -extern "C" { -#endif - - -#ifndef ASM - -/** - * @brief Process the incoming interprocessor request. - * - * This is the method called by the BSP's interrupt handler - * to process the incoming interprocessor request. - */ -void rtems_smp_process_interrupt(void); - -#endif - -#ifdef __cplusplus -} -#endif - -#endif - -/**@}*/ -#endif - -/* end of include file */ diff --git a/cpukit/score/include/rtems/score/smpimpl.h b/cpukit/score/include/rtems/score/smpimpl.h index dc51cdf2ef..cbb3466bba 100644 --- a/cpukit/score/include/rtems/score/smpimpl.h +++ b/cpukit/score/include/rtems/score/smpimpl.h @@ -90,6 +90,11 @@ void _SMP_Start_multitasking_on_secondary_processor( void ) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE; /** + * @brief Interrupt handler for inter-processor interrupts. + */ +void _SMP_Inter_processor_interrupt_handler( void ); + +/** * @brief Sends a SMP message to a processor. * * The target processor may be the sending processor. diff --git a/cpukit/score/preinstall.am b/cpukit/score/preinstall.am index c9d0ab9ff4..4d36ebe513 100644 --- a/cpukit/score/preinstall.am +++ b/cpukit/score/preinstall.am @@ -30,10 +30,6 @@ $(PROJECT_INCLUDE)/rtems/seterr.h: include/rtems/seterr.h $(PROJECT_INCLUDE)/rte $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/seterr.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/seterr.h -$(PROJECT_INCLUDE)/rtems/bspsmp.h: include/rtems/bspsmp.h $(PROJECT_INCLUDE)/rtems/$(dirstamp) - $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/bspsmp.h -PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/bspsmp.h - $(PROJECT_INCLUDE)/rtems/score/$(dirstamp): @$(MKDIR_P) $(PROJECT_INCLUDE)/rtems/score @: > $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) diff --git a/cpukit/score/src/smp.c b/cpukit/score/src/smp.c index 86e9cd2bba..86116da3cf 100644 --- a/cpukit/score/src/smp.c +++ b/cpukit/score/src/smp.c @@ -18,7 +18,6 @@ #include "config.h" #endif -#include <rtems/bspsmp.h> #include <rtems/score/smpimpl.h> #include <rtems/score/assert.h> #include <rtems/score/threaddispatch.h> @@ -45,7 +44,7 @@ void _SMP_Start_multitasking_on_secondary_processor( void ) _Thread_Start_multitasking(); } -void rtems_smp_process_interrupt( void ) +void _SMP_Inter_processor_interrupt_handler( void ) { Per_CPU_Control *self_cpu = _Per_CPU_Get(); |