RTEMS 6.1-rc4
Loading...
Searching...
No Matches
Macros | Functions
taskconstruct.c File Reference

This source file contains the implementation of rtems_task_construct() and the Task Manager system initialization. More...

#include <rtems/rtems/tasksimpl.h>
#include <rtems/rtems/attrimpl.h>
#include <rtems/rtems/eventimpl.h>
#include <rtems/rtems/modesimpl.h>
#include <rtems/rtems/support.h>
#include <rtems/rtems/statusimpl.h>
#include <rtems/score/apimutex.h>
#include <rtems/score/schedulerimpl.h>
#include <rtems/score/stackimpl.h>
#include <rtems/score/threadimpl.h>
#include <rtems/score/userextimpl.h>
#include <rtems/sysinit.h>
#include <string.h>

Macros

#define STATUS_ASSERT(status)
 

Functions

 STATUS_ASSERT (INCORRECT_STATE)
 
 STATUS_ASSERT (INTERNAL_ERROR)
 
 STATUS_ASSERT (INVALID_ADDRESS)
 
 STATUS_ASSERT (INVALID_ID)
 
 STATUS_ASSERT (INVALID_NAME)
 
 STATUS_ASSERT (INVALID_NODE)
 
 STATUS_ASSERT (INVALID_NUMBER)
 
 STATUS_ASSERT (INVALID_PRIORITY)
 
 STATUS_ASSERT (INVALID_SIZE)
 
 STATUS_ASSERT (NO_MEMORY)
 
 STATUS_ASSERT (NOT_DEFINED)
 
 STATUS_ASSERT (NOT_OWNER_OF_RESOURCE)
 
 STATUS_ASSERT (OBJECT_WAS_DELETED)
 
 STATUS_ASSERT (PROXY_BLOCKING)
 
 STATUS_ASSERT (RESOURCE_IN_USE)
 
 STATUS_ASSERT (SUCCESSFUL)
 
 STATUS_ASSERT (TIMEOUT)
 
 STATUS_ASSERT (TOO_MANY)
 
 STATUS_ASSERT (UNSATISFIED)
 
rtems_status_code rtems_task_construct (const rtems_task_config *config, rtems_id *id)
 Constructs a task from the specified task configuration.
 
rtems_status_code _RTEMS_tasks_Create (const rtems_task_config *config, rtems_id *id, RTEMS_tasks_Prepare_stack prepare_stack)
 
 RTEMS_SYSINIT_ITEM (_RTEMS_tasks_Manager_initialization, RTEMS_SYSINIT_CLASSIC_TASKS, RTEMS_SYSINIT_ORDER_MIDDLE)
 

Detailed Description

This source file contains the implementation of rtems_task_construct() and the Task Manager system initialization.

Macro Definition Documentation

◆ STATUS_ASSERT

#define STATUS_ASSERT (   status)
Value:
(int) STATUS_CLASSIC_##status == (int) RTEMS_##status, \
status \
)
#define RTEMS_STATIC_ASSERT(_cond, _msg)
It is defined if a static analysis run is performed.
Definition: basedefs.h:841