summaryrefslogtreecommitdiffstats
path: root/cpukit/itron
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2010-06-17 15:36:00 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2010-06-17 15:36:00 +0000
commit331d1f5097d449a9335a6de8f2c7b9e8e3da7f81 (patch)
tree1817d80876d11acb8d44c3fc3d51b14a8c1109f7 /cpukit/itron
parent2010-06-17 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-331d1f5097d449a9335a6de8f2c7b9e8e3da7f81.tar.bz2
Remove (Abandoned).
Diffstat (limited to 'cpukit/itron')
-rw-r--r--cpukit/itron/.cvsignore2
-rw-r--r--cpukit/itron/Makefile.am122
-rw-r--r--cpukit/itron/include/itron.h55
-rw-r--r--cpukit/itron/include/itronsys/README9
-rw-r--r--cpukit/itron/include/itronsys/eventflags.h149
-rw-r--r--cpukit/itron/include/itronsys/fmempool.h128
-rw-r--r--cpukit/itron/include/itronsys/intr.h109
-rw-r--r--cpukit/itron/include/itronsys/mbox.h141
-rw-r--r--cpukit/itron/include/itronsys/msgbuffer.h163
-rw-r--r--cpukit/itron/include/itronsys/network.h81
-rw-r--r--cpukit/itron/include/itronsys/port.h193
-rw-r--r--cpukit/itron/include/itronsys/semaphore.h124
-rw-r--r--cpukit/itron/include/itronsys/status.h73
-rw-r--r--cpukit/itron/include/itronsys/sysmgmt.h322
-rw-r--r--cpukit/itron/include/itronsys/task.h301
-rw-r--r--cpukit/itron/include/itronsys/time.h188
-rw-r--r--cpukit/itron/include/itronsys/types.h126
-rw-r--r--cpukit/itron/include/itronsys/vmempool.h135
-rw-r--r--cpukit/itron/include/rtems/itron/README10
-rw-r--r--cpukit/itron/include/rtems/itron/config.h74
-rw-r--r--cpukit/itron/include/rtems/itron/eventflags.h62
-rw-r--r--cpukit/itron/include/rtems/itron/fmempool.h63
-rw-r--r--cpukit/itron/include/rtems/itron/intr.h34
-rw-r--r--cpukit/itron/include/rtems/itron/itronapi.h37
-rw-r--r--cpukit/itron/include/rtems/itron/mbox.h74
-rw-r--r--cpukit/itron/include/rtems/itron/msgbuffer.h74
-rw-r--r--cpukit/itron/include/rtems/itron/network.h34
-rw-r--r--cpukit/itron/include/rtems/itron/object.h123
-rw-r--r--cpukit/itron/include/rtems/itron/port.h62
-rw-r--r--cpukit/itron/include/rtems/itron/semaphore.h60
-rw-r--r--cpukit/itron/include/rtems/itron/sysmgmt.h34
-rw-r--r--cpukit/itron/include/rtems/itron/task.h96
-rw-r--r--cpukit/itron/include/rtems/itron/time.h34
-rw-r--r--cpukit/itron/include/rtems/itron/vmempool.h63
-rw-r--r--cpukit/itron/inline/rtems/itron/eventflags.inl159
-rw-r--r--cpukit/itron/inline/rtems/itron/fmempool.inl166
-rw-r--r--cpukit/itron/inline/rtems/itron/intr.inl38
-rw-r--r--cpukit/itron/inline/rtems/itron/mbox.inl159
-rw-r--r--cpukit/itron/inline/rtems/itron/msgbuffer.inl164
-rw-r--r--cpukit/itron/inline/rtems/itron/network.inl38
-rw-r--r--cpukit/itron/inline/rtems/itron/port.inl159
-rw-r--r--cpukit/itron/inline/rtems/itron/semaphore.inl193
-rw-r--r--cpukit/itron/inline/rtems/itron/sysmgmt.inl38
-rw-r--r--cpukit/itron/inline/rtems/itron/task.inl189
-rw-r--r--cpukit/itron/inline/rtems/itron/time.inl38
-rw-r--r--cpukit/itron/inline/rtems/itron/vmempool.inl169
-rw-r--r--cpukit/itron/preinstall.am199
-rw-r--r--cpukit/itron/src/.cvsignore4
-rw-r--r--cpukit/itron/src/TODO13
-rw-r--r--cpukit/itron/src/acp_por.c33
-rw-r--r--cpukit/itron/src/act_cyc.c45
-rw-r--r--cpukit/itron/src/cal_por.c33
-rw-r--r--cpukit/itron/src/can_wup.c54
-rw-r--r--cpukit/itron/src/chg_iXX.c29
-rw-r--r--cpukit/itron/src/chg_pri.c70
-rw-r--r--cpukit/itron/src/clr_flg.c30
-rw-r--r--cpukit/itron/src/cre_flg.c30
-rw-r--r--cpukit/itron/src/cre_mbf.c89
-rw-r--r--cpukit/itron/src/cre_mbx.c107
-rw-r--r--cpukit/itron/src/cre_mpf.c30
-rw-r--r--cpukit/itron/src/cre_mpl.c30
-rw-r--r--cpukit/itron/src/cre_por.c31
-rw-r--r--cpukit/itron/src/cre_sem.c98
-rw-r--r--cpukit/itron/src/cre_tsk.c126
-rw-r--r--cpukit/itron/src/def_alm.c48
-rw-r--r--cpukit/itron/src/def_cyc.c53
-rw-r--r--cpukit/itron/src/def_exc.c30
-rw-r--r--cpukit/itron/src/def_int.c30
-rw-r--r--cpukit/itron/src/def_svc.c30
-rw-r--r--cpukit/itron/src/del_flg.c29
-rw-r--r--cpukit/itron/src/del_mbf.c60
-rw-r--r--cpukit/itron/src/del_mbx.c70
-rw-r--r--cpukit/itron/src/del_mpf.c29
-rw-r--r--cpukit/itron/src/del_mpl.c29
-rw-r--r--cpukit/itron/src/del_por.c29
-rw-r--r--cpukit/itron/src/del_sem.c70
-rw-r--r--cpukit/itron/src/del_tsk.c74
-rw-r--r--cpukit/itron/src/dis_dsp.c40
-rw-r--r--cpukit/itron/src/dis_int.c29
-rw-r--r--cpukit/itron/src/dly_tsk.c50
-rw-r--r--cpukit/itron/src/ena_dsp.c36
-rw-r--r--cpukit/itron/src/ena_int.c30
-rw-r--r--cpukit/itron/src/eventflags.c55
-rw-r--r--cpukit/itron/src/exd_tsk.c50
-rw-r--r--cpukit/itron/src/ext_tsk.c46
-rw-r--r--cpukit/itron/src/fmempool.c56
-rw-r--r--cpukit/itron/src/frsm_tsk.c62
-rw-r--r--cpukit/itron/src/fwd_por.c33
-rw-r--r--cpukit/itron/src/get_blf.c30
-rw-r--r--cpukit/itron/src/get_blk.c31
-rw-r--r--cpukit/itron/src/get_tid.c41
-rw-r--r--cpukit/itron/src/get_tim.c32
-rw-r--r--cpukit/itron/src/get_ver.c29
-rw-r--r--cpukit/itron/src/itroninittasks.c62
-rw-r--r--cpukit/itron/src/itronintr.c20
-rw-r--r--cpukit/itron/src/itronsem.c58
-rw-r--r--cpukit/itron/src/itrontime.c23
-rw-r--r--cpukit/itron/src/loc_cpu.c27
-rw-r--r--cpukit/itron/src/mbox.c57
-rw-r--r--cpukit/itron/src/mboxtranslatereturncode.c48
-rw-r--r--cpukit/itron/src/msgbuffer.c58
-rw-r--r--cpukit/itron/src/msgbuffertranslatereturncode.c48
-rw-r--r--cpukit/itron/src/network.c20
-rw-r--r--cpukit/itron/src/nget_nod.c29
-rw-r--r--cpukit/itron/src/nget_ver.c30
-rw-r--r--cpukit/itron/src/nrea_dat.c33
-rw-r--r--cpukit/itron/src/nwri_dat.c34
-rw-r--r--cpukit/itron/src/pacp_por.c33
-rw-r--r--cpukit/itron/src/pcal_por.c33
-rw-r--r--cpukit/itron/src/pget_blf.c30
-rw-r--r--cpukit/itron/src/pget_blk.c31
-rw-r--r--cpukit/itron/src/pol_flg.c32
-rw-r--r--cpukit/itron/src/port.c54
-rw-r--r--cpukit/itron/src/prcv_mbf.c34
-rw-r--r--cpukit/itron/src/prcv_mbx.c33
-rw-r--r--cpukit/itron/src/preq_sem.c33
-rw-r--r--cpukit/itron/src/psnd_mbf.c34
-rw-r--r--cpukit/itron/src/rcv_mbf.c34
-rw-r--r--cpukit/itron/src/rcv_mbx.c33
-rw-r--r--cpukit/itron/src/ref_alm.c33
-rw-r--r--cpukit/itron/src/ref_cfg.c29
-rw-r--r--cpukit/itron/src/ref_cyc.c60
-rw-r--r--cpukit/itron/src/ref_flg.c30
-rw-r--r--cpukit/itron/src/ref_iXX.c29
-rw-r--r--cpukit/itron/src/ref_mbf.c85
-rw-r--r--cpukit/itron/src/ref_mbx.c67
-rw-r--r--cpukit/itron/src/ref_mpf.c30
-rw-r--r--cpukit/itron/src/ref_mpl.c30
-rw-r--r--cpukit/itron/src/ref_por.c30
-rw-r--r--cpukit/itron/src/ref_sem.c67
-rw-r--r--cpukit/itron/src/ref_sys.c29
-rw-r--r--cpukit/itron/src/ref_tsk.c101
-rw-r--r--cpukit/itron/src/rel_blf.c30
-rw-r--r--cpukit/itron/src/rel_blk.c30
-rw-r--r--cpukit/itron/src/rel_wai.c54
-rw-r--r--cpukit/itron/src/ret_int.c26
-rw-r--r--cpukit/itron/src/ret_tmr.c29
-rw-r--r--cpukit/itron/src/ret_wup.c28
-rw-r--r--cpukit/itron/src/rot_rdq.c55
-rw-r--r--cpukit/itron/src/rpl_rdv.c31
-rw-r--r--cpukit/itron/src/rsm_tsk.c62
-rw-r--r--cpukit/itron/src/set_flg.c30
-rw-r--r--cpukit/itron/src/set_tim.c46
-rw-r--r--cpukit/itron/src/sig_sem.c58
-rw-r--r--cpukit/itron/src/slp_tsk.c35
-rw-r--r--cpukit/itron/src/snd_mbf.c34
-rw-r--r--cpukit/itron/src/snd_mbx.c72
-rw-r--r--cpukit/itron/src/sta_tsk.c71
-rw-r--r--cpukit/itron/src/sus_tsk.c64
-rw-r--r--cpukit/itron/src/sysmgmt.c20
-rw-r--r--cpukit/itron/src/tacp_por.c34
-rw-r--r--cpukit/itron/src/task.c184
-rw-r--r--cpukit/itron/src/tcal_por.c34
-rw-r--r--cpukit/itron/src/ter_tsk.c60
-rw-r--r--cpukit/itron/src/tget_blf.c31
-rw-r--r--cpukit/itron/src/tget_blk.c32
-rw-r--r--cpukit/itron/src/trcv_mbf.c88
-rw-r--r--cpukit/itron/src/trcv_mbx.c78
-rw-r--r--cpukit/itron/src/tslp_tsk.c36
-rw-r--r--cpukit/itron/src/tsnd_mbf.c92
-rw-r--r--cpukit/itron/src/twai_flg.c33
-rw-r--r--cpukit/itron/src/twai_sem.c72
-rw-r--r--cpukit/itron/src/unl_cpu.c27
-rw-r--r--cpukit/itron/src/vmempool.c57
-rw-r--r--cpukit/itron/src/wai_flg.c32
-rw-r--r--cpukit/itron/src/wai_sem.c33
-rw-r--r--cpukit/itron/src/wup_tsk.c36
167 files changed, 0 insertions, 10462 deletions
diff --git a/cpukit/itron/.cvsignore b/cpukit/itron/.cvsignore
deleted file mode 100644
index 282522db03..0000000000
--- a/cpukit/itron/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-Makefile
-Makefile.in
diff --git a/cpukit/itron/Makefile.am b/cpukit/itron/Makefile.am
deleted file mode 100644
index 5cc2dc2d49..0000000000
--- a/cpukit/itron/Makefile.am
+++ /dev/null
@@ -1,122 +0,0 @@
-##
-## $Id$
-##
-
-include $(top_srcdir)/automake/multilib.am
-include $(top_srcdir)/automake/compile.am
-
-EXTRA_DIST =
-
-if LIBITRON
-## include
-
-include_rtemsdir = $(includedir)/rtems
-include_rtems_HEADERS = include/itron.h
-
-## itronsys
-
-include_itronsysdir = $(includedir)/itronsys
-
-include_itronsys_HEADERS = include/itronsys/eventflags.h \
- include/itronsys/fmempool.h include/itronsys/intr.h \
- include/itronsys/mbox.h include/itronsys/msgbuffer.h \
- include/itronsys/network.h include/itronsys/port.h \
- include/itronsys/semaphore.h include/itronsys/status.h \
- include/itronsys/sysmgmt.h include/itronsys/task.h \
- include/itronsys/time.h include/itronsys/types.h \
- include/itronsys/vmempool.h
-
-EXTRA_DIST += include/itronsys/README
-
-## rtems/itron
-include_rtems_itrondir = $(includedir)/rtems/itron
-
-include_rtems_itron_HEADERS = include/rtems/itron/config.h \
- include/rtems/itron/eventflags.h include/rtems/itron/fmempool.h \
- include/rtems/itron/intr.h include/rtems/itron/itronapi.h \
- include/rtems/itron/mbox.h include/rtems/itron/msgbuffer.h \
- include/rtems/itron/network.h include/rtems/itron/object.h \
- include/rtems/itron/port.h include/rtems/itron/semaphore.h \
- include/rtems/itron/sysmgmt.h include/rtems/itron/task.h \
- include/rtems/itron/time.h include/rtems/itron/vmempool.h
-
-EXTRA_DIST += include/rtems/itron/README
-
-## Inline
-
-include_rtems_itron_HEADERS += inline/rtems/itron/eventflags.inl \
- inline/rtems/itron/fmempool.inl inline/rtems/itron/intr.inl \
- inline/rtems/itron/mbox.inl inline/rtems/itron/msgbuffer.inl \
- inline/rtems/itron/network.inl inline/rtems/itron/port.inl \
- inline/rtems/itron/semaphore.inl inline/rtems/itron/sysmgmt.inl \
- inline/rtems/itron/task.inl inline/rtems/itron/time.inl \
- inline/rtems/itron/vmempool.inl
-
-## Sources
-
-TASK_C_FILES = src/task.c src/cre_tsk.c src/del_tsk.c src/sta_tsk.c \
- src/ext_tsk.c src/exd_tsk.c src/ter_tsk.c src/dis_dsp.c src/ena_dsp.c \
- src/chg_pri.c src/rot_rdq.c src/rel_wai.c src/get_tid.c src/ref_tsk.c \
- src/itroninittasks.c
-
-TASKSYNC_C_FILES = src/sus_tsk.c src/rsm_tsk.c src/frsm_tsk.c src/slp_tsk.c \
- src/tslp_tsk.c src/wup_tsk.c src/can_wup.c
-
-SEMAPHORE_C_FILES = src/itronsem.c src/cre_sem.c src/del_sem.c \
- src/preq_sem.c src/ref_sem.c src/sig_sem.c src/twai_sem.c src/wai_sem.c
-
-EVENTFLAGS_C_FILES = src/eventflags.c src/cre_flg.c src/del_flg.c \
- src/set_flg.c src/clr_flg.c src/wai_flg.c src/pol_flg.c \
- src/twai_flg.c src/ref_flg.c
-
-MAILBOX_C_FILES = src/mbox.c
-
-MSGBUFFER_C_FILES = src/msgbuffer.c src/msgbuffertranslatereturncode.c \
- src/cre_mbf.c src/del_mbf.c src/prcv_mbf.c src/psnd_mbf.c src/rcv_mbf.c \
- src/ref_mbf.c src/snd_mbf.c src/trcv_mbf.c src/tsnd_mbf.c
-
-RENDEZVOUS_C_FILES = src/port.c src/cre_por.c src/del_por.c src/cal_por.c \
- src/pcal_por.c src/tcal_por.c src/acp_por.c src/pacp_por.c \
- src/tacp_por.c src/fwd_por.c src/rpl_rdv.c src/ref_por.c
-
-INTERRUPT_C_FILES = src/itronintr.c src/def_int.c src/loc_cpu.c \
- src/unl_cpu.c src/dis_int.c src/ena_int.c src/chg_iXX.c src/ref_iXX.c \
- src/ret_int.c src/ret_wup.c
-
-VARIABLE_MEMORY_POOL_C_FILES = src/vmempool.c src/cre_mpl.c src/del_mpl.c \
- src/get_blk.c src/pget_blk.c src/tget_blk.c src/rel_blk.c src/ref_mpl.c
-
-FIXED_MEMORY_POOL_C_FILES = src/fmempool.c src/cre_mpf.c src/del_mpf.c \
- src/get_blf.c src/pget_blf.c src/tget_blf.c src/rel_blf.c src/ref_mpf.c
-
-TIME_C_FILES = src/itrontime.c src/set_tim.c src/get_tim.c src/dly_tsk.c \
- src/def_cyc.c src/act_cyc.c src/ref_cyc.c src/def_alm.c src/ref_alm.c \
- src/ret_tmr.c
-
-CONFIGURATION_C_FILES = src/sysmgmt.c src/get_ver.c src/ref_sys.c \
- src/ref_cfg.c src/def_svc.c src/def_exc.c
-
-NETWORK_C_FILES = src/network.c src/nrea_dat.c src/nwri_dat.c \
- src/nget_nod.c src/nget_ver.c
-
-C_FILES = $(TASK_C_FILES) $(TASKSYNC_C_FILES) $(SEMAPHORE_C_FILES) \
- $(EVENTFLAGS_C_FILES) $(MAILBOX_C_FILES) $(MSGBUFFER_C_FILES) \
- $(RENDEZVOUS_C_FILES) $(INTERRUPT_C_FILES) \
- $(VARIABLE_MEMORY_POOL_C_FILES) $(FIXED_MEMORY_POOL_C_FILES) \
- $(TIME_C_FILES)
-
-AM_CPPFLAGS += -D__RTEMS_INSIDE__
-
-noinst_LIBRARIES = libitron.a
-libitron_a_SOURCES = $(C_FILES)
-libitron_a_CPPFLAGS = $(AM_CPPFLAGS)
-endif
-
-UNUSED_C_FILES = src/cre_mbx.c src/del_mbx.c src/mboxtranslatereturncode.c \
- $(NETWORK_C_FILES) src/prcv_mbx.c src/rcv_mbx.c src/ref_mbx.c \
- src/snd_mbx.c $(CONFIGURATION_C_FILES) src/trcv_mbx.c
-
-EXTRA_DIST += $(UNUSED_C_FILES) src/TODO
-
-include $(srcdir)/preinstall.am
-include $(top_srcdir)/automake/local.am
diff --git a/cpukit/itron/include/itron.h b/cpukit/itron/include/itron.h
deleted file mode 100644
index f684c57222..0000000000
--- a/cpukit/itron/include/itron.h
+++ /dev/null
@@ -1,55 +0,0 @@
-/**
- * @file itron.h
- */
-
-/*
- * COPYRIGHT (c) 1989-1999.
- * 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 _ITRON_H
-#define _ITRON_H
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/*
- * Include the basic requirements
- */
-
-#include <rtems/system.h> /* basic RTEMS types defined by */
- /* each port */
-#include <itronsys/types.h> /* define all the TRON types */
- /* in terms of the RTEMS base types */
-#include <itronsys/status.h> /* define all ITRON status codes */
-
-/*
- * Now include the per manager include files
- */
-
-#include <itronsys/eventflags.h>
-#include <itronsys/fmempool.h>
-#include <itronsys/intr.h>
-#include <itronsys/mbox.h>
-#include <itronsys/msgbuffer.h>
-#include <itronsys/sysmgmt.h> /* network depends on this file */
-#include <itronsys/network.h>
-#include <itronsys/port.h>
-#include <itronsys/semaphore.h>
-#include <itronsys/task.h>
-#include <itronsys/time.h>
-#include <itronsys/vmempool.h>
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
-/* end of include file */
diff --git a/cpukit/itron/include/itronsys/README b/cpukit/itron/include/itronsys/README
deleted file mode 100644
index 8191ad3c5f..0000000000
--- a/cpukit/itron/include/itronsys/README
+++ /dev/null
@@ -1,9 +0,0 @@
-#
-# $Id$
-#
-
-This directory contains the public interface of each manager.
-Each file in this directory is included from <itron.h>.
-
-The private header file for each ITRON manager is in
-../rtems/itron. \ No newline at end of file
diff --git a/cpukit/itron/include/itronsys/eventflags.h b/cpukit/itron/include/itronsys/eventflags.h
deleted file mode 100644
index d075a3688e..0000000000
--- a/cpukit/itron/include/itronsys/eventflags.h
+++ /dev/null
@@ -1,149 +0,0 @@
-/**
- * @file itronsys/eventflags.h
- */
-
-/*
- * COPYRIGHT (c) 1989-1999.
- * 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 _ITRONSYS_EVENTFLAGS_H
-#define _ITRONSYS_EVENTFLAGS_H
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/*
- * Create Eventflags (cre_flg) Structure
- */
-
-typedef struct t_cflg {
- VP exinf; /* extended information */
- ATR flgatr; /* eventflag attribute */
- UINT iflgptn; /* initial eventflag */
- /* additional information may be included depending on the implementation */
-} T_CFLG;
-
-/*
- * flgatr
- */
-
-#define TA_WSGL 0x00 /* multiple tasks are not allowed to wait (Wait
- Single Task) */
-#define TA_WMUL 0x08 /* multiple tasks are allowed to wait (Wait
- Multiple Task) */
-
-/*
- * wfmode
- */
-
-#define TWF_ANDW 0x00 /* AND wait */
-#define TWF_ORW 0x02 /* OR wait */
-#define TWF_CLR 0x01 /* clear specification */
-
-/*
- * Reference Eventflags (ref_flg) Structure
- */
-
-typedef struct t_rflg {
- VP exinf; /* extended information */
- BOOL_ID wtsk; /* indicates whether or not there is a waiting task */
- UINT flgptn; /* eventflag bit pattern */
- /* additional information may be included depending on the implementation */
-} T_RFLG;
-
-/*
- * Eventflag Functions
- */
-
-/*
- * cre_flg - Create Eventflag
- */
-
-ER cre_flg(
- ID flgid,
- T_CFLG *pk_cflg
-);
-
-/*
- * del_flg - Delete Eventflag
- */
-
-ER del_flg(
- ID flgid
-);
-
-/*
- * set_flg - Set Eventflag
- */
-
-ER set_flg(
- ID flgid,
- UINT setptn
-);
-
-/*
- * clr_flg - Clear Eventflag
- */
-
-ER clr_flg(
- ID flgid,
- UINT clrptn
-);
-
-/*
- * wai_flg - Wait on Eventflag
- */
-
-ER wai_flg(
- UINT *p_flgptn,
- ID flgid,
- UINT waiptn,
- UINT wfmode
-);
-
-/*
- * pol_flg - Wait for Eventflag(Polling)
- */
-
-ER pol_flg(
- UINT *p_flgptn,
- ID flgid,
- UINT waiptn,
- UINT wfmode
-);
-
-/*
- * twai_flg - Wait on Eventflag with Timeout
- */
-
-ER twai_flg(
- UINT *p_flgptn,
- ID flgid,
- UINT waiptn,
- UINT wfmode,
- TMO tmout
-);
-
-/*
- * ref_flg - Reference Eventflag Status
- */
-
-ER ref_flg(
- T_RFLG *pk_rflg,
- ID flgid
-);
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
-/* end of include file */
diff --git a/cpukit/itron/include/itronsys/fmempool.h b/cpukit/itron/include/itronsys/fmempool.h
deleted file mode 100644
index 05bd4cea1a..0000000000
--- a/cpukit/itron/include/itronsys/fmempool.h
+++ /dev/null
@@ -1,128 +0,0 @@
-/**
- * @file itronsys/fmempool.h
- */
-
-/*
- * COPYRIGHT (c) 1989-1999.
- * 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 _ITRONSYS_FMEMPOOL_H
-#define _ITRONSYS_FMEMPOOL_H
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/*
- * Create Fixed Memory Pool (cre_mpf) Structure
- */
-
- /* cre_mpf */
-typedef struct t_cmpf {
- VP exinf; /* extended information */
- ATR mpfatr; /* memorypool attributes */
- INT mpfcnt; /* block count for entire memorypool */
- INT blfsz; /* fixed-size memory block size */
- /* additional information may be included depending on the implementation */
-} T_CMPF;
-
-/*
- * mpfatr
- */
-
-#define TA_TFIFO 0x00 /* waiting tasks are handled by FIFO */
-#define TA_TPRI 0x01 /* waiting tasks are handled by priority */
-
-
-/*
- * Reference Fixed Memory Pool (ref_mpf) Structure
- */
-
- /* ref_mpf */
-typedef struct t_rmpf {
- VP exinf; /* extended information */
- BOOL_ID wtsk; /* indicates whether or not there are waiting tasks */
- INT frbcnt; /* free block count */
- /* additional information may be included depending on the implementation */
-} T_RMPF;
-
-/*
- * Fixed Memory Pool Functions
- */
-
-/*
- * cre_mpf - Create Fixed-Size Memorypool
- */
-
-ER cre_mpf(
- ID mpfid,
- T_CMPF *pk_cmpf
-);
-
-/*
- * del_mpf - Delete Fixed-Size Memorypool
- */
-
-ER del_mpf(
- ID mpfid
-);
-
-/*
- * get_blf - Get Fixed-Size Memory Block
- */
-
-ER get_blf(
- VP *p_blf,
- ID mpfid
-);
-
-/*
- * pget_blf - Poll and Get Fixed-Size Memory Block
- */
-
-ER pget_blf(
- VP *p_blf,
- ID mpfid
-);
-
-/*
- * tget_blf - Get Fixed-Size Memory Block with Timeout
- */
-
-ER tget_blf(
- VP *p_blf,
- ID mpfid,
- TMO tmout
-);
-
-/*
- * rel_blf - Release Fixed-Size Memory Block
- */
-
-ER rel_blf(
- ID mpfid,
- VP blf
-);
-
-/*
- * ref_mpf - Reference Fixed-Size Memorypool Status
- */
-
-ER ref_mpf(
- T_RMPF *pk_rmpf,
- ID mpfid
-);
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
-/* end of include file */
diff --git a/cpukit/itron/include/itronsys/intr.h b/cpukit/itron/include/itronsys/intr.h
deleted file mode 100644
index 4b8264a006..0000000000
--- a/cpukit/itron/include/itronsys/intr.h
+++ /dev/null
@@ -1,109 +0,0 @@
-/**
- * @file itronsys/intr.h
- */
-
-/*
- * COPYRIGHT (c) 1989-1999.
- * 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 _ITRONSYS_INTR_H
-#define _ITRONSYS_INTR_H
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/*
- * Define Interrupt (def_int) Structure
- */
-
-typedef struct t_dint {
- ATR intatr; /* interrupt handler attributes */
- FP inthdr; /* interrupt handler address */
- /* additional information may be included depending on the implementation */
-} T_DINT;
-
-/*
- * Interrupt Functions
- */
-
-/*
- * def_int - Define Interrupt Handler
- */
-
-ER def_int(
- UINT dintno,
- T_DINT *pk_dint
-);
-
-/*
- * ret_int - Return from Interrupt Handler
- */
-
-void ret_int( void );
-
-/*
- * ret_wup - Return and Wakeup Task
- */
-
-void ret_wup(
- ID tskid
-);
-
-/*
- * loc_cpu - Lock CPU
- */
-
-ER loc_cpu( void );
-
-/*
- * unl_cpu - Unlock CPU
- */
-
-ER unl_cpu( void );
-
-/*
- * dis_int - Disable Interrupt
- */
-
-ER dis_int(
- UINT eintno
-);
-
-/*
- * ena_int - Enable Interrupt
- */
-
-ER ena_int(
- UINT eintno
-);
-
-/*
- * chg_iXX - Change Interrupt Mask(Level or Priority)
- */
-
-ER chg_iXX(
- UINT iXXXX
-);
-
-/*
- * ref_iXX - Reference Interrupt Mask(Level or Priority)
- */
-
-ER ref_iXX(
- UINT *p_iXXXX
-);
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
-/* end of include file */
diff --git a/cpukit/itron/include/itronsys/mbox.h b/cpukit/itron/include/itronsys/mbox.h
deleted file mode 100644
index 518c6b7225..0000000000
--- a/cpukit/itron/include/itronsys/mbox.h
+++ /dev/null
@@ -1,141 +0,0 @@
-/**
- * @file itronsys/mbox.h
- */
-
-/*
- * COPYRIGHT (c) 1989-1999.
- * 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 _ITRONSYS_MBOX_H
-#define _ITRONSYS_MBOX_H
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/*
- * Create Mailbox (cre_mbx) Structure
- */
-
-typedef struct t_cmbx {
- VP exinf; /* extended information */
- ATR mbxatr; /* mailbox attributes */
- /* Following is implementation-dependent function */
- INT bufcnt; /* maximum number of messages to let pend */
- /* additional information may be included depending on the implementation */
-} T_CMBX;
-
-/*
- * mbxatr
- */
-
-#define TA_TFIFO 0x00 /* waiting tasks are handled by FIFO */
-#define TA_TPRI 0x01 /* waiting tasks are handled by priority */
-#define TA_MFIFO 0x00 /* messages are handled by FIFO */
-#define TA_MPRI 0x02 /* messages are handled by priority */
-
-typedef struct t_msg {
- /*
- * A region (header) reserved by the OS may be included first
- * depending on the implementation.
- *
- * NOTE: The first two fields are RTEMS specific.
- */
-
- INT msgpri; /* priority of each message */
- /* VB msgcont[]; XXX */
- uint8_t msgcont[1];
-} T_MSG;
-
-/*
- * Reference Mailbox (ref_mbx) Structure
- */
-
-typedef struct t_rmbx {
- VP exinf; /* extended information */
- BOOL_ID wtsk; /* indicates whether or not there is a waiting task */
- T_MSG *pk_msg; /* message to be sent next */
- /* additional information may be included depending on the implementation */
-} T_RMBX;
-
-/*
- * Mailbox Functions
- */
-
-/*
- * cre_mbx - Create Mailbox
- */
-
-ER cre_mbx(
- ID mbxid,
- T_CMBX *pk_cmbx
-);
-
-/*
- * del_mbx - Delete Mailbox
- */
-
-ER del_mbx(
- ID mbxid
-);
-
-/*
- * snd_msg - Send Message to Mailbox
- */
-
-ER snd_msg(
- ID mbxid,
- T_MSG *pk_msg
-);
-
-/*
- * rcv_msg - Receive Message from Mailbox
- */
-
-ER rcv_msg(
- T_MSG **ppk_msg,
- ID mbxid
-);
-
-/*
- * prcv_msg - Poll and Receive Message from Mailbox
- */
-
-ER prcv_msg(
- T_MSG **ppk_msg,
- ID mbxid
-);
-
-/*
- * trcv_msg - Receive Message from Mailbox with Timeout
- */
-
-ER trcv_msg(
- T_MSG **ppk_msg,
- ID mbxid,
- TMO tmout
-);
-
-/*
- * ref_mbx - Reference Mailbox Status
- */
-
-ER ref_mbx(
- T_RMBX *pk_rmbx,
- ID mbxid
-);
-
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
-/* end of include file */
diff --git a/cpukit/itron/include/itronsys/msgbuffer.h b/cpukit/itron/include/itronsys/msgbuffer.h
deleted file mode 100644
index 812de95062..0000000000
--- a/cpukit/itron/include/itronsys/msgbuffer.h
+++ /dev/null
@@ -1,163 +0,0 @@
-/**
- * @file itronsys/msgbuffer.h
- */
-
-/*
- * COPYRIGHT (c) 1989-1999.
- * 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 _ITRONSYS_MSGBUFFER_H
-#define _ITRONSYS_MSGBUFFER_H
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/*
- * Create Message Buffer (cre_mbf) Structure
- */
-
-typedef struct t_cmbf {
- VP exinf; /* extended information */
- ATR mbfatr; /* messagebuffer attributes */
- INT bufsz; /* messagebuffer size */
- INT maxmsz; /* maximum size of messages */
- /* additional information may be included depending on the implementation */
-} T_CMBF;
-
-/*
- * mbfatr
- */
-
-#define TA_TFIFO 0x00 /* tasks waiting to receive messages are handled
- by FIFO */
-#define TA_TPRI 0x01 /* tasks waiting to receive messages are handled
- by priority */
-
-/*
- * mbfid
- */
-
-#define TMBF_OS (-4) /* messagebuffer used for OS error log */
-#define TMBF_DB (-3) /* messagebuffer used for debugging */
-
-/*
- * Reference Message Buffer (ref_mbf) Structure
- */
-
-typedef struct t_rmbf {
- VP exinf; /* extended information */
- BOOL_ID wtsk; /* indicates whether or not there is a */
- /* task waiting to receive a message */
- BOOL_ID stsk; /* indicates whether or not there is a */
- /* task waiting to send a message */
- INT msgsz; /* size of message to be sent next */
- INT frbufsz; /* size of free buffer */
- /* additional information may be included depending on the implementation */
-} T_RMBF;
-
-/*
- * Message Buffer Functions
- */
-
-/*
- * cre_mbf - Create MessageBuffer
- */
-
-ER cre_mbf(
- ID mbfid,
- T_CMBF *pk_cmbf
-);
-
-/*
- * del_mbf - Delete MessageBuffer
- */
-
-ER del_mbf(
- ID mbfid
-);
-
-/*
- * snd_mbf - Send Message to MessageBuffer
- */
-
-ER snd_mbf(
- ID mbfid,
- VP msg,
- INT msgsz
-);
-
-/*
- * psnd_mbf - Poll and Send Message to MessageBuffer
- */
-
-ER psnd_mbf(
- ID mbfid,
- VP msg,
- INT msgsz
-);
-
-/*
- * tsnd_mbf - Send Message to MessageBuffer with Timeout
- */
-
-ER tsnd_mbf(
- ID mbfid,
- VP msg,
- INT msgsz,
- TMO tmout
-);
-
-/*
- * rcv_mbf - Receive Message from MessageBuffer
- */
-
-ER rcv_mbf(
- VP msg,
- INT *p_msgsz,
- ID mbfid
-);
-
-/*
- * prcv_mbf - Poll and Receive Message from MessageBuffer
- */
-
-ER prcv_mbf(
- VP msg,
- INT *p_msgsz,
- ID mbfid
-);
-
-/*
- * trcv_mbf - Receive Message from MessageBuffer with Timeout
- */
-
-ER trcv_mbf(
- VP msg,
- INT *p_msgsz,
- ID mbfid,
- TMO tmout
-);
-
-/*
- * ref_mbf - Reference MessageBuffer Status
- */
-
-ER ref_mbf(
- T_RMBF *pk_rmbf,
- ID mbfid
-);
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
-/* end of include file */
diff --git a/cpukit/itron/include/itronsys/network.h b/cpukit/itron/include/itronsys/network.h
deleted file mode 100644
index 9ea04704c4..0000000000
--- a/cpukit/itron/include/itronsys/network.h
+++ /dev/null
@@ -1,81 +0,0 @@
-/**
- * @file itronsys/network.h
- */
-
-/*
- * COPYRIGHT (c) 1989-1999.
- * 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 _ITRONSYS_NETWORK_H
-#define _ITRONSYS_NETWORK_H
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/*
- * NODE srcnode, dstnode, nod:
- */
-
-#define TND_SELF 0 /* specifies the local node */
-#define TND_OTHR (-1) /* specifies default remote node */
-
-/*
- * Network Functions
- */
-
-/*
- * nrea_dat - Read Data from another Node
- */
-
-ER nrea_dat(
- INT *p_reasz,
- VP dstadr,
- NODE srcnode,
- VP srcadr,
- INT datsz
-);
-
-/*
- * nwri_dat - Write Data to another Node
- */
-
-ER nwri_dat(
- INT *p_wrisz,
- NODE dstnode,
- VP dstadr,
- VP srcadr,
- INT datsz
-);
-
-/*
- * nget_nod - Get Local Node Number
- */
-
-ER nget_nod(
- NODE *p_node
-);
-
-/*
- * nget_ver - Get Version Information of another Node
- */
-
-ER nget_ver(
- T_VER *pk_ver,
- NODE node
-);
-
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
-/* end of include file */
diff --git a/cpukit/itron/include/itronsys/port.h b/cpukit/itron/include/itronsys/port.h
deleted file mode 100644
index 128b347195..0000000000
--- a/cpukit/itron/include/itronsys/port.h
+++ /dev/null
@@ -1,193 +0,0 @@
-/**
- * @file itronsys/port.h
- */
-
-/*
- * COPYRIGHT (c) 1989-1999.
- * 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 _ITRONSYS_PORT_H
-#define _ITRONSYS_PORT_H
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/*
- * Create Port (cre_por) Structure
- */
-
-typedef struct t_cpor {
- VP exinf; /* extended information */
- ATR poratr; /* port attributes */
- INT maxcmsz; /* maximum call message size */
- INT maxrmsz; /* maximum reply message size */
- /* additional information may be included depending on the implementation */
-} T_CPOR;
-
-/*
- * poratr
- */
-
-#define TA_NULL 0 /* specifies no particular attributes */
-
-/*
- * TA_NULL should be used in place of zeroes to turn off all
- * attribute features.
- */
-
-/*
- * Reference Port (ref_por) Structure
- */
-
-typedef struct t_rpor {
- VP exinf; /* extended information */
- BOOL_ID wtsk; /* indicates whether or not there is a task */
- /* waiting to call a rendezvous */
- BOOL_ID atsk; /* indicates whether or not there is a task */
- /* waiting to accept a rendezvous */
- /* additional information may be included depending on the implementation */
-} T_RPOR;
-
-/*
- * Port Functions
- */
-
-/*
- * cre_por - Create Port for Rendezvous
- */
-
-ER cre_por(
- ID porid,
- T_CPOR *pk_cpor
-);
-
-/*
- * del_por - Delete Port for Rendezvous
- */
-
-ER del_por(
- ID porid
-);
-
-/*
- * cal_por - Call Port for Rendezvous Poll
- */
-
-ER cal_por(
- VP msg,
- INT *p_rmsgsz,
- ID porid,
- UINT calptn,
- INT cmsgsz
-);
-
-/*
- * pcal_por - Poll and Call Port for Rendezvous
- */
-
-ER pcal_por(
- VP msg,
- INT *p_rmsgsz,
- ID porid,
- UINT calptn,
- INT cmsgsz
-);
-
-/*
- * tcal_por - Call Port for Rendezvous with Timeout
- */
-
-ER tcal_por(
- VP msg,
- INT *p_rmsgsz,
- ID porid,
- UINT calptn,
- INT cmsgsz,
- TMO tmout
-);
-
-/*
- * acp_por - Accept Port for Rendezvous Poll
- */
-
-ER acp_por(
- RNO *p_rdvno,
- VP msg,
- INT *p_cmsgsz,
- ID porid,
- UINT acpptn
-);
-
-/*
- * pacp_por - Poll and Accept Port for Rendezvous
- */
-
-ER pacp_por(
- RNO *p_rdvno,
- VP msg,
- INT *p_cmsgsz,
- ID porid,
- UINT acpptn
-);
-
-/*
- * tacp_por - Accept Port for Rendezvous with Timeout
- */
-
-ER tacp_por(
- RNO *p_rdvno,
- VP msg,
- INT *p_cmsgsz,
- ID porid,
- UINT acpptn,
- TMO tmout
-);
-
-/*
- * fwd_por - Forward Rendezvous to Other Port
- */
-
-ER fwd_por(
- ID porid,
- UINT calptn,
- RNO rdvno,
- VP msg,
- INT cmsgsz
-);
-
-/*
- * rpl_rdv - Reply Rendezvous
- */
-
-ER rpl_rdv(
- RNO rdvno,
- VP msg,
- INT rmsgsz
-);
-
-/*
- * ref_por - Reference Port Status
- */
-
-ER ref_por(
- T_RPOR *pk_rpor,
- ID porid
-);
-
-
-
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
-/* end of include file */
diff --git a/cpukit/itron/include/itronsys/semaphore.h b/cpukit/itron/include/itronsys/semaphore.h
deleted file mode 100644
index 0abf6d311d..0000000000
--- a/cpukit/itron/include/itronsys/semaphore.h
+++ /dev/null
@@ -1,124 +0,0 @@
-/**
- * @file itronsys/semaphore.h
- */
-
-/*
- * COPYRIGHT (c) 1989-1999.
- * 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 _ITRONSYS_SEMAPHORE_H
-#define _ITRONSYS_SEMAPHORE_H
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/*
- * Create Semaphore (cre_sem) Structure
- */
-
-typedef struct t_csem {
- VP exinf; /* extended information */
- ATR sematr; /* semaphore attributes */
- /* Following is the extended function for [level X]. */
- INT isemcnt; /* initial semaphore count */
- INT maxsem; /* maximum semaphore count */
- /* additional information may be included depending on the implementation */
-} T_CSEM;
-
-/*
- * sematr - Semaphore Attribute Values
- */
-
-#define TA_TFIFO 0x00 /* waiting tasks are handled by FIFO */
-#define TA_TPRI 0x01 /* waiting tasks are handled by priority */
-
-#define _ITRON_SEMAPHORE_UNUSED_ATTRIBUTES ~(TA_TPRI)
-
-/*
- * Reference Semaphore (ref_sem) Structure
- */
-
-typedef struct t_rsem {
- VP exinf; /* extended information */
- BOOL_ID wtsk; /* indicates whether or not there is a waiting task */
- INT semcnt; /* current semaphore count */
- /* additional information may be included depending on the implementation */
-} T_RSEM;
-
-/*
- * Semaphore Functions
- */
-
-/*
- * cre_sem - Create Semaphore
- */
-
-ER cre_sem(
- ID semid,
- T_CSEM *pk_csem
-);
-
-/*
- * del_sem - Delete Semaphore
- */
-
-ER del_sem(
- ID semid
-);
-
-/*
- * sig_sem - Signal Semaphore
- */
-
-ER sig_sem(
- ID semid
-);
-
-/*
- * wai_sem - Wait on Semaphore
- */
-
-ER wai_sem(
- ID semid
-);
-
-/*
- * preq_sem - Poll and Request Semaphore
- */
-
-ER preq_sem(
- ID semid
-);
-
-/*
- * twai_sem - Wait on Semaphore with Timeout
- */
-
-ER twai_sem(
- ID semid,
- TMO tmout
-);
-
-/*
- * ref_sem - Reference Semaphore Status
- */
-
-ER ref_sem(
- ID semid,
- T_RSEM *pk_rsem
-);
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
-/* end of include file */
diff --git a/cpukit/itron/include/itronsys/status.h b/cpukit/itron/include/itronsys/status.h
deleted file mode 100644
index 1c24217449..0000000000
--- a/cpukit/itron/include/itronsys/status.h
+++ /dev/null
@@ -1,73 +0,0 @@
-/**
- * @file itronsys/status.h
- */
-
-/*
- * COPYRIGHT (c) 1989-1999.
- * 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 _ITRONSYS_STATUS_H
-#define _ITRONSYS_STATUS_H
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#define E_OK 0 /* Normal completion */
-#define E_SYS (-5) /* System error */
-#define E_NOMEM (-10) /* Insufficient memory */
-#define E_NOSPT (-17) /* Feature not supported */
-#define E_INOSPT (-18) /* Feature not supported by ITRON/FILE */
- /* specification */
-#define E_RSFN (-20) /* Reserved function code number */
-#define E_RSATR (-24) /* Reserved attribute */
-#define E_PAR (-33) /* Parameter error */
-#define E_ID (-35) /* Invalid ID number */
-#define E_NOEXS (-52) /* Object does not exist */
-#define E_OBJ (-63) /* Invalid object state */
-#define E_MACV (-65) /* Memory access disabled or memory access */
- /* violation */
-#define E_OACV (-66) /* Object access violation */
-#define E_CTX (-69) /* Context error */
-#define E_QOVR (-73) /* Queuing or nesting overflow */
-#define E_DLT (-81) /* Object being waited for was deleted */
-#define E_TMOUT (-85) /* Polling failure or timeout exceeded */
-#define E_RLWAI (-86) /* WAIT state was forcibly released */
-#define EN_NOND (-113) /* Target node does not exist or cannot be */
- /* accessed */
-#define EN_OBJNO (-114) /* Specifies an object number which could not be */
- /* accessed on the target node */
-#define EN_PROTO (-115) /* Protocol not supported on target node */
-#define EN_RSFN (-116) /* System call or function not supported on */
- /* target node */
-#define EN_COMM (-117) /* No response from target node */
-#define EN_RLWAI (-118) /* Connection function response wait state was */
- /* forcibly released */
-#define EN_PAR (-119) /* A value outside the range supported by the */
- /* target node and/or transmission packet */
- /* format was specified as a parameter */
-#define EN_RPAR (-120) /* A value outside the range supported by the */
- /* issuing node and/or transmission packet */
- /* format was returned as a return parameter */
-#define EN_CTXID (-121) /* An object on another node was specified to */
- /* a system call issued from a task in dispatch */
- /* disabled state or from a task-independent */
- /* portion */
-#define EN_EXEC (-122) /* System call could not be executed due to */
- /* insufficient resources on the target node */
-#define EN_NOSPT (-123) /* Connection function not supported */
-
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
-/* end of include file */
diff --git a/cpukit/itron/include/itronsys/sysmgmt.h b/cpukit/itron/include/itronsys/sysmgmt.h
deleted file mode 100644
index d836168b05..0000000000
--- a/cpukit/itron/include/itronsys/sysmgmt.h
+++ /dev/null
@@ -1,322 +0,0 @@
-/**
- * @file itronsys/sysmgmt.h
- */
-
-/*
- * COPYRIGHT (c) 1989-1999.
- * 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 _ITRONSYS_SYSMGMT_H
-#define _ITRONSYS_SYSMGMT_H
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/*
- * Get Version (get_ver) Structure
- */
-
-typedef struct t_ver {
- UH maker; /* vendor */
- UH id; /* format number */
- UH spver; /* specification version */
- UH prver; /* product version */
- UH prno[4]; /* product control information */
- UH cpu; /* CPU information */
- UH var; /* variation descriptor */
-} T_VER;
-
-/*
- * Specific MAKER codes established as of March, 1993 are as follows.
- * Due to restrictions on the assignment of CPU codes described below, it is
- * necessary to use maker codes in the range 0x000 through 0x00ff for vendors
- * developing CPUs.
- */
-
-/*
- * CPU defines XXX need to name the constants
- */
-
-#if 0
-#define 0x000 /* No version (test systems, etc.) */
-#define 0x001 /* University of Tokyo */
-#define 0x009 /* FUJITSU LIMITED */
-#define 0x00a /* Hitachi, Ltd. */
-#define 0x00b /* Matsushita Electric Industrial Co., Ltd. */
-#define 0x00c /* Mitsubishi Electric Corporation */
-#define 0x00d /* NEC Corporation */
-#define 0x00e /* Oki Electric Industry Co., Ltd. */
-#define 0x00f /* TOSHIBA CORPORATION */
-#endif
-
-/*
- * The above have been assigned in alphabetical order.
- */
-
-#if 0
-#define 0x010 /* ALPS ELECTRIC CO., LTD. */
-#define 0x011 /* WACOM Co., Ltd. */
-#define 0x012 /* Personal Media Corporation */
-#define 0x101 /* OMRON CORPORATION */
-#define 0x102 /* SEIKOSHA CO., LTD. */
-#define 0x103 /* SYSTEM ALGO CO., LTD. */
-#define 0x104 /* Tokyo Computer Service Co., Ltd. */
-#define 0x105 /* YAMAHA CORPORATION */
-#define 0x106 /* MORSON JAPAN */
-#define 0x107 /* TOSHIBA INFORMATION SYSTEMS (JAPAN) CORP. */
-#define 0x108 /* Miyazaki System Planning Office */
-#define 0x109 /* Three Ace Computer Corporation */
-#endif
-
-/*
- * CPU Codes
- *
- * Figure 47 shows the format of cpu code. Some processors use the format
- * given in Figure 47(1). The format given in Figure 47(2) is used for all
- * other proprietary processors.
- *
- * The code assignment of the CPU1 region in the format given in Figure 47(1)
- * is common to ITRON and BTRON specifications. The same number is used in
- * the CPU type of the standard object format of BTRON specification
- * operating systems implemented on a TRON-specification chip.
- *
- * When using the format given in Figure 47(2) the code used for MAKER1 is
- * assigned by using the lower 8 bits of MAKER described in the previous
- * subsection. The code assignment of CPU2 is left up to each maker.
- *
- *
- *
- * +---------------+---------------+---------------+---------------+
- * (1) | 0 0 0 0 0 0 0 0 | CPU1 |
- * +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
- * +---------------+---------------+---------------+---------------+
- * (2) | MAKER1 | CPU2 |
- * +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
- *
- * Figure 47 Format of cpu Returned by get_ver
- *
- *
- * Specific CPU codes established as of March, 1993 are as follows.
- */
-
-#if 0
-/*
- * XXX CONVERT THESE to #defines
- */
-
-
-/*
- * Contents of the CPU1 field
- */
-
-#define (0x0) CPU unspecified, no CPU information given
-#define (0x1) TRONCHIP32 shared
-#define (0x2) reserved
-#define (0x3) reserved
-#define (0x4) reserved
-#define (0x5) reserved (<<L1R>> TRON-specification chip)
-#define (0x6) reserved (<<L1>> TRON-specification chip)
-#define (0x7) reserved (TRON-specification chip supporting the
- LSID function)
-/* CPU vendors are unspecified for codes B'00000000 through B'00000111. */
-
-#define (0x8) reserved
-#define (0x9) GMICRO/100
-#define (0xa) GMICRO/200
-#define (0xb) GMICRO/300
-#define (0xc) reserved
-#define (0xd) TX1
-#define (0xe) TX2
-#define (0xf) reserved
-
-#define (0x10) reserved
-#define (0x11) reserved
-#define (0x12) reserved
-#define (0x13) O32
-#define (0x14) reserved
-#define (0x15) MN10400
-#define (0x16) reserved
-#define (0x17) reserved
-
-#define (0x18) GMICRO/400
-#define (0x19) GMICRO/500
-#define (0x1a) reserved
-#define (0x1b-0x3f)
- reserved
- * For GMICRO extended, TX series extended, and TRONCHIP64 chips.
-
-#define (0x40) Motorola 68000
-#define (0x41) Motorola 68010
-#define (0x42) Motorola 68020
-#define (0x43) Motorola 68030
-#define (0x44) Motorola 68040
-#define -(0x40-0x4f)
-#define Motorola 68000 family
-#define (0x50) National Semiconductor NS32032
-#define (0x50-0x5f)
- National Semiconductor NS32000 family
-#define (0x60) Intel 8086, 8088
-#define (0x61) Intel 80186
-#define (0x62) Intel 80286
-#define (0x63) Intel 80386
-#define (0x64) Intel 80486
-#define (0x60-0x6f)
- Intel iAPX86 family
-
-#define (0x70-0x7f)
- NEC V Series
-
-#define (0x80-0xff)
- reserved
-#endif
-
-/*
- * Assigning Version Numbers
- *
- * The version numbers of ITRON and uITRON specifications take the following
- * form.
- *
- * Ver X.YY.ZZ[.WW]
- *
- * where "X" represents major version number of the ITRON specification to
- * distinguish ITRON1, ITRON2 and uITRON 3.0 specifications. Specific
- * assignment is as follows.
- *
- * "X" = 1 ITRON1 specification
- * = 2 ITRON2 or uITRON 2.0 specification
- * = 3 uITRON 3.0 specification
- *
- * "YY" is a number used to distinguish versions according to changes and
- * additions made to the specification. After the specification is published,
- * this number is incremented in order "YY" = 00, 01, 02... according to
- * version upgrades. The first digit of "YY" is 'A', 'B' or 'C' for draft
- * standard versions and test versions within the TRON Association before the
- * specification have been published.
- *
- * The "X.YY" part of the specification version numbers is returned by spver
- * to get_ver system call. The corresponding hexadecimal value is used when
- * "YY" includes 'A', 'B' or 'C'.
- *
- * "ZZ" represents a number used to distinguish versions related to the written
- * style of a specification. This number is incremented in order
- * "ZZ" = 00, 01, 02... when there have been changes in specification
- * configuration, reordering of chapters or corrections of misprints.
- * When a further distinction of the written style of specifications is
- * desired, ".WW" may be added optionally after "ZZ". WW will be assumed
- * to be zero if ".WW" is omitted.
- */
-
-/*
- * Reference System (ref_sys) Structure
- */
-
-typedef struct t_rsys {
- INT sysstat; /* system state */
- /* additional information may be included depending on the implementation */
-} T_RSYS;
-
-/*
- * sysstat
- */
-
-#define TSS_TSK 0 /* normal state in which dispatching is enabled during
- task portion execution */
-#define TSS_DDSP 1 /* state after dis_dsp has been executed during task
- portion execution (dispatch disabled) */
-#define TSS_LOC 3 /* state after loc_cpu has been executed during task
- portion execution (interrupt and dispatch disabled)
- */
-#define TSS_INDP 4 /* state during execution of task-independent portions
- (interrupt and timer handlers) */
-
-/*
- * Reference Configuration (ref_cfg) Structure
- */
-
-typedef struct t_rcfg {
- /* details concerning members are implementation dependent */
-} T_RCFG;
-
-/*
- * Define Service (def_svc) Structure
- */
-
-typedef struct t_dsvc {
- ATR svcatr; /* extended SVC handler attributes */
- FP svchdr; /* extended SVC handler address */
- /* additional information may be included depending on the implementation */
-} T_DSVC;
-
-/*
- * Define Exception (def_exc) Structure
- */
-
-typedef struct t_dexc {
- ATR excatr; /* exception handler attributes */
- FP exchdr; /* exception handler address */
- /* additional information may be included depending on the implementation */
-} T_DEXC;
-
-/*
- * System Management Functions
- */
-
-/*
- * get_ver - Get Version Information
- */
-
-ER get_ver(
- T_VER *pk_ver
-);
-
-/*
- * ref_sys - Reference Semaphore Status
- */
-
-ER ref_sys(
- T_RSYS *pk_rsys
-);
-
-/*
- * ref_cfg - Reference Configuration Information
- */
-
-ER ref_cfg(
- T_RCFG *pk_rcfg
-);
-
-/*
- * def_svc - Define Extended SVC Handler
- */
-
-ER def_svc(
- FN s_fncd,
- T_DSVC *pk_dsvc
-);
-
-/*
- * def_exc - Define Exception Handler
- */
-
-ER def_exc(
- UINT exckind,
- T_DEXC *pk_dexc
-);
-
-
-
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
-/* end of include file */
diff --git a/cpukit/itron/include/itronsys/task.h b/cpukit/itron/include/itronsys/task.h
deleted file mode 100644
index a137f94758..0000000000
--- a/cpukit/itron/include/itronsys/task.h
+++ /dev/null
@@ -1,301 +0,0 @@
-/**
- * @file itronsys/task.h
- */
-
-/*
- * COPYRIGHT (c) 1989-1999.
- * 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 _ITRONSYS_TASK_H
-#define _ITRONSYS_TASK_H
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/*
- * Create Task (cre_tsk) Structure
- */
-
-typedef struct t_ctsk {
- VP exinf; /* extended information */
- ATR tskatr; /* task attributes */
- FP task; /* task start address */
- PRI itskpri; /* initial task priority */
- INT stksz; /* stack size */
- /* additional information may be included depending on the implementation */
-} T_CTSK;
-
-/*
- * Values for the tskatr field
- */
-
-#define TA_ASM 0x00 /* program written in assembly language */
-#define TA_HLNG 0x01 /* program written in high-level language */
-#define TA_COP0 0x8000 /* uses coprocessor having ID = 0 */
-#define TA_COP1 0x4000 /* uses coprocessor having ID = 1 */
-#define TA_COP2 0x2000 /* uses coprocessor having ID = 2 */
-#define TA_COP3 0x1000 /* uses coprocessor having ID = 3 */
-#define TA_COP4 0x0800 /* uses coprocessor having ID = 4 */
-#define TA_COP5 0x0400 /* uses coprocessor having ID = 5 */
-#define TA_COP6 0x0200 /* uses coprocessor having ID = 6 */
-#define TA_COP7 0x0100 /* uses coprocessor having ID = 7 */
-
-/*
- * Values for the tskid field
- */
-
-#define TSK_SELF 0 /* task specifies itself */
-
-/* XXX is this a mistake in ITRON? FALSE was here and in the types list */
-#if 0
-
-#define FALSE 0 /* indicates a task-independent portion (return */
- /* parameters only) */
-#endif
-
-/*
- * Values for the tskpri field
- */
-
-#define TPRI_INI 0 /* specifies the initial priority on */
- /* task startup (chg_pri) */
-#define TPRI_RUN 0 /* specifies the highest priority during */
- /* execution (rot_rdq) */
-
-
-/*
- * Reference Task (ref_tsk) Structure
- */
-
-typedef struct t_rtsk {
- VP exinf; /* extended information */
- PRI tskpri; /* current priority */
- UINT tskstat; /* task state */
- /*
- * The following are represent extended features of support
- * [level X] (implementation-dependent).
- */
- UINT tskwait; /* cause of wait */
- ID wid; /* ID of object being waited for */
- INT wupcnt; /* wakeup request count */
- INT suscnt; /* SUSPEND request count */
- ATR tskatr; /* task attributes */
- FP task; /* task start address */
- PRI itskpri; /* initial task priority */
- INT stksz; /* stack size */
-} T_RTSK;
-
-/*
- * Values for the tskstat field
- */
-
-
-#define TTS_RUN 0x01 /* RUN */
-#define TTS_RDY 0x02 /* READY */
-#define TTS_WAI 0x04 /* WAIT */
-#define TTS_SUS 0x08 /* SUSPEND */
-#define TTS_WAS 0x0C /* WAIT-SUSPEND */
-#define TTS_DMT 0x10 /* DORMANT */
-
-/*
- * Values for the tskwait field
- */
-
-#define TTW_SLP 0x0001 /* wait due to slp_tsk or tslp_tsk */
-#define TTW_DLY 0x0002 /* wait due to dly_tsk */
-#define TTW_NOD 0x0008 /* connection function response wait */
-#define TTW_FLG 0x0010 /* wait due to wai_flg or twai_flg */
-#define TTW_SEM 0x0020 /* wait due to wai_sem or twai_sem */
-#define TTW_MBX 0x0040 /* wait due to rcv_msg or trcv_msg */
-#define TTW_SMBF 0x0080 /* wait due to snd_mbf or tsnd_mbf */
-#define TTW_MBF 0x0100 /* wait due to rcv_mbf or trcv_mbf */
-#define TTW_CAL 0x0200 /* wait for rendezvous call */
-#define TTW_ACP 0x0400 /* wait for rendezvous accept */
-#define TTW_RDV 0x0800 /* wait for rendezvous completion */
-#define TTW_MPL 0x1000 /* wait due to get_blk or tget_blk */
-#define TTW_MPF 0x2000 /* wait due to get_blf or tget_blf */
-
-/*
- * Since the task states given by tskstat and tskwait are expressed
- * by bit correspondences, they are convenient when looking for OR
- * conditions (such as whether a task is in WAIT or READY state).
- */
-
-/*
- * Task Management Functions
- */
-
-/*
- * cre_tsk - Create Task
- */
-
-ER cre_tsk(
- ID tskid,
- T_CTSK *pk_ctsk
-);
-
-/*
- * del_tsk - Delete Task
- */
-
-ER del_tsk(
- ID tskid
-);
-
-/*
- * sta_tsk - Start Task
- */
-
-ER sta_tsk(
- ID tskid,
- INT stacd
-);
-
-/*
- * ext_tsk - Exit Issuing Task
- */
-
-void ext_tsk( void );
-
-/*
- * exd_tsk - Exit and Delete Task
- */
-
-void exd_tsk( void );
-
-/*
- * ter_tsk - Terminate Other Task
- */
-
-ER ter_tsk(
- ID tskid
-);
-
-/*
- * dis_dsp - Disable Dispatch
- */
-
-ER dis_dsp( void );
-
-/*
- * ena_dsp - Enable Dispatch
- */
-
-ER ena_dsp( void );
-
-/*
- * chg_pri - Change Task Priority
- */
-
-ER chg_pri(
- ID tskid,
- PRI tskpri
-);
-
-/*
- * rot_rdq - Rotate Tasks on the Ready Queue
- */
-
-ER rot_rdq(
- PRI tskpri
-);
-
-/*
- * rel_wai - Release Wait of Other Task
- */
-
-ER rel_wai(
- ID tskid
-);
-
-/*
- * get_tid - Get Task Identifier
- */
-
-ER get_tid(
- ID *p_tskid
-);
-
-/*
- * ref_tsk - Reference Task Status
- */
-
-ER ref_tsk(
- T_RTSK *pk_rtsk,
- ID tskid
-);
-
-
-/*
- * Task-Dependent Synchronization Functions
- */
-
-/*
- * sus_tsk - Suspend Other Task
- */
-
-ER sus_tsk(
- ID tskid
-);
-
-/*
- * rsm_tsk - Resume Suspended Task
- */
-
-ER rsm_tsk(
- ID tskid
-);
-
-/*
- * frsm_tsk - Forcibly Resume Suspended Task
- */
-
-ER frsm_tsk(
- ID tskid
-);
-
-/*
- * slp_tsk - Sleep Task Sleep Task with Timeout
- */
-
-ER slp_tsk( void );
-
-/*
- * tslp_tsk - Sleep Task with Timeout
- */
-
-ER tslp_tsk(
- TMO tmout
-);
-
-/*
- * wup_tsk - Wakeup Other Task
- */
-
-ER wup_tsk(
- ID tskid
-);
-
-/*
- * can_wup - Cancel Wakeup Request
- */
-
-ER can_wup(
- INT *p_wupcnt,
- ID tskid
-);
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
-/* end of include file */
diff --git a/cpukit/itron/include/itronsys/time.h b/cpukit/itron/include/itronsys/time.h
deleted file mode 100644
index 938e8d9f21..0000000000
--- a/cpukit/itron/include/itronsys/time.h
+++ /dev/null
@@ -1,188 +0,0 @@
-/**
- * @file itronsys/time.h
- */
-
-/*
- * COPYRIGHT (c) 1989-1999.
- * 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 _ITRONSYS_TIME_H
-#define _ITRONSYS_TIME_H
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/*
- * System Time Data Type
- *
- * Member configuration depends on the bit width of the processor and
- * on the implementation. A total of 48 bits is recommended.
- *
- */
-
-typedef struct t_systime {
- H utime; /* upper 16 bits */
- UW ltime; /* lower 32 bits */
-} SYSTIME, CYCTIME, ALMTIME;
-
-/*
- * XXX Look this up in the spec and figure out where it comes
- * XXX from. dly_tim() references it but it was left out
- * XXX of the initial cut at the header files.
- */
-
-typedef int DLYTIME;
-
-/*
- * XXX (def_cyc) Structure
- */
-
-typedef struct t_dcyc {
- VP exinf; /* extended information */
- ATR cycatr; /* cyclic handler attributes */
- FP cychdr; /* cyclic handler address */
- UINT cycact; /* cyclic handler activation */
- CYCTIME cyctim; /* cyclic startup period */
-} T_DCYC;
-
-/*
- * cycact
- */
-
-#define TCY_OFF 0x00 /* do not invoke cyclic handler */
-#define TCY_ON 0x01 /* invoke cyclic handler */
-#define TCY_INT 0x02 /* initialize cycle count */
-
-/*
- * Reference Cyclic Handler (ref_cyc) Structure
- */
-
-typedef struct t_rcyc {
- VP exinf; /* extended information */
- CYCTIME lfttim; /* time left before next handler startup */
- UINT cycact; /* cyclic handler activation */
- /* additional information may be included depending on the implementation */
-} T_RCYC;
-
-/*
- * Define Alarm (def_alm) Structure
- */
-
-typedef struct t_dalm {
- VP exinf; /* extended information */
- ATR almatr; /* alarm handler attributes */
- FP almhdr; /* alarm handler address */
- UINT tmmode; /* start time specification mode */
- ALMTIME almtim; /* handler startup time */
-} T_DALM;
-
-/*
- * tmmode
- */
-
-#define TTM_ABS 0x00 /* specified as an absolute time */
-#define TTM_REL 0x01 /* specified as a relative time */
-
-/*
- * Reference Alarm (ref_alm) Structure
- */
-
-typedef struct t_ralm {
- VP exinf; /* extended information */
- ALMTIME lfttim; /* time left before next handler startup */
- /* additional information may be included depending on the implementation */
-} T_RALM;
-
-/*
- * Time Management Functions
- */
-
-/*
- * set_tim - Set System Clock
- */
-
-ER set_tim(
- SYSTIME *pk_tim
-);
-
-/*
- * get_tim - Get System Clock
- */
-
-ER get_tim(
- SYSTIME *pk_tim
-);
-
-/*
- * dly_tsk - Delay Task
- */
-
-ER dly_tsk(
- DLYTIME dlytim
-);
-
-/*
- * def_cyc - Define Cyclic Handler
- */
-
-ER def_cyc(
- HNO cycno,
- T_DCYC *pk_dcyc
-);
-
-/*
- * act_cyc - Activate Cyclic Handler
- */
-
-ER act_cyc(
- HNO cycno,
- UINT cycact
-);
-
-/*
- * ref_cyc - Reference Cyclic Handler Status
- */
-
-ER ref_cyc(
- T_RCYC *pk_rcyc,
- HNO cycno
-);
-
-/*
- * def_alm - Define Alarm Handler
- */
-
-ER def_alm(
- HNO almno,
- T_DALM *pk_dalm
-);
-
-/*
- * ref_alm - Reference Alarm Handler Status
- */
-
-ER ref_alm(
- T_RALM *pk_ralm,
- HNO almno
-);
-
-/*
- * ret_tmr - Return from Timer Handler
- */
-
-void ret_tmr( void );
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
-/* end of include file */
diff --git a/cpukit/itron/include/itronsys/types.h b/cpukit/itron/include/itronsys/types.h
deleted file mode 100644
index 365b576a74..0000000000
--- a/cpukit/itron/include/itronsys/types.h
+++ /dev/null
@@ -1,126 +0,0 @@
-/**
- * @file itronsys/types.h
- */
-
-/*
- * COPYRIGHT (c) 1989-1999.
- * 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 _ITRONSYS_TYPES_H
-#define _ITRONSYS_TYPES_H
-
-#include <rtems/score/object.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* XXX some of these may need to be moved */
-/*
- * XXX: These names are too short and conflict with numerous
- * off the shell programs including paranoia.
- */
-
-typedef int8_t B; /* signed 8-bit integer */
-typedef int16_t H; /* signed 16-bit integer */
-typedef int32_t W; /* signed 32-bit integer */
-typedef uint8_t UB; /* unsigned 8-bit integer */
-typedef uint16_t UH; /* unsigned 16-bit integer */
-typedef uint32_t UW; /* unsigned 32-bit integer */
-
-typedef uint32_t VW; /* unpredictable data type (32-bit size) */
-typedef uint16_t VH; /* unpredictable data type (16-bit size) */
-typedef uint8_t VB; /* unpredictable data type (8-bit size) */
-
-typedef void *VP; /* pointer to an unpredictable data type */
-
-typedef void (*FP)(void); /* program start address */
-
-/*
- * 6.4 Data Types
- *
- * The difference between VB, VH and VW and B, H and W is that only the
- * number of bits is known for the former, not the data type of the
- * contents. The latter clearly represent integers.
- */
-
-/*
- * Data Types Dependent on ITRON Specification
- *
- * In order to clarify the meanings of certain parameters, the
- * following names are used for data types which appear frequently
- * and/or have special meanings.
- */
-
-typedef int32_t INT; /* Signed integer (bit width of processor) */
-typedef uint32_t UINT; /* Unsigned integer (bit width of processor) */
-typedef bool BOOL; /* Boolean value. TRUE (1) or FALSE (0). */
-typedef int16_t FN; /* Function code. Signed integer. Maximum 2 bytes. */
-typedef int ID; /* Object ID number (???id) */
- /* Value range depends on the system. Usually */
- /* a signed integer. Certain ID values may */
- /* represent objects on other nodes when the */
- /* connection function is supported. */
-
-typedef int BOOL_ID;/* Boolean value or ID number */
-
-typedef int HNO; /* Handler number */
-typedef int RNO; /* Rendezvous number */
-typedef int NODE; /* Node Number. Usually a signed integer. */
-typedef int ATR; /* Object or handler attribute. */
- /* An unsigned integer. */
-typedef int ER; /* Error code. A signed integer. */
-typedef unsigned int PRI; /* Task priority. A signed integer. */
-typedef int32_t TMO; /* Timeout value. A signed integer. */
- /* TMO_POL = 0 indicates polling, */
- /* while TMO_FEVR = -1 indicates wait forever. */
-
-/*
- * 6.6 Common Constants and Data Structure Packet Formats
- */
-
-#define NADR (-1) /* invalid address or pointer value */
-
-#ifndef TRUE
-#define TRUE 1 /* true */
-#endif
-
-#ifndef FALSE
-#define FALSE 0 /* false */
-#endif
-
-/*
- * ATR tskatr, intatr, cycatr, almatr, svcatr, excatr:
- *
- * TA_ASM indicates that the task or handler is directly started
- * at the assembly language level. The TA_ASM attribute has the
- * opposite meaning of TA_HLNG.
- *
- * NOTE: Really in <itronsys/task.h>
- */
-
-#if 0
-#define TA_ASM 0x00 /* program written in assembly language */
-#define TA_HLNG 0x01 /* program written in high-level language */
-#endif
-
-/*
- * TMO tmout:
- */
-
-#define TMO_POL 0 /* polling */
-#define TMO_FEVR (-1) /* wait forever */
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
-/* end of include file */
diff --git a/cpukit/itron/include/itronsys/vmempool.h b/cpukit/itron/include/itronsys/vmempool.h
deleted file mode 100644
index 0f6363a29d..0000000000
--- a/cpukit/itron/include/itronsys/vmempool.h
+++ /dev/null
@@ -1,135 +0,0 @@
-/**
- * @file itronsys/vmempool.h
- */
-
-/*
- * COPYRIGHT (c) 1989-1999.
- * 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 _ITRONSYS_VMEMPOOL_H
-#define _ITRONSYS_VMEMPOOL_H
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/*
- * Create Variable Memory Pool (cre_mpl) Structure
- */
-
-typedef struct t_cmpl {
- VP exinf; /* extended information */
- ATR mplatr; /* memorypool attributes */
- INT mplsz; /* memorypool size */
- /* additional information may be included depending on the implementation */
-} T_CMPL;
-
-/*
- * mplatr
- */
-
-#define TA_TFIFO 0x00 /* waiting tasks are handled by FIFO */
-#define TA_TPRI 0x01 /* waiting tasks are handled by priority */
-
-/*
- * mplid
- */
-
-#define TMPL_OS (-4) /* memorypool used by OS */
-
-/*
- * Reference Variable Memory Pool (ref_mpl) Structure
- */
-
-typedef struct t_rmpl {
- VP exinf; /* extended information */
- BOOL_ID wtsk; /* indicates whether or not there are waiting tasks */
- INT frsz; /* total size of free memory */
- INT maxsz; /* size of largest contiguous memory */
- /* additional information may be included depending on the implementation */
-} T_RMPL;
-
-/*
- * Variable Memory Pool Functions
- */
-
-/*
- * cre_mpl - Create Variable-Size Memorypool
- */
-
-ER cre_mpl(
- ID mplid,
- T_CMPL *pk_cmpl
-);
-
-/*
- * del_mpl - Delete Variable-Size Memorypool
- */
-
-ER del_mpl(
- ID mplid
-);
-
-/*
- * get_blk - Get Variable-Size Memory Block
- */
-
-ER get_blk(
- VP *p_blk,
- ID mplid,
- INT blksz
-);
-
-/*
- * pget_blk - Poll and Get Variable-Size Memory Block
- */
-
-ER pget_blk(
- VP *p_blk,
- ID mplid,
- INT blksz
-);
-
-/*
- * tget_blk - Get Variable-Size Memory Block with Timeout
- */
-
-ER tget_blk(
- VP *p_blk,
- ID mplid,
- INT blksz,
- TMO tmout
-);
-
-/*
- * rel_blk - Release Variable-Size Memory Block
- */
-
-ER rel_blk(
- ID mplid,
- VP blk
-);
-
-/*
- * ref_mpl - Reference Variable-Size Memorypool Status
- */
-
-ER ref_mpl(
- T_RMPL *pk_rmpl,
- ID mplid
-);
-
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
-/* end of include file */
diff --git a/cpukit/itron/include/rtems/itron/README b/cpukit/itron/include/rtems/itron/README
deleted file mode 100644
index 9ac3bf3417..0000000000
--- a/cpukit/itron/include/rtems/itron/README
+++ /dev/null
@@ -1,10 +0,0 @@
-#
-# $Id$
-#
-
-This directory contains the private interface of each manager.
-These files should only be included from the from the
-implementation of each manager.
-
-The public header file for each ITRON manager is in
-../../../tronsys. \ No newline at end of file
diff --git a/cpukit/itron/include/rtems/itron/config.h b/cpukit/itron/include/rtems/itron/config.h
deleted file mode 100644
index 76dec2ef6f..0000000000
--- a/cpukit/itron/include/rtems/itron/config.h
+++ /dev/null
@@ -1,74 +0,0 @@
-/**
- * @file rtems/itron/config.h
- */
-
-/* config.h
- *
- * This include file contains the table of user defined configuration
- * parameters specific for the ITRON API.
- *
- * 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_CONFIG_H
-#define _RTEMS_ITRON_CONFIG_H
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/*
- * XXX
- *
- * The following records define the Configuration Table. The
- * information contained in this table is required in all
- * RTEMS systems, whether single or multiprocessor. This
- * table primarily defines the following:
- *
- * + required number of each object type
- */
-
-/*
- * For now, we are only allowing the user to specify the entry point
- * and stack size for ITRON initialization threads.
- */
-
-typedef struct {
- ID id;
- T_CTSK attributes;
-} itron_initialization_tasks_table;
-
-typedef struct {
- int maximum_tasks;
- int maximum_semaphores;
- int maximum_eventflags;
- int maximum_mailboxes;
- int maximum_message_buffers;
- int maximum_ports;
- int maximum_memory_pools;
- int maximum_fixed_memory_pools;
- int number_of_initialization_tasks;
- itron_initialization_tasks_table *User_initialization_tasks_table;
-} itron_api_configuration_table;
-
-/**
- * @brief ITRON API Configuration Table
- *
- * This is the ITRON API Configuration Table expected to be generated
- * by confdefs.h.
- */
-extern itron_api_configuration_table Configuration_ITRON_API;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
-/* end of include file */
diff --git a/cpukit/itron/include/rtems/itron/eventflags.h b/cpukit/itron/include/rtems/itron/eventflags.h
deleted file mode 100644
index 38198e75b7..0000000000
--- a/cpukit/itron/include/rtems/itron/eventflags.h
+++ /dev/null
@@ -1,62 +0,0 @@
-/**
- * @file rtems/itron/eventflags.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_EVENTFLAGS_H
-#define _RTEMS_ITRON_EVENTFLAGS_H
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#include <rtems/itron/object.h>
-
-/*
- * The following defines the control block used to manage each event flag.
- */
-
-typedef struct {
- ITRON_Objects_Control Object;
- uint32_t XXX_more_stuff_goes_here;
-} ITRON_Eventflags_Control;
-
-/*
- * The following defines the information control block used to manage
- * this class of objects.
- */
-
-ITRON_EXTERN Objects_Information _ITRON_Eventflags_Information;
-
-/*
- * _ITRON_Eventflags_Manager_initialization
- *
- * DESCRIPTION:
- *
- * This routine performs the initialization necessary for this manager.
- */
-
-void _ITRON_Eventflags_Manager_initialization(void);
-
-/*
- * XXX insert private stuff here
- */
-
-#include <rtems/itron/eventflags.inl>
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
-/* end of include file */
diff --git a/cpukit/itron/include/rtems/itron/fmempool.h b/cpukit/itron/include/rtems/itron/fmempool.h
deleted file mode 100644
index 47c26de907..0000000000
--- a/cpukit/itron/include/rtems/itron/fmempool.h
+++ /dev/null
@@ -1,63 +0,0 @@
-/**
- * @file rtems/itron/fmempool.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_FMEMPOOL_H
-#define _RTEMS_ITRON_FMEMPOOL_H
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#include <rtems/itron/object.h>
-
-/*
- * The following defines the control block used to manage each
- * fixed memory pool.
- */
-
-typedef struct {
- ITRON_Objects_Control Object;
- uint32_t XXX_more_stuff_goes_here;
-} ITRON_Fixed_memory_pool_Control;
-
-/*
- * The following defines the information control block used to manage
- * this class of objects.
- */
-
-ITRON_EXTERN Objects_Information _ITRON_Fixed_memory_pool_Information;
-
-/*
- * _ITRON_Fixed_memory_pool_Manager_initialization
- *
- * DESCRIPTION:
- *
- * This routine performs the initialization necessary for this manager.
- */
-
-void _ITRON_Fixed_memory_pool_Manager_initialization(void);
-
-/*
- * XXX insert private stuff here
- */
-
-#include <rtems/itron/fmempool.inl>
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
-/* end of include file */
diff --git a/cpukit/itron/include/rtems/itron/intr.h b/cpukit/itron/include/rtems/itron/intr.h
deleted file mode 100644
index 647c247555..0000000000
--- a/cpukit/itron/include/rtems/itron/intr.h
+++ /dev/null
@@ -1,34 +0,0 @@
-/**
- * @file rtems/itron/intr.h
- */
-
-/*
- * COPYRIGHT (c) 1989-1999.
- * 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_INTR_H
-#define _RTEMS_ITRON_INTR_H
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/*
- * XXX insert private stuff here
- */
-
-#include <rtems/itron/intr.inl>
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
-/* end of include file */
diff --git a/cpukit/itron/include/rtems/itron/itronapi.h b/cpukit/itron/include/rtems/itron/itronapi.h
deleted file mode 100644
index e9b1266eef..0000000000
--- a/cpukit/itron/include/rtems/itron/itronapi.h
+++ /dev/null
@@ -1,37 +0,0 @@
-/**
- * @file rtems/itron/itronapi.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_ITRONAPI_H
-#define _RTEMS_ITRON_ITRONAPI_H
-
-#include <rtems/config.h>
-
-/**
- * @brief Initialize ITRON API
- *
- * This method is used to initialize the ITRON API.
- */
-void _ITRON_API_Initialize(void);
-
-/**
- * @brief ITRON API Cofniguration Table
- *
- * This is the ITRON API Configuration Table expected to be generated
- * by confdefs.h.
- */
-extern itron_api_configuration_table Configuration_ITRON_API;
-
-#endif
-/* end of include file */
diff --git a/cpukit/itron/include/rtems/itron/mbox.h b/cpukit/itron/include/rtems/itron/mbox.h
deleted file mode 100644
index 0d0ac6c2c9..0000000000
--- a/cpukit/itron/include/rtems/itron/mbox.h
+++ /dev/null
@@ -1,74 +0,0 @@
-/**
- * @file rtems/itron/mbox.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_MBOX_H
-#define _RTEMS_ITRON_MBOX_H
-
-#include <rtems/itron/object.h>
-#include <rtems/score/coremsg.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/*
- * The following defines the control block used to manage each mailbox.
- */
-
-typedef struct {
- ITRON_Objects_Control Object;
- uint32_t count;
- bool do_message_priority;
- CORE_message_queue_Control message_queue;
-} ITRON_Mailbox_Control;
-
-/*
- * The following defines the information control block used to manage
- * this class of objects.
- */
-
-ITRON_EXTERN Objects_Information _ITRON_Mailbox_Information;
-
-/*
- * _ITRON_Mailbox_Manager_initialization
- *
- * DESCRIPTION:
- *
- * This routine performs the initialization necessary for this manager.
- */
-
-void _ITRON_Mailbox_Manager_initialization(void);
-
-/*
- * _ITRON_Mailbox_Translate_core_message_queue_return_code
- *
- * DESCRIPTION:
- *
- * This routine translates a core message queue object status
- * into the appropriate ITRON status code.
- */
-
-ER _ITRON_Mailbox_Translate_core_message_queue_return_code(
- CORE_message_queue_Status status
-);
-
-#include <rtems/itron/mbox.inl>
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
-/* end of include file */
diff --git a/cpukit/itron/include/rtems/itron/msgbuffer.h b/cpukit/itron/include/rtems/itron/msgbuffer.h
deleted file mode 100644
index 9ff016d4f2..0000000000
--- a/cpukit/itron/include/rtems/itron/msgbuffer.h
+++ /dev/null
@@ -1,74 +0,0 @@
-/**
- * @file rtems/itron/msgbuffer.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_MSGBUFFER_H
-#define _RTEMS_ITRON_MSGBUFFER_H
-
-#include <rtems/itron/object.h>
-#include <rtems/score/coremsg.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/*
- * The following defines the control block used to manage each
- * message buffer.
- */
-
-typedef struct {
- ITRON_Objects_Control Object;
- bool is_priority_blocking;
- CORE_message_queue_Control message_queue;
-} ITRON_Message_buffer_Control;
-
-/*
- * The following defines the information control block used to manage
- * this class of objects.
- */
-
-ITRON_EXTERN Objects_Information _ITRON_Message_buffer_Information;
-
-/*
- * _ITRON_Message_buffer_Manager_initialization
- *
- * DESCRIPTION:
- *
- * This routine performs the initialization necessary for this manager.
- */
-
-void _ITRON_Message_buffer_Manager_initialization(void);
-
-/*
- * _ITRON_Message_buffer_Translate_core_message_buffer_return_code
- *
- * DESCRIPTION:
- *
- * This routine translates a core message buffer object status
- * into the appropriate ITRON status code.
- */
-
-ER _ITRON_Message_buffer_Translate_core_message_buffer_return_code(
- CORE_message_queue_Status status
-);
-
-#include <rtems/itron/msgbuffer.inl>
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
-/* end of include file */
diff --git a/cpukit/itron/include/rtems/itron/network.h b/cpukit/itron/include/rtems/itron/network.h
deleted file mode 100644
index a05d42b37f..0000000000
--- a/cpukit/itron/include/rtems/itron/network.h
+++ /dev/null
@@ -1,34 +0,0 @@
-/**
- * @file rtems/itron/network.h
- */
-
-/*
- * COPYRIGHT (c) 1989-1999.
- * 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_NETWORK_H
-#define _RTEMS_ITRON_NETWORK_H
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/*
- * XXX insert private stuff here
- */
-
-#include <rtems/itron/network.inl>
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
-/* end of include file */
diff --git a/cpukit/itron/include/rtems/itron/object.h b/cpukit/itron/include/rtems/itron/object.h
deleted file mode 100644
index 2f97002396..0000000000
--- a/cpukit/itron/include/rtems/itron/object.h
+++ /dev/null
@@ -1,123 +0,0 @@
-/**
- * @file rtems/itron/object.h
- */
-
-/*
- * COPYRIGHT (c) 1989-1999.
- * 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_OBJECT_H
-#define _RTEMS_ITRON_OBJECT_H
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#include <rtems/score/object.h>
-
-typedef Objects_Control ITRON_Objects_Control;
-
-/*
- * Maximum length of an ITRON object name
- *
- * NOTE: Since ITRON objects do not have names, then then length is 0.
- */
-
-#define ITRON_MAXIMUM_NAME_LENGTH 0
-
-/*
- * _ITRON_Objects_Open
- *
- * Make this ITRON object visible to the system.
- *
- * NOTE: This macro hides the fact that ITRON objects don't have names.
- */
-
-#define _ITRON_Objects_Open( _the_information, _the_object ) \
- _Objects_Open_u32( (_the_information), (_the_object), 0 )
-
-/*
- * _ITRON_Objects_Close
- *
- * Make this ITRON object invisible from the system. Usually used as
- * the first step of deleting an object.
- */
-
-#define _ITRON_Objects_Close( _the_information, _the_object ) \
- _Objects_Close( (_the_information), (_the_object) )
-
-/*
- * _ITRON_Objects_Allocate_by_index
- *
- * Allocate the ITRON object specified by "_id". The ITRON id is the
- * index portion of the traditional RTEMS ID. The Classic and POSIX
- * APIs do not require that a specific object be allocated.
- */
-
-#define _ITRON_Objects_Allocate_by_index( _the_information, _id, _sizeof ) \
- _Objects_Allocate_by_index( (_the_information), (_id), (_sizeof) )
-
-/*
- * _ITRON_Objects_Clarify_allocation_id_error
- *
- * This function is invoked when an object allocation ID error
- * occurs to determine the specific ITRON error code to return.
- */
-
-#define _ITRON_Objects_Clarify_allocation_id_error( _the_information, _id ) \
- (((_id) < -4) ? E_OACV : /* attempt to access a "system object" */ \
- ((_id) <= 0) ? E_ID : /* bogus index of 0 - -3 */ \
- ((_id) <= (_the_information)->maximum) ? E_OBJ : /* object is in use */ \
- E_ID) /* simply a bad id */
-
-/*
- * _ITRON_Objects_Clarify_get_id_error
- *
- * This function is invoked when an object get ID error
- * occurs to determine the specific ITRON error code to return.
- */
-
-#define _ITRON_Objects_Clarify_get_id_error( _the_information, _id ) \
- (((_id) < -4) ? E_OACV : /* attempt to access a "system object" */ \
- ((_id) <= 0) ? E_ID : /* bogus index of 0 - -3 */ \
- ((_id) <= (_the_information)->maximum) ? E_NOEXS : /* does not exist */ \
- E_ID) /* simply a bad id */
-
-
-/*
- * _ITRON_Objects_Free
- *
- * Free this ITRON object to the pool of inactive objects. This
- * operation is the same as for the Classic and POSIX APIs.
- */
-
-#define _ITRON_Objects_Free( _the_information, _the_object ) \
- _Objects_Free( (_the_information), (_the_object) )
-
-
-/*
- * _ITRON_Objects_Get
- *
- * Obtain (get) the pointer to the control block for the object
- * specified by "id". The ITRON id passed in here is simply
- * the "index" portion of the traditional RTEMS ID. This
- * requires that this operation be slightly different
- * from the object get used by the Classic and POSIX APIs.
- */
-
-#define _ITRON_Objects_Get( _the_information, _id, _the_object ) \
- _Objects_Get_by_index( (_the_information), (_id), (_the_object) )
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
-/* end of include file */
diff --git a/cpukit/itron/include/rtems/itron/port.h b/cpukit/itron/include/rtems/itron/port.h
deleted file mode 100644
index 5cde8aec6e..0000000000
--- a/cpukit/itron/include/rtems/itron/port.h
+++ /dev/null
@@ -1,62 +0,0 @@
-/**
- * @file rtems/itron/port.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_PORT_H
-#define _RTEMS_ITRON_PORT_H
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#include <rtems/itron/object.h>
-
-/*
- * The following defines the control block used to manage each port.
- */
-
-typedef struct {
- ITRON_Objects_Control Object;
- uint32_t XXX_more_stuff_goes_here;
-} ITRON_Port_Control;
-
-/*
- * The following defines the information control block used to manage
- * this class of objects.
- */
-
-ITRON_EXTERN Objects_Information _ITRON_Port_Information;
-
-/*
- * _ITRON_Port_Manager_initialization
- *
- * DESCRIPTION:
- *
- * This routine performs the initialization necessary for this manager.
- */
-
-void _ITRON_Port_Manager_initialization(void);
-
-/*
- * XXX insert private stuff here
- */
-
-#include <rtems/itron/port.inl>
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
-/* end of include file */
diff --git a/cpukit/itron/include/rtems/itron/semaphore.h b/cpukit/itron/include/rtems/itron/semaphore.h
deleted file mode 100644
index 739fa3fc85..0000000000
--- a/cpukit/itron/include/rtems/itron/semaphore.h
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
- * @file rtems/itron/semaphore.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_SEMAPHORE_H
-#define _RTEMS_ITRON_SEMAPHORE_H
-
-#include <rtems/itron/object.h>
-#include <rtems/score/coresem.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/*
- * The following defines the control block used to manage each semaphore.
- */
-
-typedef struct {
- ITRON_Objects_Control Object;
- bool is_priority_blocking;
- CORE_semaphore_Control semaphore;
-} ITRON_Semaphore_Control;
-
-/*
- * The following defines the information control block used to manage
- * this class of objects.
- */
-
-ITRON_EXTERN Objects_Information _ITRON_Semaphore_Information;
-
-/*
- * _ITRON_Semaphore_Manager_initialization
- *
- * DESCRIPTION:
- *
- * This routine performs the initialization necessary for this manager.
- */
-
-void _ITRON_Semaphore_Manager_initialization(void);
-
-#include <rtems/itron/semaphore.inl>
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
-/* end of include file */
diff --git a/cpukit/itron/include/rtems/itron/sysmgmt.h b/cpukit/itron/include/rtems/itron/sysmgmt.h
deleted file mode 100644
index b78a35b600..0000000000
--- a/cpukit/itron/include/rtems/itron/sysmgmt.h
+++ /dev/null
@@ -1,34 +0,0 @@
-/**
- * @file rtems/itron/sysmgmt.h
- */
-
-/*
- * COPYRIGHT (c) 1989-1999.
- * 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_SYSMGMT_H
-#define _RTEMS_ITRON_SYSMGMT_H
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/*
- * XXX insert private stuff here
- */
-
-#include <rtems/itron/sysmgmt.inl>
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
-/* end of include file */
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 */
diff --git a/cpukit/itron/include/rtems/itron/time.h b/cpukit/itron/include/rtems/itron/time.h
deleted file mode 100644
index 913b3bce06..0000000000
--- a/cpukit/itron/include/rtems/itron/time.h
+++ /dev/null
@@ -1,34 +0,0 @@
-/**
- * @file rtems/itron/time.h
- */
-
-/*
- * COPYRIGHT (c) 1989-1999.
- * 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_TIME_H
-#define _RTEMS_ITRON_TIME_H
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/*
- * XXX insert private stuff here
- */
-
-#include <rtems/itron/time.inl>
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
-/* end of include file */
diff --git a/cpukit/itron/include/rtems/itron/vmempool.h b/cpukit/itron/include/rtems/itron/vmempool.h
deleted file mode 100644
index bb582b6b9d..0000000000
--- a/cpukit/itron/include/rtems/itron/vmempool.h
+++ /dev/null
@@ -1,63 +0,0 @@
-/**
- * @file rtems/itron/vmempool.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_VMEMPOOL_H
-#define _RTEMS_ITRON_VMEMPOOL_H
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#include <rtems/itron/object.h>
-
-/*
- * The following defines the control block used to manage each variable
- * memory pool.
- */
-
-typedef struct {
- ITRON_Objects_Control Object;
- uint32_t XXX_more_stuff_goes_here;
-} ITRON_Variable_memory_pool_Control;
-
-/*
- * The following defines the information control block used to manage
- * this class of objects.
- */
-
-ITRON_EXTERN Objects_Information _ITRON_Variable_memory_pool_Information;
-
-/*
- * _ITRON_Variable_memory_pool_Manager_initialization
- *
- * DESCRIPTION:
- *
- * This routine performs the initialization necessary for this manager.
- */
-
-void _ITRON_Variable_memory_pool_Manager_initialization(void);
-
-/*
- * XXX insert private stuff here
- */
-
-#include <rtems/itron/vmempool.inl>
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
-/* end of include file */
diff --git a/cpukit/itron/inline/rtems/itron/eventflags.inl b/cpukit/itron/inline/rtems/itron/eventflags.inl
deleted file mode 100644
index 1978c806b9..0000000000
--- a/cpukit/itron/inline/rtems/itron/eventflags.inl
+++ /dev/null
@@ -1,159 +0,0 @@
-/**
- * @file rtems/itron/eventflags.inl
- */
-
-/*
- * COPYRIGHT (c) 1989-1999.
- * 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_EVENTFLAGS_H
-# error "Never use <rtems/itron/eventflags.inl> directly; include <rtems/itron/eventflags.h> instead."
-#endif
-
-#ifndef _RTEMS_ITRON_EVENTFLAGS_INL
-#define _RTEMS_ITRON_EVENTFLAGS_INL
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/*
- * _ITRON_Eventflags_Allocate
- *
- * DESCRIPTION:
- *
- * This routine allocates the eventflags associated with the specified
- * eventflags ID from the pool of inactive eventflagss.
- *
- * Input parameters:
- * flgid - id of eventflags to allocate
- * status - pointer to status variable
- *
- * Output parameters:
- * returns - pointer to the eventflags control block
- * *status - status
- */
-
-RTEMS_INLINE_ROUTINE ITRON_Eventflags_Control *_ITRON_Eventflags_Allocate(
- ID flgid
-)
-{
- return (ITRON_Eventflags_Control *)_ITRON_Objects_Allocate_by_index(
- &_ITRON_Eventflags_Information,
- flgid,
- sizeof(ITRON_Eventflags_Control)
- );
-}
-
-/*
- * _ITRON_Eventflags_Clarify_allocation_id_error
- *
- * This function is invoked when an object allocation ID error
- * occurs to determine the specific ITRON error code to return.
- */
-
-#define _ITRON_Eventflags_Clarify_allocation_id_error( _id ) \
- _ITRON_Objects_Clarify_allocation_id_error( \
- &_ITRON_Eventflags_Information, (_id) )
-
-/*
- * _ITRON_Eventflags_Clarify_get_id_error
- *
- * This function is invoked when an object get ID error
- * occurs to determine the specific ITRON error code to return.
- */
-
-#define _ITRON_Eventflags_Clarify_get_id_error( _id ) \
- _ITRON_Objects_Clarify_get_id_error( &_ITRON_Eventflags_Information, (_id) )
-
-/*
- * _ITRON_Eventflags_Free
- *
- * DESCRIPTION:
- *
- * This routine frees a eventflags control block to the
- * inactive chain of free eventflags control blocks.
- *
- * Input parameters:
- * the_eventflags - pointer to eventflags control block
- *
- * Output parameters: NONE
- */
-
-RTEMS_INLINE_ROUTINE void _ITRON_Eventflags_Free (
- ITRON_Eventflags_Control *the_eventflags
-)
-{
- _ITRON_Objects_Free( &_ITRON_Eventflags_Information, &the_eventflags->Object );
-}
-
-/*PAGE
- *
- * _ITRON_Eventflags_Get
- *
- * DESCRIPTION:
- *
- * This function maps eventflags IDs to eventflags control blocks.
- * If ID corresponds to a local eventflags, then it returns
- * the_eventflags control pointer which maps to ID and location
- * is set to OBJECTS_LOCAL. if the eventflags ID is global and
- * resides on a remote node, then location is set to OBJECTS_REMOTE,
- * and the_eventflags is undefined. Otherwise, location is set
- * to OBJECTS_ERROR and the_eventflags is undefined.
- *
- * Input parameters:
- * id - ITRON eventflags ID.
- * the_location - pointer to a location variable
- *
- * Output parameters:
- * *the_location - location of the object
- */
-
-RTEMS_INLINE_ROUTINE ITRON_Eventflags_Control *_ITRON_Eventflags_Get (
- ID id,
- Objects_Locations *location
-)
-{
- return (ITRON_Eventflags_Control *)
- _ITRON_Objects_Get( &_ITRON_Eventflags_Information, id, location );
-}
-
-/*PAGE
- *
- * _ITRON_Eventflags_Is_null
- *
- * This function returns TRUE if the_eventflags is NULL and FALSE otherwise.
- *
- * Input parameters:
- * the_eventflags - pointer to eventflags control block
- *
- * Output parameters:
- * TRUE - if the_eventflags is NULL
- * FALSE - otherwise
- */
-
-RTEMS_INLINE_ROUTINE bool _ITRON_Eventflags_Is_null (
- ITRON_Eventflags_Control *the_eventflags
-)
-{
- return ( the_eventflags == NULL );
-}
-
-/*
- * XXX insert inline routines here
- */
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
-/* end of include file */
-
diff --git a/cpukit/itron/inline/rtems/itron/fmempool.inl b/cpukit/itron/inline/rtems/itron/fmempool.inl
deleted file mode 100644
index 5f30a399f7..0000000000
--- a/cpukit/itron/inline/rtems/itron/fmempool.inl
+++ /dev/null
@@ -1,166 +0,0 @@
-/**
- * @file rtems/itron/fmempool.inl
- */
-
-/*
- * COPYRIGHT (c) 1989-1999.
- * 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_FMEMPOOL_H
-# error "Never use <rtems/itron/fmempool.inl> directly; include <rtems/itron/fmempool.h> instead."
-#endif
-
-#ifndef _RTEMS_ITRON_FMEMPOOL_INL
-#define _RTEMS_ITRON_FMEMPOOL_INL
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/*
- * _ITRON_Fixed_memory_pool_Allocate
- *
- * DESCRIPTION:
- *
- * This routine allocates the fixed_memory_pool associated with the specified
- * fixed_memory_pool ID from the pool of inactive fixed_memory_pools.
- *
- * Input parameters:
- * mpfid - id of fixed_memory_pool to allocate
- * status - pointer to status variable
- *
- * Output parameters:
- * returns - pointer to the fixed_memory_pool control block
- * *status - status
- */
-
-RTEMS_INLINE_ROUTINE ITRON_Fixed_memory_pool_Control
- *_ITRON_Fixed_memory_pool_Allocate(
- ID mpfid
-)
-{
- return (ITRON_Fixed_memory_pool_Control *)_ITRON_Objects_Allocate_by_index(
- &_ITRON_Fixed_memory_pool_Information,
- mpfid,
- sizeof(ITRON_Fixed_memory_pool_Control)
- );
-}
-
-/*
- * _ITRON_Fixed_memory_pool_Clarify_allocation_id_error
- *
- * This function is invoked when an object allocation ID error
- * occurs to determine the specific ITRON error code to return.
- */
-
-#define _ITRON_Fixed_memory_pool_Clarify_allocation_id_error( _id ) \
- _ITRON_Objects_Clarify_allocation_id_error( \
- &_ITRON_Fixed_memory_pool_Information, (_id) )
-
-/*
- * _ITRON_Fixed_memory_pool_Clarify_get_id_error
- *
- * This function is invoked when an object get ID error
- * occurs to determine the specific ITRON error code to return.
- */
-
-#define _ITRON_Fixed_memory_pool_Clarify_get_id_error( _id ) \
- _ITRON_Objects_Clarify_get_id_error( \
- &_ITRON_Fixed_memory_pool_Information, (_id) )
-
-/*
- * _ITRON_Fixed_memory_pool_Free
- *
- * DESCRIPTION:
- *
- * This routine frees a fixed_memory_pool control block to the
- * inactive chain of free fixed_memory_pool control blocks.
- *
- * Input parameters:
- * the_fixed_memory_pool - pointer to fixed_memory_pool control block
- *
- * Output parameters: NONE
- */
-
-RTEMS_INLINE_ROUTINE void _ITRON_Fixed_memory_pool_Free (
- ITRON_Fixed_memory_pool_Control *the_fixed_memory_pool
-)
-{
- _ITRON_Objects_Free(
- &_ITRON_Fixed_memory_pool_Information,
- &the_fixed_memory_pool->Object
- );
-}
-
-/*PAGE
- *
- * _ITRON_Fixed_memory_pool_Get
- *
- * DESCRIPTION:
- *
- * This function maps fixed memory pool IDs to control blocks.
- * If ID corresponds to a local fixed memory pool, then it returns
- * the_fixed memory pool control pointer which maps to ID and location
- * is set to OBJECTS_LOCAL. if the fixed memory pool ID is global and
- * resides on a remote node, then location is set to OBJECTS_REMOTE,
- * and the fixed memory pool is undefined. Otherwise, location is set
- * to OBJECTS_ERROR and the fixed memory pool is undefined.
- *
- * Input parameters:
- * id - ITRON fixed memory pool ID.
- * the_location - pointer to a location variable
- *
- * Output parameters:
- * *the_location - location of the object
- */
-
-RTEMS_INLINE_ROUTINE ITRON_Fixed_memory_pool_Control
- *_ITRON_Fixed_memory_pool_Get (
- ID id,
- Objects_Locations *location
-)
-{
- return (ITRON_Fixed_memory_pool_Control *)
- _ITRON_Objects_Get( &_ITRON_Fixed_memory_pool_Information, id, location );
-}
-
-/*PAGE
- *
- * _ITRON_Fixed_memory_pool_Is_null
- *
- * This function returns TRUE if the_fixed_memory_pool is NULL
- * and FALSE otherwise.
- *
- * Input parameters:
- * the_fixed_memory_pool - pointer to fixed_memory_pool control block
- *
- * Output parameters:
- * TRUE - if the_fixed_memory_pool is NULL
- * FALSE - otherwise
- */
-
-RTEMS_INLINE_ROUTINE bool _ITRON_Fixed_memory_pool_Is_null (
- ITRON_Fixed_memory_pool_Control *the_fixed_memory_pool
-)
-{
- return ( the_fixed_memory_pool == NULL );
-}
-
-/*
- * XXX insert inline routines here
- */
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
-/* end of include file */
-
diff --git a/cpukit/itron/inline/rtems/itron/intr.inl b/cpukit/itron/inline/rtems/itron/intr.inl
deleted file mode 100644
index 27bd5771d3..0000000000
--- a/cpukit/itron/inline/rtems/itron/intr.inl
+++ /dev/null
@@ -1,38 +0,0 @@
-/**
- * @file rtems/itron/intr.inl
- */
-
-/*
- * COPYRIGHT (c) 1989-1999.
- * 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_INTR_H
-# error "Never use <rtems/itron/intr.inl> directly; include <rtems/itron/intr.h> instead."
-#endif
-
-#ifndef _RTEMS_ITRON_INTR_INL
-#define _RTEMS_ITRON_INTR_INL
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/*
- * XXX insert inline routines here
- */
-
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
-/* end of include file */
-
diff --git a/cpukit/itron/inline/rtems/itron/mbox.inl b/cpukit/itron/inline/rtems/itron/mbox.inl
deleted file mode 100644
index a021fe65b4..0000000000
--- a/cpukit/itron/inline/rtems/itron/mbox.inl
+++ /dev/null
@@ -1,159 +0,0 @@
-/**
- * @file rtems/itron/mbox.inl
- */
-
-/*
- * COPYRIGHT (c) 1989-1999.
- * 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_MBOX_H
-# error "Never use <rtems/itron/mbox.inl> directly; include <rtems/itron/mbox.h> instead."
-#endif
-
-#ifndef _RTEMS_ITRON_MBOX_INL
-#define _RTEMS_ITRON_MBOX_INL
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/*
- * _ITRON_Mailbox_Allocate
- *
- * DESCRIPTION:
- *
- * This routine allocates the mailbox associated with the specified
- * mailbox ID from the pool of inactive mailboxs.
- *
- * Input parameters:
- * mbxid - id of mailbox to allocate
- * status - pointer to status variable
- *
- * Output parameters:
- * returns - pointer to the mailbox control block
- * *status - status
- */
-
-RTEMS_INLINE_ROUTINE ITRON_Mailbox_Control *_ITRON_Mailbox_Allocate(
- ID mbxid
-)
-{
- return (ITRON_Mailbox_Control *)_ITRON_Objects_Allocate_by_index(
- &_ITRON_Mailbox_Information,
- mbxid,
- sizeof(ITRON_Mailbox_Control)
- );
-}
-
-/*
- * _ITRON_Mailbox_Clarify_allocation_id_error
- *
- * This function is invoked when an object allocation ID error
- * occurs to determine the specific ITRON error code to return.
- */
-
-#define _ITRON_Mailbox_Clarify_allocation_id_error( _id ) \
- _ITRON_Objects_Clarify_allocation_id_error( \
- &_ITRON_Mailbox_Information, (_id) )
-
-/*
- * _ITRON_Mailbox_Clarify_get_id_error
- *
- * This function is invoked when an object get ID error
- * occurs to determine the specific ITRON error code to return.
- */
-
-#define _ITRON_Mailbox_Clarify_get_id_error( _id ) \
- _ITRON_Objects_Clarify_get_id_error( &_ITRON_Mailbox_Information, (_id) )
-
-/*
- * _ITRON_Mailbox_Free
- *
- * DESCRIPTION:
- *
- * This routine frees a mailbox control block to the
- * inactive chain of free mailbox control blocks.
- *
- * Input parameters:
- * the_mailbox - pointer to mailbox control block
- *
- * Output parameters: NONE
- */
-
-RTEMS_INLINE_ROUTINE void _ITRON_Mailbox_Free (
- ITRON_Mailbox_Control *the_mailbox
-)
-{
- _ITRON_Objects_Free( &_ITRON_Mailbox_Information, &the_mailbox->Object );
-}
-
-/*PAGE
- *
- * _ITRON_Mailbox_Get
- *
- * DESCRIPTION:
- *
- * This function maps mailbox IDs to mailbox control blocks.
- * If ID corresponds to a local mailbox, then it returns
- * the_mailbox control pointer which maps to ID and location
- * is set to OBJECTS_LOCAL. if the mailbox ID is global and
- * resides on a remote node, then location is set to OBJECTS_REMOTE,
- * and the_mailbox is undefined. Otherwise, location is set
- * to OBJECTS_ERROR and the_mailbox is undefined.
- *
- * Input parameters:
- * id - ITRON mailbox ID.
- * the_location - pointer to a location variable
- *
- * Output parameters:
- * *the_location - location of the object
- */
-
-RTEMS_INLINE_ROUTINE ITRON_Mailbox_Control *_ITRON_Mailbox_Get (
- ID id,
- Objects_Locations *location
-)
-{
- return (ITRON_Mailbox_Control *)
- _ITRON_Objects_Get( &_ITRON_Mailbox_Information, id, location );
-}
-
-/*PAGE
- *
- * _ITRON_Mailbox_Is_null
- *
- * This function returns TRUE if the_mailbox is NULL and FALSE otherwise.
- *
- * Input parameters:
- * the_mailbox - pointer to mailbox control block
- *
- * Output parameters:
- * TRUE - if the_mailbox is NULL
- * FALSE - otherwise
- */
-
-RTEMS_INLINE_ROUTINE bool _ITRON_Mailbox_Is_null (
- ITRON_Mailbox_Control *the_mailbox
-)
-{
- return ( the_mailbox == NULL );
-}
-
-/*
- * XXX insert inline routines here
- */
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
-/* end of include file */
-
diff --git a/cpukit/itron/inline/rtems/itron/msgbuffer.inl b/cpukit/itron/inline/rtems/itron/msgbuffer.inl
deleted file mode 100644
index 53cdea32da..0000000000
--- a/cpukit/itron/inline/rtems/itron/msgbuffer.inl
+++ /dev/null
@@ -1,164 +0,0 @@
-/**
- * @file rtems/itron/msgbuffer.inl
- */
-
-/*
- * COPYRIGHT (c) 1989-1999.
- * 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_MSGBUFFER_H
-# error "Never use <rtems/itron/msgbuffer.inl> directly; include <rtems/itron/msgbuffer.h> instead."
-#endif
-
-#ifndef _RTEMS_ITRON_MSGBUFFER_INL
-#define _RTEMS_ITRON_MSGBUFFER_INL
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/*
- * _ITRON_Message_buffer_Allocate
- *
- * DESCRIPTION:
- *
- * This routine allocates the message buffer associated with the specified
- * message buffer ID from the pool of inactive message buffers.
- *
- * Input parameters:
- * mbfid - id of message buffer to allocate
- * status - pointer to status variable
- *
- * Output parameters:
- * returns - pointer to the message buffer control block
- * *status - status
- */
-
-RTEMS_INLINE_ROUTINE ITRON_Message_buffer_Control
- *_ITRON_Message_buffer_Allocate(
- ID mbfid
-)
-{
- return (ITRON_Message_buffer_Control *)_ITRON_Objects_Allocate_by_index(
- &_ITRON_Message_buffer_Information,
- mbfid,
- sizeof(ITRON_Message_buffer_Control)
- );
-}
-
-/*
- * _ITRON_Message_buffer_Clarify_allocation_id_error
- *
- * This function is invoked when an object allocation ID error
- * occurs to determine the specific ITRON error code to return.
- */
-
-#define _ITRON_Message_buffer_Clarify_allocation_id_error( _id ) \
- _ITRON_Objects_Clarify_allocation_id_error( \
- &_ITRON_Message_buffer_Information, (_id) )
-
-/*
- * _ITRON_Message_buffer_Clarify_get_id_error
- *
- * This function is invoked when an object get ID error
- * occurs to determine the specific ITRON error code to return.
- */
-
-#define _ITRON_Message_buffer_Clarify_get_id_error( _id ) \
- _ITRON_Objects_Clarify_get_id_error( &_ITRON_Message_buffer_Information, (_id) )
-
-/*
- * _ITRON_Message_buffer_Free
- *
- * DESCRIPTION:
- *
- * This routine frees a message buffer control block to the
- * inactive chain of free message buffer control blocks.
- *
- * Input parameters:
- * the_message_buffer - pointer to message_buffer control block
- *
- * Output parameters: NONE
- */
-
-RTEMS_INLINE_ROUTINE void _ITRON_Message_buffer_Free (
- ITRON_Message_buffer_Control *the_message_buffer
-)
-{
- _ITRON_Objects_Free(
- &_ITRON_Message_buffer_Information,
- &the_message_buffer->Object
- );
-}
-
-/*PAGE
- *
- * _ITRON_Message_buffer_Get
- *
- * DESCRIPTION:
- *
- * This function maps message buffer IDs to message buffer control blocks.
- * If ID corresponds to a local message buffer, then it returns
- * the message buffer control pointer which maps to ID and location
- * is set to OBJECTS_LOCAL. if the message buffer ID is global and
- * resides on a remote node, then location is set to OBJECTS_REMOTE,
- * and the message buffer is undefined. Otherwise, location is set
- * to OBJECTS_ERROR and the message buffer is undefined.
- *
- * Input parameters:
- * id - ITRON message_buffer ID.
- * the_location - pointer to a location variable
- *
- * Output parameters:
- * *the_location - location of the object
- */
-
-RTEMS_INLINE_ROUTINE ITRON_Message_buffer_Control *_ITRON_Message_buffer_Get (
- ID id,
- Objects_Locations *location
-)
-{
- return (ITRON_Message_buffer_Control *)
- _ITRON_Objects_Get( &_ITRON_Message_buffer_Information, id, location );
-}
-
-/*PAGE
- *
- * _ITRON_Message_buffer_Is_null
- *
- * This function returns TRUE if the_message_buffer is NULL
- * and FALSE otherwise.
- *
- * Input parameters:
- * the_message_buffer - pointer to message buffer control block
- *
- * Output parameters:
- * TRUE - if the_message_buffer is NULL
- * FALSE - otherwise
- */
-
-RTEMS_INLINE_ROUTINE bool _ITRON_Message_buffer_Is_null (
- ITRON_Message_buffer_Control *the_message_buffer
-)
-{
- return ( the_message_buffer == NULL );
-}
-
-/*
- * XXX insert inline routines here
- */
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
-/* end of include file */
-
diff --git a/cpukit/itron/inline/rtems/itron/network.inl b/cpukit/itron/inline/rtems/itron/network.inl
deleted file mode 100644
index 44aff29553..0000000000
--- a/cpukit/itron/inline/rtems/itron/network.inl
+++ /dev/null
@@ -1,38 +0,0 @@
-/**
- * @file rtems/itron/network.inl
- */
-
-/*
- * COPYRIGHT (c) 1989-1999.
- * 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_NETWORK_H
-# error "Never use <rtems/itron/network.inl> directly; include <rtems/itron/network.h> instead."
-#endif
-
-#ifndef _RTEMS_ITRON_NETWORK_INL
-#define _RTEMS_ITRON_NETWORK_INL
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/*
- * XXX insert inline routines here
- */
-
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
-/* end of include file */
-
diff --git a/cpukit/itron/inline/rtems/itron/port.inl b/cpukit/itron/inline/rtems/itron/port.inl
deleted file mode 100644
index 3670d49e73..0000000000
--- a/cpukit/itron/inline/rtems/itron/port.inl
+++ /dev/null
@@ -1,159 +0,0 @@
-/**
- * @file rtems/itron/port.inl
- */
-
-/*
- * COPYRIGHT (c) 1989-1999.
- * 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_PORT_H
-# error "Never use <rtems/itron/port.inl> directly; include <rtems/itron/port.h> instead."
-#endif
-
-#ifndef _RTEMS_ITRON_PORT_INL
-#define _RTEMS_ITRON_PORT_INL
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/*
- * _ITRON_Port_Allocate
- *
- * DESCRIPTION:
- *
- * This routine allocates the port associated with the specified
- * port ID from the pool of inactive ports.
- *
- * Input parameters:
- * porid - id of port to allocate
- * status - pointer to status variable
- *
- * Output parameters:
- * returns - pointer to the port control block
- * *status - status
- */
-
-RTEMS_INLINE_ROUTINE ITRON_Port_Control *_ITRON_Port_Allocate(
- ID porid
-)
-{
- return (ITRON_Port_Control *)_ITRON_Objects_Allocate_by_index(
- &_ITRON_Port_Information,
- porid,
- sizeof(ITRON_Port_Control)
- );
-}
-
-/*
- * _ITRON_Port_Clarify_allocation_id_error
- *
- * This function is invoked when an object allocation ID error
- * occurs to determine the specific ITRON error code to return.
- */
-
-#define _ITRON_Port_Clarify_allocation_id_error( _id ) \
- _ITRON_Objects_Clarify_allocation_id_error( \
- &_ITRON_Port_Information, (_id) )
-
-/*
- * _ITRON_Port_Clarify_get_id_error
- *
- * This function is invoked when an object get ID error
- * occurs to determine the specific ITRON error code to return.
- */
-
-#define _ITRON_Port_Clarify_get_id_error( _id ) \
- _ITRON_Objects_Clarify_get_id_error( &_ITRON_Port_Information, (_id) )
-
-/*
- * _ITRON_Port_Free
- *
- * DESCRIPTION:
- *
- * This routine frees a port control block to the
- * inactive chain of free port control blocks.
- *
- * Input parameters:
- * the_port - pointer to port control block
- *
- * Output parameters: NONE
- */
-
-RTEMS_INLINE_ROUTINE void _ITRON_Port_Free (
- ITRON_Port_Control *the_port
-)
-{
- _ITRON_Objects_Free( &_ITRON_Port_Information, &the_port->Object );
-}
-
-/*PAGE
- *
- * _ITRON_Port_Get
- *
- * DESCRIPTION:
- *
- * This function maps port IDs to port control blocks.
- * If ID corresponds to a local port, then it returns
- * the_port control pointer which maps to ID and location
- * is set to OBJECTS_LOCAL. if the port ID is global and
- * resides on a remote node, then location is set to OBJECTS_REMOTE,
- * and the_port is undefined. Otherwise, location is set
- * to OBJECTS_ERROR and the_port is undefined.
- *
- * Input parameters:
- * id - ITRON port ID.
- * the_location - pointer to a location variable
- *
- * Output parameters:
- * *the_location - location of the object
- */
-
-RTEMS_INLINE_ROUTINE ITRON_Port_Control *_ITRON_Port_Get (
- ID id,
- Objects_Locations *location
-)
-{
- return (ITRON_Port_Control *)
- _ITRON_Objects_Get( &_ITRON_Port_Information, id, location );
-}
-
-/*PAGE
- *
- * _ITRON_Port_Is_null
- *
- * This function returns TRUE if the_port is NULL and FALSE otherwise.
- *
- * Input parameters:
- * the_port - pointer to port control block
- *
- * Output parameters:
- * TRUE - if the_port is NULL
- * FALSE - otherwise
- */
-
-RTEMS_INLINE_ROUTINE bool _ITRON_Port_Is_null (
- ITRON_Port_Control *the_port
-)
-{
- return ( the_port == NULL );
-}
-
-/*
- * XXX insert inline routines here
- */
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
-/* end of include file */
-
diff --git a/cpukit/itron/inline/rtems/itron/semaphore.inl b/cpukit/itron/inline/rtems/itron/semaphore.inl
deleted file mode 100644
index c9e21729a3..0000000000
--- a/cpukit/itron/inline/rtems/itron/semaphore.inl
+++ /dev/null
@@ -1,193 +0,0 @@
-/**
- * @file rtems/itron/semaphore.inl
- */
-
-/*
- * COPYRIGHT (c) 1989-1999.
- * 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_SEMAPHORE_H
-# error "Never use <rtems/itron/semaphore.inl> directly; include <rtems/itron/semaphore.h> instead."
-#endif
-
-#ifndef _RTEMS_ITRON_SEMAPHORE_INL
-#define _RTEMS_ITRON_SEMAPHORE_INL
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/*
- * _ITRON_Semaphore_Allocate
- *
- * DESCRIPTION:
- *
- * This routine allocates the semaphore associated with the specified
- * semaphore ID from the pool of inactive semaphores.
- *
- * Input parameters:
- * semid - id of semaphore to allocate
- * status - pointer to status variable
- *
- * Output parameters:
- * returns - pointer to the semaphore control block
- * *status - status
- */
-
-RTEMS_INLINE_ROUTINE ITRON_Semaphore_Control *_ITRON_Semaphore_Allocate(
- ID semid
-)
-{
- return (ITRON_Semaphore_Control *)_ITRON_Objects_Allocate_by_index(
- &_ITRON_Semaphore_Information,
- semid,
- sizeof(ITRON_Semaphore_Control)
- );
-}
-
-/*
- * _ITRON_Semaphore_Clarify_allocation_id_error
- *
- * This function is invoked when an object allocation ID error
- * occurs to determine the specific ITRON error code to return.
- */
-
-#define _ITRON_Semaphore_Clarify_allocation_id_error( _id ) \
- _ITRON_Objects_Clarify_allocation_id_error( \
- &_ITRON_Semaphore_Information, (_id) )
-
-/*
- * _ITRON_Semaphore_Clarify_get_id_error
- *
- * This function is invoked when an object get ID error
- * occurs to determine the specific ITRON error code to return.
- */
-
-#define _ITRON_Semaphore_Clarify_get_id_error( _id ) \
- _ITRON_Objects_Clarify_get_id_error( &_ITRON_Semaphore_Information, (_id) )
-
-/*
- * _ITRON_Semaphore_Free
- *
- * DESCRIPTION:
- *
- * This routine frees a semaphore control block to the
- * inactive chain of free semaphore control blocks.
- *
- * Input parameters:
- * the_semaphore - pointer to semaphore control block
- *
- * Output parameters: NONE
- */
-
-RTEMS_INLINE_ROUTINE void _ITRON_Semaphore_Free (
- ITRON_Semaphore_Control *the_semaphore
-)
-{
- _ITRON_Objects_Free( &_ITRON_Semaphore_Information, &the_semaphore->Object );
-}
-
-/*PAGE
- *
- * _ITRON_Semaphore_Get
- *
- * DESCRIPTION:
- *
- * This function maps semaphore IDs to semaphore control blocks.
- * If ID corresponds to a local semaphore, then it returns
- * the_semaphore control pointer which maps to ID and location
- * is set to OBJECTS_LOCAL. if the semaphore ID is global and
- * resides on a remote node, then location is set to OBJECTS_REMOTE,
- * and the_semaphore is undefined. Otherwise, location is set
- * to OBJECTS_ERROR and the_semaphore is undefined.
- *
- * Input parameters:
- * id - ITRON semaphore ID.
- * the_location - pointer to a location variable
- *
- * Output parameters:
- * *the_location - location of the object
- */
-
-RTEMS_INLINE_ROUTINE ITRON_Semaphore_Control *_ITRON_Semaphore_Get (
- ID id,
- Objects_Locations *location
-)
-{
- return (ITRON_Semaphore_Control *)
- _ITRON_Objects_Get( &_ITRON_Semaphore_Information, id, location );
-}
-
-/*PAGE
- *
- * _ITRON_Semaphore_Is_null
- *
- * This function returns TRUE if the_semaphore is NULL and FALSE otherwise.
- *
- * Input parameters:
- * the_semaphore - pointer to semaphore control block
- *
- * Output parameters:
- * TRUE - if the_semaphore is NULL
- * FALSE - otherwise
- */
-
-RTEMS_INLINE_ROUTINE bool _ITRON_Semaphore_Is_null (
- ITRON_Semaphore_Control *the_semaphore
-)
-{
- return ( the_semaphore == NULL );
-}
-
-/*
- * _ITRON_Semaphore_Translate_core_semaphore_return_code
- *
- * This function returns a ITRON status code based on the semaphore
- * status code specified.
- *
- * Input parameters:
- * the_semaphore_status - semaphore status code to translate
- *
- * Output parameters:
- * ITRON status code - translated ITRON status code
- *
- */
-
-RTEMS_INLINE_ROUTINE ER _ITRON_Semaphore_Translate_core_semaphore_return_code (
- uint32_t the_semaphore_status
-)
-{
-/* XXX need to be able to return "E_RLWAI" */
- switch ( the_semaphore_status ) {
- case CORE_SEMAPHORE_STATUS_SUCCESSFUL:
- return E_OK;
- case CORE_SEMAPHORE_STATUS_UNSATISFIED_NOWAIT:
- return E_TMOUT;
- case CORE_SEMAPHORE_WAS_DELETED:
- return E_DLT;
- case CORE_SEMAPHORE_TIMEOUT:
- return E_TMOUT;
- case CORE_SEMAPHORE_MAXIMUM_COUNT_EXCEEDED:
- return E_QOVR;
- #if defined(RTEMS_MULTIPROCESSING)
- case THREAD_STATUS_PROXY_BLOCKING:
- return THREAD_STATUS_PROXY_BLOCKING;
- #endif
- }
- return E_OK; /* unreached - only to remove warnings */
-}
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
-/* end of include file */
-
diff --git a/cpukit/itron/inline/rtems/itron/sysmgmt.inl b/cpukit/itron/inline/rtems/itron/sysmgmt.inl
deleted file mode 100644
index 3972ac997a..0000000000
--- a/cpukit/itron/inline/rtems/itron/sysmgmt.inl
+++ /dev/null
@@ -1,38 +0,0 @@
-/**
- * @file rtems/itron/sysmgmt.inl
- */
-
-/*
- * COPYRIGHT (c) 1989-1999.
- * 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_SYSMGMT_H
-# error "Never use <rtems/itron/sysmgmt.inl> directly; include <rtems/itron/sysmgmt.h> instead."
-#endif
-
-#ifndef _RTEMS_ITRON_SYSMGMT_INL
-#define _RTEMS_ITRON_SYSMGMT_INL
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/*
- * XXX insert inline routines here
- */
-
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
-/* end of include file */
-
diff --git a/cpukit/itron/inline/rtems/itron/task.inl b/cpukit/itron/inline/rtems/itron/task.inl
deleted file mode 100644
index 81b6830c04..0000000000
--- a/cpukit/itron/inline/rtems/itron/task.inl
+++ /dev/null
@@ -1,189 +0,0 @@
-/**
- * @file rtems/itron/task.inl
- */
-
-/*
- * COPYRIGHT (c) 1989-1999.
- * 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
-# error "Never use <rtems/itron/task.inl> directly; include <rtems/itron/task.h> instead."
-#endif
-
-#ifndef _RTEMS_ITRON_TASK_INL
-#define _RTEMS_ITRON_TASK_INL
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/*
- * _ITRON_Task_Allocate
- *
- * DESCRIPTION:
- *
- * This routine allocates the task associated with the specified
- * task ID from the pool of inactive tasks.
- *
- * Input parameters:
- * tskid - id of task to allocate
- * status - pointer to status variable
- *
- * Output parameters:
- * returns - pointer to the task control block
- * *status - status
- */
-
-RTEMS_INLINE_ROUTINE Thread_Control *_ITRON_Task_Allocate(
- ID tskid
-)
-{
- return (Thread_Control *)_ITRON_Objects_Allocate_by_index(
- &_ITRON_Task_Information,
- tskid,
- sizeof(Thread_Control)
- );
-}
-
-/*
- * _ITRON_Task_Clarify_allocation_id_error
- *
- * This function is invoked when an object allocation ID error
- * occurs to determine the specific ITRON error code to return.
- */
-
-#define _ITRON_Task_Clarify_allocation_id_error( _id ) \
- _ITRON_Objects_Clarify_allocation_id_error( \
- &_ITRON_Task_Information, (_id) )
-
-/*
- * _ITRON_Task_Clarify_get_id_error
- *
- * This function is invoked when an object get ID error
- * occurs to determine the specific ITRON error code to return.
- */
-
-#define _ITRON_Task_Clarify_get_id_error( _id ) \
- _ITRON_Objects_Clarify_get_id_error( &_ITRON_Task_Information, (_id) )
-
-/*
- * _ITRON_Task_Free
- *
- * DESCRIPTION:
- *
- * This routine frees a task control block to the
- * inactive chain of free task control blocks.
- *
- * Input parameters:
- * the_task - pointer to task control block
- *
- * Output parameters: NONE
- */
-
-RTEMS_INLINE_ROUTINE void _ITRON_Task_Free (
- Thread_Control *the_task
-)
-{
- _ITRON_Objects_Free( &_ITRON_Task_Information, &the_task->Object );
-}
-
-/*PAGE
- *
- * _ITRON_Task_Get
- *
- * DESCRIPTION:
- *
- * This function maps task IDs to task control blocks.
- * If ID corresponds to a local task, then it returns
- * the_task control pointer which maps to ID and location
- * is set to OBJECTS_LOCAL. if the task ID is global and
- * resides on a remote node, then location is set to OBJECTS_REMOTE,
- * and the_task is undefined. Otherwise, location is set
- * to OBJECTS_ERROR and the_task is undefined.
- *
- * Input parameters:
- * id - ITRON task ID.
- * the_location - pointer to a location variable
- *
- * Output parameters:
- * *the_location - location of the object
- */
-
-RTEMS_INLINE_ROUTINE Thread_Control *_ITRON_Task_Get (
- ID id,
- Objects_Locations *location
-)
-{
- if ( id == 0 ) {
- _Thread_Disable_dispatch();
- *location = OBJECTS_LOCAL;
- return _Thread_Executing;
- }
-
- return (Thread_Control *)
- _ITRON_Objects_Get( &_ITRON_Task_Information, id, location );
-}
-
-/*PAGE
- *
- * _ITRON_Task_Is_null
- *
- * This function returns TRUE if the_task is NULL and FALSE otherwise.
- *
- * Input parameters:
- * the_task - pointer to task control block
- *
- * Output parameters:
- * TRUE - if the_task is NULL
- * FALSE - otherwise
- */
-
-RTEMS_INLINE_ROUTINE bool _ITRON_Task_Is_null (
- Thread_Control *the_task
-)
-{
- return ( the_task == NULL );
-}
-
-/*
- * XXX insert inline routines here
- */
-
-/*PAGE
- *
- * _ITRON_tasks_Priority_to_Core
- */
-
-RTEMS_INLINE_ROUTINE Priority_Control _ITRON_Task_Priority_to_Core(
- PRI ITRON_priority
-)
-{
- return (Priority_Control) ITRON_priority;
-}
-
-/*PAGE
- *
- * _ITRON_tasks_Core_to_Priority
- */
-
-RTEMS_INLINE_ROUTINE PRI _ITRON_Task_Core_to_Priority(
- Priority_Control core_priority
-)
-{
- return (PRI) core_priority;
-}
-
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
-/* end of include file */
diff --git a/cpukit/itron/inline/rtems/itron/time.inl b/cpukit/itron/inline/rtems/itron/time.inl
deleted file mode 100644
index 27893b631a..0000000000
--- a/cpukit/itron/inline/rtems/itron/time.inl
+++ /dev/null
@@ -1,38 +0,0 @@
-/**
- * @file rtems/itron/time.inl
- */
-
-/*
- * COPYRIGHT (c) 1989-1999.
- * 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_TIME_H
-# error "Never use <rtems/itron/time.inl> directly; include <rtems/itron/time.h> instead."
-#endif
-
-#ifndef _RTEMS_ITRON_TIME_INL
-#define _RTEMS_ITRON_TIME_INL
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/*
- * XXX insert inline routines here
- */
-
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
-/* end of include file */
-
diff --git a/cpukit/itron/inline/rtems/itron/vmempool.inl b/cpukit/itron/inline/rtems/itron/vmempool.inl
deleted file mode 100644
index bfd5855d39..0000000000
--- a/cpukit/itron/inline/rtems/itron/vmempool.inl
+++ /dev/null
@@ -1,169 +0,0 @@
-/**
- * @file rtems/itron/vmempool.inl
- */
-
-/*
- * COPYRIGHT (c) 1989-1999.
- * 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_VMEMPOOL_H
-# error "Never use <rtems/itron/vmempool.inl> directly; include <rtems/itron/vmempool.h> instead."
-#endif
-
-#ifndef _RTEMS_ITRON_VMEMPOOL_INL
-#define _RTEMS_ITRON_VMEMPOOL_INL
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/*
- * _ITRON_Variable_memory_pool_Allocate
- *
- * DESCRIPTION:
- *
- * This routine allocates the variable memory pool associated with
- * the specified variable memory pool ID from the pool of inactive
- * variable memory pools.
- *
- * Input parameters:
- * mplid - id of variable memory pool to allocate
- * status - pointer to status variable
- *
- * Output parameters:
- * returns - pointer to the variable memory pool control block
- * *status - status
- */
-
-RTEMS_INLINE_ROUTINE ITRON_Variable_memory_pool_Control
- *_ITRON_Variable_memory_pool_Allocate(
- ID mplid
-)
-{
- return (ITRON_Variable_memory_pool_Control *)_ITRON_Objects_Allocate_by_index(
- &_ITRON_Variable_memory_pool_Information,
- mplid,
- sizeof(ITRON_Variable_memory_pool_Control)
- );
-}
-
-/*
- * _ITRON_Variable_memory_pool_Clarify_allocation_id_error
- *
- * This function is invoked when an object allocation ID error
- * occurs to determine the specific ITRON error code to return.
- */
-
-#define _ITRON_Variable_memory_pool_Clarify_allocation_id_error( _id ) \
- _ITRON_Objects_Clarify_allocation_id_error( \
- &_ITRON_Variable_memory_pool_Information, (_id) )
-
-/*
- * _ITRON_Variable_memory_pool_Clarify_get_id_error
- *
- * This function is invoked when an object get ID error
- * occurs to determine the specific ITRON error code to return.
- */
-
-#define _ITRON_Variable_memory_pool_Clarify_get_id_error( _id ) \
- _ITRON_Objects_Clarify_get_id_error( &_ITRON_Variable_memory_pool_Information, (_id) )
-
-/*
- * _ITRON_Variable_memory_pool_Free
- *
- * DESCRIPTION:
- *
- * This routine frees a variable memory pool control block to the
- * inactive chain of free variable memory pool control blocks.
- *
- * Input parameters:
- * the_variable_memory_pool - pointer to variable memory pool control block
- *
- * Output parameters: NONE
- */
-
-RTEMS_INLINE_ROUTINE void _ITRON_Variable_memory_pool_Free (
- ITRON_Variable_memory_pool_Control *the_variable_memory_pool
-)
-{
- _ITRON_Objects_Free(
- &_ITRON_Variable_memory_pool_Information,
- &the_variable_memory_pool->Object
- );
-}
-
-/*PAGE
- *
- * _ITRON_Variable_memory_pool_Get
- *
- * DESCRIPTION:
- *
- * This function maps variable memory pool IDs to variable memory pool
- * control blocks. If ID corresponds to a local variable memory pool,
- * then it returns the variable memory pool control pointer which maps
- * to ID and location is set to OBJECTS_LOCAL. if the variable memory
- * pool ID is global and resides on a remote node, then location is set
- * to OBJECTS_REMOTE, and the variable memory pool is undefined. Otherwise,
- * location is set to OBJECTS ERROR and the variable memory pool is undefined.
- *
- * Input parameters:
- * id - ITRON variable memory pool ID.
- * the_location - pointer to a location variable
- *
- * Output parameters:
- * *the_location - location of the object
- */
-
-RTEMS_INLINE_ROUTINE ITRON_Variable_memory_pool_Control
- *_ITRON_Variable_memory_pool_Get (
- ID id,
- Objects_Locations *location
-)
-{
- return (ITRON_Variable_memory_pool_Control *) _ITRON_Objects_Get(
- &_ITRON_Variable_memory_pool_Information,
- id,
- location
- );
-}
-
-/*PAGE
- *
- * _ITRON_Variable_memory_pool_Is_null
- *
- * This function returns TRUE if the_variable_memory_pool is NULL
- * and FALSE otherwise.
- *
- * Input parameters:
- * the_variable_memory_pool - pointer to variable memory pool control block
- *
- * Output parameters:
- * TRUE - if the_variable_memory_pool is NULL
- * FALSE - otherwise
- */
-
-RTEMS_INLINE_ROUTINE bool _ITRON_Variable_memory_pool_Is_null (
- ITRON_Variable_memory_pool_Control *the_variable_memory_pool
-)
-{
- return ( the_variable_memory_pool == NULL );
-}
-
-/*
- * XXX insert inline routines here
- */
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
-/* end of include file */
-
diff --git a/cpukit/itron/preinstall.am b/cpukit/itron/preinstall.am
deleted file mode 100644
index d5ee56c627..0000000000
--- a/cpukit/itron/preinstall.am
+++ /dev/null
@@ -1,199 +0,0 @@
-## Automatically generated by ampolish3 - Do not edit
-
-if AMPOLISH3
-$(srcdir)/preinstall.am: Makefile.am
- $(AMPOLISH3) $(srcdir)/Makefile.am > $(srcdir)/preinstall.am
-endif
-
-PREINSTALL_DIRS =
-DISTCLEANFILES = $(PREINSTALL_DIRS)
-
-all-am: $(PREINSTALL_FILES)
-
-PREINSTALL_FILES =
-CLEANFILES = $(PREINSTALL_FILES)
-
-if LIBITRON
-$(PROJECT_INCLUDE)/rtems/$(dirstamp):
- @$(MKDIR_P) $(PROJECT_INCLUDE)/rtems
- @: > $(PROJECT_INCLUDE)/rtems/$(dirstamp)
-PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/$(dirstamp)
-
-$(PROJECT_INCLUDE)/rtems/itron.h: include/itron.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron.h
-
-$(PROJECT_INCLUDE)/itronsys/$(dirstamp):
- @$(MKDIR_P) $(PROJECT_INCLUDE)/itronsys
- @: > $(PROJECT_INCLUDE)/itronsys/$(dirstamp)
-PREINSTALL_DIRS += $(PROJECT_INCLUDE)/itronsys/$(dirstamp)
-
-$(PROJECT_INCLUDE)/itronsys/eventflags.h: include/itronsys/eventflags.h $(PROJECT_INCLUDE)/itronsys/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/itronsys/eventflags.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/itronsys/eventflags.h
-
-$(PROJECT_INCLUDE)/itronsys/fmempool.h: include/itronsys/fmempool.h $(PROJECT_INCLUDE)/itronsys/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/itronsys/fmempool.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/itronsys/fmempool.h
-
-$(PROJECT_INCLUDE)/itronsys/intr.h: include/itronsys/intr.h $(PROJECT_INCLUDE)/itronsys/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/itronsys/intr.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/itronsys/intr.h
-
-$(PROJECT_INCLUDE)/itronsys/mbox.h: include/itronsys/mbox.h $(PROJECT_INCLUDE)/itronsys/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/itronsys/mbox.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/itronsys/mbox.h
-
-$(PROJECT_INCLUDE)/itronsys/msgbuffer.h: include/itronsys/msgbuffer.h $(PROJECT_INCLUDE)/itronsys/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/itronsys/msgbuffer.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/itronsys/msgbuffer.h
-
-$(PROJECT_INCLUDE)/itronsys/network.h: include/itronsys/network.h $(PROJECT_INCLUDE)/itronsys/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/itronsys/network.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/itronsys/network.h
-
-$(PROJECT_INCLUDE)/itronsys/port.h: include/itronsys/port.h $(PROJECT_INCLUDE)/itronsys/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/itronsys/port.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/itronsys/port.h
-
-$(PROJECT_INCLUDE)/itronsys/semaphore.h: include/itronsys/semaphore.h $(PROJECT_INCLUDE)/itronsys/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/itronsys/semaphore.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/itronsys/semaphore.h
-
-$(PROJECT_INCLUDE)/itronsys/status.h: include/itronsys/status.h $(PROJECT_INCLUDE)/itronsys/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/itronsys/status.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/itronsys/status.h
-
-$(PROJECT_INCLUDE)/itronsys/sysmgmt.h: include/itronsys/sysmgmt.h $(PROJECT_INCLUDE)/itronsys/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/itronsys/sysmgmt.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/itronsys/sysmgmt.h
-
-$(PROJECT_INCLUDE)/itronsys/task.h: include/itronsys/task.h $(PROJECT_INCLUDE)/itronsys/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/itronsys/task.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/itronsys/task.h
-
-$(PROJECT_INCLUDE)/itronsys/time.h: include/itronsys/time.h $(PROJECT_INCLUDE)/itronsys/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/itronsys/time.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/itronsys/time.h
-
-$(PROJECT_INCLUDE)/itronsys/types.h: include/itronsys/types.h $(PROJECT_INCLUDE)/itronsys/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/itronsys/types.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/itronsys/types.h
-
-$(PROJECT_INCLUDE)/itronsys/vmempool.h: include/itronsys/vmempool.h $(PROJECT_INCLUDE)/itronsys/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/itronsys/vmempool.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/itronsys/vmempool.h
-
-$(PROJECT_INCLUDE)/rtems/itron/$(dirstamp):
- @$(MKDIR_P) $(PROJECT_INCLUDE)/rtems/itron
- @: > $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
-PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
-
-$(PROJECT_INCLUDE)/rtems/itron/config.h: include/rtems/itron/config.h $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/config.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/config.h
-
-$(PROJECT_INCLUDE)/rtems/itron/eventflags.h: include/rtems/itron/eventflags.h $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/eventflags.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/eventflags.h
-
-$(PROJECT_INCLUDE)/rtems/itron/fmempool.h: include/rtems/itron/fmempool.h $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/fmempool.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/fmempool.h
-
-$(PROJECT_INCLUDE)/rtems/itron/intr.h: include/rtems/itron/intr.h $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/intr.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/intr.h
-
-$(PROJECT_INCLUDE)/rtems/itron/itronapi.h: include/rtems/itron/itronapi.h $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/itronapi.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/itronapi.h
-
-$(PROJECT_INCLUDE)/rtems/itron/mbox.h: include/rtems/itron/mbox.h $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/mbox.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/mbox.h
-
-$(PROJECT_INCLUDE)/rtems/itron/msgbuffer.h: include/rtems/itron/msgbuffer.h $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/msgbuffer.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/msgbuffer.h
-
-$(PROJECT_INCLUDE)/rtems/itron/network.h: include/rtems/itron/network.h $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/network.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/network.h
-
-$(PROJECT_INCLUDE)/rtems/itron/object.h: include/rtems/itron/object.h $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/object.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/object.h
-
-$(PROJECT_INCLUDE)/rtems/itron/port.h: include/rtems/itron/port.h $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/port.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/port.h
-
-$(PROJECT_INCLUDE)/rtems/itron/semaphore.h: include/rtems/itron/semaphore.h $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/semaphore.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/semaphore.h
-
-$(PROJECT_INCLUDE)/rtems/itron/sysmgmt.h: include/rtems/itron/sysmgmt.h $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/sysmgmt.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/sysmgmt.h
-
-$(PROJECT_INCLUDE)/rtems/itron/task.h: include/rtems/itron/task.h $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/task.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/task.h
-
-$(PROJECT_INCLUDE)/rtems/itron/time.h: include/rtems/itron/time.h $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/time.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/time.h
-
-$(PROJECT_INCLUDE)/rtems/itron/vmempool.h: include/rtems/itron/vmempool.h $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/vmempool.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/vmempool.h
-
-$(PROJECT_INCLUDE)/rtems/itron/eventflags.inl: inline/rtems/itron/eventflags.inl $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/eventflags.inl
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/eventflags.inl
-
-$(PROJECT_INCLUDE)/rtems/itron/fmempool.inl: inline/rtems/itron/fmempool.inl $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/fmempool.inl
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/fmempool.inl
-
-$(PROJECT_INCLUDE)/rtems/itron/intr.inl: inline/rtems/itron/intr.inl $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/intr.inl
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/intr.inl
-
-$(PROJECT_INCLUDE)/rtems/itron/mbox.inl: inline/rtems/itron/mbox.inl $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/mbox.inl
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/mbox.inl
-
-$(PROJECT_INCLUDE)/rtems/itron/msgbuffer.inl: inline/rtems/itron/msgbuffer.inl $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/msgbuffer.inl
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/msgbuffer.inl
-
-$(PROJECT_INCLUDE)/rtems/itron/network.inl: inline/rtems/itron/network.inl $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/network.inl
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/network.inl
-
-$(PROJECT_INCLUDE)/rtems/itron/port.inl: inline/rtems/itron/port.inl $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/port.inl
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/port.inl
-
-$(PROJECT_INCLUDE)/rtems/itron/semaphore.inl: inline/rtems/itron/semaphore.inl $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/semaphore.inl
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/semaphore.inl
-
-$(PROJECT_INCLUDE)/rtems/itron/sysmgmt.inl: inline/rtems/itron/sysmgmt.inl $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/sysmgmt.inl
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/sysmgmt.inl
-
-$(PROJECT_INCLUDE)/rtems/itron/task.inl: inline/rtems/itron/task.inl $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/task.inl
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/task.inl
-
-$(PROJECT_INCLUDE)/rtems/itron/time.inl: inline/rtems/itron/time.inl $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/time.inl
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/time.inl
-
-$(PROJECT_INCLUDE)/rtems/itron/vmempool.inl: inline/rtems/itron/vmempool.inl $(PROJECT_INCLUDE)/rtems/itron/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/itron/vmempool.inl
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/itron/vmempool.inl
-endif
diff --git a/cpukit/itron/src/.cvsignore b/cpukit/itron/src/.cvsignore
deleted file mode 100644
index 000074c626..0000000000
--- a/cpukit/itron/src/.cvsignore
+++ /dev/null
@@ -1,4 +0,0 @@
-stamp-h
-stamp-h.in
-config.h
-config.h.in
diff --git a/cpukit/itron/src/TODO b/cpukit/itron/src/TODO
deleted file mode 100644
index 8b87f58c8a..0000000000
--- a/cpukit/itron/src/TODO
+++ /dev/null
@@ -1,13 +0,0 @@
-#
-# $Id$
-#
-
-The overall status including a major item todo list is in the Status
-chapter of the RTEMS ITRON API User's Guide. This file contains very
-short things that need to be addressed.
-
-+ unlimited object not support for allocate by index. Support either
- needs to be added for this type of object or the manager initialization
- code needs to consider it a fatal error to configure the object class
- in this mode.
-
diff --git a/cpukit/itron/src/acp_por.c b/cpukit/itron/src/acp_por.c
deleted file mode 100644
index 25ab97b0f8..0000000000
--- a/cpukit/itron/src/acp_por.c
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/port.h>
-
-/*
- * acp_por - Accept Port for Rendezvous Poll
- */
-
-ER acp_por(
- RNO *p_rdvno __attribute__((unused)),
- VP msg __attribute__((unused)),
- INT *p_cmsgsz __attribute__((unused)),
- ID porid __attribute__((unused)),
- UINT acpptn __attribute__((unused))
-)
-{
- return E_OK;
-}
diff --git a/cpukit/itron/src/act_cyc.c b/cpukit/itron/src/act_cyc.c
deleted file mode 100644
index 35742e3756..0000000000
--- a/cpukit/itron/src/act_cyc.c
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/score/thread.h>
-#include <rtems/score/tod.h>
-
-#include <rtems/itron/time.h>
-
-/*
- * act_cyc - Activate Cyclic Handler
- */
-
-ER act_cyc(
- HNO cycno __attribute__((unused)),
- UINT cycact
-)
-{
- Watchdog_Control *object;
-
- if(cycact != TCY_OFF || cycact != TCY_ON)
- return E_PAR;
-
-#if 0
- if( object->Object_ID != cycno)
- return E_NOEXS;
-#endif
-
- _Watchdog_Activate(object);
-
- return E_OK;
-}
diff --git a/cpukit/itron/src/cal_por.c b/cpukit/itron/src/cal_por.c
deleted file mode 100644
index 77162f0c53..0000000000
--- a/cpukit/itron/src/cal_por.c
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/port.h>
-
-/*
- * cal_por - Call Port for Rendezvous Poll
- */
-
-ER cal_por(
- VP msg __attribute__((unused)),
- INT *p_rmsgsz __attribute__((unused)),
- ID porid __attribute__((unused)),
- UINT calptn __attribute__((unused)),
- INT cmsgsz __attribute__((unused))
-)
-{
- return E_OK;
-}
diff --git a/cpukit/itron/src/can_wup.c b/cpukit/itron/src/can_wup.c
deleted file mode 100644
index 1cdea586b6..0000000000
--- a/cpukit/itron/src/can_wup.c
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/score/thread.h>
-#include <rtems/score/userext.h>
-#include <rtems/score/wkspace.h>
-#include <rtems/score/apiext.h>
-#include <rtems/score/sysstate.h>
-
-#include <rtems/itron/task.h>
-
-/*
- * can_wup - Cancel Wakeup Request
- */
-
-ER can_wup(
- INT *p_wupcnt __attribute__((unused)),
- ID tskid
-)
-{
- register Thread_Control *the_thread;
- Objects_Locations location;
-
- the_thread = _ITRON_Task_Get( tskid, &location );
- switch ( location ) {
-#if defined(RTEMS_MULTIPROCESSING)
- case OBJECTS_REMOTE:
-#endif
- case OBJECTS_ERROR:
- return _ITRON_Task_Clarify_get_id_error( tskid );
-
- case OBJECTS_LOCAL:
- /*
- * XXX - FILL ME IN.
- */
- break;
- }
-
- _ITRON_return_errorno( E_OK );
-}
diff --git a/cpukit/itron/src/chg_iXX.c b/cpukit/itron/src/chg_iXX.c
deleted file mode 100644
index 8e8c80c7a4..0000000000
--- a/cpukit/itron/src/chg_iXX.c
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/intr.h>
-
-/*
- * chg_iXX - Change Interrupt Mask(Level or Priority)
- */
-
-ER chg_iXX(
- UINT iXXXX __attribute__((unused))
-)
-{
- return E_OK;
-}
diff --git a/cpukit/itron/src/chg_pri.c b/cpukit/itron/src/chg_pri.c
deleted file mode 100644
index 0a29128959..0000000000
--- a/cpukit/itron/src/chg_pri.c
+++ /dev/null
@@ -1,70 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/score/thread.h>
-#include <rtems/score/userext.h>
-#include <rtems/score/wkspace.h>
-#include <rtems/score/apiext.h>
-#include <rtems/score/sysstate.h>
-
-#include <rtems/itron/task.h>
-
-/*
- * chg_pri - Change Task Priority
- */
-
-ER chg_pri(
- ID tskid,
- PRI tskpri
-)
-{
- register Thread_Control *the_thread;
- Objects_Locations location;
- Priority_Control new_priority;
-
- the_thread = _ITRON_Task_Get( tskid, &location );
- switch ( location ) {
-#if defined(RTEMS_MULTIPROCESSING)
- case OBJECTS_REMOTE:
-#endif
- case OBJECTS_ERROR:
- return _ITRON_Task_Clarify_get_id_error( tskid );
-
- case OBJECTS_LOCAL:
- if (_States_Is_dormant( the_thread->current_state ))
- _ITRON_return_errorno( E_OBJ );
-
- if (( tskpri <= 0 ) || ( tskpri >= PRIORITY_MAXIMUM-1 ))
- _ITRON_return_errorno( E_PAR );
-
- new_priority = _ITRON_Task_Priority_to_Core( tskpri );
- the_thread->real_priority = new_priority;
-
- /*
- * The priority should not be changed until later if priority
- * inheratance has occured.
- */
-
- if ( the_thread->resource_count == 0 ||
- the_thread->current_priority > new_priority )
- _Thread_Change_priority( the_thread, new_priority, false );
-
- break;
- }
-
- _ITRON_return_errorno( E_OK );
-}
diff --git a/cpukit/itron/src/clr_flg.c b/cpukit/itron/src/clr_flg.c
deleted file mode 100644
index af4410dab1..0000000000
--- a/cpukit/itron/src/clr_flg.c
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/eventflags.h>
-
-/*
- * clr_flg - Clear Eventflag
- */
-
-ER clr_flg(
- ID flgid __attribute__((unused)),
- UINT clrptn __attribute__((unused))
-)
-{
- return E_OK;
-}
diff --git a/cpukit/itron/src/cre_flg.c b/cpukit/itron/src/cre_flg.c
deleted file mode 100644
index bc8938015d..0000000000
--- a/cpukit/itron/src/cre_flg.c
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/eventflags.h>
-
-/*
- * cre_flg - Create Eventflag
- */
-
-ER cre_flg(
- ID flgid __attribute__((unused)),
- T_CFLG *pk_cflg __attribute__((unused))
-)
-{
- return E_OK;
-}
diff --git a/cpukit/itron/src/cre_mbf.c b/cpukit/itron/src/cre_mbf.c
deleted file mode 100644
index 0275be2cc5..0000000000
--- a/cpukit/itron/src/cre_mbf.c
+++ /dev/null
@@ -1,89 +0,0 @@
-/*
- * ITRON Message Buffer Manager
- *
- * COPYRIGHT (c) 1989-1999.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/msgbuffer.h>
-#include <rtems/itron/task.h>
-
-/*
- * cre_mbf - Create MessageBuffer
- */
-
-ER cre_mbf(
- ID mbfid,
- T_CMBF *pk_cmbf
-)
-{
- CORE_message_queue_Attributes the_msgq_attributes;
- ITRON_Message_buffer_Control *the_message_buffer;
-
- /*
- * Bad pointer to the attributes structure
- */
-
- if ( !pk_cmbf )
- return E_PAR;
-
- /*
- * Bits were set that were note defined.
- */
-
- if (pk_cmbf->mbfatr & ~(TA_TPRI))
- return E_RSATR;
-
- if (pk_cmbf->bufsz < 0 || pk_cmbf->maxmsz < 0)
- return E_PAR;
-
- if (pk_cmbf->bufsz < pk_cmbf->maxmsz)
- return E_PAR;
-
- _Thread_Disable_dispatch(); /* prevents deletion */
-
- the_message_buffer = _ITRON_Message_buffer_Allocate(mbfid);
- if ( !the_message_buffer ) {
- _Thread_Enable_dispatch();
- return _ITRON_Message_buffer_Clarify_allocation_id_error(mbfid);
- }
-
- if ( pk_cmbf->mbfatr & TA_TPRI )
- the_msgq_attributes.discipline = CORE_MESSAGE_QUEUE_DISCIPLINES_PRIORITY;
- else
- the_msgq_attributes.discipline = CORE_MESSAGE_QUEUE_DISCIPLINES_FIFO;
-
- _CORE_message_queue_Initialize(
- &the_message_buffer->message_queue,
- &the_msgq_attributes,
- pk_cmbf->bufsz / pk_cmbf->maxmsz,
- pk_cmbf->maxmsz
- );
-
- _ITRON_Objects_Open( &_ITRON_Message_buffer_Information,
- &the_message_buffer->Object );
-
- /*
- * If multiprocessing were supported, this is where we would announce
- * the existence of the semaphore to the rest of the system.
- */
-
-#if defined(RTEMS_MULTIPROCESSING)
-#endif
-
- _Thread_Enable_dispatch();
-
- return E_OK;
-}
diff --git a/cpukit/itron/src/cre_mbx.c b/cpukit/itron/src/cre_mbx.c
deleted file mode 100644
index bc4d766814..0000000000
--- a/cpukit/itron/src/cre_mbx.c
+++ /dev/null
@@ -1,107 +0,0 @@
-/*
- * ITRON 3.0 Mailbox Manager
- *
- * COPYRIGHT (c) 1989-1999.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/mbox.h>
-#include <rtems/itron/task.h>
-
-/*
- * cre_mbx - Create Mailbox
- *
- * Creates a Mailbox according to the following spec:
- *
- * ------Parameters-------------------------
- * ID mbxid MailboxID
- * T_CMBX *pk_cmbx Packet to Create Mailbox
- * -----------------------------------------
- * -*pk_cmbx members*-
- * VP exinf ExtendedInformation
- * ATR mbxatr MailboxAttributes
- * (the use of the following information
- * is implementation dependent)
- * INT bufcnt BufferMessageCount
- * (CPU and/or implementation-dependent information
- * may also be included)
- *
- * ----Return Parameters--------------------
- * ER ercd ErrorCode
- * -----------------------------------------
- *
- *
- * ----C Language Interface-----------------
- * ER ercd = cre_mbx ( ID mbxid, T_CMBX *pk_cmbx ) ;
- * -----------------------------------------
- *
- */
-
-ER cre_mbx(
- ID mbxid,
- T_CMBX *pk_cmbx
-)
-{
- register ITRON_Mailbox_Control *the_mailbox;
- CORE_message_queue_Attributes the_mailbox_attributes;
-
- if ( !pk_cmbx )
- return E_PAR;
-
- if ((pk_cmbx->mbxatr & (TA_TPRI | TA_MPRI)) != 0 )
- return E_RSATR;
-
- _Thread_Disable_dispatch(); /* protects object pointer */
-
- the_mailbox = _ITRON_Mailbox_Allocate( mbxid );
- if ( !the_mailbox ) {
- _Thread_Enable_dispatch();
- return _ITRON_Mailbox_Clarify_allocation_id_error( mbxid );
- }
-
- the_mailbox->count = pk_cmbx->bufcnt;
- if (pk_cmbx->mbxatr & TA_MPRI)
- the_mailbox->do_message_priority = TRUE;
- else
- the_mailbox->do_message_priority = FALSE;
-
- if (pk_cmbx->mbxatr & TA_TPRI)
- the_mailbox_attributes.discipline = CORE_MESSAGE_QUEUE_DISCIPLINES_PRIORITY;
- else
- the_mailbox_attributes.discipline = CORE_MESSAGE_QUEUE_DISCIPLINES_FIFO;
-
- if ( !_CORE_message_queue_Initialize(
- &the_mailbox->message_queue,
- OBJECTS_ITRON_MAILBOXES,
- &the_mailbox_attributes,
- the_mailbox->count,
- sizeof(T_MSG *),
- NULL ) ) { /* Multiprocessing not supported */
- _ITRON_Mailbox_Free(the_mailbox);
- _ITRON_return_errorno( E_OBJ );
- }
-
- _ITRON_Objects_Open( &_ITRON_Mailbox_Information, &the_mailbox->Object );
-
- /*
- * If multiprocessing were supported, this is where we would announce
- * the existence of the semaphore to the rest of the system.
- */
-
-#if defined(RTEMS_MULTIPROCESSING)
-#endif
-
- _ITRON_return_errorno( E_OK );
-}
diff --git a/cpukit/itron/src/cre_mpf.c b/cpukit/itron/src/cre_mpf.c
deleted file mode 100644
index 55cb4c7013..0000000000
--- a/cpukit/itron/src/cre_mpf.c
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/fmempool.h>
-
-/*
- * cre_mpf - Create Fixed-Size Memorypool
- */
-
-ER cre_mpf(
- ID mpfid __attribute__((unused)),
- T_CMPF *pk_cmpf __attribute__((unused))
-)
-{
- return E_OK;
-}
diff --git a/cpukit/itron/src/cre_mpl.c b/cpukit/itron/src/cre_mpl.c
deleted file mode 100644
index 47565b9a6b..0000000000
--- a/cpukit/itron/src/cre_mpl.c
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/vmempool.h>
-
-/*
- * cre_mpl - Create Variable-Size Memorypool
- */
-
-ER cre_mpl(
- ID mplid __attribute__((unused)),
- T_CMPL *pk_cmpl __attribute__((unused))
-)
-{
- return E_OK;
-}
diff --git a/cpukit/itron/src/cre_por.c b/cpukit/itron/src/cre_por.c
deleted file mode 100644
index af6e312de4..0000000000
--- a/cpukit/itron/src/cre_por.c
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/port.h>
-
-/*
- * cre_por - Create Port for Rendezvous
- */
-
-ER cre_por(
- ID porid __attribute__((unused)),
- T_CPOR *pk_cpor __attribute__((unused))
-)
-{
- return E_OK;
-}
-
diff --git a/cpukit/itron/src/cre_sem.c b/cpukit/itron/src/cre_sem.c
deleted file mode 100644
index 3e6e005728..0000000000
--- a/cpukit/itron/src/cre_sem.c
+++ /dev/null
@@ -1,98 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-1999.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/semaphore.h>
-#include <rtems/itron/task.h>
-#include <rtems/score/tod.h>
-
-/*
- * cre_sem - Create Semaphore
- *
- * This function implements the ITRON 3.0 cre_sem() service.
- */
-
-ER cre_sem(
- ID semid,
- T_CSEM *pk_csem
-)
-{
- CORE_semaphore_Attributes the_semaphore_attributes;
- ITRON_Semaphore_Control *the_semaphore;
-
- /*
- * Bad pointer to the attributes structure
- */
-
- if ( !pk_csem )
- return E_PAR;
-
- /*
- * Bits were set that were note defined.
- */
-
- if ( pk_csem->sematr & _ITRON_SEMAPHORE_UNUSED_ATTRIBUTES )
- return E_RSATR;
-
- /*
- * Initial semaphore count exceeds the maximum.
- */
-
- if ( pk_csem->isemcnt > pk_csem->maxsem )
- return E_PAR;
-
- /*
- * This error is not in the specification but this condition
- * does not make sense.
- */
-
- if ( pk_csem->maxsem == 0 )
- return E_PAR;
-
- _Thread_Disable_dispatch(); /* prevents deletion */
-
- the_semaphore = _ITRON_Semaphore_Allocate( semid );
- if ( !the_semaphore ) {
- _Thread_Enable_dispatch();
- return _ITRON_Semaphore_Clarify_allocation_id_error( semid );
- }
-
- if ( pk_csem->sematr & TA_TPRI )
- the_semaphore_attributes.discipline = CORE_SEMAPHORE_DISCIPLINES_PRIORITY;
- else
- the_semaphore_attributes.discipline = CORE_SEMAPHORE_DISCIPLINES_FIFO;
-
- the_semaphore_attributes.maximum_count = pk_csem->maxsem;
-
- _CORE_semaphore_Initialize(
- &the_semaphore->semaphore,
- &the_semaphore_attributes,
- pk_csem->isemcnt
- );
-
- _ITRON_Objects_Open( &_ITRON_Semaphore_Information, &the_semaphore->Object );
-
- /*
- * If multiprocessing were supported, this is where we would announce
- * the existence of the semaphore to the rest of the system.
- */
-
-#if defined(RTEMS_MULTIPROCESSING)
-#endif
-
- _Thread_Enable_dispatch();
- return E_OK;
-}
diff --git a/cpukit/itron/src/cre_tsk.c b/cpukit/itron/src/cre_tsk.c
deleted file mode 100644
index 2053ff262c..0000000000
--- a/cpukit/itron/src/cre_tsk.c
+++ /dev/null
@@ -1,126 +0,0 @@
-/*
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/score/thread.h>
-#include <rtems/score/userext.h>
-#include <rtems/score/wkspace.h>
-#include <rtems/score/apiext.h>
-#include <rtems/score/sysstate.h>
-#include <rtems/score/apimutex.h>
-
-#include <rtems/itron/task.h>
-
-
-/*
- * cre_tsk - Create Task
- */
-
-ER cre_tsk(
- ID tskid,
- T_CTSK *pk_ctsk
-)
-{
- register Thread_Control *the_thread;
- bool status;
- Priority_Control core_priority;
- Objects_Name name;
-
- /*
- * Validate Parameters.
- */
-
- if ( pk_ctsk == NULL )
- return E_PAR;
-
- if ((pk_ctsk->tskatr != TA_ASM ) &&
- (pk_ctsk->tskatr != TA_HLNG) &&
- (pk_ctsk->tskatr != TA_COP0) &&
- (pk_ctsk->tskatr != TA_COP1) &&
- (pk_ctsk->tskatr != TA_COP2) &&
- (pk_ctsk->tskatr != TA_COP3) &&
- (pk_ctsk->tskatr != TA_COP4) &&
- (pk_ctsk->tskatr != TA_COP5) &&
- (pk_ctsk->tskatr != TA_COP6) &&
- (pk_ctsk->tskatr != TA_COP7))
- return E_RSATR;
-
- if (( pk_ctsk->itskpri <= 0 ) || ( pk_ctsk->itskpri >= PRIORITY_MAXIMUM-1 ))
- return E_PAR;
- if ( pk_ctsk->task == NULL )
- return E_PAR;
- if ( pk_ctsk->stksz < 0 )
- return E_PAR;
-
- /*
- * Lock the allocator mutex for protection
- */
- _RTEMS_Lock_allocator();
-
- /*
- * allocate the thread.
- */
-
- the_thread = _ITRON_Task_Allocate( tskid );
- if ( !the_thread ) {
- _RTEMS_Unlock_allocator();
- return _ITRON_Task_Clarify_allocation_id_error( tskid );
- }
-
- /*
- * Initialize the core thread for this task.
- */
-
- name.name_u32 = 0;
- core_priority = _ITRON_Task_Priority_to_Core( pk_ctsk->itskpri );
- status = _Thread_Initialize(
- &_ITRON_Task_Information,
- the_thread,
- NULL,
- pk_ctsk->stksz,
-#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )
- true, /* XXX - All tasks FP (if the HW supports it) for now */
-#else
- false,
-#endif
- core_priority,
- true, /* preemptible */
- THREAD_CPU_BUDGET_ALGORITHM_EXHAUST_TIMESLICE,
- NULL, /* no budget algorithm callout */
- 0,
- name
- );
-
- if ( !status ) {
- _ITRON_Task_Free( the_thread );
- _RTEMS_Unlock_allocator();
- return E_NOMEM;
- }
-
- /*
- * This insures we evaluate the process-wide signals pending when we
- * first run.
- *
- * NOTE: Since the thread starts with all unblocked, this is necessary.
- */
-
- the_thread->do_post_task_switch_extension = true;
-
- the_thread->Start.entry_point = (Thread_Entry) pk_ctsk->task;
-
- _RTEMS_Unlock_allocator();
- return E_OK;
-}
diff --git a/cpukit/itron/src/def_alm.c b/cpukit/itron/src/def_alm.c
deleted file mode 100644
index a2e0e1606f..0000000000
--- a/cpukit/itron/src/def_alm.c
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/score/thread.h>
-#include <rtems/score/tod.h>
-
-#include <rtems/itron/time.h>
-
-/*
- * def_alm - Define Alarm Handler
- */
-
-ER def_alm(
- HNO almno __attribute__((unused)),
- T_DALM *pk_dalm __attribute__((unused))
-)
-{
-#if 0
- Objects_Control *objectAlrm;
- Watchdog_Interval timeInterval;
-
- timeInterval = pk_dalm->almtim / 1000;
- (void) _Watchdog_Remove(&objectAlrm);
- _Watchdog_Initialize(
- objectAlrm,
- pk_dalm->almhdr,
- almno,
- pk_dalm->exinf);
- _Watchdong_Insert_seconds(objectAlrm,timeInterval);
- _Thread_Enable_dispatch();
-#endif
-
- return E_OK;
-}
diff --git a/cpukit/itron/src/def_cyc.c b/cpukit/itron/src/def_cyc.c
deleted file mode 100644
index ceaa1b91c9..0000000000
--- a/cpukit/itron/src/def_cyc.c
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/score/thread.h>
-#include <rtems/score/tod.h>
-
-#include <rtems/itron/time.h>
-
-/*
- * def_cyc - Define Cyclic Handler
- */
-
-ER def_cyc(
- HNO cycno __attribute__((unused)),
- T_DCYC *pk_dcyc
-)
-{
- Watchdog_Control *object;
-#if 0
- Watchdog_Interval timeInterval;
-#endif
-
-/* XXX */ object = 0;
- if ( pk_dcyc->cycatr != TA_HLNG)
- return E_RSATR;
-#if 0
- timeInterval = pk_dcyc->cyctim / 1000;
- object->delta_interval = timeInterval;
- _Watchdog_Initialize(
- object,
- pk_dcyc->cychdr,
- cycno,
- pk_dcyc->exinf
- );
-#endif
- _Watchdog_Deactivate(object);
-
- return E_OK;
-}
diff --git a/cpukit/itron/src/def_exc.c b/cpukit/itron/src/def_exc.c
deleted file mode 100644
index fdc63e8b18..0000000000
--- a/cpukit/itron/src/def_exc.c
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/sysmgmt.h>
-
-/*
- * def_exc - Define Exception Handler
- */
-
-ER def_exc(
- UINT exckind,
- T_DEXC *pk_dexc
-)
-{
- return E_OK;
-}
diff --git a/cpukit/itron/src/def_int.c b/cpukit/itron/src/def_int.c
deleted file mode 100644
index 6948555d27..0000000000
--- a/cpukit/itron/src/def_int.c
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/intr.h>
-
-/*
- * def_int - Define Interrupt Handler
- */
-
-ER def_int(
- UINT dintno __attribute__((unused)),
- T_DINT *pk_dint __attribute__((unused))
-)
-{
- return E_OK;
-}
diff --git a/cpukit/itron/src/def_svc.c b/cpukit/itron/src/def_svc.c
deleted file mode 100644
index efc96cb442..0000000000
--- a/cpukit/itron/src/def_svc.c
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/sysmgmt.h>
-
-/*
- * def_svc - Define Extended SVC Handler
- */
-
-ER def_svc(
- FN s_fncd,
- T_DSVC *pk_dsvc
-)
-{
- return E_OK;
-}
diff --git a/cpukit/itron/src/del_flg.c b/cpukit/itron/src/del_flg.c
deleted file mode 100644
index cf2b59210a..0000000000
--- a/cpukit/itron/src/del_flg.c
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/eventflags.h>
-
-/*
- * del_flg - Delete Eventflag
- */
-
-ER del_flg(
- ID flgid __attribute__((unused))
-)
-{
- return E_OK;
-}
diff --git a/cpukit/itron/src/del_mbf.c b/cpukit/itron/src/del_mbf.c
deleted file mode 100644
index b94c25ddba..0000000000
--- a/cpukit/itron/src/del_mbf.c
+++ /dev/null
@@ -1,60 +0,0 @@
-/*
- * ITRON Message Buffer Manager
- *
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/msgbuffer.h>
-#include <rtems/itron/task.h>
-
-/*
- * del_mbf - Delete MessageBuffer
- */
-
-ER del_mbf(
- ID mbfid
-)
-{
- ITRON_Message_buffer_Control *the_message_buffer;
- Objects_Locations location;
-
- the_message_buffer = _ITRON_Message_buffer_Get(mbfid, &location);
- switch (location) {
-#if defined(RTEMS_MULTIPROCESSING)
- case OBJECTS_REMOTE:
-#endif
- case OBJECTS_ERROR: /* Multiprocessing not supported */
- return _ITRON_Message_buffer_Clarify_get_id_error(mbfid);
-
- case OBJECTS_LOCAL:
- _CORE_message_queue_Flush(&the_message_buffer->message_queue);
- _ITRON_Objects_Close( &_ITRON_Message_buffer_Information,
- &the_message_buffer->Object);
- _ITRON_Message_buffer_Free(the_message_buffer);
-
- /*
- * If multiprocessing were supported, this is where we would announce
- * the existence of the semaphore to the rest of the system.
- */
-
-#if defined(RTEMS_MULTIPROCESSING)
-#endif
- _Thread_Enable_dispatch();
- return E_OK;
- }
-
- return E_OK;
-}
diff --git a/cpukit/itron/src/del_mbx.c b/cpukit/itron/src/del_mbx.c
deleted file mode 100644
index 5e3c7b353d..0000000000
--- a/cpukit/itron/src/del_mbx.c
+++ /dev/null
@@ -1,70 +0,0 @@
-/*
- * ITRON 3.0 Mailbox Manager
- *
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/mbox.h>
-#include <rtems/itron/task.h>
-
-/*
- * del_mbx - Delete Mailbox
- *
- *
- * ------Parameters--------------
- * ID mbxid The Mailbox's ID
- * ------------------------------
- *
- * -----Return Parameters-------
- * ER ercd Itron Error Code
- * -----------------------------
- *
- * -----C Language Interface----
- * ER ercd = del_mbx(ID mbxid);
- * -----------------------------
- *
- */
-
-ER del_mbx(
- ID mbxid
-)
-{
- register ITRON_Mailbox_Control *the_mailbox;
- Objects_Locations location;
-
- the_mailbox= _ITRON_Mailbox_Get( mbxid, &location );
- switch ( location ) {
-#if defined(RTEMS_MULTIPROCESSING)
- case OBJECTS_REMOTE:
-#endif
- case OBJECTS_ERROR:
- return _ITRON_Mailbox_Clarify_get_id_error( mbxid );
-
- case OBJECTS_LOCAL:
- _Objects_Close( &_ITRON_Mailbox_Information, &the_mailbox->Object );
-
- _CORE_message_queue_Close(
- &the_mailbox->message_queue,
- NULL, /* Multiprocessing not supported */
- CORE_MESSAGE_QUEUE_STATUS_WAS_DELETED
- );
-
- _ITRON_Mailbox_Free(the_mailbox);
- break;
- }
-
- _ITRON_return_errorno( E_OK );
-}
diff --git a/cpukit/itron/src/del_mpf.c b/cpukit/itron/src/del_mpf.c
deleted file mode 100644
index ac1b140e7d..0000000000
--- a/cpukit/itron/src/del_mpf.c
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/fmempool.h>
-
-/*
- * del_mpf - Delete Fixed-Size Memorypool
- */
-
-ER del_mpf(
- ID mpfid __attribute__((unused))
-)
-{
- return E_OK;
-}
diff --git a/cpukit/itron/src/del_mpl.c b/cpukit/itron/src/del_mpl.c
deleted file mode 100644
index 5c369254e3..0000000000
--- a/cpukit/itron/src/del_mpl.c
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/vmempool.h>
-
-/*
- * del_mpl - Delete Variable-Size Memorypool
- */
-
-ER del_mpl(
- ID mplid __attribute__((unused))
-)
-{
- return E_OK;
-}
diff --git a/cpukit/itron/src/del_por.c b/cpukit/itron/src/del_por.c
deleted file mode 100644
index e5cf88bdc7..0000000000
--- a/cpukit/itron/src/del_por.c
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/port.h>
-
-/*
- * del_por - Delete Port for Rendezvous
- */
-
-ER del_por(
- ID porid __attribute__((unused))
-)
-{
- return E_OK;
-}
diff --git a/cpukit/itron/src/del_sem.c b/cpukit/itron/src/del_sem.c
deleted file mode 100644
index 404e632676..0000000000
--- a/cpukit/itron/src/del_sem.c
+++ /dev/null
@@ -1,70 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/semaphore.h>
-#include <rtems/itron/task.h>
-#include <rtems/score/tod.h>
-
-/*
- * del_sem - Delete Semaphore
- *
- * This function implements the ITRON 3.0 del_sem() service.
- */
-
-ER del_sem(
- ID semid
-)
-{
- ITRON_Semaphore_Control *the_semaphore;
- Objects_Locations location;
-
- the_semaphore = _ITRON_Semaphore_Get( semid, &location );
- switch ( location ) {
-#if defined(RTEMS_MULTIPROCESSING)
- case OBJECTS_REMOTE: /* Multiprocessing not supported */
-#endif
- case OBJECTS_ERROR:
- return _ITRON_Semaphore_Clarify_get_id_error( semid );
-
- case OBJECTS_LOCAL:
- _CORE_semaphore_Flush(
- &the_semaphore->semaphore,
- NULL, /* Multiprocessing not supported */
- CORE_SEMAPHORE_WAS_DELETED
- );
-
- _ITRON_Objects_Close(
- &_ITRON_Semaphore_Information,
- &the_semaphore->Object
- );
-
- _ITRON_Semaphore_Free( the_semaphore );
-
- /*
- * If multiprocessing were supported, this is where we would announce
- * the destruction of the semaphore to the rest of the system.
- */
-
-#if defined(RTEMS_MULTIPROCESSING)
-#endif
-
- _Thread_Enable_dispatch();
- return E_OK;
-
- }
- return E_OK;
-}
diff --git a/cpukit/itron/src/del_tsk.c b/cpukit/itron/src/del_tsk.c
deleted file mode 100644
index e7ed9442ff..0000000000
--- a/cpukit/itron/src/del_tsk.c
+++ /dev/null
@@ -1,74 +0,0 @@
-/*
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/score/thread.h>
-#include <rtems/score/userext.h>
-#include <rtems/score/wkspace.h>
-#include <rtems/score/apiext.h>
-#include <rtems/score/apimutex.h>
-#include <rtems/score/sysstate.h>
-
-#include <rtems/itron/task.h>
-
-
-/*
- * del_tsk - Delete Task
- */
-
-ER del_tsk(
- ID tskid
-)
-{
- register Thread_Control *the_thread;
- Objects_Locations location;
- Objects_Information *the_information;
- ER result = E_OK; /* to avoid warning */
-
- _RTEMS_Lock_allocator();
- the_thread = _ITRON_Task_Get( tskid, &location );
- switch ( location ) {
-#if defined(RTEMS_MULTIPROCESSING)
- case OBJECTS_REMOTE:
-#endif
- case OBJECTS_ERROR:
- _RTEMS_Unlock_allocator();
- return _ITRON_Task_Clarify_get_id_error( tskid );
-
- case OBJECTS_LOCAL:
-
- if ( _Thread_Is_executing( the_thread ) ) {
- _RTEMS_Unlock_allocator();
- _ITRON_return_errorno( E_OBJ );
- }
-
- if ( !_States_Is_dormant( the_thread->current_state ) ) {
- _RTEMS_Unlock_allocator();
- _ITRON_return_errorno( E_OBJ );
- }
-
- the_information = _Objects_Get_information_id( the_thread->Object.id );
- _Thread_Close( the_information, the_thread );
-
- _ITRON_Task_Free( the_thread );
-
- _RTEMS_Unlock_allocator();
- result = E_OK;
- break;
- }
-
- _ITRON_return_errorno( result );
-}
diff --git a/cpukit/itron/src/dis_dsp.c b/cpukit/itron/src/dis_dsp.c
deleted file mode 100644
index 0f1561abaa..0000000000
--- a/cpukit/itron/src/dis_dsp.c
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-1999.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/score/thread.h>
-#include <rtems/score/userext.h>
-#include <rtems/score/wkspace.h>
-#include <rtems/score/apiext.h>
-#include <rtems/score/sysstate.h>
-
-#include <rtems/itron/task.h>
-
-
-/*
- * dis_dsp - Disable Dispatch
- */
-
-ER dis_dsp( void )
-{
- /*
- * Disable dispatch for protection
- */
-
- _Thread_Disable_dispatch();
-
- return E_OK;
-}
diff --git a/cpukit/itron/src/dis_int.c b/cpukit/itron/src/dis_int.c
deleted file mode 100644
index 98412ce24c..0000000000
--- a/cpukit/itron/src/dis_int.c
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/intr.h>
-
-/*
- * dis_int - Disable Interrupt
- */
-
-ER dis_int(
- UINT eintno __attribute__((unused))
-)
-{
- return E_OK;
-}
diff --git a/cpukit/itron/src/dly_tsk.c b/cpukit/itron/src/dly_tsk.c
deleted file mode 100644
index 8c32613206..0000000000
--- a/cpukit/itron/src/dly_tsk.c
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/score/thread.h>
-#include <rtems/score/tod.h>
-
-#include <rtems/itron/time.h>
-
-/*
- * dly_tsk - Delay Task
- */
-
-ER dly_tsk(
- DLYTIME dlytim
-)
-{
- Watchdog_Interval ticks;
-
- ticks = TOD_MILLISECONDS_TO_TICKS(dlytim);
-
- _Thread_Disable_dispatch();
- if ( ticks == 0 ) {
- _Thread_Yield_processor();
- } else {
- _Thread_Set_state( _Thread_Executing, STATES_DELAYING );
- _Watchdog_Initialize(
- &_Thread_Executing->Timer,
- _Thread_Delay_ended,
- _Thread_Executing->Object.id,
- NULL
- );
- _Watchdog_Insert_ticks( &_Thread_Executing->Timer, ticks );
- }
- _Thread_Enable_dispatch();
- return E_OK;
-}
diff --git a/cpukit/itron/src/ena_dsp.c b/cpukit/itron/src/ena_dsp.c
deleted file mode 100644
index da25d99206..0000000000
--- a/cpukit/itron/src/ena_dsp.c
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-1999.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/score/thread.h>
-#include <rtems/score/userext.h>
-#include <rtems/score/wkspace.h>
-#include <rtems/score/apiext.h>
-#include <rtems/score/sysstate.h>
-
-#include <rtems/itron/task.h>
-
-
-/*
- * ena_dsp - Enable Dispatch
- */
-
-ER ena_dsp( void )
-{
- _Thread_Enable_dispatch();
-
- return E_OK;
-}
diff --git a/cpukit/itron/src/ena_int.c b/cpukit/itron/src/ena_int.c
deleted file mode 100644
index 234572a6a0..0000000000
--- a/cpukit/itron/src/ena_int.c
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/intr.h>
-
-/*
- * ena_int - Enable Interrupt
- */
-
-ER ena_int(
- UINT eintno __attribute__((unused))
-)
-{
- return E_OK;
-}
-
diff --git a/cpukit/itron/src/eventflags.c b/cpukit/itron/src/eventflags.c
deleted file mode 100644
index a68783398a..0000000000
--- a/cpukit/itron/src/eventflags.c
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-#include <rtems/config.h>
-#include <rtems/itron/eventflags.h>
-
-/*
- * _ITRON_Eventflags_Manager_initialization
- *
- * This routine initializes all event flags manager related data structures.
- *
- * Input parameters: NONE
- *
- * Output parameters: NONE
- */
-
-void _ITRON_Eventflags_Manager_initialization(void)
-{
- _Objects_Initialize_information(
- &_ITRON_Eventflags_Information, /* object information table */
- OBJECTS_ITRON_API, /* object API */
- OBJECTS_ITRON_EVENTFLAGS, /* object class */
- Configuration_ITRON_API.maximum_eventflags,
- /* maximum objects of this class */
- sizeof( ITRON_Eventflags_Control ),
- /* size of this object's control block */
- false, /* true if names for this object are strings */
- ITRON_MAXIMUM_NAME_LENGTH /* maximum length of each object's name */
-#if defined(RTEMS_MULTIPROCESSING)
- ,
- false, /* true if this is a global object class */
- NULL /* Proxy extraction support callout */
-#endif
- );
-
- /*
- * Register the MP Process Packet routine.
- *
- * NOTE: No MP Support YET in RTEMS ITRON implementation.
- */
-
-}
diff --git a/cpukit/itron/src/exd_tsk.c b/cpukit/itron/src/exd_tsk.c
deleted file mode 100644
index 41fa520ec5..0000000000
--- a/cpukit/itron/src/exd_tsk.c
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-#include <assert.h>
-
-#include <rtems/score/thread.h>
-#include <rtems/score/userext.h>
-#include <rtems/score/wkspace.h>
-#include <rtems/score/apiext.h>
-#include <rtems/score/apimutex.h>
-#include <rtems/score/sysstate.h>
-
-#include <rtems/itron/task.h>
-
-/*
- * exd_tsk - Exit and Delete Task
- */
-
-void exd_tsk( void )
-{
- Objects_Information *the_information;
-
- _RTEMS_Lock_allocator();
- _Thread_Disable_dispatch();
-
- the_information = _Objects_Get_information_id(_Thread_Executing->Object.id);
-
- /* This should never happen if _Thread_Get() works right */
- assert( the_information );
-
- _Thread_Close( the_information, _Thread_Executing );
-
- _ITRON_Task_Free( _Thread_Executing );
-
- _RTEMS_Unlock_allocator();
- _Thread_Enable_dispatch();
-}
diff --git a/cpukit/itron/src/ext_tsk.c b/cpukit/itron/src/ext_tsk.c
deleted file mode 100644
index 20b83ff471..0000000000
--- a/cpukit/itron/src/ext_tsk.c
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-1999.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/score/thread.h>
-#include <rtems/score/userext.h>
-#include <rtems/score/wkspace.h>
-#include <rtems/score/apiext.h>
-#include <rtems/score/sysstate.h>
-
-#include <rtems/itron/task.h>
-
-
-/*
- * ext_tsk - Exit Issuing Task
- */
-
-void ext_tsk( void )
-{
- /*
- * Figure out what to do if this happens.
- * We can not return regardless
- if ( _ITRON_Is_in_non_task_state() )
- return E_CTX;
- */
-
- _Thread_Disable_dispatch();
-
- _Thread_Set_state( _Thread_Executing, STATES_DORMANT );
- _Thread_Reset( _Thread_Executing, NULL, 0 );
-
- _Thread_Enable_dispatch();
-}
diff --git a/cpukit/itron/src/fmempool.c b/cpukit/itron/src/fmempool.c
deleted file mode 100644
index 51f8ac0a59..0000000000
--- a/cpukit/itron/src/fmempool.c
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-#include <rtems/config.h>
-#include <rtems/itron/fmempool.h>
-
-/*
- * _ITRON_Fixed_memory_pool_Manager_initialization
- *
- * This routine initializes all fixed memory pool manager related
- * data structures.
- *
- * Input parameters: NONE
- *
- * Output parameters: NONE
- */
-
-void _ITRON_Fixed_memory_pool_Manager_initialization(void)
-{
- _Objects_Initialize_information(
- &_ITRON_Fixed_memory_pool_Information, /* object information table */
- OBJECTS_ITRON_API, /* object API */
- OBJECTS_ITRON_FIXED_MEMORY_POOLS, /* object class */
- Configuration_ITRON_API.maximum_fixed_memory_pools,
- /* maximum objects of this class */
- sizeof( ITRON_Fixed_memory_pool_Control ),
- /* size of this object's control block */
- false, /* true if names for this object are strings */
- ITRON_MAXIMUM_NAME_LENGTH /* maximum length of each object's name */
-#if defined(RTEMS_MULTIPROCESSING)
- ,
- false, /* true if this is a global object class */
- NULL /* Proxy extraction support callout */
-#endif
- );
-
- /*
- * Register the MP Process Packet routine.
- *
- * NOTE: No MP Support YET in RTEMS ITRON implementation.
- */
-
-}
diff --git a/cpukit/itron/src/frsm_tsk.c b/cpukit/itron/src/frsm_tsk.c
deleted file mode 100644
index ce6d151011..0000000000
--- a/cpukit/itron/src/frsm_tsk.c
+++ /dev/null
@@ -1,62 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/score/thread.h>
-#include <rtems/score/userext.h>
-#include <rtems/score/wkspace.h>
-#include <rtems/score/apiext.h>
-#include <rtems/score/sysstate.h>
-
-#include <rtems/itron/task.h>
-
-
-/*
- * frsm_tsk - Forcibly Resume Suspended Task
- */
-
-ER frsm_tsk(
- ID tskid
-)
-{
- register Thread_Control *the_thread;
- Objects_Locations location;
-
- the_thread = _ITRON_Task_Get( tskid, &location );
- switch ( location ) {
-#if defined(RTEMS_MULTIPROCESSING)
- case OBJECTS_REMOTE:
-#endif
- case OBJECTS_ERROR:
- return _ITRON_Task_Clarify_get_id_error( tskid );
-
- case OBJECTS_LOCAL:
- if ( _Thread_Is_executing( the_thread ) )
- _ITRON_return_errorno( E_OBJ );
-
- if (_States_Is_dormant( the_thread->current_state ))
- _ITRON_return_errorno( E_OBJ );
-
- if ( ! _States_Is_suspended(the_thread->current_state) )
- _ITRON_return_errorno( E_OK );
-
- _Thread_Resume( the_thread, true );
- break;
- }
-
- _ITRON_return_errorno( E_OK );
-
-}
diff --git a/cpukit/itron/src/fwd_por.c b/cpukit/itron/src/fwd_por.c
deleted file mode 100644
index aedba6cb1e..0000000000
--- a/cpukit/itron/src/fwd_por.c
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/port.h>
-
-/*
- * fwd_por - Forward Rendezvous to Other Port
- */
-
-ER fwd_por(
- ID porid __attribute__((unused)),
- UINT calptn __attribute__((unused)),
- RNO rdvno __attribute__((unused)),
- VP msg __attribute__((unused)),
- INT cmsgsz __attribute__((unused))
-)
-{
- return E_OK;
-}
diff --git a/cpukit/itron/src/get_blf.c b/cpukit/itron/src/get_blf.c
deleted file mode 100644
index 34cc3f70e3..0000000000
--- a/cpukit/itron/src/get_blf.c
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/fmempool.h>
-
-/*
- * get_blf - Get Fixed-Size Memory Block
- */
-
-ER get_blf(
- VP *p_blf __attribute__((unused)),
- ID mpfid __attribute__((unused))
-)
-{
- return E_OK;
-}
diff --git a/cpukit/itron/src/get_blk.c b/cpukit/itron/src/get_blk.c
deleted file mode 100644
index 54ec3e1b24..0000000000
--- a/cpukit/itron/src/get_blk.c
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/vmempool.h>
-
-/*
- * get_blk - Get Variable-Size Memory Block
- */
-
-ER get_blk(
- VP *p_blk __attribute__((unused)),
- ID mplid __attribute__((unused)),
- INT blksz __attribute__((unused))
-)
-{
- return E_OK;
-}
diff --git a/cpukit/itron/src/get_tid.c b/cpukit/itron/src/get_tid.c
deleted file mode 100644
index e455179fe1..0000000000
--- a/cpukit/itron/src/get_tid.c
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-1999.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/score/thread.h>
-#include <rtems/score/userext.h>
-#include <rtems/score/wkspace.h>
-#include <rtems/score/apiext.h>
-#include <rtems/score/sysstate.h>
-
-#include <rtems/itron/task.h>
-
-/*
- * get_tid - Get Task Identifier
- */
-
-ER get_tid(
- ID *p_tskid
-)
-{
- /*
- * This does not support multiprocessing. The id handling will have
- * to be enhanced to support multiprocessing.
- */
-
- *p_tskid = _Objects_Get_index( _Thread_Executing->Object.id );
- return E_OK;
-}
diff --git a/cpukit/itron/src/get_tim.c b/cpukit/itron/src/get_tim.c
deleted file mode 100644
index 56aa784421..0000000000
--- a/cpukit/itron/src/get_tim.c
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/score/thread.h>
-#include <rtems/score/tod.h>
-
-#include <rtems/itron/time.h>
-
-/*
- * get_tim - Get System Clock
- */
-
-ER get_tim(
- SYSTIME *pk_tim __attribute__((unused))
-)
-{
- return E_OK;
-}
diff --git a/cpukit/itron/src/get_ver.c b/cpukit/itron/src/get_ver.c
deleted file mode 100644
index c7fe75fe02..0000000000
--- a/cpukit/itron/src/get_ver.c
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/sysmgmt.h>
-
-/*
- * get_ver - Get Version Information
- */
-
-ER get_ver(
- T_VER *pk_ver
-)
-{
- return E_OK;
-}
diff --git a/cpukit/itron/src/itroninittasks.c b/cpukit/itron/src/itroninittasks.c
deleted file mode 100644
index 6b00f91d68..0000000000
--- a/cpukit/itron/src/itroninittasks.c
+++ /dev/null
@@ -1,62 +0,0 @@
-/*
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/score/thread.h>
-#include <rtems/score/userext.h>
-#include <rtems/score/wkspace.h>
-#include <rtems/score/apiext.h>
-#include <rtems/score/sysstate.h>
-
-#include <rtems/itron/task.h>
-
-/*
- * _ITRON_Task_Initialize_user_tasks
- *
- * This routine creates and starts all configured user
- * initialzation threads.
- */
-
-void _ITRON_Task_Initialize_user_tasks_body( void )
-{
- uint32_t index;
- uint32_t maximum;
- ER return_value;
- itron_initialization_tasks_table *user_tasks;
-
- user_tasks = Configuration_ITRON_API.User_initialization_tasks_table;
- maximum = Configuration_ITRON_API.number_of_initialization_tasks;
-
- if ( !user_tasks || maximum == 0 )
- return;
-
- for ( index=0 ; index < maximum ; index++ ) {
-
- return_value = cre_tsk(
- user_tasks[ index ].id,
- &user_tasks[ index ].attributes
- );
-
- if ( return_value != E_OK )
- _Internal_error_Occurred( INTERNAL_ERROR_ITRON_API, true, return_value );
-
- return_value = sta_tsk( user_tasks[ index ].id, 0 );
-
- if ( return_value != E_OK )
- _Internal_error_Occurred( INTERNAL_ERROR_ITRON_API, true, return_value );
-
- }
-}
diff --git a/cpukit/itron/src/itronintr.c b/cpukit/itron/src/itronintr.c
deleted file mode 100644
index e2ee32f96d..0000000000
--- a/cpukit/itron/src/itronintr.c
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/intr.h>
-
-/* no ITRON API specific interrupt initialization */
diff --git a/cpukit/itron/src/itronsem.c b/cpukit/itron/src/itronsem.c
deleted file mode 100644
index 15fcb78666..0000000000
--- a/cpukit/itron/src/itronsem.c
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-#include <rtems/config.h>
-#include <rtems/itron/semaphore.h>
-#include <rtems/itron/task.h>
-#include <rtems/score/tod.h>
-
-/*
- * _ITRON_Semaphore_Manager_initialization
- *
- * DESCRIPTION:
- *
- * This routine initializes all semaphore manager related data structures.
- *
- * Input parameters: NONE
- *
- * Output parameters: NONE
- */
-
-void _ITRON_Semaphore_Manager_initialization(void)
-{
- _Objects_Initialize_information(
- &_ITRON_Semaphore_Information, /* object information table */
- OBJECTS_ITRON_API, /* object API */
- OBJECTS_ITRON_SEMAPHORES, /* object class */
- Configuration_ITRON_API.maximum_semaphores,
- /* maximum objects of this class */
- sizeof(ITRON_Semaphore_Control), /* size of this object's control block */
- false, /* true if names for this object are strings */
- ITRON_MAXIMUM_NAME_LENGTH /* maximum length of each object's name */
-#if defined(RTEMS_MULTIPROCESSING)
- ,
- false, /* true if this is a global object class */
- NULL /* Proxy extraction support callout */
-#endif
- );
-
- /*
- * Register the MP Process Packet routine.
- *
- * NOTE: No MP Support YET in RTEMS ITRON implementation.
- */
-
-}
diff --git a/cpukit/itron/src/itrontime.c b/cpukit/itron/src/itrontime.c
deleted file mode 100644
index cf93801c91..0000000000
--- a/cpukit/itron/src/itrontime.c
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/score/thread.h>
-#include <rtems/score/tod.h>
-
-#include <rtems/itron/time.h>
-
-/* no initialization needed yet for ITRON time services */
diff --git a/cpukit/itron/src/loc_cpu.c b/cpukit/itron/src/loc_cpu.c
deleted file mode 100644
index 0fc82305ed..0000000000
--- a/cpukit/itron/src/loc_cpu.c
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/intr.h>
-
-/*
- * loc_cpu - Lock CPU
- */
-
-ER loc_cpu( void )
-{
- return E_OK;
-}
diff --git a/cpukit/itron/src/mbox.c b/cpukit/itron/src/mbox.c
deleted file mode 100644
index c567f378e5..0000000000
--- a/cpukit/itron/src/mbox.c
+++ /dev/null
@@ -1,57 +0,0 @@
-/*
- * ITRON 3.0 Mailbox Manager
- *
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-#include <rtems/config.h>
-#include <rtems/itron/mbox.h>
-#include <rtems/itron/task.h>
-
-/*
- * _ITRON_Mailbox_Manager_initialization
- *
- * This routine initializes all mailboxes manager related data structures.
- *
- * Input parameters: NONE
- *
- * Output parameters: NONE
- */
-
-void _ITRON_Mailbox_Manager_initialization(void)
-{
- _Objects_Initialize_information(
- &_ITRON_Mailbox_Information, /* object information table */
- OBJECTS_ITRON_API, /* object API */
- OBJECTS_ITRON_MAILBOXES, /* object class */
- Configuration_ITRON_API.maximum_mailboxes,
- /* maximum objects of this class */
- sizeof( ITRON_Mailbox_Control ), /* size of this object's control block */
- false, /* true if names for this object are strings */
- ITRON_MAXIMUM_NAME_LENGTH /* maximum length of each object's name */
-#if defined(RTEMS_MULTIPROCESSING)
- ,
- false, /* true if this is a global object class */
- NULL /* Proxy extraction support callout */
-#endif
- );
-
- /*
- * Register the MP Process Packet routine.
- *
- * NOTE: No MP Support YET in RTEMS ITRON implementation.
- */
-
-}
diff --git a/cpukit/itron/src/mboxtranslatereturncode.c b/cpukit/itron/src/mboxtranslatereturncode.c
deleted file mode 100644
index acd34f8b24..0000000000
--- a/cpukit/itron/src/mboxtranslatereturncode.c
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * ITRON 3.0 Mailbox Manager
- *
- * COPYRIGHT (c) 1989-1999.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/mbox.h>
-#include <rtems/itron/task.h>
-
-/*
- * _ITRON_Mailbox_Translate_core_message_queue_return_code
- *
- * This routine translates a core message queue object status
- * into the appropriate ITRON status code.
- */
-
-ER _ITRON_Mailbox_Translate_core_message_queue_return_code(
- CORE_message_queue_Status status
-)
-{
- switch (status) {
- case CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL:
- return E_OK;
- case CORE_MESSAGE_QUEUE_STATUS_TOO_MANY:
- return E_TMOUT;
- case CORE_MESSAGE_QUEUE_STATUS_INVALID_SIZE:
- return E_PAR;
- case CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED_NOWAIT:
- return E_TMOUT;
- case CORE_MESSAGE_QUEUE_STATUS_TIMEOUT:
- return E_TMOUT;
- default:
- return E_ID;
- }
-}
diff --git a/cpukit/itron/src/msgbuffer.c b/cpukit/itron/src/msgbuffer.c
deleted file mode 100644
index 7bbbafa736..0000000000
--- a/cpukit/itron/src/msgbuffer.c
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
- * ITRON Message Buffer Manager
- *
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-#include <rtems/config.h>
-#include <rtems/itron/msgbuffer.h>
-#include <rtems/itron/task.h>
-
-/*
- * _ITRON_Message_buffer_Manager_initialization
- *
- * This routine initializes all message buffer manager related data
- * structures.
- *
- * Input parameters: NONE
- *
- * Output parameters: NONE
- */
-
-void _ITRON_Message_buffer_Manager_initialization(void)
-{
- _Objects_Initialize_information(
- &_ITRON_Message_buffer_Information, /* object information table */
- OBJECTS_ITRON_API, /* object API */
- OBJECTS_ITRON_MESSAGE_BUFFERS, /* object class */
- Configuration_ITRON_API.maximum_message_buffers,
- /* maximum objects of this class */
- sizeof( ITRON_Message_buffer_Control ),
- /* size of this object's control block */
- false, /* true if names for this object are strings */
- ITRON_MAXIMUM_NAME_LENGTH /* maximum length of each object's name */
-#if defined(RTEMS_MULTIPROCESSING)
- ,
- false, /* true if this is a global object class */
- NULL /* Proxy extraction support callout */
-#endif
- );
-
- /*
- * Register the MP Process Packet routine.
- *
- * NOTE: No MP Support YET in RTEMS ITRON implementation.
- */
-}
diff --git a/cpukit/itron/src/msgbuffertranslatereturncode.c b/cpukit/itron/src/msgbuffertranslatereturncode.c
deleted file mode 100644
index 4623f2742a..0000000000
--- a/cpukit/itron/src/msgbuffertranslatereturncode.c
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * ITRON Message Buffer Manager
- *
- * COPYRIGHT (c) 1989-1999.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/msgbuffer.h>
-#include <rtems/itron/task.h>
-
-/*
- * _ITRON_Message_buffer_Translate_core_message_buffer_return_code
- *
- * This routine translates a core message buffer object status
- * into the appropriate ITRON status code.
- */
-
-ER _ITRON_Message_buffer_Translate_core_message_buffer_return_code(
- CORE_message_queue_Status status
-)
-{
- switch (status) {
- case CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL:
- return E_OK;
- case CORE_MESSAGE_QUEUE_STATUS_TOO_MANY:
- return E_TMOUT;
- case CORE_MESSAGE_QUEUE_STATUS_INVALID_SIZE:
- return E_PAR;
- case CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED_NOWAIT:
- return E_TMOUT;
- case CORE_MESSAGE_QUEUE_STATUS_TIMEOUT:
- return E_TMOUT;
- default:
- return E_ID;
- }
-}
diff --git a/cpukit/itron/src/network.c b/cpukit/itron/src/network.c
deleted file mode 100644
index 3069254e1f..0000000000
--- a/cpukit/itron/src/network.c
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/network.h>
-
-/* no ITRON Network Manager specific initialization required */
diff --git a/cpukit/itron/src/nget_nod.c b/cpukit/itron/src/nget_nod.c
deleted file mode 100644
index 7491d222ef..0000000000
--- a/cpukit/itron/src/nget_nod.c
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/network.h>
-
-/*
- * nget_nod - Get Local Node Number
- */
-
-ER nget_nod(
- NODE *p_node
-)
-{
- return E_OK;
-}
diff --git a/cpukit/itron/src/nget_ver.c b/cpukit/itron/src/nget_ver.c
deleted file mode 100644
index 4ebc9f7ab0..0000000000
--- a/cpukit/itron/src/nget_ver.c
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/network.h>
-
-/*
- * nget_ver - Get Version Information of another Node
- */
-
-ER nget_ver(
- T_VER *pk_ver,
- NODE node
-)
-{
- return E_OK;
-}
diff --git a/cpukit/itron/src/nrea_dat.c b/cpukit/itron/src/nrea_dat.c
deleted file mode 100644
index bcdb8bb906..0000000000
--- a/cpukit/itron/src/nrea_dat.c
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/network.h>
-
-/*
- * nrea_dat - Read Data from another Node
- */
-
-ER nrea_dat(
- INT *p_reasz,
- VP dstadr,
- NODE srcnode,
- VP srcadr,
- INT datsz
-)
-{
- return E_OK;
-}
diff --git a/cpukit/itron/src/nwri_dat.c b/cpukit/itron/src/nwri_dat.c
deleted file mode 100644
index 639ece3531..0000000000
--- a/cpukit/itron/src/nwri_dat.c
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/network.h>
-
-/*
- * nwri_dat - Write Data to another Node
- */
-
-ER nwri_dat(
- INT *p_wrisz,
- NODE dstnode,
- VP dstadr,
- VP srcadr,
- INT datsz
-)
-{
- return E_OK;
-}
-
diff --git a/cpukit/itron/src/pacp_por.c b/cpukit/itron/src/pacp_por.c
deleted file mode 100644
index 2b5fcac9c1..0000000000
--- a/cpukit/itron/src/pacp_por.c
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/port.h>
-
-/*
- * pacp_por - Poll and Accept Port for Rendezvous
- */
-
-ER pacp_por(
- RNO *p_rdvno __attribute__((unused)),
- VP msg __attribute__((unused)),
- INT *p_cmsgsz __attribute__((unused)),
- ID porid __attribute__((unused)),
- UINT acpptn __attribute__((unused))
-)
-{
- return E_OK;
-}
diff --git a/cpukit/itron/src/pcal_por.c b/cpukit/itron/src/pcal_por.c
deleted file mode 100644
index 464aa67f64..0000000000
--- a/cpukit/itron/src/pcal_por.c
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/port.h>
-
-/*
- * pcal_por - Poll and Call Port for Rendezvous
- */
-
-ER pcal_por(
- VP msg __attribute__((unused)),
- INT *p_rmsgsz __attribute__((unused)),
- ID porid __attribute__((unused)),
- UINT calptn __attribute__((unused)),
- INT cmsgsz __attribute__((unused))
-)
-{
- return E_OK;
-}
diff --git a/cpukit/itron/src/pget_blf.c b/cpukit/itron/src/pget_blf.c
deleted file mode 100644
index d9ee7ab7a4..0000000000
--- a/cpukit/itron/src/pget_blf.c
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/fmempool.h>
-
-/*
- * pget_blf - Poll and Get Fixed-Size Memory Block
- */
-
-ER pget_blf(
- VP *p_blf __attribute__((unused)),
- ID mpfid __attribute__((unused))
-)
-{
- return E_OK;
-}
diff --git a/cpukit/itron/src/pget_blk.c b/cpukit/itron/src/pget_blk.c
deleted file mode 100644
index ab83554f30..0000000000
--- a/cpukit/itron/src/pget_blk.c
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/vmempool.h>
-
-/*
- * pget_blk - Poll and Get Variable-Size Memory Block
- */
-
-ER pget_blk(
- VP *p_blk __attribute__((unused)),
- ID mplid __attribute__((unused)),
- INT blksz __attribute__((unused))
-)
-{
- return E_OK;
-}
diff --git a/cpukit/itron/src/pol_flg.c b/cpukit/itron/src/pol_flg.c
deleted file mode 100644
index 5ff3fa9c90..0000000000
--- a/cpukit/itron/src/pol_flg.c
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/eventflags.h>
-
-/*
- * pol_flg - Wait for Eventflag(Polling)
- */
-
-ER pol_flg(
- UINT *p_flgptn __attribute__((unused)),
- ID flgid __attribute__((unused)),
- UINT waiptn __attribute__((unused)),
- UINT wfmode __attribute__((unused))
-)
-{
- return E_OK;
-}
diff --git a/cpukit/itron/src/port.c b/cpukit/itron/src/port.c
deleted file mode 100644
index 1b2a2020c6..0000000000
--- a/cpukit/itron/src/port.c
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-#include <rtems/config.h>
-#include <rtems/itron/port.h>
-
-/*
- * _ITRON_Port_Manager_initialization
- *
- * This routine initializes all ports manager related data structures.
- *
- * Input parameters: NONE
- *
- * Output parameters: NONE
- */
-
-void _ITRON_Port_Manager_initialization(void)
-{
- _Objects_Initialize_information(
- &_ITRON_Port_Information, /* object information table */
- OBJECTS_ITRON_API, /* object API */
- OBJECTS_ITRON_PORTS, /* object class */
- Configuration_ITRON_API.maximum_ports,
- /* maximum objects of this class */
- sizeof( ITRON_Port_Control ), /* size of this object's control block */
- false, /* true if names for this object are strings */
- ITRON_MAXIMUM_NAME_LENGTH /* maximum length of each object's name */
-#if defined(RTEMS_MULTIPROCESSING)
- ,
- false, /* true if this is a global object class */
- NULL /* Proxy extraction support callout */
-#endif
- );
-
- /*
- * Register the MP Process Packet routine.
- *
- * NOTE: No MP Support YET in RTEMS ITRON implementation.
- */
-
-}
diff --git a/cpukit/itron/src/prcv_mbf.c b/cpukit/itron/src/prcv_mbf.c
deleted file mode 100644
index e095d2ccb4..0000000000
--- a/cpukit/itron/src/prcv_mbf.c
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * ITRON Message Buffer Manager
- *
- * COPYRIGHT (c) 1989-1999.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/msgbuffer.h>
-#include <rtems/itron/task.h>
-
-/*
- * prcv_mbf - Poll and Receive Message from MessageBuffer
- */
-
-ER prcv_mbf(
- VP msg,
- INT *p_msgsz,
- ID mbfid
-)
-{
- return trcv_mbf(msg, p_msgsz, mbfid, TMO_POL);
-}
diff --git a/cpukit/itron/src/prcv_mbx.c b/cpukit/itron/src/prcv_mbx.c
deleted file mode 100644
index 4986ae3744..0000000000
--- a/cpukit/itron/src/prcv_mbx.c
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * ITRON 3.0 Mailbox Manager
- *
- * COPYRIGHT (c) 1989-1999.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/mbox.h>
-#include <rtems/itron/task.h>
-
-/*
- * prcv_msg - Poll and Receive Message from Mailbox
- */
-
-ER prcv_msg(
- T_MSG **ppk_msg,
- ID mbxid
-)
-{
- return trcv_msg( ppk_msg, mbxid, TMO_POL );
-}
diff --git a/cpukit/itron/src/preq_sem.c b/cpukit/itron/src/preq_sem.c
deleted file mode 100644
index e68f92b5de..0000000000
--- a/cpukit/itron/src/preq_sem.c
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-1999.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/semaphore.h>
-#include <rtems/itron/task.h>
-#include <rtems/score/tod.h>
-
-/*
- * preq_sem - Poll and Request Semaphore
- *
- * This function implements the ITRON 3.0 preq_sem() service.
- */
-
-ER preq_sem(
- ID semid
-)
-{
- return twai_sem( semid, TMO_POL );
-}
diff --git a/cpukit/itron/src/psnd_mbf.c b/cpukit/itron/src/psnd_mbf.c
deleted file mode 100644
index bac72feb2a..0000000000
--- a/cpukit/itron/src/psnd_mbf.c
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * ITRON Message Buffer Manager
- *
- * COPYRIGHT (c) 1989-1999.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/msgbuffer.h>
-#include <rtems/itron/task.h>
-
-/*
- * psnd_mbf - Poll and Send Message to MessageBuffer
- */
-
-ER psnd_mbf(
- ID mbfid,
- VP msg,
- INT msgsz
-)
-{
- return tsnd_mbf( mbfid, msg, msgsz, TMO_POL );
-}
diff --git a/cpukit/itron/src/rcv_mbf.c b/cpukit/itron/src/rcv_mbf.c
deleted file mode 100644
index 6427f36250..0000000000
--- a/cpukit/itron/src/rcv_mbf.c
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * ITRON Message Buffer Manager
- *
- * COPYRIGHT (c) 1989-1999.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/msgbuffer.h>
-#include <rtems/itron/task.h>
-
-/*
- * rcv_mbf - Receive Message from MessageBuffer
- */
-
-ER rcv_mbf(
- VP msg,
- INT *p_msgsz,
- ID mbfid
-)
-{
- return trcv_mbf(msg, p_msgsz, mbfid, TMO_FEVR);
-}
diff --git a/cpukit/itron/src/rcv_mbx.c b/cpukit/itron/src/rcv_mbx.c
deleted file mode 100644
index dde0f2697e..0000000000
--- a/cpukit/itron/src/rcv_mbx.c
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * ITRON 3.0 Mailbox Manager
- *
- * COPYRIGHT (c) 1989-1999.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/mbox.h>
-#include <rtems/itron/task.h>
-
-/*
- * rcv_msg - Receive Message from Mailbox
- */
-
-ER rcv_msg(
- T_MSG **ppk_msg,
- ID mbxid
-)
-{
- return trcv_msg( ppk_msg, mbxid, TMO_FEVR );
-}
diff --git a/cpukit/itron/src/ref_alm.c b/cpukit/itron/src/ref_alm.c
deleted file mode 100644
index 9d68d02469..0000000000
--- a/cpukit/itron/src/ref_alm.c
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/score/thread.h>
-#include <rtems/score/tod.h>
-
-#include <rtems/itron/time.h>
-
-/*
- * ref_alm - Reference Alarm Handler Status
- */
-
-ER ref_alm(
- T_RALM *pk_ralm __attribute__((unused)),
- HNO almno __attribute__((unused))
-)
-{
- return E_OK;
-}
diff --git a/cpukit/itron/src/ref_cfg.c b/cpukit/itron/src/ref_cfg.c
deleted file mode 100644
index 8d2c4a70a0..0000000000
--- a/cpukit/itron/src/ref_cfg.c
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/sysmgmt.h>
-
-/*
- * ref_cfg - Reference Configuration Information
- */
-
-ER ref_cfg(
- T_RCFG *pk_rcfg
-)
-{
- return E_OK;
-}
diff --git a/cpukit/itron/src/ref_cyc.c b/cpukit/itron/src/ref_cyc.c
deleted file mode 100644
index 6ef11b20df..0000000000
--- a/cpukit/itron/src/ref_cyc.c
+++ /dev/null
@@ -1,60 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/score/thread.h>
-#include <rtems/score/tod.h>
-
-#include <rtems/itron/time.h>
-
-/*
- * ref_cyc - Reference Cyclic Handler Status
- */
-
-ER ref_cyc(
- T_RCYC *pk_rcyc,
- HNO cycno __attribute__((unused))
-)
-{
-#if 0
- int timeElapse_since_actCyclic;
-#endif
- T_DCYC *pk_dcyc;
-#if 0
- Watchdog_Control *object;
-#endif
-
-/* XXX */ pk_dcyc = 0;
-
-/* XXX will to use a "get" routine to map from id to object pointer */
-/* XXX and the object pointer should be of type specific to this manager */
-#if 0
- if( object->Object_ID == cycno))
-#else
- if ( 1 )
-#endif
- {
- pk_rcyc->exinf = pk_dcyc->exinf;
- pk_rcyc->cycact = pk_dcyc->cycact;
-#if 0
- pk_rcyc->lfttim = pk_dcyc->cyctim - timeElapse_since_actCyclic;
-#endif
-
- return E_OK;
- }
- else
- return E_NOEXS;
-}
diff --git a/cpukit/itron/src/ref_flg.c b/cpukit/itron/src/ref_flg.c
deleted file mode 100644
index 572dff4b7e..0000000000
--- a/cpukit/itron/src/ref_flg.c
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/eventflags.h>
-
-/*
- * ref_flg - Reference Eventflag Status
- */
-
-ER ref_flg(
- T_RFLG *pk_rflg __attribute__((unused)),
- ID flgid __attribute__((unused))
-)
-{
- return E_OK;
-}
diff --git a/cpukit/itron/src/ref_iXX.c b/cpukit/itron/src/ref_iXX.c
deleted file mode 100644
index cdf3946885..0000000000
--- a/cpukit/itron/src/ref_iXX.c
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/intr.h>
-
-/*
- * ref_iXX - Reference Interrupt Mask(Level or Priority)
- */
-
-ER ref_iXX(
- UINT *p_iXXXX __attribute__((unused))
-)
-{
- return E_OK;
-}
diff --git a/cpukit/itron/src/ref_mbf.c b/cpukit/itron/src/ref_mbf.c
deleted file mode 100644
index fd474ec62e..0000000000
--- a/cpukit/itron/src/ref_mbf.c
+++ /dev/null
@@ -1,85 +0,0 @@
-/*
- * ITRON Message Buffer Manager
- *
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/msgbuffer.h>
-#include <rtems/itron/task.h>
-
-/*
- * ref_mbf - Reference Message Buffer Status
- */
-
-ER ref_mbf(
- T_RMBF *pk_rmbf,
- ID mbfid
-)
-{
- ITRON_Message_buffer_Control *the_message_buffer;
- Objects_Locations location;
- CORE_message_queue_Control *the_core_msgq;
-
- if ( !pk_rmbf )
- return E_PAR; /* XXX check this error code */
-
- the_message_buffer = _ITRON_Message_buffer_Get( mbfid, &location );
- switch ( location ) {
-#if defined(RTEMS_MULTIPROCESSING)
- case OBJECTS_REMOTE: /* Multiprocessing not supported */
-#endif
- case OBJECTS_ERROR:
- return _ITRON_Message_buffer_Clarify_get_id_error( mbfid );
-
- case OBJECTS_LOCAL:
- the_core_msgq = &the_message_buffer->message_queue;
-
- /*
- * Fill in the size of message to be sent
- */
-
- if (the_core_msgq->number_of_pending_messages == 0) {
- pk_rmbf->msgsz = 0;
- } else {
- pk_rmbf->msgsz = ((CORE_message_queue_Buffer_control *)
- the_core_msgq->Pending_messages.first)->Contents.size;
- }
-
- /*
- * Fill in the size of free buffer
- */
-
- pk_rmbf->frbufsz =
- (the_core_msgq->maximum_pending_messages -
- the_core_msgq->number_of_pending_messages) *
- the_core_msgq->maximum_message_size;
-
-
- /*
- * Fill in whether or not there is a waiting task
- */
-
- if ( !_Thread_queue_First(&the_core_msgq->Wait_queue ) )
- pk_rmbf->wtsk = FALSE;
- else
- pk_rmbf->wtsk = TRUE;
-
- pk_rmbf->stsk = FALSE;
- _Thread_Enable_dispatch();
- return E_OK;
- }
- return E_OK;
-}
diff --git a/cpukit/itron/src/ref_mbx.c b/cpukit/itron/src/ref_mbx.c
deleted file mode 100644
index 214e52efbe..0000000000
--- a/cpukit/itron/src/ref_mbx.c
+++ /dev/null
@@ -1,67 +0,0 @@
-/*
- * ITRON 3.0 Mailbox Manager
- *
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/mbox.h>
-#include <rtems/itron/task.h>
-
-/*
- * ref_mbx - Reference Mailbox Status
- */
-
-ER ref_mbx(
- T_RMBX *pk_rmbx,
- ID mbxid
-)
-{
- register ITRON_Mailbox_Control *the_mailbox;
- Objects_Locations location;
- Chain_Control *pending;
-
- if ( !pk_rmbx )
- return E_PAR;
-
- the_mailbox = _ITRON_Mailbox_Get( mbxid, &location );
- switch ( location ) {
-#if defined(RTEMS_MULTIPROCESSING)
- case OBJECTS_REMOTE:
-#endif
- case OBJECTS_ERROR:
- return _ITRON_Mailbox_Clarify_get_id_error( mbxid );
-
- case OBJECTS_LOCAL:
-
- pending = &the_mailbox->message_queue.Pending_messages;
- if ( _Chain_Is_empty( pending ) )
- pk_rmbx->pk_msg = NULL;
- else
- pk_rmbx->pk_msg = (T_MSG *) pending->first;
-
- /*
- * Fill in whether or not there is a waiting task
- */
-
- if ( !_Thread_queue_First( &the_mailbox->message_queue.Wait_queue ) )
- pk_rmbx->wtsk = FALSE;
- else
- pk_rmbx->wtsk = TRUE;
-
- break;
- }
- _ITRON_return_errorno( E_OK );
-}
diff --git a/cpukit/itron/src/ref_mpf.c b/cpukit/itron/src/ref_mpf.c
deleted file mode 100644
index 5949649b01..0000000000
--- a/cpukit/itron/src/ref_mpf.c
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/fmempool.h>
-
-/*
- * ref_mpf - Reference Fixed-Size Memorypool Status
- */
-
-ER ref_mpf(
- T_RMPF *pk_rmpf __attribute__((unused)),
- ID mpfid __attribute__((unused))
-)
-{
- return E_OK;
-}
diff --git a/cpukit/itron/src/ref_mpl.c b/cpukit/itron/src/ref_mpl.c
deleted file mode 100644
index 671a210bfc..0000000000
--- a/cpukit/itron/src/ref_mpl.c
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/vmempool.h>
-
-/*
- * ref_mpl - Reference Variable-Size Memorypool Status
- */
-
-ER ref_mpl(
- T_RMPL *pk_rmpl __attribute__((unused)),
- ID mplid __attribute__((unused))
-)
-{
- return E_OK;
-}
diff --git a/cpukit/itron/src/ref_por.c b/cpukit/itron/src/ref_por.c
deleted file mode 100644
index d1a0fcb500..0000000000
--- a/cpukit/itron/src/ref_por.c
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/port.h>
-
-/*
- * ref_por - Reference Port Status
- */
-
-ER ref_por(
- T_RPOR *pk_rpor __attribute__((unused)),
- ID porid __attribute__((unused))
-)
-{
- return E_OK;
-}
diff --git a/cpukit/itron/src/ref_sem.c b/cpukit/itron/src/ref_sem.c
deleted file mode 100644
index 852e32bade..0000000000
--- a/cpukit/itron/src/ref_sem.c
+++ /dev/null
@@ -1,67 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/semaphore.h>
-#include <rtems/itron/task.h>
-#include <rtems/score/tod.h>
-
-/*
- * ref_sem - Reference Semaphore Status
- *
- * This function implements the ITRON 3.0 ref_sem() service.
- */
-
-ER ref_sem(
- ID semid,
- T_RSEM *pk_rsem
-)
-{
- ITRON_Semaphore_Control *the_semaphore;
- Objects_Locations location;
-
- if ( !pk_rsem )
- return E_PAR; /* XXX check this error code */
-
- the_semaphore = _ITRON_Semaphore_Get( semid, &location );
- switch ( location ) {
-#if defined(RTEMS_MULTIPROCESSING)
- case OBJECTS_REMOTE: /* Multiprocessing not supported */
-#endif
- case OBJECTS_ERROR:
- return _ITRON_Semaphore_Clarify_get_id_error( semid );
-
- case OBJECTS_LOCAL:
- /*
- * Fill in the current semaphore count
- */
-
- pk_rsem->semcnt = _CORE_semaphore_Get_count( &the_semaphore->semaphore );
-
- /*
- * Fill in whether or not there is a waiting task
- */
-
- if ( !_Thread_queue_First( &the_semaphore->semaphore.Wait_queue ) )
- pk_rsem->wtsk = FALSE;
- else
- pk_rsem->wtsk = TRUE;
-
- _Thread_Enable_dispatch();
- return E_OK;
- }
- return E_OK;
-}
diff --git a/cpukit/itron/src/ref_sys.c b/cpukit/itron/src/ref_sys.c
deleted file mode 100644
index 8f4d3502be..0000000000
--- a/cpukit/itron/src/ref_sys.c
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/sysmgmt.h>
-
-/*
- * ref_sys - Reference System Status
- */
-
-ER ref_sys(
- T_RSYS *pk_rsys
-)
-{
- return E_OK;
-}
diff --git a/cpukit/itron/src/ref_tsk.c b/cpukit/itron/src/ref_tsk.c
deleted file mode 100644
index 7804e96f44..0000000000
--- a/cpukit/itron/src/ref_tsk.c
+++ /dev/null
@@ -1,101 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/score/thread.h>
-#include <rtems/score/userext.h>
-#include <rtems/score/wkspace.h>
-#include <rtems/score/apiext.h>
-#include <rtems/score/sysstate.h>
-
-#include <rtems/itron/task.h>
-
-
-/*
- * ref_tsk - Reference Task Status
- */
-
-ER ref_tsk(
- T_RTSK *pk_rtsk,
- ID tskid
-)
-{
- register Thread_Control *the_thread;
- Objects_Locations location;
- Priority_Control core_priority;
-
- if (!pk_rtsk)
- return E_PAR;
-
- the_thread = _ITRON_Task_Get( tskid, &location );
- switch ( location ) {
-#if defined(RTEMS_MULTIPROCESSING)
- case OBJECTS_REMOTE:
-#endif
- case OBJECTS_ERROR:
- return _ITRON_Task_Clarify_get_id_error( tskid );
-
- case OBJECTS_LOCAL:
-
- if ( location != OBJECTS_LOCAL )
- return _ITRON_Task_Clarify_get_id_error( tskid );
-
- /*
- * The following are extended functions [level X ].
- * XXX - tskwait, wid, wupcnt, and tskatr are presently not implemented.
- */
-
- pk_rtsk->tskwait = 0;
- pk_rtsk->wid = 0;
- pk_rtsk->wupcnt = 0;
- pk_rtsk->suscnt = the_thread->suspend_count;
- pk_rtsk->tskatr = 0; /* XXX - Not correctly implemented */
- pk_rtsk->task = (FP) the_thread->Start.entry_point;
- core_priority = the_thread->Start.initial_priority;
- pk_rtsk->itskpri = _ITRON_Task_Core_to_Priority( core_priority );
- pk_rtsk->stksz = the_thread->Start.Initial_stack.size;
-
- /*
- * The following are required.
- */
-
- pk_rtsk->exinf = NULL; /* extended information */
- pk_rtsk->tskpri =
- _ITRON_Task_Core_to_Priority(the_thread->current_priority);
-
- /*
- * Mask in the tskstat information
- * Convert the task state XXX double check this
- */
-
- pk_rtsk->tskstat = 0;
- if ( the_thread == _Thread_Executing )
- pk_rtsk->tskstat |= TTS_RUN;
- if ( _States_Is_ready(the_thread->current_state) )
- pk_rtsk->tskstat |= TTS_RDY;
- if ( _States_Is_dormant( the_thread->current_state) )
- pk_rtsk->tskstat |= TTS_DMT;
- if ( _States_Is_suspended(the_thread->current_state) )
- pk_rtsk->tskstat |= TTS_SUS;
- if ( _States_Is_blocked(the_thread->current_state) )
- pk_rtsk->tskstat |= TTS_WAI;
-
- break;
- }
-
- _ITRON_return_errorno( E_OK );
-
-}
diff --git a/cpukit/itron/src/rel_blf.c b/cpukit/itron/src/rel_blf.c
deleted file mode 100644
index 30bf392471..0000000000
--- a/cpukit/itron/src/rel_blf.c
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/fmempool.h>
-
-/*
- * rel_blf - Release Fixed-Size Memory Block
- */
-
-ER rel_blf(
- ID mpfid __attribute__((unused)),
- VP blf __attribute__((unused))
-)
-{
- return E_OK;
-}
diff --git a/cpukit/itron/src/rel_blk.c b/cpukit/itron/src/rel_blk.c
deleted file mode 100644
index d03029d087..0000000000
--- a/cpukit/itron/src/rel_blk.c
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/vmempool.h>
-
-/*
- * rel_blk - Release Variable-Size Memory Block
- */
-
-ER rel_blk(
- ID mplid __attribute__((unused)),
- VP blk __attribute__((unused))
-)
-{
- return E_OK;
-}
diff --git a/cpukit/itron/src/rel_wai.c b/cpukit/itron/src/rel_wai.c
deleted file mode 100644
index 286a015c51..0000000000
--- a/cpukit/itron/src/rel_wai.c
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/score/thread.h>
-#include <rtems/score/userext.h>
-#include <rtems/score/wkspace.h>
-#include <rtems/score/apiext.h>
-#include <rtems/score/sysstate.h>
-
-#include <rtems/itron/task.h>
-
-/*
- * rel_wai - Release Wait of Other Task
- */
-
-ER rel_wai(
- ID tskid
-)
-{
- register Thread_Control *the_thread;
- Objects_Locations location;
-
- the_thread = _ITRON_Task_Get( tskid, &location );
- switch ( location ) {
-#if defined(RTEMS_MULTIPROCESSING)
- case OBJECTS_REMOTE:
-#endif
- case OBJECTS_ERROR:
- return _ITRON_Task_Clarify_get_id_error( tskid );
-
- case OBJECTS_LOCAL:
- /*
- * XXX - FILL ME IN.
- */
-
- break;
- }
-
- _ITRON_return_errorno( E_OK );
-}
diff --git a/cpukit/itron/src/ret_int.c b/cpukit/itron/src/ret_int.c
deleted file mode 100644
index 173bfdc065..0000000000
--- a/cpukit/itron/src/ret_int.c
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/intr.h>
-
-/*
- * ret_int - Return from Interrupt Handler
- */
-
-void ret_int( void )
-{
-}
diff --git a/cpukit/itron/src/ret_tmr.c b/cpukit/itron/src/ret_tmr.c
deleted file mode 100644
index f789e942d5..0000000000
--- a/cpukit/itron/src/ret_tmr.c
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/score/thread.h>
-#include <rtems/score/tod.h>
-
-#include <rtems/itron/time.h>
-
-/*
- * ret_tmr - Return from Timer Handler
- */
-
-void ret_tmr( void )
-{
-}
diff --git a/cpukit/itron/src/ret_wup.c b/cpukit/itron/src/ret_wup.c
deleted file mode 100644
index 0cfe6aa8dd..0000000000
--- a/cpukit/itron/src/ret_wup.c
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/intr.h>
-
-/*
- * ret_wup - Return and Wakeup Task
- */
-
-void ret_wup(
- ID tskid __attribute__((unused))
-)
-{
-}
diff --git a/cpukit/itron/src/rot_rdq.c b/cpukit/itron/src/rot_rdq.c
deleted file mode 100644
index 9f57321dc9..0000000000
--- a/cpukit/itron/src/rot_rdq.c
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-1999.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/score/thread.h>
-#include <rtems/score/userext.h>
-#include <rtems/score/wkspace.h>
-#include <rtems/score/apiext.h>
-#include <rtems/score/sysstate.h>
-
-#include <rtems/itron/task.h>
-
-/*
- * rot_rdq - Rotate Tasks on the Ready Queue
- */
-
-ER rot_rdq(
- PRI tskpri
-)
-{
- PRI priority;
-
-
- if (( tskpri <= 0 ) || ( tskpri >= PRIORITY_MAXIMUM-1 ))
- return E_PAR;
-
- _Thread_Disable_dispatch();
-
- /*
- * Yield of processor will rotate the queue for this processor.
- */
-
- priority = _ITRON_Task_Core_to_Priority(_Thread_Executing->current_priority);
- if ( priority == tskpri )
- _Thread_Yield_processor();
- else {
- _Thread_Rotate_Ready_Queue( _ITRON_Task_Core_to_Priority( tskpri ) );
- }
- _Thread_Enable_dispatch();
-
- return E_OK;
-}
diff --git a/cpukit/itron/src/rpl_rdv.c b/cpukit/itron/src/rpl_rdv.c
deleted file mode 100644
index 65d4b7a9e4..0000000000
--- a/cpukit/itron/src/rpl_rdv.c
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/port.h>
-
-/*
- * rpl_rdv - Reply Rendezvous
- */
-
-ER rpl_rdv(
- RNO rdvno __attribute__((unused)),
- VP msg __attribute__((unused)),
- INT rmsgsz __attribute__((unused))
-)
-{
- return E_OK;
-}
diff --git a/cpukit/itron/src/rsm_tsk.c b/cpukit/itron/src/rsm_tsk.c
deleted file mode 100644
index 26fc1daa6f..0000000000
--- a/cpukit/itron/src/rsm_tsk.c
+++ /dev/null
@@ -1,62 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/score/thread.h>
-#include <rtems/score/userext.h>
-#include <rtems/score/wkspace.h>
-#include <rtems/score/apiext.h>
-#include <rtems/score/sysstate.h>
-
-#include <rtems/itron/task.h>
-
-
-/*
- * rsm_tsk - Resume Suspended Task
- */
-
-ER rsm_tsk(
- ID tskid
-)
-{
- register Thread_Control *the_thread;
- Objects_Locations location;
-
- the_thread = _ITRON_Task_Get( tskid, &location );
- switch ( location ) {
-#if defined(RTEMS_MULTIPROCESSING)
- case OBJECTS_REMOTE:
-#endif
- case OBJECTS_ERROR:
- return _ITRON_Task_Clarify_get_id_error( tskid );
-
- case OBJECTS_LOCAL:
-
- if ( _Thread_Is_executing( the_thread ) )
- _ITRON_return_errorno( E_OBJ );
-
- if ( _States_Is_dormant( the_thread->current_state ))
- _ITRON_return_errorno( E_OBJ );
-
- if ( ! _States_Is_suspended(the_thread->current_state) )
- _ITRON_return_errorno( E_OBJ );
-
- _Thread_Resume( the_thread, false );
- break;
- }
-
- _ITRON_return_errorno( E_OK );
-}
diff --git a/cpukit/itron/src/set_flg.c b/cpukit/itron/src/set_flg.c
deleted file mode 100644
index 67b974b711..0000000000
--- a/cpukit/itron/src/set_flg.c
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/eventflags.h>
-
-/*
- * set_flg - Set Eventflag
- */
-
-ER set_flg(
- ID flgid __attribute__((unused)),
- UINT setptn __attribute__((unused))
-)
-{
- return E_OK;
-}
diff --git a/cpukit/itron/src/set_tim.c b/cpukit/itron/src/set_tim.c
deleted file mode 100644
index 9aee8ef470..0000000000
--- a/cpukit/itron/src/set_tim.c
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/score/thread.h>
-#include <rtems/score/tod.h>
-
-#include <rtems/itron/time.h>
-
-/*
- * set_tim - Set System Clock
- */
-
-ER set_tim(
- SYSTIME *pk_tim __attribute__((unused))
-)
-{
-#if 0
- struct timespec time;
-
-/* convert *pk_tim which is 48 bits integer in binary into an ordinary
- integer in milliseconds */
-
-/* XXX */ temp = 0;
- if(temp > 0) {
- _Thread_Disable_dispatch();
- _TOD_Set(&time);
- _Thread_Enable_dispatch();
- return E_OK;
- }
-#endif
- return E_SYS;
-}
diff --git a/cpukit/itron/src/sig_sem.c b/cpukit/itron/src/sig_sem.c
deleted file mode 100644
index 6098ab90a1..0000000000
--- a/cpukit/itron/src/sig_sem.c
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/semaphore.h>
-#include <rtems/itron/task.h>
-#include <rtems/score/tod.h>
-
-/*
- * sig_sem - Signal Semaphore
- *
- * This function implements the ITRON 3.0 sig_sem() service.
- */
-
-ER sig_sem(
- ID semid
-)
-{
- ITRON_Semaphore_Control *the_semaphore;
- Objects_Locations location;
- CORE_semaphore_Status status;
-
- the_semaphore = _ITRON_Semaphore_Get( semid, &location );
- switch ( location ) {
-#if defined(RTEMS_MULTIPROCESSING)
- case OBJECTS_REMOTE: /* Multiprocessing not supported */
-#endif
- case OBJECTS_ERROR:
- return _ITRON_Semaphore_Clarify_get_id_error( semid );
-
- case OBJECTS_LOCAL:
- /*
- * XXX maxsemcnt
- */
-
- status = _CORE_semaphore_Surrender(
- &the_semaphore->semaphore,
- the_semaphore->Object.id,
- NULL /* Multiprocessing not supported */
- );
- _Thread_Enable_dispatch();
- return _ITRON_Semaphore_Translate_core_semaphore_return_code( status );
- }
- return E_OK;
-}
diff --git a/cpukit/itron/src/slp_tsk.c b/cpukit/itron/src/slp_tsk.c
deleted file mode 100644
index 917ef11157..0000000000
--- a/cpukit/itron/src/slp_tsk.c
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-1999.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/score/thread.h>
-#include <rtems/score/userext.h>
-#include <rtems/score/wkspace.h>
-#include <rtems/score/apiext.h>
-#include <rtems/score/sysstate.h>
-
-#include <rtems/itron/task.h>
-
-
-
-/*
- * slp_tsk - Sleep Task
- */
-
-ER slp_tsk( void )
-{
- return E_OK;
-}
diff --git a/cpukit/itron/src/snd_mbf.c b/cpukit/itron/src/snd_mbf.c
deleted file mode 100644
index 3c46aad75e..0000000000
--- a/cpukit/itron/src/snd_mbf.c
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * ITRON Message Buffer Manager
- *
- * COPYRIGHT (c) 1989-1999.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/msgbuffer.h>
-#include <rtems/itron/task.h>
-
-/*
- * snd_mbf - Send Message to MessageBuffer
- */
-
-ER snd_mbf(
- ID mbfid,
- VP msg,
- INT msgsz
-)
-{
- return tsnd_mbf( mbfid, msg, msgsz, TMO_FEVR );
-}
diff --git a/cpukit/itron/src/snd_mbx.c b/cpukit/itron/src/snd_mbx.c
deleted file mode 100644
index b66bd3d49e..0000000000
--- a/cpukit/itron/src/snd_mbx.c
+++ /dev/null
@@ -1,72 +0,0 @@
-/*
- * ITRON 3.0 Mailbox Manager
- *
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/mbox.h>
-#include <rtems/itron/task.h>
-
-/*
- * snd_msg - Send Message to Mailbox
- */
-
-ER snd_msg(
- ID mbxid,
- T_MSG *pk_msg
-)
-{
- register ITRON_Mailbox_Control *the_mailbox;
- Objects_Locations location;
- uint32_t message_priority;
- void *message_contents;
- CORE_message_queue_Status msg_status;
-
- if ( !pk_msg )
- return E_PAR;
-
- the_mailbox = _ITRON_Mailbox_Get( mbxid, &location );
- switch ( location ) {
-#if defined(RTEMS_MULTIPROCESSING)
- case OBJECTS_REMOTE:
-#endif
- case OBJECTS_ERROR:
- return _ITRON_Mailbox_Clarify_get_id_error( mbxid );
-
- case OBJECTS_LOCAL:
- if ( the_mailbox->do_message_priority )
- message_priority = pk_msg->msgpri;
- else
- message_priority = CORE_MESSAGE_QUEUE_SEND_REQUEST;
-
- message_contents = pk_msg;
- msg_status = _CORE_message_queue_Submit(
- &the_mailbox->message_queue,
- &message_contents,
- sizeof(T_MSG *),
- the_mailbox->Object.id,
- NULL, /* multiprocessing not supported */
- message_priority,
- false, /* do not allow sender to block */
- 0 /* no timeout */
- );
- break;
- }
-
- _ITRON_return_errorno(
- _ITRON_Mailbox_Translate_core_message_queue_return_code( msg_status )
- );
-}
diff --git a/cpukit/itron/src/sta_tsk.c b/cpukit/itron/src/sta_tsk.c
deleted file mode 100644
index bdab1e91c1..0000000000
--- a/cpukit/itron/src/sta_tsk.c
+++ /dev/null
@@ -1,71 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/score/thread.h>
-#include <rtems/score/userext.h>
-#include <rtems/score/wkspace.h>
-#include <rtems/score/apiext.h>
-#include <rtems/score/sysstate.h>
-
-#include <rtems/itron/task.h>
-
-
-/*
- * sta_tsk - Start Task
- */
-
-ER sta_tsk(
- ID tskid,
- INT stacd __attribute__((unused))
-)
-{
- register Thread_Control *the_thread;
- Objects_Locations location;
- bool status;
-
- the_thread = _ITRON_Task_Get( tskid, &location );
- switch ( location ) {
-#if defined(RTEMS_MULTIPROCESSING)
- case OBJECTS_REMOTE:
-#endif
- case OBJECTS_ERROR:
- return _ITRON_Task_Clarify_get_id_error( tskid );
-
- case OBJECTS_LOCAL:
-
- if ( !_States_Is_dormant( the_thread->current_state ) )
- _ITRON_return_errorno( E_OBJ );
-
- status = _Thread_Start(
- the_thread,
- THREAD_START_NUMERIC, /* XXX should be able to say we have no arg */
- the_thread->Start.entry_point,
- 0, /* XXX supercore forces us to have an arg */
- 0 /* unused */
- );
-
- /*
- * This error can not happen entry_point is checked in create.
- if ( !status )
- _ITRON_return_errorno( E_OBJ );
- */
-
- break;
- }
-
- _ITRON_return_errorno( E_OK );
-}
diff --git a/cpukit/itron/src/sus_tsk.c b/cpukit/itron/src/sus_tsk.c
deleted file mode 100644
index d586b9bf33..0000000000
--- a/cpukit/itron/src/sus_tsk.c
+++ /dev/null
@@ -1,64 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <limits.h>
-#include <rtems/itron.h>
-
-#include <rtems/score/thread.h>
-#include <rtems/score/userext.h>
-#include <rtems/score/wkspace.h>
-#include <rtems/score/apiext.h>
-#include <rtems/score/sysstate.h>
-
-#include <rtems/itron/task.h>
-
-
-/*
- * Task-Dependent Synchronization Functions
- */
-
-/*
- * sus_tsk - Suspend Other Task
- */
-
-ER sus_tsk(
- ID tskid
-)
-{
- register Thread_Control *the_thread;
- Objects_Locations location;
-
- the_thread = _ITRON_Task_Get( tskid, &location );
- switch ( location ) {
-#if defined(RTEMS_MULTIPROCESSING)
- case OBJECTS_REMOTE:
-#endif
- case OBJECTS_ERROR:
- return _ITRON_Task_Clarify_get_id_error( tskid );
-
- case OBJECTS_LOCAL:
-
- if ( _Thread_Is_executing( the_thread ) )
- _ITRON_return_errorno( E_OBJ );
-
- if (the_thread->suspend_count == INT_MAX )
- _ITRON_return_errorno( E_QOVR );
-
- _Thread_Suspend( the_thread );
- break;
- }
-
- _ITRON_return_errorno( E_OK );
-}
diff --git a/cpukit/itron/src/sysmgmt.c b/cpukit/itron/src/sysmgmt.c
deleted file mode 100644
index 4606b95649..0000000000
--- a/cpukit/itron/src/sysmgmt.c
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/sysmgmt.h>
-
-/* No ITRON API System Management Manager specific initialization required */
diff --git a/cpukit/itron/src/tacp_por.c b/cpukit/itron/src/tacp_por.c
deleted file mode 100644
index d4b62f31b7..0000000000
--- a/cpukit/itron/src/tacp_por.c
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/port.h>
-
-/*
- * tacp_por - Accept Port for Rendezvous with Timeout
- */
-
-ER tacp_por(
- RNO *p_rdvno __attribute__((unused)),
- VP msg __attribute__((unused)),
- INT *p_cmsgsz __attribute__((unused)),
- ID porid __attribute__((unused)),
- UINT acpptn __attribute__((unused)),
- TMO tmout __attribute__((unused))
-)
-{
- return E_OK;
-}
diff --git a/cpukit/itron/src/task.c b/cpukit/itron/src/task.c
deleted file mode 100644
index c47b002d90..0000000000
--- a/cpukit/itron/src/task.c
+++ /dev/null
@@ -1,184 +0,0 @@
-/*
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-#include <rtems/config.h>
-#include <rtems/score/thread.h>
-#include <rtems/score/userext.h>
-#include <rtems/score/wkspace.h>
-#include <rtems/score/apiext.h>
-#include <rtems/score/apimutex.h>
-#include <rtems/score/sysstate.h>
-
-#include <rtems/itron/task.h>
-
-#if 0
-/*
- * _ITRON_Task_Create_extension
- *
- * This routine is an extension routine that is invoked as part
- * of creating any type of task or thread in the system. If the
- * task is created via another API, then this routine is invoked
- * and this API given the opportunity to initialize its extension
- * area.
- */
-
-bool _ITRON_Task_Create_extension(
- Thread_Control *executing,
- Thread_Control *created
-)
-{
- /*
- * Until we actually put data in this structure, do not even
- * allocate it.
- */
-#if 0
- ITRON_API_Control *api;
-
- api = _Workspace_Allocate( sizeof( ITRON_API_Control ) );
-
- if ( !api )
- return false;
-
- created->API_Extensions[ THREAD_API_ITRON ] = api;
-#else
- created->API_Extensions[ THREAD_API_ITRON ] = NULL;
-#endif
-
- /*
- * Initialize the ITRON API extension
- */
-
- return true;
-}
-
-/*
- * _ITRON_Task_Delete_extension
- *
- * This extension routine is invoked when a task is deleted.
- */
-
-User_extensions_routine _ITRON_Task_Delete_extension(
- Thread_Control *executing,
- Thread_Control *deleted
-)
-{
- /*
- * Until we actually put data in this structure, do not even
- * allocate it.
- */
-#if 0
- (void) _Workspace_Free( deleted->API_Extensions[ THREAD_API_ITRON ] );
-
- deleted->API_Extensions[ THREAD_API_ITRON ] = NULL;
-#endif
-}
-#endif
-
-/*
- * _ITRON_Task_Initialize_user_tasks
- *
- * This routine creates and starts all configured user
- * initialzation threads.
- */
-
-void _ITRON_Task_Initialize_user_tasks( void )
-{
- if ( _ITRON_Initialize_user_tasks_p )
- (*_ITRON_Initialize_user_tasks_p)();
-}
-
-/*
- * At this point in time, the ITRON API does not need any other
- * extensions. See the POSIX and RTEMS API extensions for
- * examples of how they can be used.
- */
-
-/*
- * Extension Tables
- */
-
-API_extensions_Control _ITRON_Task_API_extensions = {
- { NULL, NULL },
- #if defined(FUNCTIONALITY_NOT_CURRENTLY_USED_BY_ANY_API)
- NULL, /* predriver */
- #endif
- _ITRON_Task_Initialize_user_tasks, /* postdriver */
- NULL /* post switch */
-};
-
-/*
- * Until ITRON needs this, do not even declare it.
- */
-#if 0
-User_extensions_Control _ITRON_Task_User_extensions = {
- { NULL, NULL },
- { { NULL, NULL }, NULL },
- {
- _ITRON_Task_Create_extension, /* create */
- NULL, /* start */
- NULL, /* restart */
- _ITRON_Task_Delete_extension, /* delete */
- NULL, /* switch */
- NULL, /* begin */
- NULL, /* exitted */
- NULL /* fatal */
- }
-};
-#endif
-
-/*
- * _ITRON_Task_Manager_initialization
- *
- * This routine initializes all Task Manager related data structures.
- *
- * Input parameters:
- * maximum_tasks - number of tasks to initialize
- *
- * Output parameters: NONE
- */
-
-void _ITRON_Task_Manager_initialization(void)
-{
-
- _Objects_Initialize_information(
- &_ITRON_Task_Information, /* object information table */
- OBJECTS_ITRON_API, /* object API */
- OBJECTS_ITRON_TASKS, /* object class */
- Configuration_ITRON_API.maximum_tasks,
- /* maximum objects of this class */
- sizeof( Thread_Control ), /* size of this object's control block */
- false, /* true if names for this object are strings */
- ITRON_MAXIMUM_NAME_LENGTH /* maximum length of each object's name */
-#if defined(RTEMS_MULTIPROCESSING)
- ,
- false, /* true if this is a global object class */
- NULL /* Proxy extraction support callout */
-#endif
- );
-
- /*
- * Until ITRON needs this, do not even declare it.
- */
- #if 0
- /*
- * Add all the extensions for this API
- */
- _User_extensions_Add_API_set( &_ITRON_Task_User_extensions );
- #endif
-
- _API_extensions_Add( &_ITRON_Task_API_extensions );
-
-}
diff --git a/cpukit/itron/src/tcal_por.c b/cpukit/itron/src/tcal_por.c
deleted file mode 100644
index 575242e149..0000000000
--- a/cpukit/itron/src/tcal_por.c
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/port.h>
-
-/*
- * tcal_por - Call Port for Rendezvous with Timeout
- */
-
-ER tcal_por(
- VP msg __attribute__((unused)),
- INT *p_rmsgsz __attribute__((unused)),
- ID porid __attribute__((unused)),
- UINT calptn __attribute__((unused)),
- INT cmsgsz __attribute__((unused)),
- TMO tmout __attribute__((unused))
-)
-{
- return E_OK;
-}
diff --git a/cpukit/itron/src/ter_tsk.c b/cpukit/itron/src/ter_tsk.c
deleted file mode 100644
index bdf22d7373..0000000000
--- a/cpukit/itron/src/ter_tsk.c
+++ /dev/null
@@ -1,60 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/score/thread.h>
-#include <rtems/score/userext.h>
-#include <rtems/score/wkspace.h>
-#include <rtems/score/apiext.h>
-#include <rtems/score/sysstate.h>
-
-#include <rtems/itron/task.h>
-
-
-/*
- * ter_tsk - Terminate Other Task - Set State to DORMANT
- */
-
-ER ter_tsk(
- ID tskid
-)
-{
- register Thread_Control *the_thread;
- Objects_Locations location;
-
- the_thread = _ITRON_Task_Get( tskid, &location );
- switch ( location ) {
-#if defined(RTEMS_MULTIPROCESSING)
- case OBJECTS_REMOTE:
-#endif
- case OBJECTS_ERROR:
- return _ITRON_Task_Clarify_get_id_error( tskid );
-
- case OBJECTS_LOCAL:
-
- if ( _Thread_Is_executing( the_thread ) )
- _ITRON_return_errorno( E_OBJ );
-
- if ( _States_Is_dormant( the_thread->current_state ) )
- _ITRON_return_errorno( E_OBJ );
-
- _Thread_Restart( the_thread, NULL, 0 );
- _Thread_Set_state( the_thread, STATES_DORMANT );
- break;
- }
-
- _ITRON_return_errorno( E_OK );
-}
diff --git a/cpukit/itron/src/tget_blf.c b/cpukit/itron/src/tget_blf.c
deleted file mode 100644
index 9d6b41e6ec..0000000000
--- a/cpukit/itron/src/tget_blf.c
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/fmempool.h>
-
-/*
- * tget_blf - Get Fixed-Size Memory Block with Timeout
- */
-
-ER tget_blf(
- VP *p_blf __attribute__((unused)),
- ID mpfid __attribute__((unused)),
- TMO tmout __attribute__((unused))
-)
-{
- return E_OK;
-}
diff --git a/cpukit/itron/src/tget_blk.c b/cpukit/itron/src/tget_blk.c
deleted file mode 100644
index 67eec3c28f..0000000000
--- a/cpukit/itron/src/tget_blk.c
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/vmempool.h>
-
-/*
- * tget_blk - Get Variable-Size Memory Block with Timeout
- */
-
-ER tget_blk(
- VP *p_blk __attribute__((unused)),
- ID mplid __attribute__((unused)),
- INT blksz __attribute__((unused)),
- TMO tmout __attribute__((unused))
-)
-{
- return E_OK;
-}
diff --git a/cpukit/itron/src/trcv_mbf.c b/cpukit/itron/src/trcv_mbf.c
deleted file mode 100644
index 1aee879682..0000000000
--- a/cpukit/itron/src/trcv_mbf.c
+++ /dev/null
@@ -1,88 +0,0 @@
-/*
- * ITRON Message Buffer Manager
- *
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/msgbuffer.h>
-#include <rtems/itron/task.h>
-
-/*
- * trcv_mbf - Receive Message from MessageBuffer with Timeout
- */
-
-ER trcv_mbf(
- VP msg,
- INT *p_msgsz,
- ID mbfid,
- TMO tmout
-)
-{
- ITRON_Message_buffer_Control *the_message_buffer;
- Objects_Locations location;
- CORE_message_queue_Status status;
- bool wait;
- Watchdog_Interval interval;
- size_t msgsz;
-
- interval = 0;
- if (tmout == TMO_POL) {
- wait = false;
- } else {
- wait = true;
- if (tmout != TMO_FEVR)
- interval = TOD_MILLISECONDS_TO_TICKS(tmout);
- }
-
- if (wait && _ITRON_Is_in_non_task_state() )
- return E_CTX;
-
- if (!p_msgsz || !msg || tmout <= -2)
- return E_PAR;
-
- the_message_buffer = _ITRON_Message_buffer_Get(mbfid, &location);
- switch (location) {
-#if defined(RTEMS_MULTIPROCESSING)
- case OBJECTS_REMOTE:
-#endif
- case OBJECTS_ERROR: /* Multiprocessing not supported */
- return _ITRON_Message_buffer_Clarify_get_id_error(mbfid);
-
- case OBJECTS_LOCAL:
- _CORE_message_queue_Seize(
- &the_message_buffer->message_queue,
- the_message_buffer->Object.id,
- msg,
- &msgsz,
- wait,
- interval
- );
- _Thread_Enable_dispatch();
- *p_msgsz = msgsz;
- status = (CORE_message_queue_Status)_Thread_Executing->Wait.return_code;
- return
- _ITRON_Message_buffer_Translate_core_message_buffer_return_code(status);
- }
-
- /*
- * If multiprocessing were supported, this is where we would announce
- * the existence of the semaphore to the rest of the system.
- */
-
-#if defined(RTEMS_MULTIPROCESSING)
-#endif
- return E_OK;
-}
diff --git a/cpukit/itron/src/trcv_mbx.c b/cpukit/itron/src/trcv_mbx.c
deleted file mode 100644
index 156b3b004d..0000000000
--- a/cpukit/itron/src/trcv_mbx.c
+++ /dev/null
@@ -1,78 +0,0 @@
-/*
- * ITRON 3.0 Mailbox Manager
- *
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/mbox.h>
-#include <rtems/itron/task.h>
-
-/*
- * trcv_msg - Receive Message from Mailbox with Timeout
- */
-
-ER trcv_msg(
- T_MSG **ppk_msg,
- ID mbxid,
- TMO tmout
-)
-{
- register ITRON_Mailbox_Control *the_mailbox;
- Watchdog_Interval interval;
- bool wait;
- Objects_Locations location;
- size_t size;
-
- if (!ppk_msg)
- return E_PAR;
-
- interval = 0;
- if ( tmout == TMO_POL ) {
- wait = false;
- } else {
- wait = true;
- if ( tmout != TMO_FEVR )
- interval = TOD_MILLISECONDS_TO_TICKS(tmout);
- }
-
- if ( wait && _ITRON_Is_in_non_task_state() )
- return E_CTX;
-
- the_mailbox = _ITRON_Mailbox_Get( mbxid, &location );
- switch ( location ) {
-#if defined(RTEMS_MULTIPROCESSING)
- case OBJECTS_REMOTE:
-#endif
- case OBJECTS_ERROR:
- return _ITRON_Mailbox_Clarify_get_id_error( mbxid );
-
- case OBJECTS_LOCAL:
-
- _CORE_message_queue_Seize(
- &the_mailbox->message_queue,
- the_mailbox->Object.id,
- ppk_msg,
- &size,
- wait,
- interval
- );
- break;
- }
-
- _ITRON_return_errorno(
- _ITRON_Mailbox_Translate_core_message_queue_return_code(
- _Thread_Executing->Wait.return_code ) );
-}
diff --git a/cpukit/itron/src/tslp_tsk.c b/cpukit/itron/src/tslp_tsk.c
deleted file mode 100644
index b90a370de9..0000000000
--- a/cpukit/itron/src/tslp_tsk.c
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-1999.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/score/thread.h>
-#include <rtems/score/userext.h>
-#include <rtems/score/wkspace.h>
-#include <rtems/score/apiext.h>
-#include <rtems/score/sysstate.h>
-
-#include <rtems/itron/task.h>
-
-
-/*
- * tslp_tsk - Sleep Task with Timeout
- */
-
-ER tslp_tsk(
- TMO tmout __attribute__((unused))
-)
-{
- return E_OK;
-}
diff --git a/cpukit/itron/src/tsnd_mbf.c b/cpukit/itron/src/tsnd_mbf.c
deleted file mode 100644
index c6df538572..0000000000
--- a/cpukit/itron/src/tsnd_mbf.c
+++ /dev/null
@@ -1,92 +0,0 @@
-/*
- * ITRON Message Buffer Manager
- *
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/msgbuffer.h>
-#include <rtems/itron/task.h>
-
-#include <assert.h> /* only for blocking */
-
-/*
- * tsnd_mbf - Send Message to MessageBuffer with Timeout
- */
-
-ER tsnd_mbf(
- ID mbfid,
- VP msg,
- INT msgsz,
- TMO tmout
-)
-{
- ITRON_Message_buffer_Control *the_message_buffer;
- Objects_Locations location;
- Watchdog_Interval interval;
- bool wait;
- CORE_message_queue_Status msg_status;
-
- if (msgsz <= 0 || !msg)
- return E_PAR;
-
- interval = 0;
- if ( tmout == TMO_POL ) {
- wait = false;
- } else {
- wait = true;
- if ( tmout != TMO_FEVR )
- interval = TOD_MILLISECONDS_TO_TICKS(tmout);
- }
-
- if ( wait && _ITRON_Is_in_non_task_state() )
- return E_CTX;
-
- the_message_buffer = _ITRON_Message_buffer_Get(mbfid, &location);
- switch (location) {
-#if defined(RTEMS_MULTIPROCESSING)
- case OBJECTS_REMOTE:
-#endif
- case OBJECTS_ERROR: /* Multiprocessing not supported */
- return _ITRON_Message_buffer_Clarify_get_id_error(mbfid);
-
- case OBJECTS_LOCAL:
- /* XXX Submit needs to take into account blocking */
- msg_status = _CORE_message_queue_Submit(
- &the_message_buffer->message_queue,
- msg,
- msgsz,
- the_message_buffer->Object.id,
- NULL,
- CORE_MESSAGE_QUEUE_SEND_REQUEST,
- wait, /* sender may block */
- interval /* timeout interval */
- );
- _Thread_Enable_dispatch();
- return _ITRON_Message_buffer_Translate_core_message_buffer_return_code(
- msg_status
- );
- }
-
- /*
- * If multiprocessing were supported, this is where we would announce
- * the existence of the semaphore to the rest of the system.
- */
-
-#if defined(RTEMS_MULTIPROCESSING)
-#endif
-
- return E_OK;
-}
diff --git a/cpukit/itron/src/twai_flg.c b/cpukit/itron/src/twai_flg.c
deleted file mode 100644
index 676c6aac74..0000000000
--- a/cpukit/itron/src/twai_flg.c
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/eventflags.h>
-
-/*
- * twai_flg - Wait on Eventflag with Timeout
- */
-
-ER twai_flg(
- UINT *p_flgptn __attribute__((unused)),
- ID flgid __attribute__((unused)),
- UINT waiptn __attribute__((unused)),
- UINT wfmode __attribute__((unused)),
- TMO tmout __attribute__((unused))
-)
-{
- return E_OK;
-}
diff --git a/cpukit/itron/src/twai_sem.c b/cpukit/itron/src/twai_sem.c
deleted file mode 100644
index e17de71e28..0000000000
--- a/cpukit/itron/src/twai_sem.c
+++ /dev/null
@@ -1,72 +0,0 @@
-/*
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/semaphore.h>
-#include <rtems/itron/task.h>
-#include <rtems/score/tod.h>
-
-/*
- * twai_sem - Wait on Semaphore with Timeout
- *
- * This function implements the ITRON 3.0 twai_sem() service.
- */
-
-ER twai_sem(
- ID semid,
- TMO tmout
-)
-{
- ITRON_Semaphore_Control *the_semaphore;
- Objects_Locations location;
- Watchdog_Interval interval;
- bool blocking;
-
- interval = 0;
- if ( tmout == TMO_POL ) {
- blocking = false;
- } else {
- blocking = true;
-
- if ( tmout != TMO_FEVR )
- interval = TOD_MILLISECONDS_TO_TICKS(tmout);
-
- if ( _ITRON_Is_in_non_task_state() )
- return E_CTX;
- }
-
- the_semaphore = _ITRON_Semaphore_Get( semid, &location );
- switch ( location ) {
-#if defined(RTEMS_MULTIPROCESSING)
- case OBJECTS_REMOTE: /* Multiprocessing not supported */
-#endif
- case OBJECTS_ERROR:
- return _ITRON_Semaphore_Clarify_get_id_error( semid );
-
- case OBJECTS_LOCAL:
- _CORE_semaphore_Seize(
- &the_semaphore->semaphore,
- the_semaphore->Object.id,
- blocking, /* wait for a timeout */
- interval /* timeout value */
- );
- _Thread_Enable_dispatch();
- return _ITRON_Semaphore_Translate_core_semaphore_return_code(
- _Thread_Executing->Wait.return_code
- );
- }
- return E_OK;
-}
diff --git a/cpukit/itron/src/unl_cpu.c b/cpukit/itron/src/unl_cpu.c
deleted file mode 100644
index ed4b05e783..0000000000
--- a/cpukit/itron/src/unl_cpu.c
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/intr.h>
-
-/*
- * unl_cpu - Unlock CPU
- */
-
-ER unl_cpu( void )
-{
- return E_OK;
-}
diff --git a/cpukit/itron/src/vmempool.c b/cpukit/itron/src/vmempool.c
deleted file mode 100644
index ea2548f430..0000000000
--- a/cpukit/itron/src/vmempool.c
+++ /dev/null
@@ -1,57 +0,0 @@
-/*
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-#include <rtems/config.h>
-#include <rtems/itron/vmempool.h>
-
-/*
- * _ITRON_Variable_memory_pool_Manager_initialization
- *
- * This routine initializes all variable memory pool manager related
- * data structures.
- *
- * Input parameters:
- * maximum_variable_memory_pools - maximum configured variable memory pools
- *
- * Output parameters: NONE
- */
-
-void _ITRON_Variable_memory_pool_Manager_initialization(void)
-{
- _Objects_Initialize_information(
- &_ITRON_Variable_memory_pool_Information, /* object information table */
- OBJECTS_ITRON_API, /* object API */
- OBJECTS_ITRON_VARIABLE_MEMORY_POOLS, /* object class */
- Configuration_ITRON_API.maximum_memory_pools,
- /* maximum objects of this class */
- sizeof( ITRON_Variable_memory_pool_Control ),
- /* size of this object's control block */
- false, /* true if names for this object are strings */
- ITRON_MAXIMUM_NAME_LENGTH /* maximum length of each object's name */
-#if defined(RTEMS_MULTIPROCESSING)
- ,
- false, /* true if this is a global object class */
- NULL /* Proxy extraction support callout */
-#endif
- );
-
- /*
- * Register the MP Process Packet routine.
- *
- * NOTE: No MP Support YET in RTEMS ITRON implementation.
- */
-
-}
diff --git a/cpukit/itron/src/wai_flg.c b/cpukit/itron/src/wai_flg.c
deleted file mode 100644
index 3b6782d1c8..0000000000
--- a/cpukit/itron/src/wai_flg.c
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2007.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/eventflags.h>
-
-/*
- * wai_flg - Wait on Eventflag
- */
-
-ER wai_flg(
- UINT *p_flgptn __attribute__((unused)),
- ID flgid __attribute__((unused)),
- UINT waiptn __attribute__((unused)),
- UINT wfmode __attribute__((unused))
-)
-{
- return E_OK;
-}
diff --git a/cpukit/itron/src/wai_sem.c b/cpukit/itron/src/wai_sem.c
deleted file mode 100644
index 7c4364b594..0000000000
--- a/cpukit/itron/src/wai_sem.c
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-1999.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/itron/semaphore.h>
-#include <rtems/itron/task.h>
-#include <rtems/score/tod.h>
-
-/*
- * wai_sem - Wait on Semaphore
- *
- * This function implements the ITRON 3.0 wai_sem() service.
- */
-
-ER wai_sem(
- ID semid
-)
-{
- return twai_sem( semid, TMO_FEVR );
-}
diff --git a/cpukit/itron/src/wup_tsk.c b/cpukit/itron/src/wup_tsk.c
deleted file mode 100644
index 169278a479..0000000000
--- a/cpukit/itron/src/wup_tsk.c
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-1999.
- * 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$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/itron.h>
-
-#include <rtems/score/thread.h>
-#include <rtems/score/userext.h>
-#include <rtems/score/wkspace.h>
-#include <rtems/score/apiext.h>
-#include <rtems/score/sysstate.h>
-
-#include <rtems/itron/task.h>
-
-
-/*
- * wup_tsk - Wakeup Other Task
- */
-
-ER wup_tsk(
- ID tskid __attribute__((unused))
-)
-{
- return E_OK;
-}