diff options
Diffstat (limited to 'testsuites/sptests/sp40/init.c')
-rw-r--r-- | testsuites/sptests/sp40/init.c | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/testsuites/sptests/sp40/init.c b/testsuites/sptests/sp40/init.c new file mode 100644 index 0000000000..3c5dd7bd4d --- /dev/null +++ b/testsuites/sptests/sp40/init.c @@ -0,0 +1,38 @@ +/* + * IO Manager Dynamic Registration + * + * COPYRIGHT (c) 1989-2007. + * 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$ + */ + +#define TEST_INIT +#include "system.h" + +rtems_task Init( + rtems_task_argument argument +) +{ + puts( "\n\n*** TEST 40 ***" ); + + /* + * Register two drivers to fill up the table + */ + + /* add major = 4 */ + + /* add major = 3 */ + + /* + * Unregister major = 3 to leave slot which is not at + * the end of the Driver Table. + */ + + puts( "*** END OF TEST 40 ***" ); + rtems_test_exit( 0 ); +} |