summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spfatal_support/system.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2010-06-22 01:28:13 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2010-06-22 01:28:13 +0000
commit5d8a0bab42122a0d1d60334d7262546dcbbc116c (patch)
treea4e06d3f9b2f8632be492b3f650baf524b3dfa03 /testsuites/sptests/spfatal_support/system.h
parent2010-06-21 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-5d8a0bab42122a0d1d60334d7262546dcbbc116c.tar.bz2
2010-06-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac, spfatal_support/init.c, spfatal_support/system.h: Add new tests to generate fatal errors in open_dev_console(). * spfatal14/.cvsignore, spfatal14/Makefile.am, spfatal14/spfatal14.doc, spfatal14/spfatal14.scn, spfatal14/testcase.h, spfatal15/.cvsignore, spfatal15/Makefile.am, spfatal15/spfatal15.doc, spfatal15/spfatal15.scn, spfatal15/testcase.h, spfatal_support/consume_sems.c: New files.
Diffstat (limited to '')
-rw-r--r--testsuites/sptests/spfatal_support/system.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuites/sptests/spfatal_support/system.h b/testsuites/sptests/spfatal_support/system.h
index 4373220c36..07f863e53d 100644
--- a/testsuites/sptests/spfatal_support/system.h
+++ b/testsuites/sptests/spfatal_support/system.h
@@ -45,6 +45,15 @@ void force_error(void);
/* need some prototypes for test cases */
+rtems_device_driver consume_semaphores_initialize(
+ rtems_device_major_number major __attribute__((unused)),
+ rtems_device_minor_number minor __attribute__((unused)),
+ void *pargp __attribute__((unused))
+);
+
+#define CONSUME_SEMAPHORE_DRIVERS \
+ { consume_semaphores_initialize, NULL, NULL, NULL, NULL, NULL }
+
#include "testcase.h"
/* configuration information */