diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2003-11-11 00:57:23 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2003-11-11 00:57:23 +0000 |
commit | 532f51ce426bc247b7054ffc64f006f7397d6268 (patch) | |
tree | 672371d581f9567794f08d2eb5e315c3590647e8 /c/src/tests/samples/base_sp | |
parent | 2003-11-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff) | |
download | rtems-532f51ce426bc247b7054ffc64f006f7397d6268.tar.bz2 |
2003-11-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* base_mp/node1/.cvsignore: Remove.
* base_mp/node1/Makefile.am: Remove.
* base_mp/node1/base_mp.doc: Remove.
* base_mp/node1/base_mp.scn: Remove.
* base_mp/.cvsignore: Remove.
* base_mp/Makefile.am: Remove.
* base_mp/apptask.c: Remove.
* base_mp/init.c: Remove.
* base_mp/system.h: Remove.
* base_mp/node2/.cvsignore: Remove.
* base_mp/node2/Makefile.am: Remove.
* base_mp/node2/base_mp.doc: Remove.
* base_mp/node2/base_mp.scn: Remove.
* .cvsignore: Remove.
* ChangeLog: Remove.
* Makefile.am: Remove.
* README: Remove.
* configure.ac: Remove.
* sample.am: Remove.
* base_sp/.cvsignore: Remove.
* base_sp/Makefile.am: Remove.
* base_sp/apptask.c: Remove.
* base_sp/base_sp.doc: Remove.
* base_sp/base_sp.scn: Remove.
* base_sp/init.c: Remove.
* base_sp/system.h: Remove.
* cdtest/.cvsignore: Remove.
* cdtest/Makefile.am: Remove.
* cdtest/cdtest.scn: Remove.
* cdtest/init.c: Remove.
* cdtest/main.cc: Remove.
* cdtest/system.h: Remove.
* fileio/.cvsignore: Remove.
* fileio/Makefile.am: Remove.
* fileio/fileio.doc: Remove.
* fileio/init.c: Remove.
* fileio/system.h: Remove.
* hello/.cvsignore: Remove.
* hello/Makefile.am: Remove.
* hello/hello.doc: Remove.
* hello/hello.scn: Remove.
* hello/init.c: Remove.
* hello/system.h: Remove.
* loopback/.cvsignore: Remove.
* loopback/Makefile.am: Remove.
* loopback/README: Remove.
* loopback/init.c: Remove.
* loopback/loopback.scn: Remove.
* minimum/.cvsignore: Remove.
* minimum/Makefile.am: Remove.
* minimum/init.c: Remove.
* minimum/minimum.doc: Remove.
* minimum/minimum.scn: Remove.
* paranoia/.cvsignore: Remove.
* paranoia/Makefile.am: Remove.
* paranoia/init.c: Remove.
* paranoia/paranoia.c: Remove.
* paranoia/paranoia.doc: Remove.
* paranoia/system.h: Remove.
* pppd/.cvsignore: Remove.
* pppd/Makefile-user: Remove.
* pppd/Makefile.am: Remove.
* pppd/README: Remove.
* pppd/init.c: Remove.
* pppd/netconfig.h: Remove.
* pppd/ppp.conf: Remove.
* pppd/pppd.options: Remove.
* pppd/pppdapp.c: Remove.
* pppd/system.h: Remove.
* ticker/.cvsignore: Remove.
* ticker/Makefile.am: Remove.
* ticker/init.c: Remove.
* ticker/system.h: Remove.
* ticker/tasks.c: Remove.
* ticker/ticker.doc: Remove.
* ticker/ticker.scn: Remove.
* unlimited/.cvsignore: Remove.
* unlimited/Makefile.am: Remove.
* unlimited/init.c: Remove.
* unlimited/system.h: Remove.
* unlimited/test1.c: Remove.
* unlimited/test2.c: Remove.
* unlimited/test3.c: Remove.
* unlimited/unlimited.doc: Remove.
* unlimited/unlimited.scn: Remove.
Diffstat (limited to 'c/src/tests/samples/base_sp')
-rw-r--r-- | c/src/tests/samples/base_sp/.cvsignore | 2 | ||||
-rw-r--r-- | c/src/tests/samples/base_sp/Makefile.am | 41 | ||||
-rw-r--r-- | c/src/tests/samples/base_sp/apptask.c | 39 | ||||
-rw-r--r-- | c/src/tests/samples/base_sp/base_sp.doc | 12 | ||||
-rw-r--r-- | c/src/tests/samples/base_sp/base_sp.scn | 5 | ||||
-rw-r--r-- | c/src/tests/samples/base_sp/init.c | 48 | ||||
-rw-r--r-- | c/src/tests/samples/base_sp/system.h | 40 |
7 files changed, 0 insertions, 187 deletions
diff --git a/c/src/tests/samples/base_sp/.cvsignore b/c/src/tests/samples/base_sp/.cvsignore deleted file mode 100644 index 282522db03..0000000000 --- a/c/src/tests/samples/base_sp/.cvsignore +++ /dev/null @@ -1,2 +0,0 @@ -Makefile -Makefile.in diff --git a/c/src/tests/samples/base_sp/Makefile.am b/c/src/tests/samples/base_sp/Makefile.am deleted file mode 100644 index 0c5b0ac218..0000000000 --- a/c/src/tests/samples/base_sp/Makefile.am +++ /dev/null @@ -1,41 +0,0 @@ -## -## $Id$ -## - - -SAMPLE = base_sp -PGM = ${ARCH}/$(SAMPLE).exe - -MANAGERS = io - -C_FILES = init.c apptask.c -C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT)) - -H_FILES = system.h -noinst_HEADERS = $(H_FILES) - -DOCTYPES = doc scn -DOCS = $(DOCTYPES:%=$(SAMPLE).%) - -SRCS = $(DOCS) $(C_FILES) $(H_FILES) -OBJS = $(C_O_FILES) - -PRINT_SRCS = $(DOCS) - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am -include $(top_srcdir)/../automake/leaf.am -include $(top_srcdir)/sample.am - -# -# (OPTIONAL) Add local stuff here using += -# - -all-local: ${ARCH} $(TMPINSTALL_FILES) - -${PGM}: $(OBJS) $(LINK_FILES) - $(make-exe) - -EXTRA_DIST = $(C_FILES) $(DOCS) - -include $(top_srcdir)/../automake/local.am diff --git a/c/src/tests/samples/base_sp/apptask.c b/c/src/tests/samples/base_sp/apptask.c deleted file mode 100644 index c3f9cc5571..0000000000 --- a/c/src/tests/samples/base_sp/apptask.c +++ /dev/null @@ -1,39 +0,0 @@ -/* Application_task - * - * This routine is as an example of an application task which - * prints a message including its RTEMS task id. This task - * then invokes exit to return to the monitor. - * - * Input parameters: NONE - * - * Output parameters: NONE - * - * COPYRIGHT (c) 1989-1999. - * 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$ - */ - -#include "system.h" -#include <stdio.h> -#include <stdlib.h> - -rtems_task Application_task( - rtems_task_argument argument -) -{ - rtems_id tid; - rtems_status_code status; - - status = rtems_task_ident( RTEMS_SELF, RTEMS_SEARCH_ALL_NODES, &tid ); - - printf( "Application task was invoked with argument (%d) " - "and has id of 0x%x\n", argument, tid ); - - printf( "*** END OF SAMPLE SINGLE PROCESSOR APPLICATION ***\n" ); - exit( 0 ); -} diff --git a/c/src/tests/samples/base_sp/base_sp.doc b/c/src/tests/samples/base_sp/base_sp.doc deleted file mode 100644 index 5c0baceb8d..0000000000 --- a/c/src/tests/samples/base_sp/base_sp.doc +++ /dev/null @@ -1,12 +0,0 @@ -# -# $Id$ -# -# COPYRIGHT (c) 1989-1999. -# 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. -# - - diff --git a/c/src/tests/samples/base_sp/base_sp.scn b/c/src/tests/samples/base_sp/base_sp.scn deleted file mode 100644 index 117ddaecb8..0000000000 --- a/c/src/tests/samples/base_sp/base_sp.scn +++ /dev/null @@ -1,5 +0,0 @@ -*** SAMPLE SINGLE PROCESSOR APPLICATION *** -Creating and starting an application task -Application task was invoked with argument (0) and has id of 0x10002 -*** END OF SAMPLE SINGLE PROCESSOR APPLICATION *** - diff --git a/c/src/tests/samples/base_sp/init.c b/c/src/tests/samples/base_sp/init.c deleted file mode 100644 index 24d4e93b6e..0000000000 --- a/c/src/tests/samples/base_sp/init.c +++ /dev/null @@ -1,48 +0,0 @@ -/* Init - * - * This routine is the initialization task for this test program. - * It is called from init_exec and has the responsibility for creating - * and starting the tasks that make up the test. If the time of day - * clock is required for the application, the current time might be - * set by this task. - * - * Input parameters: NONE - * - * Output parameters: NONE - * - * COPYRIGHT (c) 1989-1999. - * 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 CONFIGURE_INIT -#include "system.h" -#include <stdio.h> - -#define ARGUMENT 0 - -rtems_task Init( - rtems_task_argument argument -) -{ - rtems_name task_name; - rtems_id tid; - rtems_status_code status; - - printf( "\n\n*** SAMPLE SINGLE PROCESSOR APPLICATION ***\n" ); - printf( "Creating and starting an application task\n" ); - - task_name = rtems_build_name( 'T', 'A', '1', ' ' ); - - status = rtems_task_create( task_name, 1, RTEMS_MINIMUM_STACK_SIZE, - RTEMS_INTERRUPT_LEVEL(0), RTEMS_DEFAULT_ATTRIBUTES, &tid ); - - status = rtems_task_start( tid, Application_task, ARGUMENT ); - - status = rtems_task_delete( RTEMS_SELF ); -} diff --git a/c/src/tests/samples/base_sp/system.h b/c/src/tests/samples/base_sp/system.h deleted file mode 100644 index c076ab3b1b..0000000000 --- a/c/src/tests/samples/base_sp/system.h +++ /dev/null @@ -1,40 +0,0 @@ -/* system.h - * - * This include file contains information that is included in every - * function in the test set. - * - * COPYRIGHT (c) 1989-1999. - * 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$ - */ - -#include <rtems.h> - -/* functions */ - -rtems_task Init( - rtems_task_argument argument -); - -rtems_task Application_task( - rtems_task_argument argument -); - -/* configuration information */ - -#include <bsp.h> /* for device driver prototypes */ - -#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER - -#define CONFIGURE_MAXIMUM_TASKS 2 -#define CONFIGURE_RTEMS_INIT_TASKS_TABLE - -#include <confdefs.h> - -/* end of include file */ |