Changeset a7f36829 in rtems


Ignore:
Timestamp:
Dec 14, 2015, 1:56:41 PM (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
ae85b066
Parents:
26335844
git-author:
Sebastian Huber <sebastian.huber@…> (12/14/15 13:56:41)
git-committer:
Sebastian Huber <sebastian.huber@…> (02/03/16 09:00:52)
Message:

Optional Classic Signal initialization

Update #2408.

Files:
1 deleted
6 edited

Legend:

Unmodified
Added
Removed
  • cpukit/rtems/Makefile.am

    r26335844 ra7f36829  
    209209
    210210## SIGNAL_C_FILES
    211 librtems_a_SOURCES += src/signal.c
    212211librtems_a_SOURCES += src/signalcatch.c
    213212librtems_a_SOURCES += src/signalsend.c
  • cpukit/rtems/include/rtems/rtems/signalimpl.h

    r26335844 ra7f36829  
    3333/**@{*/
    3434
    35 /**
    36  *  @brief Signal Manager Initialization
    37  *
    38  *  Signal Manager
    39  *
    40  *  This routine performs the initialization necessary for this manager.
    41  */
    42 void _Signal_Manager_initialization( void );
    43 
    4435void _Signal_Action_handler(
    4536  Thread_Control *thread,
  • cpukit/rtems/src/signalcatch.c

    r26335844 ra7f36829  
    1919#endif
    2020
     21#include <rtems/sysinit.h>
    2122#include <rtems/rtems/signalimpl.h>
    2223#include <rtems/rtems/asrimpl.h>
     
    9091  return RTEMS_SUCCESSFUL;
    9192}
     93
     94#if defined(RTEMS_MULTIPROCESSING)
     95static void _Signal_Manager_initialization( void )
     96{
     97  _MPCI_Register_packet_processor(
     98    MP_PACKET_SIGNAL,
     99    _Signal_MP_Process_packet
     100  );
     101}
     102
     103RTEMS_SYSINIT_ITEM(
     104  _Signal_Manager_initialization,
     105  RTEMS_SYSINIT_CLASSIC_SIGNAL,
     106  RTEMS_SYSINIT_ORDER_MIDDLE
     107);
     108#endif
  • cpukit/sapi/src/rtemsapi.c

    r26335844 ra7f36829  
    3636#include <rtems/rtems/regionimpl.h>
    3737#include <rtems/rtems/semimpl.h>
    38 #include <rtems/rtems/signalimpl.h>
    3938
    4039void _RTEMS_API_Initialize(void)
    4140{
    42   _Signal_Manager_initialization();
    4341  _Event_Manager_initialization();
    4442  _Message_queue_Manager_initialization();
  • cpukit/score/include/rtems/sysinit.h

    r26335844 ra7f36829  
    3434#define RTEMS_SYSINIT_CLASSIC_TASKS              000340
    3535#define RTEMS_SYSINIT_CLASSIC_TIMER              000341
     36#define RTEMS_SYSINIT_CLASSIC_SIGNAL             000342
    3637#define RTEMS_SYSINIT_IDLE_THREADS               000380
    3738#define RTEMS_SYSINIT_BSP_LIBC                   000400
  • testsuites/sptests/spsysinit01/init.c

    r26335844 ra7f36829  
    5050  CLASSIC_TIMER_PRE,
    5151  CLASSIC_TIMER_POST,
     52  CLASSIC_SIGNAL_PRE,
     53  CLASSIC_SIGNAL_POST,
    5254  IDLE_THREADS_PRE,
    5355  IDLE_THREADS_POST,
     
    179181}
    180182
     183FIRST(RTEMS_SYSINIT_CLASSIC_SIGNAL)
     184{
     185  /* There is nothing to do in case RTEMS_MULTIPROCESSING is not defined */
     186  next_step(CLASSIC_SIGNAL_PRE);
     187}
     188
     189LAST(RTEMS_SYSINIT_CLASSIC_SIGNAL)
     190{
     191  next_step(CLASSIC_SIGNAL_POST);
     192}
     193
    181194FIRST(RTEMS_SYSINIT_IDLE_THREADS)
    182195{
Note: See TracChangeset for help on using the changeset viewer.