Changeset 4d9bd56 in rtems


Ignore:
Timestamp:
Feb 17, 2014, 2:12:43 PM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
f71f3d31
Parents:
911b1d2
git-author:
Sebastian Huber <sebastian.huber@…> (02/17/14 14:12:43)
git-committer:
Sebastian Huber <sebastian.huber@…> (02/19/14 08:59:41)
Message:

score: Rename rtems_smp_process_interrupt()

Rename rtems_smp_process_interrupt() into
_SMP_Inter_processor_interrupt_handler(). Delete unused header file
<rtems/bspsmp.h>.

Files:
1 deleted
9 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/shared/arm-a9mpcore-smp.c

    r911b1d2 r4d9bd56  
    1515#include <assert.h>
    1616
    17 #include <rtems/bspsmp.h>
     17#include <rtems/score/smpimpl.h>
    1818
    1919#include <libcpu/arm-cp15.h>
     
    2121#include <bsp/irq.h>
    2222
    23 static void ipi_handler(void *arg)
     23static void bsp_inter_processor_interrupt(void *arg)
    2424{
    25   rtems_smp_process_interrupt();
     25  _SMP_Inter_processor_interrupt_handler();
    2626}
    2727
     
    3737    "IPI",
    3838    RTEMS_INTERRUPT_UNIQUE,
    39     ipi_handler,
     39    bsp_inter_processor_interrupt,
    4040    NULL
    4141  );
  • c/src/lib/libbsp/arm/shared/include/arm-a9mpcore-start.h

    r911b1d2 r4d9bd56  
    2424#define LIBBSP_ARM_SHARED_ARM_A9MPCORE_START_H
    2525
    26 #include <rtems/bspsmp.h>
    2726#include <rtems/score/smpimpl.h>
    2827
  • c/src/lib/libbsp/i386/shared/smp/smp-imps.c

    r911b1d2 r4d9bd56  
    7979#include <unistd.h>
    8080#include <rtems.h>
    81 #include <rtems/bspsmp.h>
    8281#include <rtems/bspIo.h>
    8382#include <libcpu/cpu.h>
     
    744743}
    745744
    746 static void ap_ipi_isr(void *arg)
     745static void bsp_inter_processor_interrupt(void *arg)
    747746{
    748747  (void) arg;
     
    750749  smp_apic_ack();
    751750
    752   rtems_smp_process_interrupt();
     751  _SMP_Inter_processor_interrupt_handler();
    753752}
    754753
     
    761760    "smp-imps",
    762761    RTEMS_INTERRUPT_UNIQUE,
    763     ap_ipi_isr,
     762    bsp_inter_processor_interrupt,
    764763    NULL
    765764  );
     
    788787}
    789788
    790 #include <rtems/bspsmp.h>
    791789uint32_t _CPU_SMP_Initialize( uint32_t configured_cpu_count )
    792790{
  • c/src/lib/libbsp/powerpc/qoriq/startup/smp.c

    r911b1d2 r4d9bd56  
    1515#include <assert.h>
    1616
    17 #include <rtems/bspsmp.h>
    1817#include <rtems/score/smpimpl.h>
    1918
     
    138137}
    139138
    140 static void ipi_handler(void *arg)
     139static void bsp_inter_processor_interrupt(void *arg)
    141140{
    142   rtems_smp_process_interrupt();
     141  _SMP_Inter_processor_interrupt_handler();
    143142}
    144143
     
    153152    "IPI",
    154153    RTEMS_INTERRUPT_UNIQUE,
    155     ipi_handler,
     154    bsp_inter_processor_interrupt,
    156155    NULL
    157156  );
  • c/src/lib/libbsp/sparc/leon3/smp/smp_leon3.c

    r911b1d2 r4d9bd56  
    1717#include <leon.h>
    1818#include <rtems/bspIo.h>
    19 #include <rtems/bspsmp.h>
    2019#include <rtems/score/smpimpl.h>
    2120#include <stdlib.h>
     
    3332}
    3433
    35 static rtems_isr bsp_ap_ipi_isr(
     34static rtems_isr bsp_inter_processor_interrupt(
    3635  rtems_vector_number vector
    3736)
    3837{
    39   rtems_smp_process_interrupt();
     38  _SMP_Inter_processor_interrupt_handler();
    4039}
    4140
     
    7675  if ( used_cpu_count > 1 ) {
    7776    LEON_Unmask_interrupt(LEON3_MP_IRQ);
    78     set_vector(bsp_ap_ipi_isr, LEON_TRAP_TYPE(LEON3_MP_IRQ), 1);
     77    set_vector(bsp_inter_processor_interrupt, LEON_TRAP_TYPE(LEON3_MP_IRQ), 1);
    7978  }
    8079
  • cpukit/score/Makefile.am

    r911b1d2 r4d9bd56  
    1111include_rtems_HEADERS += include/rtems/system.h
    1212include_rtems_HEADERS += include/rtems/seterr.h
    13 include_rtems_HEADERS += include/rtems/bspsmp.h
    1413
    1514include_rtems_scoredir = $(includedir)/rtems/score
  • cpukit/score/include/rtems/score/smpimpl.h

    r911b1d2 r4d9bd56  
    9191
    9292/**
     93 * @brief Interrupt handler for inter-processor interrupts.
     94 */
     95void _SMP_Inter_processor_interrupt_handler( void );
     96
     97/**
    9398 *  @brief Sends a SMP message to a processor.
    9499 *
  • cpukit/score/preinstall.am

    r911b1d2 r4d9bd56  
    3030        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/seterr.h
    3131PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/seterr.h
    32 
    33 $(PROJECT_INCLUDE)/rtems/bspsmp.h: include/rtems/bspsmp.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    34         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/bspsmp.h
    35 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/bspsmp.h
    3632
    3733$(PROJECT_INCLUDE)/rtems/score/$(dirstamp):
  • cpukit/score/src/smp.c

    r911b1d2 r4d9bd56  
    1919#endif
    2020
    21 #include <rtems/bspsmp.h>
    2221#include <rtems/score/smpimpl.h>
    2322#include <rtems/score/assert.h>
     
    4645}
    4746
    48 void rtems_smp_process_interrupt( void )
     47void _SMP_Inter_processor_interrupt_handler( void )
    4948{
    5049  Per_CPU_Control *self_cpu = _Per_CPU_Get();
Note: See TracChangeset for help on using the changeset viewer.