From dce487912d98835b8168e755b60514f5a8592b27 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 23 May 2016 13:37:59 +0200 Subject: score: Add Status_Control for all APIs Unify the status codes of the Classic and POSIX API to use the new enum Status_Control. This eliminates the Thread_Control::Wait::timeout_code field and the timeout parameter of _Thread_queue_Enqueue_critical() and _MPCI_Send_request_packet(). It gets rid of the status code translation tables and instead uses simple bit operations to get the status for a particular API. This enables translation of status code constants at compile time. Add _Thread_Wait_get_status() to avoid direct access of thread internal data structures. --- cpukit/rtems/Makefile.am | 3 --- 1 file changed, 3 deletions(-) (limited to 'cpukit/rtems/Makefile.am') diff --git a/cpukit/rtems/Makefile.am b/cpukit/rtems/Makefile.am index 368dcdce12..0a452c8121 100644 --- a/cpukit/rtems/Makefile.am +++ b/cpukit/rtems/Makefile.am @@ -129,7 +129,6 @@ librtems_a_SOURCES += src/barrier.c librtems_a_SOURCES += src/barriercreate.c librtems_a_SOURCES += src/barrierdelete.c librtems_a_SOURCES += src/barrierident.c -librtems_a_SOURCES += src/barriertranslatereturncode.c librtems_a_SOURCES += src/barrierrelease.c librtems_a_SOURCES += src/barrierwait.c @@ -170,7 +169,6 @@ librtems_a_SOURCES += src/msgqgetnumberpending.c librtems_a_SOURCES += src/msgqident.c librtems_a_SOURCES += src/msgqreceive.c librtems_a_SOURCES += src/msgqsend.c -librtems_a_SOURCES += src/msgqtranslatereturncode.c librtems_a_SOURCES += src/msgqurgent.c ## SEMAPHORE_C_FILES @@ -181,7 +179,6 @@ librtems_a_SOURCES += src/semident.c librtems_a_SOURCES += src/semobtain.c librtems_a_SOURCES += src/semrelease.c librtems_a_SOURCES += src/semflush.c -librtems_a_SOURCES += src/semtranslatereturncode.c librtems_a_SOURCES += src/semsetpriority.c ## EVENT_C_FILES -- cgit v1.2.3