Changeset b7af3e44 in rtems


Ignore:
Timestamp:
Nov 8, 2018, 9:57:21 AM (5 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
e1b7c188
Parents:
739df1f5
git-author:
Sebastian Huber <sebastian.huber@…> (11/08/18 09:57:21)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/12/18 12:25:40)
Message:

rtems: Move internal structures to tasksdata.h

Update #3598.

Location:
cpukit
Files:
1 added
12 edited

Legend:

Unmodified
Added
Removed
  • cpukit/headers.am

    r739df1f5 rb7af3e44  
    276276include_rtems_rtems_HEADERS += include/rtems/rtems/taskmp.h
    277277include_rtems_rtems_HEADERS += include/rtems/rtems/tasks.h
     278include_rtems_rtems_HEADERS += include/rtems/rtems/tasksdata.h
    278279include_rtems_rtems_HEADERS += include/rtems/rtems/tasksimpl.h
    279280include_rtems_rtems_HEADERS += include/rtems/rtems/timer.h
  • cpukit/include/rtems/confdefs.h

    r739df1f5 rb7af3e44  
    4040#include <rtems/rtems/regiondata.h>
    4141#include <rtems/rtems/semdata.h>
     42#include <rtems/rtems/tasksdata.h>
    4243#include <rtems/posix/key.h>
    4344#include <rtems/posix/mqueue.h>
  • cpukit/include/rtems/rtems/tasks.h

    r739df1f5 rb7af3e44  
    11/**
    2  * @file rtems/rtems/tasks.h
    3  *
    4  * @defgroup ClassicTasks Tasks
    5  *
    6  * @ingroup ClassicRTEMS
    7  * @brief RTEMS Tasks
    8  *
    9  * This include file contains all constants and structures associated
    10  * with RTEMS tasks. This manager provides a comprehensive set of directives
    11  * to create, delete, and administer tasks.
    12  *
    13  * Directives provided are:
    14  *
    15  * - create a task
    16  * - get an ID of a task
    17  * - start a task
    18  * - restart a task
    19  * - delete a task
    20  * - suspend a task
    21  * - resume a task
    22  * - set a task's priority
    23  * - change the current task's mode
    24  * - wake up after interval
    25  * - wake up when specified
     2 * @file
     3 *
     4 * @ingroup ClassicTasks
     5 *
     6 * @brief Classic Task Manager API
    267 */
    278
     
    3819#define _RTEMS_RTEMS_TASKS_H
    3920
    40 #include <rtems/score/object.h>
    4121#include <rtems/score/scheduler.h>
    4222#include <rtems/score/thread.h>
    43 #include <rtems/rtems/asrdata.h>
    4423#include <rtems/rtems/attr.h>
    45 #include <rtems/rtems/eventdata.h>
    4624#include <rtems/rtems/status.h>
    4725#include <rtems/rtems/types.h>
     
    677655/**@}*/
    678656
    679 /**
    680  *  This is the API specific information required by each thread for
    681  *  the RTEMS API to function correctly.
    682  *
    683  */
    684 typedef struct {
    685   /** This field contains the event control for this task. */
    686   Event_Control            Event;
    687   /** This field contains the system event control for this task. */
    688   Event_Control            System_event;
    689   /** This field contains the Classic API Signal information for this task. */
    690   ASR_Information          Signal;
    691 
    692   /**
    693    * @brief Signal post-switch action in case signals are pending.
    694    */
    695   Thread_Action            Signal_action;
    696 }  RTEMS_API_Control;
    697 
    698 /**
    699  *  @brief _RTEMS_tasks_Initialize_user_tasks_body
    700  *
    701  *  This routine creates and starts all configured user
    702  *  initialization threads.
    703  *
    704  *  Input parameters: NONE
    705  *
    706  *  Output parameters:  NONE
    707  *
    708  *  RTEMS Task Manager
    709  */
    710 
    711 extern void _RTEMS_tasks_Initialize_user_tasks_body( void );
    712 
    713657#ifdef __cplusplus
    714658}
  • cpukit/include/rtems/rtems/tasksimpl.h

    r739df1f5 rb7af3e44  
    1818#define _RTEMS_RTEMS_TASKSIMPL_H
    1919
    20 #include <rtems/rtems/tasks.h>
     20#include <rtems/rtems/tasksdata.h>
    2121#include <rtems/score/objectimpl.h>
    2222#include <rtems/score/schedulerimpl.h>
  • cpukit/libmisc/monitor/mon-task.c

    r739df1f5 rb7af3e44  
    99#include <rtems.h>
    1010#include <rtems/monitor.h>
     11#include <rtems/rtems/tasksdata.h>
    1112#include <rtems/score/schedulerimpl.h>
    1213#include <rtems/score/threadimpl.h>
  • cpukit/rtems/src/eventreceive.c

    r739df1f5 rb7af3e44  
    2020
    2121#include <rtems/rtems/eventimpl.h>
    22 #include <rtems/rtems/tasks.h>
     22#include <rtems/rtems/tasksdata.h>
    2323#include <rtems/score/statesimpl.h>
    2424#include <rtems/score/threadimpl.h>
  • cpukit/rtems/src/eventsend.c

    r739df1f5 rb7af3e44  
    2020
    2121#include <rtems/rtems/eventimpl.h>
    22 #include <rtems/rtems/tasks.h>
     22#include <rtems/rtems/tasksdata.h>
    2323#include <rtems/score/threadimpl.h>
    2424
  • cpukit/rtems/src/signalcatch.c

    r739df1f5 rb7af3e44  
    2222#include <rtems/rtems/signalimpl.h>
    2323#include <rtems/rtems/asrimpl.h>
    24 #include <rtems/rtems/tasks.h>
     24#include <rtems/rtems/tasksdata.h>
    2525#include <rtems/score/assert.h>
    2626#include <rtems/score/threadimpl.h>
  • cpukit/rtems/src/signalsend.c

    r739df1f5 rb7af3e44  
    2121#include <rtems/rtems/signalimpl.h>
    2222#include <rtems/rtems/asrimpl.h>
    23 #include <rtems/rtems/tasks.h>
     23#include <rtems/rtems/tasksdata.h>
    2424#include <rtems/score/threaddispatch.h>
    2525#include <rtems/score/threadimpl.h>
  • cpukit/rtems/src/systemeventreceive.c

    r739df1f5 rb7af3e44  
    2626
    2727#include <rtems/rtems/eventimpl.h>
    28 #include <rtems/rtems/tasks.h>
     28#include <rtems/rtems/tasksdata.h>
    2929#include <rtems/score/statesimpl.h>
    3030#include <rtems/score/threadimpl.h>
  • cpukit/rtems/src/systemeventsend.c

    r739df1f5 rb7af3e44  
    2626
    2727#include <rtems/rtems/eventimpl.h>
    28 #include <rtems/rtems/tasks.h>
     28#include <rtems/rtems/tasksdata.h>
    2929#include <rtems/score/threadimpl.h>
    3030
  • cpukit/rtems/src/taskmode.c

    r739df1f5 rb7af3e44  
    1919#endif
    2020
    21 #include <rtems/rtems/tasks.h>
     21#include <rtems/rtems/tasksdata.h>
    2222#include <rtems/rtems/asrimpl.h>
    2323#include <rtems/rtems/modesimpl.h>
Note: See TracChangeset for help on using the changeset viewer.