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_mp | |
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_mp')
-rw-r--r-- | c/src/tests/samples/base_mp/.cvsignore | 2 | ||||
-rw-r--r-- | c/src/tests/samples/base_mp/Makefile.am | 11 | ||||
-rw-r--r-- | c/src/tests/samples/base_mp/apptask.c | 38 | ||||
-rw-r--r-- | c/src/tests/samples/base_mp/init.c | 46 | ||||
-rw-r--r-- | c/src/tests/samples/base_mp/node1/.cvsignore | 2 | ||||
-rw-r--r-- | c/src/tests/samples/base_mp/node1/Makefile.am | 50 | ||||
-rw-r--r-- | c/src/tests/samples/base_mp/node1/base_mp.doc | 12 | ||||
-rw-r--r-- | c/src/tests/samples/base_mp/node1/base_mp.scn | 5 | ||||
-rw-r--r-- | c/src/tests/samples/base_mp/node2/.cvsignore | 2 | ||||
-rw-r--r-- | c/src/tests/samples/base_mp/node2/Makefile.am | 50 | ||||
-rw-r--r-- | c/src/tests/samples/base_mp/node2/base_mp.doc | 12 | ||||
-rw-r--r-- | c/src/tests/samples/base_mp/node2/base_mp.scn | 5 | ||||
-rw-r--r-- | c/src/tests/samples/base_mp/system.h | 47 |
13 files changed, 0 insertions, 282 deletions
diff --git a/c/src/tests/samples/base_mp/.cvsignore b/c/src/tests/samples/base_mp/.cvsignore deleted file mode 100644 index 282522db03..0000000000 --- a/c/src/tests/samples/base_mp/.cvsignore +++ /dev/null @@ -1,2 +0,0 @@ -Makefile -Makefile.in diff --git a/c/src/tests/samples/base_mp/Makefile.am b/c/src/tests/samples/base_mp/Makefile.am deleted file mode 100644 index c9d9638c6b..0000000000 --- a/c/src/tests/samples/base_mp/Makefile.am +++ /dev/null @@ -1,11 +0,0 @@ -## -## $Id$ -## - - -SUBDIRS = node1 node2 - -EXTRA_DIST = apptask.c init.c system.h - -include $(top_srcdir)/../automake/subdirs.am -include $(top_srcdir)/../automake/local.am diff --git a/c/src/tests/samples/base_mp/apptask.c b/c/src/tests/samples/base_mp/apptask.c deleted file mode 100644 index de41ea7d52..0000000000 --- a/c/src/tests/samples/base_mp/apptask.c +++ /dev/null @@ -1,38 +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: - * node - processor's node number - * - * 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 node -) -{ - rtems_id tid; - rtems_status_code status; - - status = rtems_task_ident( RTEMS_SELF, RTEMS_SEARCH_ALL_NODES, &tid ); - printf( "This task was invoked with the node argument (%d)\n", node ); - printf( "This task has the id of 0x%x\n", tid ); - printf( "*** END OF SAMPLE MULTIPROCESSOR APPLICATION ***\n" ); - exit( 0 ); -} diff --git a/c/src/tests/samples/base_mp/init.c b/c/src/tests/samples/base_mp/init.c deleted file mode 100644 index ac0dc3716a..0000000000 --- a/c/src/tests/samples/base_mp/init.c +++ /dev/null @@ -1,46 +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> - -rtems_task Init( - rtems_task_argument argument -) -{ - rtems_name task_name; - rtems_id tid; - rtems_status_code status; - - printf( "\n\n*** SAMPLE MULTIPROCESSOR 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, - Multiprocessing_configuration.node - ); - status = rtems_task_delete( RTEMS_SELF ); -} diff --git a/c/src/tests/samples/base_mp/node1/.cvsignore b/c/src/tests/samples/base_mp/node1/.cvsignore deleted file mode 100644 index 282522db03..0000000000 --- a/c/src/tests/samples/base_mp/node1/.cvsignore +++ /dev/null @@ -1,2 +0,0 @@ -Makefile -Makefile.in diff --git a/c/src/tests/samples/base_mp/node1/Makefile.am b/c/src/tests/samples/base_mp/node1/Makefile.am deleted file mode 100644 index 10afb291e4..0000000000 --- a/c/src/tests/samples/base_mp/node1/Makefile.am +++ /dev/null @@ -1,50 +0,0 @@ -## -## $Id$ -## - - -VPATH = @srcdir@:@srcdir@/.. - -NODE = 1 -SAMPLE = base_mp-node$(NODE) -PGM = ${ARCH}/$(SAMPLE).exe - -MANAGERS = io mp - -C_FILES = init.c apptask.c -C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT)) - -H_FILES = system.h - -DOCTYPES = doc scn -DOCS = $(DOCTYPES:%=base_mp.%) - -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 - -AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I. - -if HAS_MP - -# -# (OPTIONAL) Add local stuff here using += -# - -${PGM}: $(OBJS) $(LINK_FILES) - $(make-exe) - -all-local: $(ARCH) $(TMPINSTALL_FILES) -else -all-local: -endif - -EXTRA_DIST = $(DOCS) - -include $(top_srcdir)/../automake/local.am diff --git a/c/src/tests/samples/base_mp/node1/base_mp.doc b/c/src/tests/samples/base_mp/node1/base_mp.doc deleted file mode 100644 index 5c0baceb8d..0000000000 --- a/c/src/tests/samples/base_mp/node1/base_mp.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_mp/node1/base_mp.scn b/c/src/tests/samples/base_mp/node1/base_mp.scn deleted file mode 100644 index a2d2f359be..0000000000 --- a/c/src/tests/samples/base_mp/node1/base_mp.scn +++ /dev/null @@ -1,5 +0,0 @@ -*** SAMPLE MULTIPROCESSOR APPLICATION *** -Creating and starting an application task -This task was invoked with the node argument (1) -This task has the id of 0x10002 -*** END OF SAMPLE MULTIPROCESSOR APPLICATION *** diff --git a/c/src/tests/samples/base_mp/node2/.cvsignore b/c/src/tests/samples/base_mp/node2/.cvsignore deleted file mode 100644 index 282522db03..0000000000 --- a/c/src/tests/samples/base_mp/node2/.cvsignore +++ /dev/null @@ -1,2 +0,0 @@ -Makefile -Makefile.in diff --git a/c/src/tests/samples/base_mp/node2/Makefile.am b/c/src/tests/samples/base_mp/node2/Makefile.am deleted file mode 100644 index 5d912c0680..0000000000 --- a/c/src/tests/samples/base_mp/node2/Makefile.am +++ /dev/null @@ -1,50 +0,0 @@ -## -## $Id$ -## - - -VPATH = @srcdir@:@srcdir@/.. - -NODE = 2 -SAMPLE = base_mp-node$(NODE) -PGM = ${ARCH}/$(SAMPLE).exe - -MANAGERS = io mp - -C_FILES = init.c apptask.c -C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT)) - -H_FILES = system.h - -DOCTYPES = doc scn -DOCS = $(DOCTYPES:%=base_mp.%) - -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 - -AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I. - -if HAS_MP - -# -# (OPTIONAL) Add local stuff here using += -# - -${PGM}: $(OBJS) $(LINK_FILES) - $(make-exe) - -all-local: $(ARCH) $(TMPINSTALL_FILES) -else -all-local: -endif - -EXTRA_DIST = $(DOCS) - -include $(top_srcdir)/../automake/local.am diff --git a/c/src/tests/samples/base_mp/node2/base_mp.doc b/c/src/tests/samples/base_mp/node2/base_mp.doc deleted file mode 100644 index 5c0baceb8d..0000000000 --- a/c/src/tests/samples/base_mp/node2/base_mp.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_mp/node2/base_mp.scn b/c/src/tests/samples/base_mp/node2/base_mp.scn deleted file mode 100644 index 95bc96a808..0000000000 --- a/c/src/tests/samples/base_mp/node2/base_mp.scn +++ /dev/null @@ -1,5 +0,0 @@ -*** SAMPLE MULTIPROCESSOR APPLICATION *** -Creating and starting an application task -This task was invoked with the node argument (2) -This task has the id of 0x20002 -*** END OF SAMPLE MULTIPROCESSOR APPLICATION *** diff --git a/c/src/tests/samples/base_mp/system.h b/c/src/tests/samples/base_mp/system.h deleted file mode 100644 index f846d60b2b..0000000000 --- a/c/src/tests/samples/base_mp/system.h +++ /dev/null @@ -1,47 +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_MP_APPLICATION - -#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER - -#define CONFIGURE_MAXIMUM_TASKS 2 - -#define CONFIGURE_RTEMS_INIT_TASKS_TABLE - -/* - * Put the overrides of default configuration parameters here. - */ - -#include <confdefs.h> - -/* end of include file */ |