summaryrefslogtreecommitdiffstats
path: root/testsuites
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-07-22 10:21:03 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-07-22 16:57:25 +0200
commit4b48ece07d4aef3d43cf1865944f0cd1ca4a7b6c (patch)
treebb37e9f3b6b76d31db394cac5e036900d5cc0cc7 /testsuites
parentscore: Create chain implementation header (diff)
downloadrtems-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 'testsuites')
-rw-r--r--testsuites/sptests/sp20/task1.c2
-rw-r--r--testsuites/sptests/sp67/init.c2
-rw-r--r--testsuites/sptests/spedfsched02/task1.c2
-rw-r--r--testsuites/sptests/spintrcritical09/init.c1
-rw-r--r--testsuites/sptests/spsize/size.c1
-rw-r--r--testsuites/sptests/spwatchdog/init.c2
-rw-r--r--testsuites/sptests/spwatchdog/task1.c2
7 files changed, 12 insertions, 0 deletions
diff --git a/testsuites/sptests/sp20/task1.c b/testsuites/sptests/sp20/task1.c
index fb2d318d41..91a57fbd2c 100644
--- a/testsuites/sptests/sp20/task1.c
+++ b/testsuites/sptests/sp20/task1.c
@@ -13,6 +13,8 @@
#include "system.h"
+#include <rtems/score/watchdogimpl.h>
+
/*
runtime of TA6 should be shorter than TA5
*/
diff --git a/testsuites/sptests/sp67/init.c b/testsuites/sptests/sp67/init.c
index 60f6c7bc39..4b78bba026 100644
--- a/testsuites/sptests/sp67/init.c
+++ b/testsuites/sptests/sp67/init.c
@@ -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(
diff --git a/testsuites/sptests/spedfsched02/task1.c b/testsuites/sptests/spedfsched02/task1.c
index fef8df9625..79614afa63 100644
--- a/testsuites/sptests/spedfsched02/task1.c
+++ b/testsuites/sptests/spedfsched02/task1.c
@@ -21,6 +21,8 @@
#include "system.h"
+#include <rtems/score/watchdogimpl.h>
+
/*
runtime of TA6 should be shorter than TA5
*/
diff --git a/testsuites/sptests/spintrcritical09/init.c b/testsuites/sptests/spintrcritical09/init.c
index a7f79b2be8..81f00768e7 100644
--- a/testsuites/sptests/spintrcritical09/init.c
+++ b/testsuites/sptests/spintrcritical09/init.c
@@ -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;
diff --git a/testsuites/sptests/spsize/size.c b/testsuites/sptests/spsize/size.c
index 4885397562..6f3f4c99b1 100644
--- a/testsuites/sptests/spsize/size.c
+++ b/testsuites/sptests/spsize/size.c
@@ -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>
diff --git a/testsuites/sptests/spwatchdog/init.c b/testsuites/sptests/spwatchdog/init.c
index f2cf992b36..a7a332a26c 100644
--- a/testsuites/sptests/spwatchdog/init.c
+++ b/testsuites/sptests/spwatchdog/init.c
@@ -22,6 +22,8 @@
#define CONFIGURE_INIT
#include "system.h"
+#include <rtems/score/watchdogimpl.h>
+
rtems_task Init(
rtems_task_argument argument
)
diff --git a/testsuites/sptests/spwatchdog/task1.c b/testsuites/sptests/spwatchdog/task1.c
index 1a63e288e4..c73d154b20 100644
--- a/testsuites/sptests/spwatchdog/task1.c
+++ b/testsuites/sptests/spwatchdog/task1.c
@@ -21,6 +21,8 @@
#include "system.h"
+#include <rtems/score/watchdogimpl.h>
+
rtems_task Task_1(
rtems_task_argument argument
)