Ignore:
Timestamp:
Nov 8, 2018, 9:57:21 AM (13 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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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}
Note: See TracChangeset for help on using the changeset viewer.