diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-06-17 15:36:00 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-06-17 15:36:00 +0000 |
commit | 331d1f5097d449a9335a6de8f2c7b9e8e3da7f81 (patch) | |
tree | 1817d80876d11acb8d44c3fc3d51b14a8c1109f7 /cpukit/itron/include/rtems/itron/task.h | |
parent | 2010-06-17 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-331d1f5097d449a9335a6de8f2c7b9e8e3da7f81.tar.bz2 |
Remove (Abandoned).
Diffstat (limited to 'cpukit/itron/include/rtems/itron/task.h')
-rw-r--r-- | cpukit/itron/include/rtems/itron/task.h | 96 |
1 files changed, 0 insertions, 96 deletions
diff --git a/cpukit/itron/include/rtems/itron/task.h b/cpukit/itron/include/rtems/itron/task.h deleted file mode 100644 index 13722d3b48..0000000000 --- a/cpukit/itron/include/rtems/itron/task.h +++ /dev/null @@ -1,96 +0,0 @@ -/** - * @file rtems/itron/task.h - */ - -/* - * COPYRIGHT (c) 1989-2008. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.com/license/LICENSE. - * - * $Id$ - */ - -#ifndef _RTEMS_ITRON_TASK_H -#define _RTEMS_ITRON_TASK_H - -#ifdef __cplusplus -extern "C" { -#endif - -#include <rtems/itron/object.h> -#include <rtems/itron/config.h> -#include <rtems/score/thread.h> - -/* - * This macro evaluates to TRUE if there should be a "context error." - * This is defined as a blocking directive being issed from - * task-independent portions or a task in dispatch disabled state. - * - * NOTE: Dispatching is disabled in interrupts so this should cover - * both cases. - */ - -#define _ITRON_Is_in_non_task_state() \ - (_Thread_Dispatch_disable_level != 0) - -/* - * This is the API specific information required by each thread for - * the ITRON API to function correctly. - */ - - -#if 0 -typedef struct { - uint32_t unused; /* no use for the API extension */ - /* structure for ITRON identified yet */ -} ITRON_API_Control; -#endif - -/* - * The following defines the information control block used to - * manage this class of objects. - */ - -ITRON_EXTERN Objects_Information _ITRON_Task_Information; - -/** - * When the user configures a set of ITRON API initialization tasks, - * This variable will point to the method used to initialize them. - * - * @note It is instantiated and initialized by confdefs.h based upon - * application requirements. - */ -extern void (*_ITRON_Initialize_user_tasks_p)(void); - -/* - * _ITRON_Task_Manager_initialization - * - * This routine initializes the ITRON Task Manager. - */ - -void _ITRON_Task_Manager_initialization(void); - -/* - * Return a status code and enable dispatching - */ - -#define _ITRON_return_errorno( _errno ) \ -do { \ - _Thread_Enable_dispatch(); \ - return _errno; \ -} while (0); - - -#ifndef __RTEMS_APPLICATION__ -#include <rtems/itron/task.inl> -#endif - -#ifdef __cplusplus -} -#endif - -#endif -/* end of include file */ |