mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-11-09 08:37:58 +08:00
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.
This commit is contained in:
1 parent
6e93dc4a95
commit
4b48ece07d
77 files changed
+573
-524
No files matched your search
@@ -233,7 +233,7 @@ rtems_capture_cli_task_list (int argc __attribute__((un
|
||||
capture_timestamp (&ticks, &tick_offset);
|
||||
else
|
||||
{
|
||||
ticks = _Watchdog_Ticks_since_boot;
|
||||
ticks = rtems_clock_get_ticks_since_boot();
|
||||
tick_offset = 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -121,7 +121,7 @@ static inline void rtems_capture_get_time (uint32_t* ticks,
|
||||
capture_timestamp (ticks, tick_offset);
|
||||
else
|
||||
{
|
||||
*ticks = _Watchdog_Ticks_since_boot;
|
||||
*ticks = rtems_clock_get_ticks_since_boot();
|
||||
*tick_offset = 0;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
#include <inttypes.h>
|
||||
|
||||
#include <rtems/cpuuse.h>
|
||||
#include <rtems/score/watchdogimpl.h>
|
||||
|
||||
#ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__
|
||||
static bool is_executing_on_a_core(
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
#include <inttypes.h>
|
||||
|
||||
#include <rtems/cpuuse.h>
|
||||
#include <rtems/score/watchdogimpl.h>
|
||||
|
||||
static void CPU_usage_Per_thread_handler(
|
||||
Thread_Control *the_thread
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
#include <pthread.h>
|
||||
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/score/watchdogimpl.h>
|
||||
#include <rtems/posix/pthreadimpl.h>
|
||||
#include <rtems/posix/psignalimpl.h>
|
||||
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
#include <rtems/score/scheduler.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/tod.h>
|
||||
#include <rtems/score/watchdogimpl.h>
|
||||
|
||||
#include <rtems/seterr.h>
|
||||
#include <rtems/score/timespec.h>
|
||||
|
||||
@@ -32,6 +32,7 @@
|
||||
#include <rtems/score/isr.h>
|
||||
#include <rtems/score/thread.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>
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
#include <rtems/score/isr.h>
|
||||
#include <rtems/score/thread.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>
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/threadq.h>
|
||||
#include <rtems/score/userextimpl.h>
|
||||
#include <rtems/score/watchdogimpl.h>
|
||||
#include <rtems/score/wkspace.h>
|
||||
#include <rtems/posix/cancel.h>
|
||||
#include <rtems/posix/pthreadimpl.h>
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
#include <rtems/posix/priorityimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
#include <rtems/score/apimutex.h>
|
||||
#include <rtems/score/watchdogimpl.h>
|
||||
|
||||
static inline size_t _POSIX_Threads_Ensure_minimum_stack (
|
||||
size_t size
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
#include <errno.h>
|
||||
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/score/watchdogimpl.h>
|
||||
#include <rtems/posix/pthreadimpl.h>
|
||||
#include <rtems/posix/priorityimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
#include <rtems/posix/sigset.h>
|
||||
#include <rtems/posix/time.h>
|
||||
#include <rtems/posix/timerimpl.h>
|
||||
#include <rtems/score/watchdogimpl.h>
|
||||
|
||||
int timer_create(
|
||||
clockid_t clock_id,
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/seterr.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/watchdogimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
#include <rtems/posix/timerimpl.h>
|
||||
|
||||
|
||||
@@ -28,6 +28,7 @@
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/tod.h>
|
||||
#include <rtems/score/timespec.h>
|
||||
#include <rtems/score/watchdogimpl.h>
|
||||
#include <rtems/posix/timerimpl.h>
|
||||
|
||||
/*
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/seterr.h>
|
||||
#include <rtems/score/isr.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/score/watchdogimpl.h>
|
||||
#include <rtems/posix/timerimpl.h>
|
||||
#include <rtems/posix/ptimer.h>
|
||||
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
#include <rtems/seterr.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/tod.h>
|
||||
#include <rtems/score/watchdogimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
#include <rtems/posix/ptimer.h>
|
||||
#include <rtems/posix/timerimpl.h>
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
/* #include <errno.h> */
|
||||
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/score/watchdogimpl.h>
|
||||
#include <rtems/posix/pthreadimpl.h>
|
||||
#include <rtems/posix/psignalimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
#include <rtems/score/isr.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/tod.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/score/watchdogimpl.h>
|
||||
|
||||
rtems_interval rtems_clock_get_ticks_since_boot(void)
|
||||
{
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
#include <rtems/score/isr.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/tod.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/score/watchdogimpl.h>
|
||||
|
||||
/*
|
||||
* rtems_clock_set_nanoseconds_extension
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
#include <rtems/score/isr.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/tod.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/score/watchdogimpl.h>
|
||||
|
||||
rtems_status_code rtems_clock_tick( void )
|
||||
{
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
#endif
|
||||
|
||||
#include <rtems/rtems/event.h>
|
||||
#include <rtems/score/watchdogimpl.h>
|
||||
|
||||
/*
|
||||
* INTERRUPT LATENCY:
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
#endif
|
||||
|
||||
#include <rtems/rtems/event.h>
|
||||
#include <rtems/score/watchdogimpl.h>
|
||||
|
||||
void _Event_Surrender(
|
||||
Thread_Control *the_thread,
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/rtems/ratemon.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/watchdogimpl.h>
|
||||
|
||||
rtems_status_code rtems_rate_monotonic_cancel(
|
||||
rtems_id id
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/rtems/ratemon.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/watchdogimpl.h>
|
||||
|
||||
/*
|
||||
* rtems_rate_monotonic_create
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/rtems/ratemon.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/watchdogimpl.h>
|
||||
|
||||
rtems_status_code rtems_rate_monotonic_delete(
|
||||
rtems_id id
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/rtems/ratemon.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/watchdogimpl.h>
|
||||
|
||||
bool _Rate_monotonic_Get_status(
|
||||
Rate_monotonic_Control *the_period,
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/rtems/ratemon.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/watchdogimpl.h>
|
||||
|
||||
void _Rate_monotonic_Timeout(
|
||||
Objects_Id id,
|
||||
|
||||
@@ -33,6 +33,7 @@
|
||||
#include <rtems/score/wkspace.h>
|
||||
#include <rtems/score/apiext.h>
|
||||
#include <rtems/score/sysstate.h>
|
||||
#include <rtems/score/watchdogimpl.h>
|
||||
|
||||
rtems_status_code rtems_task_wake_after(
|
||||
rtems_interval ticks
|
||||
|
||||
@@ -33,6 +33,7 @@
|
||||
#include <rtems/score/wkspace.h>
|
||||
#include <rtems/score/apiext.h>
|
||||
#include <rtems/score/sysstate.h>
|
||||
#include <rtems/score/watchdogimpl.h>
|
||||
|
||||
rtems_status_code rtems_task_wake_when(
|
||||
rtems_time_of_day *time_buffer
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/rtems/timer.h>
|
||||
#include <rtems/score/tod.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/score/watchdogimpl.h>
|
||||
|
||||
/*
|
||||
* rtems_timer_cancel
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/rtems/timer.h>
|
||||
#include <rtems/score/tod.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/score/watchdogimpl.h>
|
||||
|
||||
rtems_status_code rtems_timer_create(
|
||||
rtems_name name,
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/rtems/timer.h>
|
||||
#include <rtems/score/tod.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/score/watchdogimpl.h>
|
||||
|
||||
rtems_status_code rtems_timer_delete(
|
||||
rtems_id id
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/rtems/timer.h>
|
||||
#include <rtems/score/tod.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/score/watchdogimpl.h>
|
||||
|
||||
rtems_status_code rtems_timer_fire_after(
|
||||
rtems_id id,
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/rtems/timer.h>
|
||||
#include <rtems/score/tod.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/score/watchdogimpl.h>
|
||||
|
||||
rtems_status_code rtems_timer_fire_when(
|
||||
rtems_id id,
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/rtems/timer.h>
|
||||
#include <rtems/score/tod.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/score/watchdogimpl.h>
|
||||
|
||||
/*
|
||||
* rtems_timer_reset
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/rtems/timer.h>
|
||||
#include <rtems/score/tod.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/score/watchdogimpl.h>
|
||||
|
||||
#include <rtems/rtems/tasks.h>
|
||||
#include <rtems/rtems/support.h>
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/rtems/timer.h>
|
||||
#include <rtems/score/tod.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/score/watchdogimpl.h>
|
||||
|
||||
rtems_status_code rtems_timer_server_fire_after(
|
||||
rtems_id id,
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/rtems/timer.h>
|
||||
#include <rtems/score/tod.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/score/watchdogimpl.h>
|
||||
|
||||
/*
|
||||
* rtems_timer_server_fire_when
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/tod.h>
|
||||
#include <rtems/score/userextimpl.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/score/watchdogimpl.h>
|
||||
#include <rtems/score/wkspace.h>
|
||||
|
||||
#include <rtems/sptables.h>
|
||||
|
||||
@@ -62,6 +62,7 @@ include_rtems_score_HEADERS += include/rtems/score/tqdata.h
|
||||
include_rtems_score_HEADERS += include/rtems/score/userext.h
|
||||
include_rtems_score_HEADERS += include/rtems/score/userextimpl.h
|
||||
include_rtems_score_HEADERS += include/rtems/score/watchdog.h
|
||||
include_rtems_score_HEADERS += include/rtems/score/watchdogimpl.h
|
||||
include_rtems_score_HEADERS += include/rtems/score/wkspace.h
|
||||
include_rtems_score_HEADERS += include/rtems/score/cpuopts.h
|
||||
include_rtems_score_HEADERS += include/rtems/score/basedefs.h
|
||||
@@ -106,7 +107,6 @@ include_rtems_score_HEADERS += inline/rtems/score/thread.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
|
||||
include_rtems_score_HEADERS += inline/rtems/score/watchdog.inl
|
||||
include_rtems_score_HEADERS += inline/rtems/score/wkspace.inl
|
||||
|
||||
if HAS_MP
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -231,6 +231,10 @@ $(PROJECT_INCLUDE)/rtems/score/watchdog.h: include/rtems/score/watchdog.h $(PROJ
|
||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/watchdog.h
|
||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/watchdog.h
|
||||
|
||||
$(PROJECT_INCLUDE)/rtems/score/watchdogimpl.h: include/rtems/score/watchdogimpl.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
|
||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/watchdogimpl.h
|
||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/watchdogimpl.h
|
||||
|
||||
$(PROJECT_INCLUDE)/rtems/score/wkspace.h: include/rtems/score/wkspace.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
|
||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/wkspace.h
|
||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/wkspace.h
|
||||
@@ -355,10 +359,6 @@ $(PROJECT_INCLUDE)/rtems/score/tqdata.inl: inline/rtems/score/tqdata.inl $(PROJE
|
||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/tqdata.inl
|
||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/tqdata.inl
|
||||
|
||||
$(PROJECT_INCLUDE)/rtems/score/watchdog.inl: inline/rtems/score/watchdog.inl $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
|
||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/watchdog.inl
|
||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/watchdog.inl
|
||||
|
||||
$(PROJECT_INCLUDE)/rtems/score/wkspace.inl: inline/rtems/score/wkspace.inl $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
|
||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/wkspace.inl
|
||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/wkspace.inl
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 )
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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)),
|
||||
|
||||
@@ -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)),
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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 )
|
||||
{
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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 =
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -13,6 +13,8 @@
|
||||
|
||||
#include "system.h"
|
||||
|
||||
#include <rtems/score/watchdogimpl.h>
|
||||
|
||||
/*
|
||||
runtime of TA6 should be shorter than TA5
|
||||
*/
|
||||
|
||||
@@ -16,6 +16,8 @@
|
||||
|
||||
#include <tmacros.h>
|
||||
|
||||
#include <rtems/score/watchdogimpl.h>
|
||||
|
||||
/* forward declarations to avoid warnings */
|
||||
rtems_task Init(rtems_task_argument argument);
|
||||
rtems_timer_service_routine TIMER_service_routine(
|
||||
|
||||
@@ -21,6 +21,8 @@
|
||||
|
||||
#include "system.h"
|
||||
|
||||
#include <rtems/score/watchdogimpl.h>
|
||||
|
||||
/*
|
||||
runtime of TA6 should be shorter than TA5
|
||||
*/
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
#include <intrcritical.h>
|
||||
|
||||
#include <rtems/rtems/semimpl.h>
|
||||
#include <rtems/score/watchdogimpl.h>
|
||||
|
||||
static rtems_id Semaphore;
|
||||
static bool case_hit;
|
||||
|
||||
@@ -45,6 +45,7 @@
|
||||
#include <rtems/rtems/timer.h>
|
||||
#include <rtems/score/tod.h>
|
||||
#include <rtems/score/userextimpl.h>
|
||||
#include <rtems/score/watchdogimpl.h>
|
||||
#include <rtems/score/wkspace.h>
|
||||
#if defined(RTEMS_SMP)
|
||||
#include <rtems/score/smp.h>
|
||||
|
||||
@@ -22,6 +22,8 @@
|
||||
#define CONFIGURE_INIT
|
||||
#include "system.h"
|
||||
|
||||
#include <rtems/score/watchdogimpl.h>
|
||||
|
||||
rtems_task Init(
|
||||
rtems_task_argument argument
|
||||
)
|
||||
|
||||
@@ -21,6 +21,8 @@
|
||||
|
||||
#include "system.h"
|
||||
|
||||
#include <rtems/score/watchdogimpl.h>
|
||||
|
||||
rtems_task Task_1(
|
||||
rtems_task_argument argument
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user