summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spintrcritical_support/intrcritical.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-07-10 20:31:17 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-07-10 20:31:17 +0000
commit0c196a192b1e894fb2143c8981c41d32ab7bfb1e (patch)
tree2298c498a24cced8fa14553bd8b586ab586c45e3 /testsuites/sptests/spintrcritical_support/intrcritical.h
parent2009-07-10 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-0c196a192b1e894fb2143c8981c41d32ab7bfb1e.tar.bz2
2009-07-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* spintrcritical_support/intrcritical.c, spintrcritical_support/intrcritical.h: New files.
Diffstat (limited to 'testsuites/sptests/spintrcritical_support/intrcritical.h')
-rw-r--r--testsuites/sptests/spintrcritical_support/intrcritical.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/testsuites/sptests/spintrcritical_support/intrcritical.h b/testsuites/sptests/spintrcritical_support/intrcritical.h
new file mode 100644
index 0000000000..4b523a656d
--- /dev/null
+++ b/testsuites/sptests/spintrcritical_support/intrcritical.h
@@ -0,0 +1,26 @@
+/*
+ * COPYRIGHT (c) 1989-2009.
+ * On-Line Applications Research Corporation (OAR).
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.com/license/LICENSE.
+ *
+ * $Id$
+ */
+
+#ifndef __INTERRUPT_CRITICAL_SECTIONS_TEST_SUPPORT_h
+#define __INTERRUPT_CRITICAL_SECTIONS_TEST_SUPPORT_h
+
+/**
+ * @brief Initialize Test Support
+ *
+ * @param[in] tsr is the optional timer service routine to fire
+ */
+void interrupt_critical_section_test_support_initialize(
+ rtems_timer_service_routine (*tsr)( rtems_id, void * )
+);
+
+void interrupt_critical_section_test_support_delay(void);
+#endif
+