forked from Imagelibrary/rtems
score: Create states implementation header
Move implementation specific parts of states.h and states.inl into new header file statesimpl.h. The states.h contains now only the application visible API.
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
#include <rtems.h>
|
||||
#include <rtems/libio_.h>
|
||||
#include <rtems/rtems/barrierimpl.h>
|
||||
#include <rtems/score/statesimpl.h>
|
||||
|
||||
#include "pipe.h"
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
#include <string.h>
|
||||
|
||||
#include "capture.h"
|
||||
#include <rtems/score/states.inl>
|
||||
#include <rtems/score/statesimpl.h>
|
||||
|
||||
/*
|
||||
* These events are always recorded and are not part of the
|
||||
|
||||
@@ -11,8 +11,8 @@
|
||||
|
||||
#include <rtems.h>
|
||||
#include <rtems/monitor.h>
|
||||
|
||||
#include <rtems/assoc.h>
|
||||
#include <rtems/score/statesimpl.h>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <ctype.h>
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/posix/condimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/config.h>
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/posix/condimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/posix/condimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/posix/condimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/posix/condimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/posix/condimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/posix/condimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/posix/condimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/posix/condimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/posix/condimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/posix/condimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/posix/condimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/posix/condimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/posix/condimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/posix/condimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/posix/condimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
|
||||
@@ -24,11 +24,11 @@
|
||||
#include <signal.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/posix/pthreadimpl.h>
|
||||
#include <rtems/posix/psignalimpl.h>
|
||||
#include <rtems/seterr.h>
|
||||
#include <rtems/score/isr.h>
|
||||
#include <rtems/score/statesimpl.h>
|
||||
#include <rtems/seterr.h>
|
||||
|
||||
/*
|
||||
* If you enable this, then you get printk() feedback on each path
|
||||
|
||||
@@ -18,28 +18,30 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#if defined(RTEMS_DEBUG)
|
||||
#include <assert.h>
|
||||
#endif
|
||||
#include <errno.h>
|
||||
#include <pthread.h>
|
||||
#include <signal.h>
|
||||
#include <string.h> /* memcpy */
|
||||
#include <stdlib.h> /* exit */
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/config.h>
|
||||
#include <rtems/score/isr.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/isrlevel.h>
|
||||
#include <rtems/score/statesimpl.h>
|
||||
#include <rtems/score/threadq.h>
|
||||
#include <rtems/score/watchdogimpl.h>
|
||||
#include <rtems/score/wkspace.h>
|
||||
#include <rtems/seterr.h>
|
||||
#include <rtems/posix/threadsup.h>
|
||||
#include <rtems/posix/psignalimpl.h>
|
||||
#include <rtems/posix/pthreadimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
#include <stdio.h>
|
||||
#include <rtems/config.h>
|
||||
#include <rtems/seterr.h>
|
||||
|
||||
/*
|
||||
* Ensure we have the same number of vectors and default vector entries
|
||||
*/
|
||||
RTEMS_STATIC_ASSERT(
|
||||
sizeof( _POSIX_signals_Vectors ) == sizeof( _POSIX_signals_Default_vectors ),
|
||||
posix_signals_vectors
|
||||
);
|
||||
|
||||
/*** PROCESS WIDE STUFF ****/
|
||||
|
||||
@@ -176,16 +178,6 @@ void _POSIX_signals_Manager_Initialization(void)
|
||||
|
||||
maximum_queued_signals = Configuration_POSIX_API.maximum_queued_signals;
|
||||
|
||||
/*
|
||||
* Ensure we have the same number of vectors and default vector entries
|
||||
*/
|
||||
|
||||
#if defined(RTEMS_DEBUG)
|
||||
assert(
|
||||
sizeof(_POSIX_signals_Vectors) == sizeof(_POSIX_signals_Default_vectors)
|
||||
);
|
||||
#endif
|
||||
|
||||
memcpy(
|
||||
_POSIX_signals_Vectors,
|
||||
_POSIX_signals_Default_vectors,
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/posix/condimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
|
||||
@@ -40,7 +40,6 @@
|
||||
#define _RTEMS_RTEMS_TASKS_H
|
||||
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/rtems/types.h>
|
||||
#include <rtems/rtems/event.h>
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
#include <rtems/rtems/status.h>
|
||||
#include <rtems/rtems/support.h>
|
||||
#include <rtems/rtems/barrierimpl.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/threadq.h>
|
||||
|
||||
|
||||
@@ -18,16 +18,8 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/rtems/status.h>
|
||||
#include <rtems/rtems/event.h>
|
||||
#include <rtems/score/mpci.h>
|
||||
#include <rtems/score/mppkt.h>
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/rtems/options.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/rtems/support.h>
|
||||
#include <rtems/rtems/eventimpl.h>
|
||||
#include <rtems/score/statesimpl.h>
|
||||
|
||||
RTEMS_STATIC_ASSERT(
|
||||
sizeof(Event_MP_Packet) <= MP_PACKET_MINIMUM_PACKET_SIZE,
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
|
||||
#include <rtems/rtems/eventimpl.h>
|
||||
#include <rtems/rtems/tasks.h>
|
||||
#include <rtems/score/statesimpl.h>
|
||||
|
||||
rtems_status_code rtems_event_receive(
|
||||
rtems_event_set event_in,
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
#include <rtems/score/isr.h>
|
||||
#include <rtems/score/coremsgimpl.h>
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/wkspace.h>
|
||||
#if defined(RTEMS_MULTIPROCESSING)
|
||||
|
||||
@@ -28,6 +28,7 @@
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/rtems/support.h>
|
||||
#include <rtems/score/statesimpl.h>
|
||||
#include <rtems/score/threadimpl.h>
|
||||
|
||||
RTEMS_STATIC_ASSERT(
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
#include <rtems/score/isr.h>
|
||||
#include <rtems/score/coremsgimpl.h>
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/wkspace.h>
|
||||
#if defined(RTEMS_MULTIPROCESSING)
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
#include <rtems/score/isr.h>
|
||||
#include <rtems/score/coremsgimpl.h>
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/wkspace.h>
|
||||
#if defined(RTEMS_MULTIPROCESSING)
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
#include <rtems/score/isr.h>
|
||||
#include <rtems/score/coremsgimpl.h>
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/wkspace.h>
|
||||
#if defined(RTEMS_MULTIPROCESSING)
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
#include <rtems/score/isr.h>
|
||||
#include <rtems/score/coremsgimpl.h>
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/wkspace.h>
|
||||
#if defined(RTEMS_MULTIPROCESSING)
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
#include <rtems/score/isr.h>
|
||||
#include <rtems/score/coremsgimpl.h>
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/wkspace.h>
|
||||
#if defined(RTEMS_MULTIPROCESSING)
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
#include <rtems/score/isr.h>
|
||||
#include <rtems/score/coremsgimpl.h>
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/wkspace.h>
|
||||
#if defined(RTEMS_MULTIPROCESSING)
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
#include <rtems/score/isr.h>
|
||||
#include <rtems/score/coremsgimpl.h>
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/wkspace.h>
|
||||
#if defined(RTEMS_MULTIPROCESSING)
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
#include <rtems/score/isr.h>
|
||||
#include <rtems/score/coremsgimpl.h>
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/wkspace.h>
|
||||
#if defined(RTEMS_MULTIPROCESSING)
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
#include <rtems/score/isr.h>
|
||||
#include <rtems/score/coremsgimpl.h>
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/wkspace.h>
|
||||
#if defined(RTEMS_MULTIPROCESSING)
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
#include <rtems/score/isr.h>
|
||||
#include <rtems/score/coremsgimpl.h>
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/threadimpl.h>
|
||||
#include <rtems/score/wkspace.h>
|
||||
#if defined(RTEMS_MULTIPROCESSING)
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
#include <rtems/score/isr.h>
|
||||
#include <rtems/score/coremsgimpl.h>
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/wkspace.h>
|
||||
#if defined(RTEMS_MULTIPROCESSING)
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
#include <rtems/rtems/partimpl.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/rtems/support.h>
|
||||
#include <rtems/score/statesimpl.h>
|
||||
#include <rtems/score/threadimpl.h>
|
||||
|
||||
RTEMS_STATIC_ASSERT(
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/rtems/options.h>
|
||||
#include <rtems/rtems/regionimpl.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/apimutex.h>
|
||||
|
||||
|
||||
@@ -18,16 +18,12 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/rtems/attrimpl.h>
|
||||
#include <rtems/rtems/status.h>
|
||||
#include <rtems/rtems/support.h>
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/rtems/options.h>
|
||||
#include <rtems/rtems/regionimpl.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/rtems/attrimpl.h>
|
||||
#include <rtems/rtems/support.h>
|
||||
#include <rtems/score/apimutex.h>
|
||||
#include <rtems/score/statesimpl.h>
|
||||
#include <rtems/score/threadq.h>
|
||||
|
||||
/*
|
||||
* rtems_region_create
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/rtems/options.h>
|
||||
#include <rtems/rtems/regionimpl.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/apimutex.h>
|
||||
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/rtems/options.h>
|
||||
#include <rtems/rtems/regionimpl.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/apimutex.h>
|
||||
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/rtems/options.h>
|
||||
#include <rtems/rtems/regionimpl.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/apimutex.h>
|
||||
#include <rtems/score/thread.h>
|
||||
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/rtems/options.h>
|
||||
#include <rtems/rtems/regionimpl.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/apimutex.h>
|
||||
#include <rtems/score/thread.h>
|
||||
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/rtems/optionsimpl.h>
|
||||
#include <rtems/rtems/regionimpl.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/apimutex.h>
|
||||
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/rtems/options.h>
|
||||
#include <rtems/rtems/regionimpl.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/apimutex.h>
|
||||
|
||||
rtems_status_code rtems_region_get_segment_size(
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/rtems/options.h>
|
||||
#include <rtems/rtems/regionimpl.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/apimutex.h>
|
||||
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
#include <rtems/rtems/regionimpl.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/rtems/support.h>
|
||||
#include <rtems/score/statesimpl.h>
|
||||
#include <rtems/score/threadimpl.h>
|
||||
|
||||
RTEMS_STATIC_ASSERT(
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/rtems/options.h>
|
||||
#include <rtems/rtems/regionimpl.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/apimutex.h>
|
||||
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/rtems/options.h>
|
||||
#include <rtems/rtems/regionimpl.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/apimutex.h>
|
||||
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/rtems/options.h>
|
||||
#include <rtems/rtems/regionimpl.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/apimutex.h>
|
||||
|
||||
|
||||
@@ -29,7 +29,6 @@
|
||||
#include <rtems/rtems/semimpl.h>
|
||||
#include <rtems/score/coremuteximpl.h>
|
||||
#include <rtems/score/coresemimpl.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/threadq.h>
|
||||
#if defined(RTEMS_MULTIPROCESSING)
|
||||
|
||||
@@ -28,7 +28,6 @@
|
||||
#include <rtems/rtems/semimpl.h>
|
||||
#include <rtems/score/coremuteximpl.h>
|
||||
#include <rtems/score/coresemimpl.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/threadq.h>
|
||||
#if defined(RTEMS_MULTIPROCESSING)
|
||||
|
||||
@@ -28,7 +28,6 @@
|
||||
#include <rtems/rtems/semimpl.h>
|
||||
#include <rtems/score/coremuteximpl.h>
|
||||
#include <rtems/score/coresemimpl.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/threadq.h>
|
||||
#if defined(RTEMS_MULTIPROCESSING)
|
||||
|
||||
@@ -28,7 +28,6 @@
|
||||
#include <rtems/rtems/semimpl.h>
|
||||
#include <rtems/score/coremuteximpl.h>
|
||||
#include <rtems/score/coresemimpl.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/threadq.h>
|
||||
#if defined(RTEMS_MULTIPROCESSING)
|
||||
|
||||
@@ -28,7 +28,6 @@
|
||||
#include <rtems/rtems/semimpl.h>
|
||||
#include <rtems/score/coremuteximpl.h>
|
||||
#include <rtems/score/coresemimpl.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/threadq.h>
|
||||
#if defined(RTEMS_MULTIPROCESSING)
|
||||
|
||||
@@ -28,7 +28,6 @@
|
||||
#include <rtems/rtems/semimpl.h>
|
||||
#include <rtems/score/coremuteximpl.h>
|
||||
#include <rtems/score/coresemimpl.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/threadq.h>
|
||||
#if defined(RTEMS_MULTIPROCESSING)
|
||||
|
||||
@@ -43,7 +43,6 @@
|
||||
#include <rtems/rtems/semimpl.h>
|
||||
#include <rtems/score/coremuteximpl.h>
|
||||
#include <rtems/score/coresemimpl.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/threadq.h>
|
||||
#if defined(RTEMS_MULTIPROCESSING)
|
||||
|
||||
@@ -25,10 +25,10 @@
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/rtems/options.h>
|
||||
#include <rtems/rtems/signal.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/rtems/support.h>
|
||||
#include <rtems/score/statesimpl.h>
|
||||
#include <rtems/score/threadimpl.h>
|
||||
|
||||
RTEMS_STATIC_ASSERT(
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
|
||||
#include <rtems/rtems/eventimpl.h>
|
||||
#include <rtems/rtems/tasks.h>
|
||||
#include <rtems/score/statesimpl.h>
|
||||
|
||||
rtems_status_code rtems_event_system_receive(
|
||||
rtems_event_set event_in,
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
#include <rtems/rtems/modes.h>
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/score/stack.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/rtems/tasksimpl.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/threadq.h>
|
||||
|
||||
@@ -26,7 +26,6 @@
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/rtems/rtemsapi.h>
|
||||
#include <rtems/score/stack.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/rtems/tasksimpl.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/threadq.h>
|
||||
|
||||
@@ -28,6 +28,7 @@
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/rtems/support.h>
|
||||
#include <rtems/score/statesimpl.h>
|
||||
#include <rtems/score/threadimpl.h>
|
||||
|
||||
RTEMS_STATIC_ASSERT(
|
||||
|
||||
@@ -27,7 +27,6 @@
|
||||
#include <rtems/rtems/modes.h>
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/score/stack.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/rtems/tasksimpl.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/threadq.h>
|
||||
|
||||
@@ -56,6 +56,7 @@ include_rtems_score_HEADERS += include/rtems/score/smplock.h
|
||||
include_rtems_score_HEADERS += include/rtems/score/stack.h
|
||||
include_rtems_score_HEADERS += include/rtems/score/stackimpl.h
|
||||
include_rtems_score_HEADERS += include/rtems/score/states.h
|
||||
include_rtems_score_HEADERS += include/rtems/score/statesimpl.h
|
||||
include_rtems_score_HEADERS += include/rtems/score/sysstate.h
|
||||
include_rtems_score_HEADERS += include/rtems/score/thread.h
|
||||
include_rtems_score_HEADERS += include/rtems/score/threadimpl.h
|
||||
@@ -100,7 +101,6 @@ endif
|
||||
|
||||
## inline
|
||||
include_rtems_score_HEADERS += inline/rtems/score/object.inl
|
||||
include_rtems_score_HEADERS += inline/rtems/score/states.inl
|
||||
include_rtems_score_HEADERS += inline/rtems/score/threadq.inl
|
||||
include_rtems_score_HEADERS += inline/rtems/score/tod.inl
|
||||
include_rtems_score_HEADERS += inline/rtems/score/tqdata.inl
|
||||
|
||||
@@ -37,7 +37,6 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
#include <rtems/score/mppkt.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/threadq.h>
|
||||
#include <rtems/score/tqdata.h>
|
||||
|
||||
@@ -18,6 +18,12 @@
|
||||
#ifndef _RTEMS_SCORE_STATES_H
|
||||
#define _RTEMS_SCORE_STATES_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @defgroup ScoreStates SuperCore Thread States
|
||||
*
|
||||
@@ -28,105 +34,17 @@
|
||||
*/
|
||||
/**@{*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* The following type defines the control block used to manage a
|
||||
* thread's state.
|
||||
*/
|
||||
typedef uint32_t States_Control;
|
||||
|
||||
/*
|
||||
* The following constants define the individual states which may be
|
||||
* be used to compose and manipulate a thread's state.
|
||||
*/
|
||||
|
||||
/** This macro corresponds to all states being set. */
|
||||
#define STATES_ALL_SET 0xfffff
|
||||
/** This macro corresponds to a task being ready. */
|
||||
#define STATES_READY 0x00000
|
||||
/** This macro corresponds to a task being created but not yet started. */
|
||||
#define STATES_DORMANT 0x00001
|
||||
/** This macro corresponds to a task being suspended. */
|
||||
#define STATES_SUSPENDED 0x00002
|
||||
/** This macro corresponds to a task being in an internal state transition. */
|
||||
#define STATES_TRANSIENT 0x00004
|
||||
/** This macro corresponds to a task which is waiting for a timeout. */
|
||||
#define STATES_DELAYING 0x00008
|
||||
/** This macro corresponds to a task waiting until a specific TOD. */
|
||||
#define STATES_WAITING_FOR_TIME 0x00010
|
||||
/** This macro corresponds to a task waiting for a variable length buffer. */
|
||||
#define STATES_WAITING_FOR_BUFFER 0x00020
|
||||
/** This macro corresponds to a task waiting for a fixed size segment. */
|
||||
#define STATES_WAITING_FOR_SEGMENT 0x00040
|
||||
/** This macro corresponds to a task waiting for a message. */
|
||||
#define STATES_WAITING_FOR_MESSAGE 0x00080
|
||||
/** This macro corresponds to a task waiting for an event. */
|
||||
#define STATES_WAITING_FOR_EVENT 0x00100
|
||||
/** This macro corresponds to a task waiting for a semaphore. */
|
||||
#define STATES_WAITING_FOR_SEMAPHORE 0x00200
|
||||
/** This macro corresponds to a task waiting for a mutex. */
|
||||
#define STATES_WAITING_FOR_MUTEX 0x00400
|
||||
/** This macro corresponds to a task waiting for a condition variable. */
|
||||
#define STATES_WAITING_FOR_CONDITION_VARIABLE 0x00800
|
||||
/** This macro corresponds to a task waiting for a join while exiting. */
|
||||
#define STATES_WAITING_FOR_JOIN_AT_EXIT 0x01000
|
||||
/** This macro corresponds to a task waiting for a reply to an MPCI request. */
|
||||
#define STATES_WAITING_FOR_RPC_REPLY 0x02000
|
||||
/** This macro corresponds to a task waiting for a period. */
|
||||
#define STATES_WAITING_FOR_PERIOD 0x04000
|
||||
/** This macro corresponds to a task waiting for a signal. */
|
||||
#define STATES_WAITING_FOR_SIGNAL 0x08000
|
||||
/** This macro corresponds to a task waiting for a barrier. */
|
||||
#define STATES_WAITING_FOR_BARRIER 0x10000
|
||||
/** This macro corresponds to a task waiting for a RWLock. */
|
||||
#define STATES_WAITING_FOR_RWLOCK 0x20000
|
||||
/** This macro corresponds to a task waiting for a system event. */
|
||||
#define STATES_WAITING_FOR_SYSTEM_EVENT 0x40000
|
||||
|
||||
/** This macro corresponds to a task which is in an interruptible
|
||||
* blocking state.
|
||||
*/
|
||||
#define STATES_INTERRUPTIBLE_BY_SIGNAL 0x10000000
|
||||
|
||||
/** This macro corresponds to a task waiting for a local object operation. */
|
||||
#define STATES_LOCALLY_BLOCKED ( STATES_WAITING_FOR_BUFFER | \
|
||||
STATES_WAITING_FOR_SEGMENT | \
|
||||
STATES_WAITING_FOR_MESSAGE | \
|
||||
STATES_WAITING_FOR_SEMAPHORE | \
|
||||
STATES_WAITING_FOR_MUTEX | \
|
||||
STATES_WAITING_FOR_CONDITION_VARIABLE | \
|
||||
STATES_WAITING_FOR_JOIN_AT_EXIT | \
|
||||
STATES_WAITING_FOR_SIGNAL | \
|
||||
STATES_WAITING_FOR_BARRIER | \
|
||||
STATES_WAITING_FOR_RWLOCK )
|
||||
|
||||
/** This macro corresponds to a task waiting which is blocked on
|
||||
* a thread queue. */
|
||||
#define STATES_WAITING_ON_THREAD_QUEUE \
|
||||
( STATES_LOCALLY_BLOCKED | \
|
||||
STATES_WAITING_FOR_RPC_REPLY )
|
||||
|
||||
/** This macro corresponds to a task waiting which is blocked. */
|
||||
#define STATES_BLOCKED ( STATES_DELAYING | \
|
||||
STATES_WAITING_FOR_TIME | \
|
||||
STATES_WAITING_FOR_PERIOD | \
|
||||
STATES_WAITING_FOR_EVENT | \
|
||||
STATES_WAITING_FOR_SYSTEM_EVENT | \
|
||||
STATES_WAITING_ON_THREAD_QUEUE | \
|
||||
STATES_INTERRUPTIBLE_BY_SIGNAL )
|
||||
|
||||
#ifndef __RTEMS_APPLICATION__
|
||||
#include <rtems/score/states.inl>
|
||||
#endif
|
||||
/**@}*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/**@}*/
|
||||
|
||||
#endif
|
||||
/* end of include file */
|
||||
|
||||
@@ -16,20 +16,101 @@
|
||||
* http://www.rtems.com/license/LICENSE.
|
||||
*/
|
||||
|
||||
#ifndef _RTEMS_SCORE_STATES_H
|
||||
# error "Never use <rtems/score/states.inl> directly; include <rtems/score/states.h> instead."
|
||||
#ifndef _RTEMS_SCORE_STATESIMPL_H
|
||||
#define _RTEMS_SCORE_STATESIMPL_H
|
||||
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/basedefs.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifndef _RTEMS_SCORE_STATES_INL
|
||||
#define _RTEMS_SCORE_STATES_INL
|
||||
|
||||
#include <rtems/score/basedefs.h> /* RTEMS_INLINE_ROUTINE */
|
||||
|
||||
/**
|
||||
* @addtogroup ScoreStates
|
||||
*/
|
||||
/**@{**/
|
||||
|
||||
/*
|
||||
* The following constants define the individual states which may be
|
||||
* be used to compose and manipulate a thread's state.
|
||||
*/
|
||||
|
||||
/** This macro corresponds to all states being set. */
|
||||
#define STATES_ALL_SET 0xfffff
|
||||
/** This macro corresponds to a task being ready. */
|
||||
#define STATES_READY 0x00000
|
||||
/** This macro corresponds to a task being created but not yet started. */
|
||||
#define STATES_DORMANT 0x00001
|
||||
/** This macro corresponds to a task being suspended. */
|
||||
#define STATES_SUSPENDED 0x00002
|
||||
/** This macro corresponds to a task being in an internal state transition. */
|
||||
#define STATES_TRANSIENT 0x00004
|
||||
/** This macro corresponds to a task which is waiting for a timeout. */
|
||||
#define STATES_DELAYING 0x00008
|
||||
/** This macro corresponds to a task waiting until a specific TOD. */
|
||||
#define STATES_WAITING_FOR_TIME 0x00010
|
||||
/** This macro corresponds to a task waiting for a variable length buffer. */
|
||||
#define STATES_WAITING_FOR_BUFFER 0x00020
|
||||
/** This macro corresponds to a task waiting for a fixed size segment. */
|
||||
#define STATES_WAITING_FOR_SEGMENT 0x00040
|
||||
/** This macro corresponds to a task waiting for a message. */
|
||||
#define STATES_WAITING_FOR_MESSAGE 0x00080
|
||||
/** This macro corresponds to a task waiting for an event. */
|
||||
#define STATES_WAITING_FOR_EVENT 0x00100
|
||||
/** This macro corresponds to a task waiting for a semaphore. */
|
||||
#define STATES_WAITING_FOR_SEMAPHORE 0x00200
|
||||
/** This macro corresponds to a task waiting for a mutex. */
|
||||
#define STATES_WAITING_FOR_MUTEX 0x00400
|
||||
/** This macro corresponds to a task waiting for a condition variable. */
|
||||
#define STATES_WAITING_FOR_CONDITION_VARIABLE 0x00800
|
||||
/** This macro corresponds to a task waiting for a join while exiting. */
|
||||
#define STATES_WAITING_FOR_JOIN_AT_EXIT 0x01000
|
||||
/** This macro corresponds to a task waiting for a reply to an MPCI request. */
|
||||
#define STATES_WAITING_FOR_RPC_REPLY 0x02000
|
||||
/** This macro corresponds to a task waiting for a period. */
|
||||
#define STATES_WAITING_FOR_PERIOD 0x04000
|
||||
/** This macro corresponds to a task waiting for a signal. */
|
||||
#define STATES_WAITING_FOR_SIGNAL 0x08000
|
||||
/** This macro corresponds to a task waiting for a barrier. */
|
||||
#define STATES_WAITING_FOR_BARRIER 0x10000
|
||||
/** This macro corresponds to a task waiting for a RWLock. */
|
||||
#define STATES_WAITING_FOR_RWLOCK 0x20000
|
||||
/** This macro corresponds to a task waiting for a system event. */
|
||||
#define STATES_WAITING_FOR_SYSTEM_EVENT 0x40000
|
||||
|
||||
/** This macro corresponds to a task which is in an interruptible
|
||||
* blocking state.
|
||||
*/
|
||||
#define STATES_INTERRUPTIBLE_BY_SIGNAL 0x10000000
|
||||
|
||||
/** This macro corresponds to a task waiting for a local object operation. */
|
||||
#define STATES_LOCALLY_BLOCKED ( STATES_WAITING_FOR_BUFFER | \
|
||||
STATES_WAITING_FOR_SEGMENT | \
|
||||
STATES_WAITING_FOR_MESSAGE | \
|
||||
STATES_WAITING_FOR_SEMAPHORE | \
|
||||
STATES_WAITING_FOR_MUTEX | \
|
||||
STATES_WAITING_FOR_CONDITION_VARIABLE | \
|
||||
STATES_WAITING_FOR_JOIN_AT_EXIT | \
|
||||
STATES_WAITING_FOR_SIGNAL | \
|
||||
STATES_WAITING_FOR_BARRIER | \
|
||||
STATES_WAITING_FOR_RWLOCK )
|
||||
|
||||
/** This macro corresponds to a task waiting which is blocked on
|
||||
* a thread queue. */
|
||||
#define STATES_WAITING_ON_THREAD_QUEUE \
|
||||
( STATES_LOCALLY_BLOCKED | \
|
||||
STATES_WAITING_FOR_RPC_REPLY )
|
||||
|
||||
/** This macro corresponds to a task waiting which is blocked. */
|
||||
#define STATES_BLOCKED ( STATES_DELAYING | \
|
||||
STATES_WAITING_FOR_TIME | \
|
||||
STATES_WAITING_FOR_PERIOD | \
|
||||
STATES_WAITING_FOR_EVENT | \
|
||||
STATES_WAITING_FOR_SYSTEM_EVENT | \
|
||||
STATES_WAITING_ON_THREAD_QUEUE | \
|
||||
STATES_INTERRUPTIBLE_BY_SIGNAL )
|
||||
|
||||
/**
|
||||
* This function sets the given states_to_set into the current_state
|
||||
* passed in. The result is returned to the user in current_state.
|
||||
@@ -388,5 +469,9 @@ RTEMS_INLINE_ROUTINE bool _States_Are_set (
|
||||
|
||||
/** @} */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
/* end of include file */
|
||||
@@ -20,6 +20,7 @@
|
||||
#define _RTEMS_SCORE_THREADIMPL_H
|
||||
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/statesimpl.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
@@ -207,6 +207,10 @@ $(PROJECT_INCLUDE)/rtems/score/states.h: include/rtems/score/states.h $(PROJECT_
|
||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/states.h
|
||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/states.h
|
||||
|
||||
$(PROJECT_INCLUDE)/rtems/score/statesimpl.h: include/rtems/score/statesimpl.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
|
||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/statesimpl.h
|
||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/statesimpl.h
|
||||
|
||||
$(PROJECT_INCLUDE)/rtems/score/sysstate.h: include/rtems/score/sysstate.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
|
||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/sysstate.h
|
||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/sysstate.h
|
||||
@@ -331,10 +335,6 @@ $(PROJECT_INCLUDE)/rtems/score/object.inl: inline/rtems/score/object.inl $(PROJE
|
||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/object.inl
|
||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/object.inl
|
||||
|
||||
$(PROJECT_INCLUDE)/rtems/score/states.inl: inline/rtems/score/states.inl $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
|
||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/states.inl
|
||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/states.inl
|
||||
|
||||
$(PROJECT_INCLUDE)/rtems/score/threadq.inl: inline/rtems/score/threadq.inl $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
|
||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/threadq.inl
|
||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/threadq.inl
|
||||
|
||||
@@ -18,9 +18,8 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/score/corebarrierimpl.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/statesimpl.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/threadq.h>
|
||||
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/score/isr.h>
|
||||
#include <rtems/score/corebarrierimpl.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/threadq.h>
|
||||
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/score/isr.h>
|
||||
#include <rtems/score/corebarrierimpl.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/threadq.h>
|
||||
|
||||
|
||||
@@ -18,13 +18,9 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/score/chain.h>
|
||||
#include <rtems/score/isr.h>
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/score/coremsgimpl.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/statesimpl.h>
|
||||
#include <rtems/score/threadq.h>
|
||||
#include <rtems/score/wkspace.h>
|
||||
|
||||
/*
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
#include <rtems/score/isr.h>
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/score/coremsgimpl.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/wkspace.h>
|
||||
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
#include <rtems/score/isr.h>
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/score/coremsgimpl.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/wkspace.h>
|
||||
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
#include <rtems/score/isr.h>
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/score/coremsgimpl.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/wkspace.h>
|
||||
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
#include <rtems/score/isr.h>
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/score/coremsgimpl.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/wkspace.h>
|
||||
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
#include <rtems/score/isr.h>
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/score/coremsgimpl.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/wkspace.h>
|
||||
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
#include <rtems/score/isr.h>
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/score/coremsgimpl.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/wkspace.h>
|
||||
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
#include <rtems/score/isr.h>
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/score/coremsgimpl.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/wkspace.h>
|
||||
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
#include <rtems/score/isr.h>
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/score/coremsgimpl.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/wkspace.h>
|
||||
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/score/isr.h>
|
||||
#include <rtems/score/coremuteximpl.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/threadq.h>
|
||||
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/score/isr.h>
|
||||
#include <rtems/score/coremuteximpl.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/threadq.h>
|
||||
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
#include <rtems/score/isr.h>
|
||||
#include <rtems/score/coremuteximpl.h>
|
||||
#include <rtems/score/schedulerimpl.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/threadq.h>
|
||||
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/score/isr.h>
|
||||
#include <rtems/score/coremuteximpl.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/threadq.h>
|
||||
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/score/isr.h>
|
||||
#include <rtems/score/coremuteximpl.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/threadq.h>
|
||||
|
||||
|
||||
@@ -18,10 +18,8 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/score/corerwlockimpl.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/statesimpl.h>
|
||||
#include <rtems/score/threadq.h>
|
||||
|
||||
void _CORE_RWLock_Initialize(
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/score/corerwlockimpl.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/score/corerwlockimpl.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/score/corerwlockimpl.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
|
||||
|
||||
@@ -18,11 +18,8 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/score/isr.h>
|
||||
#include <rtems/score/coresemimpl.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/statesimpl.h>
|
||||
#include <rtems/score/threadq.h>
|
||||
|
||||
void _CORE_semaphore_Initialize(
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/score/isr.h>
|
||||
#include <rtems/score/coresemimpl.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/threadq.h>
|
||||
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/score/isr.h>
|
||||
#include <rtems/score/coresemimpl.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/threadq.h>
|
||||
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/score/isr.h>
|
||||
#include <rtems/score/coresemimpl.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/threadq.h>
|
||||
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/score/corespinlockimpl.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/threadq.h>
|
||||
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/score/corespinlockimpl.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/score/corespinlockimpl.h>
|
||||
#include <rtems/score/states.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/threaddispatch.h>
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user