diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-07-22 10:21:03 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-07-22 16:57:25 +0200 |
commit | 4b48ece07d4aef3d43cf1865944f0cd1ca4a7b6c (patch) | |
tree | bb37e9f3b6b76d31db394cac5e036900d5cc0cc7 /cpukit/score/src | |
parent | score: Create chain implementation header (diff) | |
download | rtems-4b48ece07d4aef3d43cf1865944f0cd1ca4a7b6c.tar.bz2 |
score: Create watchdog implementation header
Move implementation specific parts of watchdog.h and watchdog.inl into
new header file watchdogimpl.h. The watchdog.h contains now only the
application visible API.
Diffstat (limited to 'cpukit/score/src')
26 files changed, 25 insertions, 14 deletions
diff --git a/cpukit/score/src/corespinlockwait.c b/cpukit/score/src/corespinlockwait.c index 56baad1abf..689180a218 100644 --- a/cpukit/score/src/corespinlockwait.c +++ b/cpukit/score/src/corespinlockwait.c @@ -23,7 +23,6 @@ #include <rtems/score/states.h> #include <rtems/score/thread.h> #include <rtems/score/threaddispatch.h> -#include <rtems/score/watchdog.h> /* * _CORE_spinlock_Wait diff --git a/cpukit/score/src/coretodget.c b/cpukit/score/src/coretodget.c index dbee757f25..e58b9fee95 100644 --- a/cpukit/score/src/coretodget.c +++ b/cpukit/score/src/coretodget.c @@ -19,7 +19,7 @@ #endif #include <rtems/score/tod.h> -#include <rtems/score/watchdog.h> +#include <rtems/score/watchdogimpl.h> Timestamp_Control *_TOD_Get_with_nanoseconds( Timestamp_Control *snapshot, diff --git a/cpukit/score/src/coretodset.c b/cpukit/score/src/coretodset.c index b141e2819a..3bf5e52de5 100644 --- a/cpukit/score/src/coretodset.c +++ b/cpukit/score/src/coretodset.c @@ -24,7 +24,7 @@ #include <rtems/score/threaddispatch.h> #include <rtems/score/timestamp.h> #include <rtems/score/tod.h> -#include <rtems/score/watchdog.h> +#include <rtems/score/watchdogimpl.h> void _TOD_Set_with_timestamp( const Timestamp_Control *tod diff --git a/cpukit/score/src/coretodtickle.c b/cpukit/score/src/coretodtickle.c index e464db3b52..4f53befe8d 100644 --- a/cpukit/score/src/coretodtickle.c +++ b/cpukit/score/src/coretodtickle.c @@ -23,7 +23,7 @@ #include <rtems/score/thread.h> #include <rtems/score/timestamp.h> #include <rtems/score/tod.h> -#include <rtems/score/watchdog.h> +#include <rtems/score/watchdogimpl.h> #include <rtems/config.h> void _TOD_Tickle_ticks( void ) diff --git a/cpukit/score/src/schedulercbsreleasejob.c b/cpukit/score/src/schedulercbsreleasejob.c index aec5ac8721..23453ed5c1 100644 --- a/cpukit/score/src/schedulercbsreleasejob.c +++ b/cpukit/score/src/schedulercbsreleasejob.c @@ -23,6 +23,7 @@ #include <rtems/config.h> #include <rtems/score/scheduler.h> #include <rtems/score/schedulercbs.h> +#include <rtems/score/watchdogimpl.h> void _Scheduler_CBS_Release_job( Thread_Control *the_thread, diff --git a/cpukit/score/src/schedulercbsunblock.c b/cpukit/score/src/schedulercbsunblock.c index 529d571dbf..5d7b2d0afe 100644 --- a/cpukit/score/src/schedulercbsunblock.c +++ b/cpukit/score/src/schedulercbsunblock.c @@ -22,6 +22,7 @@ #include <rtems/system.h> #include <rtems/score/scheduler.h> #include <rtems/score/schedulercbs.h> +#include <rtems/score/watchdogimpl.h> void _Scheduler_CBS_Unblock( Thread_Control *the_thread diff --git a/cpukit/score/src/scheduleredfprioritycompare.c b/cpukit/score/src/scheduleredfprioritycompare.c index 60e950dae7..546986254b 100644 --- a/cpukit/score/src/scheduleredfprioritycompare.c +++ b/cpukit/score/src/scheduleredfprioritycompare.c @@ -22,6 +22,7 @@ #include <rtems/system.h> #include <rtems/config.h> #include <rtems/score/scheduleredf.h> +#include <rtems/score/watchdogimpl.h> int _Scheduler_EDF_Priority_compare ( Priority_Control p1, diff --git a/cpukit/score/src/scheduleredfreleasejob.c b/cpukit/score/src/scheduleredfreleasejob.c index 83712ce162..c43e71f04d 100644 --- a/cpukit/score/src/scheduleredfreleasejob.c +++ b/cpukit/score/src/scheduleredfreleasejob.c @@ -22,6 +22,7 @@ #include <rtems/config.h> #include <rtems/score/scheduler.h> #include <rtems/score/scheduleredf.h> +#include <rtems/score/watchdogimpl.h> void _Scheduler_EDF_Release_job( Thread_Control *the_thread, diff --git a/cpukit/score/src/threadblockingoperationcancel.c b/cpukit/score/src/threadblockingoperationcancel.c index d67f995ab1..278dec51c8 100644 --- a/cpukit/score/src/threadblockingoperationcancel.c +++ b/cpukit/score/src/threadblockingoperationcancel.c @@ -23,6 +23,7 @@ #if defined(RTEMS_DEBUG) #include <rtems/score/interr.h> #endif +#include <rtems/score/watchdogimpl.h> void _Thread_blocking_operation_Cancel( #if defined(RTEMS_DEBUG) diff --git a/cpukit/score/src/threadclose.c b/cpukit/score/src/threadclose.c index 73fff78b73..e6fec8566f 100644 --- a/cpukit/score/src/threadclose.c +++ b/cpukit/score/src/threadclose.c @@ -32,6 +32,7 @@ #include <rtems/score/threaddispatch.h> #include <rtems/score/threadq.h> #include <rtems/score/userextimpl.h> +#include <rtems/score/watchdogimpl.h> #include <rtems/score/wkspace.h> void _Thread_Close( diff --git a/cpukit/score/src/threadinitialize.c b/cpukit/score/src/threadinitialize.c index cc74573def..64071e1199 100644 --- a/cpukit/score/src/threadinitialize.c +++ b/cpukit/score/src/threadinitialize.c @@ -31,7 +31,7 @@ #include <rtems/score/thread.h> #include <rtems/score/threadq.h> #include <rtems/score/userextimpl.h> -#include <rtems/score/watchdog.h> +#include <rtems/score/watchdogimpl.h> #include <rtems/score/wkspace.h> bool _Thread_Initialize( diff --git a/cpukit/score/src/threadqdequeuefifo.c b/cpukit/score/src/threadqdequeuefifo.c index fcad820c2f..b00b58189f 100644 --- a/cpukit/score/src/threadqdequeuefifo.c +++ b/cpukit/score/src/threadqdequeuefifo.c @@ -26,6 +26,7 @@ #include <rtems/score/thread.h> #include <rtems/score/threadq.h> #include <rtems/score/tqdata.h> +#include <rtems/score/watchdogimpl.h> Thread_Control *_Thread_queue_Dequeue_fifo( Thread_queue_Control *the_thread_queue diff --git a/cpukit/score/src/threadqdequeuepriority.c b/cpukit/score/src/threadqdequeuepriority.c index b9e7799ad4..0162488a9e 100644 --- a/cpukit/score/src/threadqdequeuepriority.c +++ b/cpukit/score/src/threadqdequeuepriority.c @@ -26,6 +26,7 @@ #include <rtems/score/thread.h> #include <rtems/score/threadq.h> #include <rtems/score/tqdata.h> +#include <rtems/score/watchdogimpl.h> Thread_Control *_Thread_queue_Dequeue_priority( Thread_queue_Control *the_thread_queue diff --git a/cpukit/score/src/threadqenqueue.c b/cpukit/score/src/threadqenqueue.c index 0849bf2a11..41cfd74080 100644 --- a/cpukit/score/src/threadqenqueue.c +++ b/cpukit/score/src/threadqenqueue.c @@ -29,6 +29,7 @@ #include <rtems/score/thread.h> #include <rtems/score/threadq.h> #include <rtems/score/tqdata.h> +#include <rtems/score/watchdogimpl.h> void _Thread_queue_Enqueue_with_handler( Thread_queue_Control *the_thread_queue, diff --git a/cpukit/score/src/threadqextractfifo.c b/cpukit/score/src/threadqextractfifo.c index 4dce010dc6..a0d52af2ff 100644 --- a/cpukit/score/src/threadqextractfifo.c +++ b/cpukit/score/src/threadqextractfifo.c @@ -27,6 +27,7 @@ #include <rtems/score/thread.h> #include <rtems/score/threadq.h> #include <rtems/score/tqdata.h> +#include <rtems/score/watchdogimpl.h> void _Thread_queue_Extract_fifo( Thread_queue_Control *the_thread_queue __attribute__((unused)), diff --git a/cpukit/score/src/threadqextractpriority.c b/cpukit/score/src/threadqextractpriority.c index 082b0389f3..29a1c645a8 100644 --- a/cpukit/score/src/threadqextractpriority.c +++ b/cpukit/score/src/threadqextractpriority.c @@ -26,6 +26,7 @@ #include <rtems/score/thread.h> #include <rtems/score/threadq.h> #include <rtems/score/tqdata.h> +#include <rtems/score/watchdogimpl.h> void _Thread_queue_Extract_priority_helper( Thread_queue_Control *the_thread_queue __attribute__((unused)), diff --git a/cpukit/score/src/threadreset.c b/cpukit/score/src/threadreset.c index 92cb636657..575cd272c8 100644 --- a/cpukit/score/src/threadreset.c +++ b/cpukit/score/src/threadreset.c @@ -30,6 +30,7 @@ #include <rtems/score/thread.h> #include <rtems/score/threadq.h> #include <rtems/score/wkspace.h> +#include <rtems/score/watchdogimpl.h> void _Thread_Reset( Thread_Control *the_thread, diff --git a/cpukit/score/src/watchdog.c b/cpukit/score/src/watchdog.c index 9e32b9c4c3..18064810f3 100644 --- a/cpukit/score/src/watchdog.c +++ b/cpukit/score/src/watchdog.c @@ -23,7 +23,7 @@ #include <rtems/system.h> #include <rtems/score/isr.h> -#include <rtems/score/watchdog.h> +#include <rtems/score/watchdogimpl.h> void _Watchdog_Handler_initialization( void ) { diff --git a/cpukit/score/src/watchdogadjust.c b/cpukit/score/src/watchdogadjust.c index b0723d0f0f..32a0a83785 100644 --- a/cpukit/score/src/watchdogadjust.c +++ b/cpukit/score/src/watchdogadjust.c @@ -20,7 +20,7 @@ #include <rtems/system.h> #include <rtems/score/isr.h> -#include <rtems/score/watchdog.h> +#include <rtems/score/watchdogimpl.h> void _Watchdog_Adjust( Chain_Control *header, diff --git a/cpukit/score/src/watchdogadjusttochain.c b/cpukit/score/src/watchdogadjusttochain.c index 902d9de380..ef32394388 100644 --- a/cpukit/score/src/watchdogadjusttochain.c +++ b/cpukit/score/src/watchdogadjusttochain.c @@ -20,7 +20,7 @@ #include <rtems/system.h> #include <rtems/score/isr.h> -#include <rtems/score/watchdog.h> +#include <rtems/score/watchdogimpl.h> void _Watchdog_Adjust_to_chain( Chain_Control *header, diff --git a/cpukit/score/src/watchdoginsert.c b/cpukit/score/src/watchdoginsert.c index d73e2f061b..fd4e6f4f9a 100644 --- a/cpukit/score/src/watchdoginsert.c +++ b/cpukit/score/src/watchdoginsert.c @@ -20,7 +20,7 @@ #include <rtems/system.h> #include <rtems/score/isr.h> -#include <rtems/score/watchdog.h> +#include <rtems/score/watchdogimpl.h> void _Watchdog_Insert( Chain_Control *header, diff --git a/cpukit/score/src/watchdognanoseconds.c b/cpukit/score/src/watchdognanoseconds.c index 41353bcc35..9c25239dff 100644 --- a/cpukit/score/src/watchdognanoseconds.c +++ b/cpukit/score/src/watchdognanoseconds.c @@ -24,7 +24,7 @@ #endif #include <rtems/system.h> -#include <rtems/score/watchdog.h> +#include <rtems/score/watchdogimpl.h> Watchdog_Nanoseconds_since_last_tick_routine _Watchdog_Nanoseconds_since_tick_handler = diff --git a/cpukit/score/src/watchdogremove.c b/cpukit/score/src/watchdogremove.c index 319d726561..98bb05aca8 100644 --- a/cpukit/score/src/watchdogremove.c +++ b/cpukit/score/src/watchdogremove.c @@ -20,7 +20,7 @@ #include <rtems/system.h> #include <rtems/score/isr.h> -#include <rtems/score/watchdog.h> +#include <rtems/score/watchdogimpl.h> Watchdog_States _Watchdog_Remove( Watchdog_Control *the_watchdog diff --git a/cpukit/score/src/watchdogreport.c b/cpukit/score/src/watchdogreport.c index e77c22aeb4..b357771bf4 100644 --- a/cpukit/score/src/watchdogreport.c +++ b/cpukit/score/src/watchdogreport.c @@ -19,7 +19,7 @@ #endif #include <rtems/system.h> -#include <rtems/score/watchdog.h> +#include <rtems/score/watchdogimpl.h> #include <rtems/bspIo.h> void _Watchdog_Report( diff --git a/cpukit/score/src/watchdogreportchain.c b/cpukit/score/src/watchdogreportchain.c index ea6c2f7415..b490f79b95 100644 --- a/cpukit/score/src/watchdogreportchain.c +++ b/cpukit/score/src/watchdogreportchain.c @@ -18,7 +18,7 @@ #endif #include <rtems/system.h> -#include <rtems/score/watchdog.h> +#include <rtems/score/watchdogimpl.h> #include <rtems/score/isr.h> #include <rtems/bspIo.h> diff --git a/cpukit/score/src/watchdogtickle.c b/cpukit/score/src/watchdogtickle.c index ff779588ef..51742cb6b1 100644 --- a/cpukit/score/src/watchdogtickle.c +++ b/cpukit/score/src/watchdogtickle.c @@ -20,7 +20,7 @@ #include <rtems/system.h> #include <rtems/score/isr.h> -#include <rtems/score/watchdog.h> +#include <rtems/score/watchdogimpl.h> void _Watchdog_Tickle( Chain_Control *header |