forked from Imagelibrary/rtems
2003-11-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* mp01/node1/.cvsignore: Remove. * mp01/node1/Makefile.am: Remove. * mp01/node1/mp01.doc: Remove. * mp01/node1/mp01.scn: Remove. * mp01/.cvsignore: Remove. * mp01/Makefile.am: Remove. * mp01/init.c: Remove. * mp01/system.h: Remove. * mp01/task1.c: Remove. * mp01/node2/.cvsignore: Remove. * mp01/node2/Makefile.am: Remove. * mp01/node2/mp01.doc: Remove. * mp01/node2/mp01.scn: Remove. * mp02/node1/.cvsignore: Remove. * mp02/node1/Makefile.am: Remove. * mp02/node1/mp02.doc: Remove. * mp02/node1/mp02.scn: Remove. * mp02/.cvsignore: Remove. * mp02/Makefile.am: Remove. * mp02/init.c: Remove. * mp02/system.h: Remove. * mp02/task1.c: Remove. * mp02/node2/.cvsignore: Remove. * mp02/node2/Makefile.am: Remove. * mp02/node2/mp02.doc: Remove. * mp02/node2/mp02.scn: Remove. * .cvsignore: Remove. * ChangeLog: Remove. * Makefile.am: Remove. * README: Remove. * configure.ac: Remove. * mptests.am: Remove. * mp03/node1/.cvsignore: Remove. * mp03/node1/Makefile.am: Remove. * mp03/node1/mp03.doc: Remove. * mp03/node1/mp03.scn: Remove. * mp03/.cvsignore: Remove. * mp03/Makefile.am: Remove. * mp03/delay.c: Remove. * mp03/init.c: Remove. * mp03/system.h: Remove. * mp03/task1.c: Remove. * mp03/node2/.cvsignore: Remove. * mp03/node2/Makefile.am: Remove. * mp03/node2/mp03.doc: Remove. * mp03/node2/mp03.scn: Remove. * mp04/node1/.cvsignore: Remove. * mp04/node1/Makefile.am: Remove. * mp04/node1/mp04.doc: Remove. * mp04/node1/mp04.scn: Remove. * mp04/.cvsignore: Remove. * mp04/Makefile.am: Remove. * mp04/init.c: Remove. * mp04/system.h: Remove. * mp04/task1.c: Remove. * mp04/node2/.cvsignore: Remove. * mp04/node2/Makefile.am: Remove. * mp04/node2/mp04.doc: Remove. * mp04/node2/mp04.scn: Remove. * mp05/node1/.cvsignore: Remove. * mp05/node1/Makefile.am: Remove. * mp05/node1/mp05.doc: Remove. * mp05/node1/mp05.scn: Remove. * mp05/.cvsignore: Remove. * mp05/Makefile.am: Remove. * mp05/asr.c: Remove. * mp05/init.c: Remove. * mp05/system.h: Remove. * mp05/task1.c: Remove. * mp05/node2/.cvsignore: Remove. * mp05/node2/Makefile.am: Remove. * mp05/node2/mp05.doc: Remove. * mp05/node2/mp05.scn: Remove. * mp06/node1/.cvsignore: Remove. * mp06/node1/Makefile.am: Remove. * mp06/node1/mp06.doc: Remove. * mp06/node1/mp06.scn: Remove. * mp06/.cvsignore: Remove. * mp06/Makefile.am: Remove. * mp06/init.c: Remove. * mp06/system.h: Remove. * mp06/task1.c: Remove. * mp06/node2/.cvsignore: Remove. * mp06/node2/Makefile.am: Remove. * mp06/node2/mp06.doc: Remove. * mp06/node2/mp06.scn: Remove. * mp07/node1/.cvsignore: Remove. * mp07/node1/Makefile.am: Remove. * mp07/node1/mp07.doc: Remove. * mp07/node1/mp07.scn: Remove. * mp07/.cvsignore: Remove. * mp07/Makefile.am: Remove. * mp07/init.c: Remove. * mp07/system.h: Remove. * mp07/task1.c: Remove. * mp07/node2/.cvsignore: Remove. * mp07/node2/Makefile.am: Remove. * mp07/node2/mp07.doc: Remove. * mp07/node2/mp07.scn: Remove. * mp08/node1/.cvsignore: Remove. * mp08/node1/Makefile.am: Remove. * mp08/node1/mp08.doc: Remove. * mp08/node1/mp08.scn: Remove. * mp08/.cvsignore: Remove. * mp08/Makefile.am: Remove. * mp08/init.c: Remove. * mp08/system.h: Remove. * mp08/task1.c: Remove. * mp08/node2/.cvsignore: Remove. * mp08/node2/Makefile.am: Remove. * mp08/node2/mp08.doc: Remove. * mp08/node2/mp08.scn: Remove. * mp09/node1/.cvsignore: Remove. * mp09/node1/Makefile.am: Remove. * mp09/node1/mp09.doc: Remove. * mp09/node1/mp09.scn: Remove. * mp09/.cvsignore: Remove. * mp09/Makefile.am: Remove. * mp09/init.c: Remove. * mp09/recvmsg.c: Remove. * mp09/sendmsg.c: Remove. * mp09/system.h: Remove. * mp09/task1.c: Remove. * mp09/node2/.cvsignore: Remove. * mp09/node2/Makefile.am: Remove. * mp09/node2/mp09.doc: Remove. * mp09/node2/mp09.scn: Remove. * mp10/node1/.cvsignore: Remove. * mp10/node1/Makefile.am: Remove. * mp10/node1/mp10.doc: Remove. * mp10/node1/mp10.scn: Remove. * mp10/.cvsignore: Remove. * mp10/Makefile.am: Remove. * mp10/init.c: Remove. * mp10/system.h: Remove. * mp10/task1.c: Remove. * mp10/task2.c: Remove. * mp10/task3.c: Remove. * mp10/node2/.cvsignore: Remove. * mp10/node2/Makefile.am: Remove. * mp10/node2/mp10.doc: Remove. * mp10/node2/mp10.scn: Remove. * mp11/node1/.cvsignore: Remove. * mp11/node1/Makefile.am: Remove. * mp11/node1/mp11.doc: Remove. * mp11/node1/mp11.scn: Remove. * mp11/.cvsignore: Remove. * mp11/Makefile.am: Remove. * mp11/init.c: Remove. * mp11/system.h: Remove. * mp11/node2/.cvsignore: Remove. * mp11/node2/Makefile.am: Remove. * mp11/node2/mp11.doc: Remove. * mp11/node2/mp11.scn: Remove. * mp12/node1/.cvsignore: Remove. * mp12/node1/Makefile.am: Remove. * mp12/node1/mp12.doc: Remove. * mp12/node1/mp12.scn: Remove. * mp12/.cvsignore: Remove. * mp12/Makefile.am: Remove. * mp12/init.c: Remove. * mp12/system.h: Remove. * mp12/node2/.cvsignore: Remove. * mp12/node2/Makefile.am: Remove. * mp12/node2/mp12.doc: Remove. * mp12/node2/mp12.scn: Remove. * mp13/node1/.cvsignore: Remove. * mp13/node1/Makefile.am: Remove. * mp13/node1/mp13.doc: Remove. * mp13/node1/mp13.scn: Remove. * mp13/.cvsignore: Remove. * mp13/Makefile.am: Remove. * mp13/init.c: Remove. * mp13/system.h: Remove. * mp13/task1.c: Remove. * mp13/task2.c: Remove. * mp13/node2/.cvsignore: Remove. * mp13/node2/Makefile.am: Remove. * mp13/node2/mp13.doc: Remove. * mp13/node2/mp13.scn: Remove. * mp14/node1/.cvsignore: Remove. * mp14/node1/Makefile.am: Remove. * mp14/node1/mp14.doc: Remove. * mp14/node1/mp14.scn: Remove. * mp14/.cvsignore: Remove. * mp14/Makefile.am: Remove. * mp14/delay.c: Remove. * mp14/evtask1.c: Remove. * mp14/evtmtask.c: Remove. * mp14/exit.c: Remove. * mp14/init.c: Remove. * mp14/msgtask1.c: Remove. * mp14/pttask1.c: Remove. * mp14/smtask1.c: Remove. * mp14/system.h: Remove. * mp14/node2/.cvsignore: Remove. * mp14/node2/Makefile.am: Remove. * mp14/node2/mp14.doc: Remove. * mp14/node2/mp14.scn: Remove.
This commit is contained in:
@@ -1,14 +0,0 @@
|
|||||||
aclocal.m4
|
|
||||||
autom4te*.cache
|
|
||||||
config.cache
|
|
||||||
config.guess
|
|
||||||
config.log
|
|
||||||
config.status
|
|
||||||
config.sub
|
|
||||||
configure
|
|
||||||
depcomp
|
|
||||||
install-sh
|
|
||||||
Makefile
|
|
||||||
Makefile.in
|
|
||||||
missing
|
|
||||||
mkinstalldirs
|
|
||||||
@@ -1,500 +0,0 @@
|
|||||||
2003-11-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
|
||||||
|
|
||||||
* mp01/node1/.cvsignore: Remove.
|
|
||||||
* mp01/node1/Makefile.am: Remove.
|
|
||||||
* mp01/node1/mp01.doc: Remove.
|
|
||||||
* mp01/node1/mp01.scn: Remove.
|
|
||||||
* mp01/.cvsignore: Remove.
|
|
||||||
* mp01/Makefile.am: Remove.
|
|
||||||
* mp01/init.c: Remove.
|
|
||||||
* mp01/system.h: Remove.
|
|
||||||
* mp01/task1.c: Remove.
|
|
||||||
* mp01/node2/.cvsignore: Remove.
|
|
||||||
* mp01/node2/Makefile.am: Remove.
|
|
||||||
* mp01/node2/mp01.doc: Remove.
|
|
||||||
* mp01/node2/mp01.scn: Remove.
|
|
||||||
* mp02/node1/.cvsignore: Remove.
|
|
||||||
* mp02/node1/Makefile.am: Remove.
|
|
||||||
* mp02/node1/mp02.doc: Remove.
|
|
||||||
* mp02/node1/mp02.scn: Remove.
|
|
||||||
* mp02/.cvsignore: Remove.
|
|
||||||
* mp02/Makefile.am: Remove.
|
|
||||||
* mp02/init.c: Remove.
|
|
||||||
* mp02/system.h: Remove.
|
|
||||||
* mp02/task1.c: Remove.
|
|
||||||
* mp02/node2/.cvsignore: Remove.
|
|
||||||
* mp02/node2/Makefile.am: Remove.
|
|
||||||
* mp02/node2/mp02.doc: Remove.
|
|
||||||
* mp02/node2/mp02.scn: Remove.
|
|
||||||
* .cvsignore: Remove.
|
|
||||||
* ChangeLog: Remove.
|
|
||||||
* Makefile.am: Remove.
|
|
||||||
* README: Remove.
|
|
||||||
* configure.ac: Remove.
|
|
||||||
* mptests.am: Remove.
|
|
||||||
* mp03/node1/.cvsignore: Remove.
|
|
||||||
* mp03/node1/Makefile.am: Remove.
|
|
||||||
* mp03/node1/mp03.doc: Remove.
|
|
||||||
* mp03/node1/mp03.scn: Remove.
|
|
||||||
* mp03/.cvsignore: Remove.
|
|
||||||
* mp03/Makefile.am: Remove.
|
|
||||||
* mp03/delay.c: Remove.
|
|
||||||
* mp03/init.c: Remove.
|
|
||||||
* mp03/system.h: Remove.
|
|
||||||
* mp03/task1.c: Remove.
|
|
||||||
* mp03/node2/.cvsignore: Remove.
|
|
||||||
* mp03/node2/Makefile.am: Remove.
|
|
||||||
* mp03/node2/mp03.doc: Remove.
|
|
||||||
* mp03/node2/mp03.scn: Remove.
|
|
||||||
* mp04/node1/.cvsignore: Remove.
|
|
||||||
* mp04/node1/Makefile.am: Remove.
|
|
||||||
* mp04/node1/mp04.doc: Remove.
|
|
||||||
* mp04/node1/mp04.scn: Remove.
|
|
||||||
* mp04/.cvsignore: Remove.
|
|
||||||
* mp04/Makefile.am: Remove.
|
|
||||||
* mp04/init.c: Remove.
|
|
||||||
* mp04/system.h: Remove.
|
|
||||||
* mp04/task1.c: Remove.
|
|
||||||
* mp04/node2/.cvsignore: Remove.
|
|
||||||
* mp04/node2/Makefile.am: Remove.
|
|
||||||
* mp04/node2/mp04.doc: Remove.
|
|
||||||
* mp04/node2/mp04.scn: Remove.
|
|
||||||
* mp05/node1/.cvsignore: Remove.
|
|
||||||
* mp05/node1/Makefile.am: Remove.
|
|
||||||
* mp05/node1/mp05.doc: Remove.
|
|
||||||
* mp05/node1/mp05.scn: Remove.
|
|
||||||
* mp05/.cvsignore: Remove.
|
|
||||||
* mp05/Makefile.am: Remove.
|
|
||||||
* mp05/asr.c: Remove.
|
|
||||||
* mp05/init.c: Remove.
|
|
||||||
* mp05/system.h: Remove.
|
|
||||||
* mp05/task1.c: Remove.
|
|
||||||
* mp05/node2/.cvsignore: Remove.
|
|
||||||
* mp05/node2/Makefile.am: Remove.
|
|
||||||
* mp05/node2/mp05.doc: Remove.
|
|
||||||
* mp05/node2/mp05.scn: Remove.
|
|
||||||
* mp06/node1/.cvsignore: Remove.
|
|
||||||
* mp06/node1/Makefile.am: Remove.
|
|
||||||
* mp06/node1/mp06.doc: Remove.
|
|
||||||
* mp06/node1/mp06.scn: Remove.
|
|
||||||
* mp06/.cvsignore: Remove.
|
|
||||||
* mp06/Makefile.am: Remove.
|
|
||||||
* mp06/init.c: Remove.
|
|
||||||
* mp06/system.h: Remove.
|
|
||||||
* mp06/task1.c: Remove.
|
|
||||||
* mp06/node2/.cvsignore: Remove.
|
|
||||||
* mp06/node2/Makefile.am: Remove.
|
|
||||||
* mp06/node2/mp06.doc: Remove.
|
|
||||||
* mp06/node2/mp06.scn: Remove.
|
|
||||||
* mp07/node1/.cvsignore: Remove.
|
|
||||||
* mp07/node1/Makefile.am: Remove.
|
|
||||||
* mp07/node1/mp07.doc: Remove.
|
|
||||||
* mp07/node1/mp07.scn: Remove.
|
|
||||||
* mp07/.cvsignore: Remove.
|
|
||||||
* mp07/Makefile.am: Remove.
|
|
||||||
* mp07/init.c: Remove.
|
|
||||||
* mp07/system.h: Remove.
|
|
||||||
* mp07/task1.c: Remove.
|
|
||||||
* mp07/node2/.cvsignore: Remove.
|
|
||||||
* mp07/node2/Makefile.am: Remove.
|
|
||||||
* mp07/node2/mp07.doc: Remove.
|
|
||||||
* mp07/node2/mp07.scn: Remove.
|
|
||||||
* mp08/node1/.cvsignore: Remove.
|
|
||||||
* mp08/node1/Makefile.am: Remove.
|
|
||||||
* mp08/node1/mp08.doc: Remove.
|
|
||||||
* mp08/node1/mp08.scn: Remove.
|
|
||||||
* mp08/.cvsignore: Remove.
|
|
||||||
* mp08/Makefile.am: Remove.
|
|
||||||
* mp08/init.c: Remove.
|
|
||||||
* mp08/system.h: Remove.
|
|
||||||
* mp08/task1.c: Remove.
|
|
||||||
* mp08/node2/.cvsignore: Remove.
|
|
||||||
* mp08/node2/Makefile.am: Remove.
|
|
||||||
* mp08/node2/mp08.doc: Remove.
|
|
||||||
* mp08/node2/mp08.scn: Remove.
|
|
||||||
* mp09/node1/.cvsignore: Remove.
|
|
||||||
* mp09/node1/Makefile.am: Remove.
|
|
||||||
* mp09/node1/mp09.doc: Remove.
|
|
||||||
* mp09/node1/mp09.scn: Remove.
|
|
||||||
* mp09/.cvsignore: Remove.
|
|
||||||
* mp09/Makefile.am: Remove.
|
|
||||||
* mp09/init.c: Remove.
|
|
||||||
* mp09/recvmsg.c: Remove.
|
|
||||||
* mp09/sendmsg.c: Remove.
|
|
||||||
* mp09/system.h: Remove.
|
|
||||||
* mp09/task1.c: Remove.
|
|
||||||
* mp09/node2/.cvsignore: Remove.
|
|
||||||
* mp09/node2/Makefile.am: Remove.
|
|
||||||
* mp09/node2/mp09.doc: Remove.
|
|
||||||
* mp09/node2/mp09.scn: Remove.
|
|
||||||
* mp10/node1/.cvsignore: Remove.
|
|
||||||
* mp10/node1/Makefile.am: Remove.
|
|
||||||
* mp10/node1/mp10.doc: Remove.
|
|
||||||
* mp10/node1/mp10.scn: Remove.
|
|
||||||
* mp10/.cvsignore: Remove.
|
|
||||||
* mp10/Makefile.am: Remove.
|
|
||||||
* mp10/init.c: Remove.
|
|
||||||
* mp10/system.h: Remove.
|
|
||||||
* mp10/task1.c: Remove.
|
|
||||||
* mp10/task2.c: Remove.
|
|
||||||
* mp10/task3.c: Remove.
|
|
||||||
* mp10/node2/.cvsignore: Remove.
|
|
||||||
* mp10/node2/Makefile.am: Remove.
|
|
||||||
* mp10/node2/mp10.doc: Remove.
|
|
||||||
* mp10/node2/mp10.scn: Remove.
|
|
||||||
* mp11/node1/.cvsignore: Remove.
|
|
||||||
* mp11/node1/Makefile.am: Remove.
|
|
||||||
* mp11/node1/mp11.doc: Remove.
|
|
||||||
* mp11/node1/mp11.scn: Remove.
|
|
||||||
* mp11/.cvsignore: Remove.
|
|
||||||
* mp11/Makefile.am: Remove.
|
|
||||||
* mp11/init.c: Remove.
|
|
||||||
* mp11/system.h: Remove.
|
|
||||||
* mp11/node2/.cvsignore: Remove.
|
|
||||||
* mp11/node2/Makefile.am: Remove.
|
|
||||||
* mp11/node2/mp11.doc: Remove.
|
|
||||||
* mp11/node2/mp11.scn: Remove.
|
|
||||||
* mp12/node1/.cvsignore: Remove.
|
|
||||||
* mp12/node1/Makefile.am: Remove.
|
|
||||||
* mp12/node1/mp12.doc: Remove.
|
|
||||||
* mp12/node1/mp12.scn: Remove.
|
|
||||||
* mp12/.cvsignore: Remove.
|
|
||||||
* mp12/Makefile.am: Remove.
|
|
||||||
* mp12/init.c: Remove.
|
|
||||||
* mp12/system.h: Remove.
|
|
||||||
* mp12/node2/.cvsignore: Remove.
|
|
||||||
* mp12/node2/Makefile.am: Remove.
|
|
||||||
* mp12/node2/mp12.doc: Remove.
|
|
||||||
* mp12/node2/mp12.scn: Remove.
|
|
||||||
* mp13/node1/.cvsignore: Remove.
|
|
||||||
* mp13/node1/Makefile.am: Remove.
|
|
||||||
* mp13/node1/mp13.doc: Remove.
|
|
||||||
* mp13/node1/mp13.scn: Remove.
|
|
||||||
* mp13/.cvsignore: Remove.
|
|
||||||
* mp13/Makefile.am: Remove.
|
|
||||||
* mp13/init.c: Remove.
|
|
||||||
* mp13/system.h: Remove.
|
|
||||||
* mp13/task1.c: Remove.
|
|
||||||
* mp13/task2.c: Remove.
|
|
||||||
* mp13/node2/.cvsignore: Remove.
|
|
||||||
* mp13/node2/Makefile.am: Remove.
|
|
||||||
* mp13/node2/mp13.doc: Remove.
|
|
||||||
* mp13/node2/mp13.scn: Remove.
|
|
||||||
* mp14/node1/.cvsignore: Remove.
|
|
||||||
* mp14/node1/Makefile.am: Remove.
|
|
||||||
* mp14/node1/mp14.doc: Remove.
|
|
||||||
* mp14/node1/mp14.scn: Remove.
|
|
||||||
* mp14/.cvsignore: Remove.
|
|
||||||
* mp14/Makefile.am: Remove.
|
|
||||||
* mp14/delay.c: Remove.
|
|
||||||
* mp14/evtask1.c: Remove.
|
|
||||||
* mp14/evtmtask.c: Remove.
|
|
||||||
* mp14/exit.c: Remove.
|
|
||||||
* mp14/init.c: Remove.
|
|
||||||
* mp14/msgtask1.c: Remove.
|
|
||||||
* mp14/pttask1.c: Remove.
|
|
||||||
* mp14/smtask1.c: Remove.
|
|
||||||
* mp14/system.h: Remove.
|
|
||||||
* mp14/node2/.cvsignore: Remove.
|
|
||||||
* mp14/node2/Makefile.am: Remove.
|
|
||||||
* mp14/node2/mp14.doc: Remove.
|
|
||||||
* mp14/node2/mp14.scn: Remove.
|
|
||||||
|
|
||||||
2003-10-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
|
||||||
|
|
||||||
* configure.ac: Remove RTEMS_CANONICAL_HOST.
|
|
||||||
|
|
||||||
2003-10-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
|
||||||
|
|
||||||
* configure.ac:Remove RTEMS_CHECK_CPU.
|
|
||||||
|
|
||||||
2003-09-04 Joel Sherrill <joel@OARcorp.com>
|
|
||||||
|
|
||||||
* mp01/init.c, mp01/system.h, mp01/task1.c, mp01/node1/mp01.doc,
|
|
||||||
mp01/node2/mp01.doc, mp02/init.c, mp02/system.h, mp02/task1.c,
|
|
||||||
mp02/node1/mp02.doc, mp02/node2/mp02.doc, mp03/delay.c, mp03/init.c,
|
|
||||||
mp03/system.h, mp03/task1.c, mp03/node1/mp03.doc,
|
|
||||||
mp03/node2/mp03.doc, mp04/init.c, mp04/system.h, mp04/task1.c,
|
|
||||||
mp04/node1/mp04.doc, mp04/node2/mp04.doc, mp05/asr.c, mp05/init.c,
|
|
||||||
mp05/system.h, mp05/task1.c, mp05/node1/mp05.doc,
|
|
||||||
mp05/node2/mp05.doc, mp06/init.c, mp06/system.h, mp06/task1.c,
|
|
||||||
mp06/node1/mp06.doc, mp06/node2/mp06.doc, mp07/init.c, mp07/system.h,
|
|
||||||
mp07/task1.c, mp07/node1/mp07.doc, mp07/node2/mp07.doc, mp08/init.c,
|
|
||||||
mp08/system.h, mp08/task1.c, mp08/node1/mp08.doc,
|
|
||||||
mp08/node2/mp08.doc, mp09/init.c, mp09/recvmsg.c, mp09/sendmsg.c,
|
|
||||||
mp09/system.h, mp09/task1.c, mp09/node1/mp09.doc,
|
|
||||||
mp09/node2/mp09.doc, mp10/init.c, mp10/system.h, mp10/task1.c,
|
|
||||||
mp10/task2.c, mp10/task3.c, mp10/node1/mp10.doc, mp10/node2/mp10.doc,
|
|
||||||
mp11/init.c, mp11/system.h, mp11/node1/mp11.doc, mp11/node2/mp11.doc,
|
|
||||||
mp12/init.c, mp12/system.h, mp12/node1/mp12.doc, mp12/node2/mp12.doc,
|
|
||||||
mp13/init.c, mp13/system.h, mp13/task1.c, mp13/task2.c,
|
|
||||||
mp13/node1/mp13.doc, mp13/node2/mp13.doc, mp14/delay.c,
|
|
||||||
mp14/evtask1.c, mp14/evtmtask.c, mp14/exit.c, mp14/init.c,
|
|
||||||
mp14/msgtask1.c, mp14/pttask1.c, mp14/smtask1.c, mp14/system.h,
|
|
||||||
mp14/node1/mp14.doc, mp14/node2/mp14.doc: URL for license changed.
|
|
||||||
|
|
||||||
2003-08-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
|
||||||
|
|
||||||
* Makefile.am: Reflect having moved aclocal/.
|
|
||||||
|
|
||||||
2003-08-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
|
||||||
|
|
||||||
* Makefile.am: Reflect having moved automake/.
|
|
||||||
* mp01/Makefile.am: Reflect having moved automake/.
|
|
||||||
* mp01/node1/Makefile.am: Reflect having moved automake/.
|
|
||||||
* mp01/node2/Makefile.am: Reflect having moved automake/.
|
|
||||||
* mp02/Makefile.am: Reflect having moved automake/.
|
|
||||||
* mp02/node1/Makefile.am: Reflect having moved automake/.
|
|
||||||
* mp02/node2/Makefile.am: Reflect having moved automake/.
|
|
||||||
* mp03/Makefile.am: Reflect having moved automake/.
|
|
||||||
* mp03/node1/Makefile.am: Reflect having moved automake/.
|
|
||||||
* mp03/node2/Makefile.am: Reflect having moved automake/.
|
|
||||||
* mp04/Makefile.am: Reflect having moved automake/.
|
|
||||||
* mp04/node1/Makefile.am: Reflect having moved automake/.
|
|
||||||
* mp04/node2/Makefile.am: Reflect having moved automake/.
|
|
||||||
* mp05/Makefile.am: Reflect having moved automake/.
|
|
||||||
* mp05/node1/Makefile.am: Reflect having moved automake/.
|
|
||||||
* mp05/node2/Makefile.am: Reflect having moved automake/.
|
|
||||||
* mp06/Makefile.am: Reflect having moved automake/.
|
|
||||||
* mp06/node1/Makefile.am: Reflect having moved automake/.
|
|
||||||
* mp06/node2/Makefile.am: Reflect having moved automake/.
|
|
||||||
* mp07/Makefile.am: Reflect having moved automake/.
|
|
||||||
* mp07/node1/Makefile.am: Reflect having moved automake/.
|
|
||||||
* mp07/node2/Makefile.am: Reflect having moved automake/.
|
|
||||||
* mp08/Makefile.am: Reflect having moved automake/.
|
|
||||||
* mp08/node1/Makefile.am: Reflect having moved automake/.
|
|
||||||
* mp08/node2/Makefile.am: Reflect having moved automake/.
|
|
||||||
* mp09/Makefile.am: Reflect having moved automake/.
|
|
||||||
* mp09/node1/Makefile.am: Reflect having moved automake/.
|
|
||||||
* mp09/node2/Makefile.am: Reflect having moved automake/.
|
|
||||||
* mp10/Makefile.am: Reflect having moved automake/.
|
|
||||||
* mp10/node1/Makefile.am: Reflect having moved automake/.
|
|
||||||
* mp10/node2/Makefile.am: Reflect having moved automake/.
|
|
||||||
* mp11/Makefile.am: Reflect having moved automake/.
|
|
||||||
* mp11/node1/Makefile.am: Reflect having moved automake/.
|
|
||||||
* mp11/node2/Makefile.am: Reflect having moved automake/.
|
|
||||||
* mp12/Makefile.am: Reflect having moved automake/.
|
|
||||||
* mp12/node1/Makefile.am: Reflect having moved automake/.
|
|
||||||
* mp12/node2/Makefile.am: Reflect having moved automake/.
|
|
||||||
* mp13/Makefile.am: Reflect having moved automake/.
|
|
||||||
* mp13/node1/Makefile.am: Reflect having moved automake/.
|
|
||||||
* mp13/node2/Makefile.am: Reflect having moved automake/.
|
|
||||||
* mp14/Makefile.am: Reflect having moved automake/.
|
|
||||||
* mp14/node1/Makefile.am: Reflect having moved automake/.
|
|
||||||
* mp14/node2/Makefile.am: Reflect having moved automake/.
|
|
||||||
|
|
||||||
2003-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
|
||||||
|
|
||||||
* configure.ac: Use rtems-bugs@rtems.com as bug report email address.
|
|
||||||
|
|
||||||
2003-05-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
|
||||||
|
|
||||||
* configure.ac: Remove CC_CFLAGS_DEBUG_V.
|
|
||||||
CC_CFLAGS_DEFAULT (obsolete).
|
|
||||||
|
|
||||||
2003-05-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
|
||||||
|
|
||||||
* configure.ac: Remove CC_CFLAGS_PROFILE_V.
|
|
||||||
Remove CC_LDFLAGS_PROFILE_V.
|
|
||||||
|
|
||||||
2003-03-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
|
||||||
|
|
||||||
* configure.ac: Remove AC_CONFIG_AUX_DIR.
|
|
||||||
|
|
||||||
2003-02-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
|
||||||
|
|
||||||
* configure.ac: AM_INIT_AUTOMAKE([1.7.2]).
|
|
||||||
|
|
||||||
2003-02-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
|
||||||
|
|
||||||
* configure.ac: AC_PREREQ(2.57).
|
|
||||||
|
|
||||||
2002-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
|
||||||
|
|
||||||
* .cvsignore: Reformat.
|
|
||||||
Add autom4te*cache.
|
|
||||||
Remove autom4te.cache.
|
|
||||||
|
|
||||||
2002-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
|
||||||
|
|
||||||
* mp01/node1/Makefile.am: Use $(OBJEXT) instead of .o.
|
|
||||||
* mp01/node2/Makefile.am: Use $(OBJEXT) instead of .o.
|
|
||||||
* mp02/node1/Makefile.am: Use $(OBJEXT) instead of .o.
|
|
||||||
* mp02/node2/Makefile.am: Use $(OBJEXT) instead of .o.
|
|
||||||
* mp03/node1/Makefile.am: Use $(OBJEXT) instead of .o.
|
|
||||||
* mp03/node2/Makefile.am: Use $(OBJEXT) instead of .o.
|
|
||||||
* mp04/node1/Makefile.am: Use $(OBJEXT) instead of .o.
|
|
||||||
* mp04/node2/Makefile.am: Use $(OBJEXT) instead of .o.
|
|
||||||
* mp05/node1/Makefile.am: Use $(OBJEXT) instead of .o.
|
|
||||||
* mp05/node2/Makefile.am: Use $(OBJEXT) instead of .o.
|
|
||||||
* mp06/node1/Makefile.am: Use $(OBJEXT) instead of .o.
|
|
||||||
* mp06/node2/Makefile.am: Use $(OBJEXT) instead of .o.
|
|
||||||
* mp07/node1/Makefile.am: Use $(OBJEXT) instead of .o.
|
|
||||||
* mp07/node2/Makefile.am: Use $(OBJEXT) instead of .o.
|
|
||||||
* mp08/node1/Makefile.am: Use $(OBJEXT) instead of .o.
|
|
||||||
* mp08/node2/Makefile.am: Use $(OBJEXT) instead of .o.
|
|
||||||
* mp09/node1/Makefile.am: Use $(OBJEXT) instead of .o.
|
|
||||||
* mp09/node2/Makefile.am: Use $(OBJEXT) instead of .o.
|
|
||||||
* mp10/node1/Makefile.am: Use $(OBJEXT) instead of .o.
|
|
||||||
* mp10/node2/Makefile.am: Use $(OBJEXT) instead of .o.
|
|
||||||
* mp11/node1/Makefile.am: Use $(OBJEXT) instead of .o.
|
|
||||||
* mp11/node2/Makefile.am: Use $(OBJEXT) instead of .o.
|
|
||||||
* mp12/node1/Makefile.am: Use $(OBJEXT) instead of .o.
|
|
||||||
* mp12/node2/Makefile.am: Use $(OBJEXT) instead of .o.
|
|
||||||
* mp13/node1/Makefile.am: Use $(OBJEXT) instead of .o.
|
|
||||||
* mp13/node2/Makefile.am: Use $(OBJEXT) instead of .o.
|
|
||||||
* mp14/node1/Makefile.am: Use $(OBJEXT) instead of .o.
|
|
||||||
* mp14/node2/Makefile.am: Use $(OBJEXT) instead of .o.
|
|
||||||
|
|
||||||
2002-08-01 Joel Sherrill <joel@OARcorp.com>
|
|
||||||
|
|
||||||
* Per PR47 add support for buffered test output. This involved
|
|
||||||
adding defines to redirect output to a buffer and dump it when
|
|
||||||
full, at "test pause", and at exit. To avoid problems when redefining
|
|
||||||
exit(), all tests were modified to call rtems_test_exit().
|
|
||||||
Some tests, notable psxtests, had to be modified to include
|
|
||||||
the standard test macro .h file (pmacros.h or tmacros.h) to
|
|
||||||
enable this support.
|
|
||||||
* mp01/task1.c, mp02/task1.c, mp03/task1.c, mp04/task1.c, mp05/task1.c,
|
|
||||||
mp06/task1.c, mp07/task1.c, mp08/task1.c, mp09/task1.c, mp10/init.c,
|
|
||||||
mp11/init.c, mp12/init.c, mp13/init.c, mp13/task2.c: Modified.
|
|
||||||
|
|
||||||
2002-04-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
|
||||||
|
|
||||||
* configure.ac: Remove ENABLE_GCC28.
|
|
||||||
|
|
||||||
2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
|
||||||
|
|
||||||
* configure.ac:
|
|
||||||
AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS).
|
|
||||||
AM_INIT_AUTOMAKE([no-define foreign 1.6]).
|
|
||||||
* mp01/node1/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
|
||||||
* mp01/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
|
||||||
* mp01/node2/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
|
||||||
* mp02/node1/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
|
||||||
* mp02/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
|
||||||
* mp02/node2/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
|
||||||
* Makefile.am: Remove AUTOMAKE_OPTIONS.
|
|
||||||
* mp03/node1/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
|
||||||
* mp03/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
|
||||||
* mp03/node2/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
|
||||||
* mp04/node1/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
|
||||||
* mp04/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
|
||||||
* mp04/node2/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
|
||||||
* mp05/node1/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
|
||||||
* mp05/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
|
||||||
* mp05/node2/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
|
||||||
* mp06/node1/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
|
||||||
* mp06/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
|
||||||
* mp06/node2/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
|
||||||
* mp07/node1/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
|
||||||
* mp07/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
|
||||||
* mp07/node2/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
|
||||||
* mp08/node1/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
|
||||||
* mp08/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
|
||||||
* mp08/node2/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
|
||||||
* mp09/node1/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
|
||||||
* mp09/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
|
||||||
* mp09/node2/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
|
||||||
* mp10/node1/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
|
||||||
* mp10/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
|
||||||
* mp10/node2/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
|
||||||
* mp11/node1/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
|
||||||
* mp11/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
|
||||||
* mp11/node2/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
|
||||||
* mp12/node1/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
|
||||||
* mp12/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
|
||||||
* mp12/node2/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
|
||||||
* mp13/node1/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
|
||||||
* mp13/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
|
||||||
* mp13/node2/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
|
||||||
* mp14/node1/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
|
||||||
* mp14/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
|
||||||
* mp14/node2/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
|
||||||
|
|
||||||
2001-11-07 Joel Sherrill <joel@OARcorp.com>
|
|
||||||
|
|
||||||
Tracked as PR72 but related to the object id problem (PR36)
|
|
||||||
reported by Todor.Todorov@barco.com.
|
|
||||||
* mp03/delay.c: Dispatch disable level is actually 1 not 0.
|
|
||||||
* mp13/system.h: Configure enough tasks (CONFIGURE_MAXIMUM_TASKS=3).
|
|
||||||
* mp14/delay.c: Dispatch disable level may be arbitrarily > 0.
|
|
||||||
2001-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
|
||||||
|
|
||||||
* .cvsignore: Add autom4te.cache for autoconf > 2.52.
|
|
||||||
* configure.in: Remove.
|
|
||||||
* configure.ac: New file, generated from configure.in by autoupdate.
|
|
||||||
|
|
||||||
2001-09-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
|
||||||
|
|
||||||
* mptests.am: Use TMPINSTALL_FILES = to make automake-1.5 happy.
|
|
||||||
|
|
||||||
2001-09-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
|
||||||
|
|
||||||
* mp02/node2/Makefile.am: include leaf.am instead of leaf.cfg.
|
|
||||||
* mp02/node1/Makefile.am: include leaf.am instead of leaf.cfg.
|
|
||||||
* mp04/node2/Makefile.am: include leaf.am instead of leaf.cfg.
|
|
||||||
* mp04/node1/Makefile.am: include leaf.am instead of leaf.cfg.
|
|
||||||
* mp14/node2/Makefile.am: include leaf.am instead of leaf.cfg.
|
|
||||||
* mp14/node1/Makefile.am: include leaf.am instead of leaf.cfg.
|
|
||||||
* mp06/node2/Makefile.am: include leaf.am instead of leaf.cfg.
|
|
||||||
* mp06/node1/Makefile.am: include leaf.am instead of leaf.cfg.
|
|
||||||
* mp08/node2/Makefile.am: include leaf.am instead of leaf.cfg.
|
|
||||||
* mp08/node1/Makefile.am: include leaf.am instead of leaf.cfg.
|
|
||||||
* mp03/node2/Makefile.am: include leaf.am instead of leaf.cfg.
|
|
||||||
* mp03/node1/Makefile.am: include leaf.am instead of leaf.cfg.
|
|
||||||
* mp10/node2/Makefile.am: include leaf.am instead of leaf.cfg.
|
|
||||||
* mp10/node1/Makefile.am: include leaf.am instead of leaf.cfg.
|
|
||||||
* mp05/node2/Makefile.am: include leaf.am instead of leaf.cfg.
|
|
||||||
* mp05/node1/Makefile.am: include leaf.am instead of leaf.cfg.
|
|
||||||
* mp13/node2/Makefile.am: include leaf.am instead of leaf.cfg.
|
|
||||||
* mp13/node1/Makefile.am: include leaf.am instead of leaf.cfg.
|
|
||||||
* mp01/node2/Makefile.am: include leaf.am instead of leaf.cfg.
|
|
||||||
* mp01/node1/Makefile.am: include leaf.am instead of leaf.cfg.
|
|
||||||
* mp07/node2/Makefile.am: include leaf.am instead of leaf.cfg.
|
|
||||||
* mp07/node1/Makefile.am: include leaf.am instead of leaf.cfg.
|
|
||||||
* mp11/node2/Makefile.am: include leaf.am instead of leaf.cfg.
|
|
||||||
* mp11/node1/Makefile.am: include leaf.am instead of leaf.cfg.
|
|
||||||
* mp12/node2/Makefile.am: include leaf.am instead of leaf.cfg.
|
|
||||||
* mp12/node1/Makefile.am: include leaf.am instead of leaf.cfg.
|
|
||||||
* mp09/node2/Makefile.am: include leaf.am instead of leaf.cfg.
|
|
||||||
* mp09/node1/Makefile.am: include leaf.am instead of leaf.cfg.
|
|
||||||
|
|
||||||
2001-05-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
|
||||||
|
|
||||||
* configure.in: Use RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm]).
|
|
||||||
|
|
||||||
2000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
|
||||||
|
|
||||||
* Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.
|
|
||||||
|
|
||||||
2000-11-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
|
||||||
|
|
||||||
* Makefile.am: Switch to ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal.
|
|
||||||
|
|
||||||
2000-10-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
|
||||||
|
|
||||||
* Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros.
|
|
||||||
Switch to GNU canonicalization.
|
|
||||||
* mptests.am: Remove DEFS.
|
|
||||||
|
|
||||||
2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
|
||||||
|
|
||||||
* mp01/node1/Makefile.am, mp01/node2/Makefile.am,
|
|
||||||
mp02/node1/Makefile.am, mp02/node2/Makefile.am,
|
|
||||||
mp03/node1/Makefile.am, mp03/node2/Makefile.am,
|
|
||||||
mp04/node1/Makefile.am, mp04/node2/Makefile.am,
|
|
||||||
mp05/node1/Makefile.am, mp05/node2/Makefile.am,
|
|
||||||
mp06/node1/Makefile.am, mp06/node2/Makefile.am,
|
|
||||||
mp07/node1/Makefile.am, mp07/node2/Makefile.am,
|
|
||||||
mp08/node1/Makefile.am, mp08/node2/Makefile.am,
|
|
||||||
mp09/node1/Makefile.am, mp09/node2/Makefile.am,
|
|
||||||
mp10/node1/Makefile.am, mp10/node2/Makefile.am,
|
|
||||||
mp11/node1/Makefile.am, mp11/node2/Makefile.am,
|
|
||||||
mp12/node1/Makefile.am, mp12/node2/Makefile.am,
|
|
||||||
mp13/node1/Makefile.am, mp13/node2/Makefile.am,
|
|
||||||
mp14/node1/Makefile.am, mp14/node2/Makefile.am: Include compile.am
|
|
||||||
|
|
||||||
2000-08-10 Joel Sherrill <joel@OARcorp.com>
|
|
||||||
|
|
||||||
* ChangeLog: New file.
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
##
|
|
||||||
## $Id$
|
|
||||||
##
|
|
||||||
|
|
||||||
ACLOCAL_AMFLAGS = -I ../aclocal
|
|
||||||
|
|
||||||
SUBDIRS = mp01 mp02 mp03 mp04 mp05 mp06 mp07 mp08 mp09 mp10 mp11 mp12 mp13 \
|
|
||||||
mp14
|
|
||||||
|
|
||||||
EXTRA_DIST = mptests.am
|
|
||||||
|
|
||||||
include $(top_srcdir)/../automake/subdirs.am
|
|
||||||
include $(top_srcdir)/../automake/local.am
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
#
|
|
||||||
# $Id$
|
|
||||||
#
|
|
||||||
|
|
||||||
This directory contains the RTEMS Multiprocessor Test Suite.
|
|
||||||
The tests in this directory provide near complete (98%+) test
|
|
||||||
coverage of the multiprocessor specific code in RTEMS.
|
|
||||||
|
|
||||||
These tests are designed to test RTEMS in a two node configuration.
|
|
||||||
|
|
||||||
@@ -1,78 +0,0 @@
|
|||||||
## Process this file with autoconf to produce a configure script.
|
|
||||||
##
|
|
||||||
## $Id$
|
|
||||||
|
|
||||||
AC_PREREQ(2.57)
|
|
||||||
AC_INIT([rtems-c-src-tests-mptests],[_RTEMS_VERSION],[rtems-bugs@rtems.com])
|
|
||||||
AC_CONFIG_SRCDIR([mp01])
|
|
||||||
RTEMS_TOP(../../../..)
|
|
||||||
|
|
||||||
RTEMS_CANONICAL_TARGET_CPU
|
|
||||||
|
|
||||||
AM_INIT_AUTOMAKE([no-define foreign 1.7.2])
|
|
||||||
AM_MAINTAINER_MODE
|
|
||||||
|
|
||||||
RTEMS_ENABLE_BARE
|
|
||||||
|
|
||||||
RTEMS_ENV_RTEMSBSP
|
|
||||||
|
|
||||||
RTEMS_PROJECT_ROOT
|
|
||||||
|
|
||||||
RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
|
|
||||||
|
|
||||||
RTEMS_CANONICALIZE_TOOLS
|
|
||||||
|
|
||||||
RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
|
|
||||||
RTEMS_CHECK_MULTIPROCESSING
|
|
||||||
|
|
||||||
AC_SUBST(BARE_CPU_CFLAGS)
|
|
||||||
AC_SUBST(BARE_CPU_MODEL)
|
|
||||||
|
|
||||||
AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes")
|
|
||||||
|
|
||||||
# Explicitly list all Makefiles here
|
|
||||||
AC_CONFIG_FILES([Makefile
|
|
||||||
mp01/Makefile
|
|
||||||
mp01/node1/Makefile
|
|
||||||
mp01/node2/Makefile
|
|
||||||
mp02/Makefile
|
|
||||||
mp02/node1/Makefile
|
|
||||||
mp02/node2/Makefile
|
|
||||||
mp03/Makefile
|
|
||||||
mp03/node1/Makefile
|
|
||||||
mp03/node2/Makefile
|
|
||||||
mp04/Makefile
|
|
||||||
mp04/node1/Makefile
|
|
||||||
mp04/node2/Makefile
|
|
||||||
mp05/Makefile
|
|
||||||
mp05/node1/Makefile
|
|
||||||
mp05/node2/Makefile
|
|
||||||
mp06/Makefile
|
|
||||||
mp06/node1/Makefile
|
|
||||||
mp06/node2/Makefile
|
|
||||||
mp07/Makefile
|
|
||||||
mp07/node1/Makefile
|
|
||||||
mp07/node2/Makefile
|
|
||||||
mp08/Makefile
|
|
||||||
mp08/node1/Makefile
|
|
||||||
mp08/node2/Makefile
|
|
||||||
mp09/Makefile
|
|
||||||
mp09/node1/Makefile
|
|
||||||
mp09/node2/Makefile
|
|
||||||
mp10/Makefile
|
|
||||||
mp10/node1/Makefile
|
|
||||||
mp10/node2/Makefile
|
|
||||||
mp11/Makefile
|
|
||||||
mp11/node1/Makefile
|
|
||||||
mp11/node2/Makefile
|
|
||||||
mp12/Makefile
|
|
||||||
mp12/node1/Makefile
|
|
||||||
mp12/node2/Makefile
|
|
||||||
mp13/Makefile
|
|
||||||
mp13/node1/Makefile
|
|
||||||
mp13/node2/Makefile
|
|
||||||
mp14/Makefile
|
|
||||||
mp14/node1/Makefile
|
|
||||||
mp14/node2/Makefile
|
|
||||||
])
|
|
||||||
AC_OUTPUT
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
Makefile
|
|
||||||
Makefile.in
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
##
|
|
||||||
## $Id$
|
|
||||||
##
|
|
||||||
|
|
||||||
|
|
||||||
SUBDIRS = node1 node2
|
|
||||||
|
|
||||||
EXTRA_DIST = system.h init.c task1.c
|
|
||||||
|
|
||||||
include $(top_srcdir)/../automake/subdirs.am
|
|
||||||
include $(top_srcdir)/../automake/local.am
|
|
||||||
@@ -1,95 +0,0 @@
|
|||||||
/* Init
|
|
||||||
*
|
|
||||||
* This routine is the initialization task for this test program.
|
|
||||||
* It is a user initialization task 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 test, it should also be set to a known
|
|
||||||
* value by this function.
|
|
||||||
*
|
|
||||||
* Input parameters:
|
|
||||||
* argument - task argument
|
|
||||||
*
|
|
||||||
* 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 TEST_INIT
|
|
||||||
#include "system.h"
|
|
||||||
|
|
||||||
rtems_task Init(
|
|
||||||
rtems_task_argument argument
|
|
||||||
)
|
|
||||||
{
|
|
||||||
rtems_status_code status;
|
|
||||||
rtems_time_of_day time;
|
|
||||||
char c;
|
|
||||||
|
|
||||||
printf(
|
|
||||||
"\n\n*** TEST 1 -- NODE %d ***\n",
|
|
||||||
Multiprocessing_configuration.node
|
|
||||||
);
|
|
||||||
|
|
||||||
if ( Multiprocessing_configuration.node != 1 ) c = 'S';
|
|
||||||
else c = 'M';
|
|
||||||
|
|
||||||
Task_name[ 1 ] = rtems_build_name( c, 'A', '1', ' ' );
|
|
||||||
Task_name[ 2 ] = rtems_build_name( c, 'A', '2', ' ' );
|
|
||||||
Task_name[ 3 ] = rtems_build_name( c, 'A', '3', ' ' );
|
|
||||||
|
|
||||||
build_time( &time, 12, 31, 1988, 9, 0, 0, 0 );
|
|
||||||
status = rtems_clock_set( &time );
|
|
||||||
directive_failed( status, "rtems_clock_set" );
|
|
||||||
|
|
||||||
puts( "Creating task 1 (Global)" );
|
|
||||||
status = rtems_task_create(
|
|
||||||
Task_name[ 1 ],
|
|
||||||
1,
|
|
||||||
RTEMS_MINIMUM_STACK_SIZE,
|
|
||||||
RTEMS_DEFAULT_MODES,
|
|
||||||
RTEMS_GLOBAL,
|
|
||||||
&Task_id[ 1 ]
|
|
||||||
);
|
|
||||||
directive_failed( status, "rtems_task_create of Task 1" );
|
|
||||||
|
|
||||||
puts( "Creating task 2 (Global)" );
|
|
||||||
status = rtems_task_create(
|
|
||||||
Task_name[ 2 ],
|
|
||||||
1,
|
|
||||||
RTEMS_MINIMUM_STACK_SIZE,
|
|
||||||
RTEMS_TIMESLICE,
|
|
||||||
RTEMS_GLOBAL,
|
|
||||||
&Task_id[ 2 ]
|
|
||||||
);
|
|
||||||
directive_failed( status, "rtems_task_create of Task 2" );
|
|
||||||
|
|
||||||
puts( "Creating task 3 (Local)" );
|
|
||||||
status = rtems_task_create(
|
|
||||||
Task_name[ 3 ],
|
|
||||||
1,
|
|
||||||
RTEMS_MINIMUM_STACK_SIZE,
|
|
||||||
RTEMS_DEFAULT_MODES,
|
|
||||||
RTEMS_DEFAULT_ATTRIBUTES,
|
|
||||||
&Task_id[ 3 ]
|
|
||||||
);
|
|
||||||
directive_failed( status, "rtems_task_create of Task 3" );
|
|
||||||
|
|
||||||
status = rtems_task_start( Task_id[ 1 ], Test_task, 0 );
|
|
||||||
directive_failed( status, "rtems_task_start of Task 1" );
|
|
||||||
|
|
||||||
status = rtems_task_start( Task_id[ 2 ], Test_task, 0 );
|
|
||||||
directive_failed( status, "rtems_task_start of Task 2" );
|
|
||||||
|
|
||||||
status = rtems_task_start( Task_id[ 3 ], Test_task, 0 );
|
|
||||||
directive_failed( status, "rtems_task_start of Task 3" );
|
|
||||||
|
|
||||||
status = rtems_task_delete( RTEMS_SELF );
|
|
||||||
directive_failed( status, "rtems_task_delete of RTEMS_SELF" );
|
|
||||||
}
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
Makefile
|
|
||||||
Makefile.in
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
##
|
|
||||||
## $Id$
|
|
||||||
##
|
|
||||||
|
|
||||||
|
|
||||||
VPATH = @srcdir@:@srcdir@/..
|
|
||||||
|
|
||||||
NODE = 1
|
|
||||||
TEST = mp01
|
|
||||||
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
|
||||||
|
|
||||||
MANAGERS = io mp
|
|
||||||
|
|
||||||
C_FILES = init.c task1.c
|
|
||||||
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))
|
|
||||||
|
|
||||||
H_FILES = system.h
|
|
||||||
|
|
||||||
DOCTYPES = doc scn
|
|
||||||
DOCS = $(DOCTYPES:%=$(TEST).%)
|
|
||||||
|
|
||||||
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)/mptests.am
|
|
||||||
|
|
||||||
AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/..
|
|
||||||
|
|
||||||
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
|
|
||||||
@@ -1,52 +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.
|
|
||||||
#
|
|
||||||
|
|
||||||
|
|
||||||
This file describes the directives and concepts tested by this test set.
|
|
||||||
|
|
||||||
test set name: test50
|
|
||||||
|
|
||||||
directives:
|
|
||||||
ex_init, ex_start, t_create, t_start, tm_tick, i_return, t_ident,
|
|
||||||
tm_set, tm_get, tm_wkafter, t_delete
|
|
||||||
|
|
||||||
concepts:
|
|
||||||
|
|
||||||
a. Verifies system can create and start both the executive's system
|
|
||||||
initialization and idle task.
|
|
||||||
|
|
||||||
b. Verifies executive can swap between three application tasks at the
|
|
||||||
same priority and the executive's internal idle task.
|
|
||||||
|
|
||||||
c. Verifies can print strings to the CRT on port 2 of the mvme136 board
|
|
||||||
using Print and Println in the board support package.
|
|
||||||
|
|
||||||
d. Verifies interrupt handler can handler a task switch from an interrupt
|
|
||||||
as specified with the i_return directive.
|
|
||||||
|
|
||||||
e. Verifies executive initialization performed correctly.
|
|
||||||
|
|
||||||
f. Verifies the executive trap handler except for the halt function.
|
|
||||||
|
|
||||||
g. Verifies that a task can get the task identification number of itself.
|
|
||||||
|
|
||||||
h. Verifies that a task can get the task identification number
|
|
||||||
of a global task on the local processor.
|
|
||||||
|
|
||||||
i. Verifies that a task can delete itself or a global task on
|
|
||||||
the local processor.
|
|
||||||
|
|
||||||
j. Verifies Shared Memory Locked Queue driver for initialization,
|
|
||||||
getting a packet, broadcasting a packet, and returning a packet.
|
|
||||||
|
|
||||||
k. Can be used to verify that global packet type P_SYSVERIFY,
|
|
||||||
P_OBJCREATE (task), and P_OBJDELETE (task) are sent and
|
|
||||||
correctly processed by a remote node.
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
*** TEST 1 -- NODE 1 ***
|
|
||||||
Creating task 1 (Global)
|
|
||||||
Creating task 2 (Global)
|
|
||||||
Creating task 3 (Local)
|
|
||||||
MA1 - rtems_clock_get - 09:00:00 12/31/1988
|
|
||||||
MA2 - rtems_clock_get - 09:00:00 12/31/1988
|
|
||||||
MA3 - rtems_clock_get - 09:00:00 12/31/1988
|
|
||||||
MA1 - rtems_clock_get - 09:00:05 12/31/1988
|
|
||||||
MA1 - deleting self
|
|
||||||
MA2 - rtems_clock_get - 09:00:10 12/31/1988
|
|
||||||
MA2 - waiting to be deleted by MA3
|
|
||||||
MA3 - rtems_clock_get - 09:00:15 12/31/1988
|
|
||||||
MA3 - getting TID of MA2
|
|
||||||
MA3 - deleting MA2
|
|
||||||
*** END OF TEST 1 ***
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
Makefile
|
|
||||||
Makefile.in
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
##
|
|
||||||
## $Id$
|
|
||||||
##
|
|
||||||
|
|
||||||
|
|
||||||
VPATH = @srcdir@:@srcdir@/..
|
|
||||||
|
|
||||||
NODE = 2
|
|
||||||
TEST = mp01
|
|
||||||
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
|
||||||
|
|
||||||
MANAGERS = io mp
|
|
||||||
|
|
||||||
C_FILES = init.c task1.c
|
|
||||||
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))
|
|
||||||
|
|
||||||
H_FILES = system.h
|
|
||||||
|
|
||||||
DOCTYPES = doc scn
|
|
||||||
DOCS = $(DOCTYPES:%=$(TEST).%)
|
|
||||||
|
|
||||||
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)/mptests.am
|
|
||||||
|
|
||||||
AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/..
|
|
||||||
|
|
||||||
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
|
|
||||||
@@ -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.
|
|
||||||
#
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
*** TEST 1 -- NODE 2 ***
|
|
||||||
Creating task 1 (Global)
|
|
||||||
Creating task 2 (Global)
|
|
||||||
Creating task 3 (Local)
|
|
||||||
SA1 - rtems_clock_get - 09:00:00 12/31/1988
|
|
||||||
SA2 - rtems_clock_get - 09:00:00 12/31/1988
|
|
||||||
SA3 - rtems_clock_get - 09:00:00 12/31/1988
|
|
||||||
SA1 - rtems_clock_get - 09:00:05 12/31/1988
|
|
||||||
SA1 - deleting self
|
|
||||||
SA2 - rtems_clock_get - 09:00:10 12/31/1988
|
|
||||||
SA2 - waiting to be deleted by SA3
|
|
||||||
SA3 - rtems_clock_get - 09:00:15 12/31/1988
|
|
||||||
SA3 - getting TID of SA2
|
|
||||||
SA3 - deleting SA2
|
|
||||||
*** END OF TEST 1 ***
|
|
||||||
@@ -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 <tmacros.h>
|
|
||||||
|
|
||||||
/* functions */
|
|
||||||
|
|
||||||
rtems_task Init(
|
|
||||||
rtems_task_argument argument
|
|
||||||
);
|
|
||||||
|
|
||||||
rtems_task Test_task(
|
|
||||||
rtems_task_argument argument
|
|
||||||
);
|
|
||||||
|
|
||||||
/* configuration information */
|
|
||||||
|
|
||||||
#define CONFIGURE_MP_APPLICATION
|
|
||||||
|
|
||||||
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
|
|
||||||
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
|
|
||||||
|
|
||||||
#define CONFIGURE_MAXIMUM_TASKS 4
|
|
||||||
|
|
||||||
#define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_GLOBAL
|
|
||||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
|
||||||
|
|
||||||
#include <confdefs.h>
|
|
||||||
|
|
||||||
/* variables */
|
|
||||||
|
|
||||||
TEST_EXTERN rtems_id Task_id[ 4 ]; /* array of task ids */
|
|
||||||
TEST_EXTERN rtems_name Task_name[ 4 ]; /* array of task names */
|
|
||||||
|
|
||||||
/* end of include file */
|
|
||||||
@@ -1,83 +0,0 @@
|
|||||||
/* Test_task
|
|
||||||
*
|
|
||||||
* This task is used for three test tasks. It obtains its task id and
|
|
||||||
* based upon that id, performs certain actions.
|
|
||||||
*
|
|
||||||
* Task_1 delays 5 seconds and deletes itself.
|
|
||||||
* Task_2 delays 10 seconds and then loops until
|
|
||||||
* deleted by the third task.
|
|
||||||
* Task 3 delays 15 seconds, then deletes task 2 and itself.
|
|
||||||
*
|
|
||||||
* Input parameters:
|
|
||||||
* argument - task argument
|
|
||||||
*
|
|
||||||
* 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"
|
|
||||||
|
|
||||||
rtems_task Test_task(
|
|
||||||
rtems_task_argument argument
|
|
||||||
)
|
|
||||||
{
|
|
||||||
rtems_status_code status;
|
|
||||||
rtems_id tid;
|
|
||||||
rtems_time_of_day time;
|
|
||||||
|
|
||||||
status = rtems_task_ident( RTEMS_SELF, RTEMS_SEARCH_ALL_NODES, &tid );
|
|
||||||
directive_failed( status, "rtems_task_ident" );
|
|
||||||
|
|
||||||
status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time );
|
|
||||||
directive_failed( status, "rtems_clock_get" );
|
|
||||||
|
|
||||||
put_name( Task_name[ task_number( tid ) ], FALSE );
|
|
||||||
print_time( " - rtems_clock_get - ", &time, "\n" );
|
|
||||||
|
|
||||||
status = rtems_task_wake_after( task_number( tid ) * 1 * TICKS_PER_SECOND );
|
|
||||||
directive_failed( status, "rtems_task_wake_after" );
|
|
||||||
|
|
||||||
status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time );
|
|
||||||
directive_failed( status, "rtems_clock_get" );
|
|
||||||
put_name( Task_name[ task_number( tid ) ], FALSE );
|
|
||||||
print_time( " - rtems_clock_get - ", &time, "\n" );
|
|
||||||
|
|
||||||
if ( task_number(tid) == 1 ) { /* TASK 1 */
|
|
||||||
put_name( Task_name[ 1 ], FALSE );
|
|
||||||
printf( " - deleting self\n" );
|
|
||||||
status = rtems_task_delete( RTEMS_SELF );
|
|
||||||
directive_failed( status, "rtems_task_delete of RTEMS_SELF" );
|
|
||||||
}
|
|
||||||
else if ( task_number(tid) == 2 ) { /* TASK 2 */
|
|
||||||
put_name( Task_name[ 2 ], FALSE );
|
|
||||||
printf( " - waiting to be deleted by " );
|
|
||||||
put_name( Task_name[ 3 ], TRUE );
|
|
||||||
while ( FOREVER );
|
|
||||||
}
|
|
||||||
else { /* TASK 3 */
|
|
||||||
put_name( Task_name[ 3 ], FALSE );
|
|
||||||
printf( " - getting TID of " );
|
|
||||||
put_name( Task_name[ 2 ], TRUE );
|
|
||||||
do {
|
|
||||||
status = rtems_task_ident( Task_name[ 2 ], RTEMS_SEARCH_ALL_NODES, &tid );
|
|
||||||
} while ( status != RTEMS_SUCCESSFUL );
|
|
||||||
directive_failed( status, "rtems_task_ident" );
|
|
||||||
|
|
||||||
put_name( Task_name[ 3 ], FALSE );
|
|
||||||
printf( " - deleting " );
|
|
||||||
put_name( Task_name[ 2 ], TRUE );
|
|
||||||
status = rtems_task_delete( tid );
|
|
||||||
directive_failed( status, "rtems_task_delete of Task 2" );
|
|
||||||
|
|
||||||
puts( "*** END OF TEST 1 ***" );
|
|
||||||
rtems_test_exit(0);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
Makefile
|
|
||||||
Makefile.in
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
##
|
|
||||||
## $Id$
|
|
||||||
##
|
|
||||||
|
|
||||||
|
|
||||||
SUBDIRS = node1 node2
|
|
||||||
|
|
||||||
EXTRA_DIST = system.h init.c task1.c
|
|
||||||
|
|
||||||
include $(top_srcdir)/../automake/subdirs.am
|
|
||||||
include $(top_srcdir)/../automake/local.am
|
|
||||||
@@ -1,59 +0,0 @@
|
|||||||
/* Init
|
|
||||||
*
|
|
||||||
* This routine is the initialization task for this test program.
|
|
||||||
* It is a user initialization task 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 test, it should also be set to a known
|
|
||||||
* value by this function.
|
|
||||||
*
|
|
||||||
* Input parameters:
|
|
||||||
* argument - task argument
|
|
||||||
*
|
|
||||||
* 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 TEST_INIT
|
|
||||||
#include "system.h"
|
|
||||||
|
|
||||||
rtems_task Init(
|
|
||||||
rtems_task_argument argument
|
|
||||||
)
|
|
||||||
{
|
|
||||||
rtems_status_code status;
|
|
||||||
|
|
||||||
printf(
|
|
||||||
"\n\n*** TEST 2 -- NODE %d ***\n",
|
|
||||||
Multiprocessing_configuration.node
|
|
||||||
);
|
|
||||||
|
|
||||||
Task_name[ 1 ] = rtems_build_name( '1', '1', '1', ' ' );
|
|
||||||
Task_name[ 2 ] = rtems_build_name( '2', '2', '2', ' ' );
|
|
||||||
|
|
||||||
puts( "Creating Test_task (Global)" );
|
|
||||||
status = rtems_task_create(
|
|
||||||
Task_name[Multiprocessing_configuration.node],
|
|
||||||
1,
|
|
||||||
RTEMS_MINIMUM_STACK_SIZE,
|
|
||||||
RTEMS_NO_PREEMPT,
|
|
||||||
RTEMS_GLOBAL,
|
|
||||||
&Task_id[ 1 ]
|
|
||||||
);
|
|
||||||
directive_failed( status, "rtems_task_create" );
|
|
||||||
|
|
||||||
puts( "Starting Test_task (Global)" );
|
|
||||||
status = rtems_task_start( Task_id[ 1 ], Test_task, 0 );
|
|
||||||
directive_failed( status, "rtems_task_start" );
|
|
||||||
|
|
||||||
puts( "Deleting initialization task" );
|
|
||||||
status = rtems_task_delete( RTEMS_SELF );
|
|
||||||
directive_failed( status, "rtems_task_delete of RTEMS_SELF" );
|
|
||||||
}
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
Makefile
|
|
||||||
Makefile.in
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
##
|
|
||||||
## $Id$
|
|
||||||
##
|
|
||||||
|
|
||||||
|
|
||||||
VPATH = @srcdir@:@srcdir@/..
|
|
||||||
|
|
||||||
NODE = 1
|
|
||||||
TEST = mp02
|
|
||||||
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
|
||||||
|
|
||||||
MANAGERS = io mp
|
|
||||||
|
|
||||||
C_FILES = init.c task1.c
|
|
||||||
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))
|
|
||||||
|
|
||||||
H_FILES = system.h
|
|
||||||
|
|
||||||
DOCTYPES = doc scn
|
|
||||||
DOCS = $(DOCTYPES:%=$(TEST).%)
|
|
||||||
|
|
||||||
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)/mptests.am
|
|
||||||
|
|
||||||
AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/..
|
|
||||||
|
|
||||||
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
|
|
||||||
@@ -1,46 +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.
|
|
||||||
#
|
|
||||||
|
|
||||||
|
|
||||||
This file describes the directives and concepts tested by this test set.
|
|
||||||
|
|
||||||
test set name: test51
|
|
||||||
|
|
||||||
directives:
|
|
||||||
ex_init, ex_start, t_create, t_start, tm_tick, i_return, t_ident,
|
|
||||||
tm_set, tm_get, tm_wkafter, t_delete, t_restart, t_getreg, t_setreg
|
|
||||||
|
|
||||||
concepts:
|
|
||||||
|
|
||||||
a. Verifies system can create and start both the executive's system
|
|
||||||
initialization and idle task.
|
|
||||||
|
|
||||||
b. Verifies can print strings to the CRT on port 2 of the mvme136 board
|
|
||||||
using Print and Println in the board support package.
|
|
||||||
|
|
||||||
c. Verifies interrupt handler can handler a task switch from an interrupt
|
|
||||||
as specified with the i_return directive.
|
|
||||||
|
|
||||||
d. Verifies executive initialization performed correctly.
|
|
||||||
|
|
||||||
e. Verifies that a task can get the task identification number of itself.
|
|
||||||
|
|
||||||
f. Verifies that a task can get the task identification number
|
|
||||||
of another task.
|
|
||||||
|
|
||||||
g. Verifies that a task can delete itself or another task.
|
|
||||||
|
|
||||||
h. Verifies that errors are returned in the following situations:
|
|
||||||
1) when attempting to delete a remote task.
|
|
||||||
2) when attempting to start a remote task.
|
|
||||||
3) when attempting to restart a remote task.
|
|
||||||
|
|
||||||
i. Verifies that a remote task's registers can be set and read.
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
*** TEST 2 -- NODE 1 ***
|
|
||||||
Creating Test_task (Global)
|
|
||||||
Starting Test_task (Global)
|
|
||||||
Deleting initialization task
|
|
||||||
Remote task's name is : 222
|
|
||||||
Getting TID of remote task (all nodes)
|
|
||||||
Getting TID of remote task (1 node)
|
|
||||||
rtems_task_delete of remote task returned the correct error
|
|
||||||
rtems_task_start of remote task returned the correct error
|
|
||||||
rtems_task_restart of remote task returned the correct error
|
|
||||||
Setting notepad 1 of the remote task to 1
|
|
||||||
Getting a notepad of the remote task
|
|
||||||
Remote notepad set and read correctly
|
|
||||||
*** END OF TEST 2 ***
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
Makefile
|
|
||||||
Makefile.in
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
##
|
|
||||||
## $Id$
|
|
||||||
##
|
|
||||||
|
|
||||||
|
|
||||||
VPATH = @srcdir@:@srcdir@/..
|
|
||||||
|
|
||||||
NODE = 2
|
|
||||||
TEST = mp02
|
|
||||||
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
|
||||||
|
|
||||||
MANAGERS = io mp
|
|
||||||
|
|
||||||
C_FILES = init.c task1.c
|
|
||||||
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))
|
|
||||||
|
|
||||||
H_FILES = system.h
|
|
||||||
|
|
||||||
DOCTYPES = doc scn
|
|
||||||
DOCS = $(DOCTYPES:%=$(TEST).%)
|
|
||||||
|
|
||||||
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)/mptests.am
|
|
||||||
|
|
||||||
AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/..
|
|
||||||
|
|
||||||
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
|
|
||||||
@@ -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.
|
|
||||||
#
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
*** TEST 2 -- NODE 2 ***
|
|
||||||
Creating Test_task (Global)
|
|
||||||
Starting Test_task (Global)
|
|
||||||
Deleting initialization task
|
|
||||||
Remote task's name is : 111
|
|
||||||
Getting TID of remote task (all nodes)
|
|
||||||
Getting TID of remote task (1 node)
|
|
||||||
rtems_task_delete of remote task returned the correct error
|
|
||||||
rtems_task_start of remote task returned the correct error
|
|
||||||
rtems_task_restart of remote task returned the correct error
|
|
||||||
Setting notepad 2 of the remote task to 2
|
|
||||||
Getting a notepad of the remote task
|
|
||||||
Remote notepad set and read correctly
|
|
||||||
*** END OF TEST 2 ***
|
|
||||||
@@ -1,46 +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 <tmacros.h>
|
|
||||||
|
|
||||||
/* functions */
|
|
||||||
|
|
||||||
rtems_task Init(
|
|
||||||
rtems_task_argument argument
|
|
||||||
);
|
|
||||||
|
|
||||||
rtems_task Test_task(
|
|
||||||
rtems_task_argument argument
|
|
||||||
);
|
|
||||||
|
|
||||||
/* configuration information */
|
|
||||||
|
|
||||||
#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
|
|
||||||
|
|
||||||
#include <confdefs.h>
|
|
||||||
|
|
||||||
/* variables */
|
|
||||||
|
|
||||||
TEST_EXTERN rtems_id Task_id[ 4 ]; /* array of task ids */
|
|
||||||
TEST_EXTERN rtems_name Task_name[ 4 ]; /* array of task names */
|
|
||||||
|
|
||||||
/* end of include file */
|
|
||||||
@@ -1,117 +0,0 @@
|
|||||||
/* Test_task
|
|
||||||
*
|
|
||||||
* This task tests the rtems_task_set_note directive on a remote task and that
|
|
||||||
* errors are returned when attempting to delete, start, or restart
|
|
||||||
* a remote task.
|
|
||||||
*
|
|
||||||
* Input parameters:
|
|
||||||
* argument - task argument
|
|
||||||
*
|
|
||||||
* 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"
|
|
||||||
|
|
||||||
extern rtems_multiprocessing_table Multiprocessing_configuration;
|
|
||||||
|
|
||||||
rtems_task Test_task(
|
|
||||||
rtems_task_argument argument
|
|
||||||
)
|
|
||||||
{
|
|
||||||
rtems_id tid;
|
|
||||||
rtems_status_code status;
|
|
||||||
rtems_unsigned32 remote_node;
|
|
||||||
rtems_id remote_tid;
|
|
||||||
rtems_id test_tid;
|
|
||||||
rtems_unsigned32 note;
|
|
||||||
|
|
||||||
status = rtems_task_ident( RTEMS_SELF, RTEMS_SEARCH_ALL_NODES, &tid );
|
|
||||||
|
|
||||||
remote_node = (Multiprocessing_configuration.node == 1) ? 2 : 1;
|
|
||||||
printf( "Remote task's name is : " );
|
|
||||||
put_name( Task_name[ remote_node ], TRUE );
|
|
||||||
|
|
||||||
puts( "Getting TID of remote task (all nodes)" );
|
|
||||||
do {
|
|
||||||
status = rtems_task_ident(
|
|
||||||
Task_name[ remote_node ],
|
|
||||||
RTEMS_SEARCH_ALL_NODES,
|
|
||||||
&remote_tid
|
|
||||||
);
|
|
||||||
} while ( status != RTEMS_SUCCESSFUL );
|
|
||||||
|
|
||||||
directive_failed( status, "rtems_task_ident" );
|
|
||||||
|
|
||||||
puts( "Getting TID of remote task (1 node)" );
|
|
||||||
status = rtems_task_ident( Task_name[ remote_node ], remote_node, &test_tid );
|
|
||||||
directive_failed( status, "rtems_task_ident" );
|
|
||||||
|
|
||||||
if ( test_tid != remote_tid ) {
|
|
||||||
puts( "rtems_task_ident tid's do not match!!" );
|
|
||||||
rtems_fatal_error_occurred( status );
|
|
||||||
}
|
|
||||||
|
|
||||||
status = rtems_task_delete( remote_tid );
|
|
||||||
fatal_directive_status(
|
|
||||||
status,
|
|
||||||
RTEMS_ILLEGAL_ON_REMOTE_OBJECT,
|
|
||||||
"rtems_task_delete of remote task"
|
|
||||||
);
|
|
||||||
puts( "rtems_task_delete of remote task returned the correct error" );
|
|
||||||
|
|
||||||
status = rtems_task_start( remote_tid, Test_task, 0 );
|
|
||||||
fatal_directive_status(
|
|
||||||
status,
|
|
||||||
RTEMS_ILLEGAL_ON_REMOTE_OBJECT,
|
|
||||||
"rtems_task_start of remote task"
|
|
||||||
);
|
|
||||||
puts( "rtems_task_start of remote task returned the correct error" );
|
|
||||||
|
|
||||||
status = rtems_task_restart( remote_tid, 0 );
|
|
||||||
fatal_directive_status(
|
|
||||||
status,
|
|
||||||
RTEMS_ILLEGAL_ON_REMOTE_OBJECT,
|
|
||||||
"rtems_task_restart of remote task"
|
|
||||||
);
|
|
||||||
puts( "rtems_task_restart of remote task returned the correct error" );
|
|
||||||
|
|
||||||
printf(
|
|
||||||
"Setting notepad %d of the remote task to %d\n",
|
|
||||||
rtems_get_node(tid),
|
|
||||||
rtems_get_node(tid)
|
|
||||||
);
|
|
||||||
status = rtems_task_set_note(
|
|
||||||
remote_tid,
|
|
||||||
rtems_get_node(tid),
|
|
||||||
rtems_get_node(tid)
|
|
||||||
);
|
|
||||||
directive_failed( status, "rtems_task_set_note" );
|
|
||||||
|
|
||||||
puts( "Getting a notepad of the remote task" );
|
|
||||||
status = rtems_task_get_note( remote_tid, rtems_get_node(tid), ¬e );
|
|
||||||
directive_failed( status, "rtems_task_get_note" );
|
|
||||||
|
|
||||||
if ( note == rtems_get_node(tid) )
|
|
||||||
puts( "Remote notepad set and read correctly" );
|
|
||||||
else
|
|
||||||
printf(
|
|
||||||
"FAILURE!! Remote notepad was not set and read correctly (%d, %d)\n",
|
|
||||||
note,
|
|
||||||
rtems_get_node( tid )
|
|
||||||
);
|
|
||||||
|
|
||||||
status = rtems_task_wake_after( TICKS_PER_SECOND );
|
|
||||||
directive_failed( status, "rtems_task_wake_after" );
|
|
||||||
|
|
||||||
puts( "*** END OF TEST 2 ***" );
|
|
||||||
rtems_test_exit( 0 );
|
|
||||||
}
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
Makefile
|
|
||||||
Makefile.in
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
##
|
|
||||||
## $Id$
|
|
||||||
##
|
|
||||||
|
|
||||||
|
|
||||||
SUBDIRS = node1 node2
|
|
||||||
|
|
||||||
EXTRA_DIST = system.h delay.c init.c task1.c
|
|
||||||
|
|
||||||
include $(top_srcdir)/../automake/subdirs.am
|
|
||||||
include $(top_srcdir)/../automake/local.am
|
|
||||||
@@ -1,30 +0,0 @@
|
|||||||
/* Delayed_send_event
|
|
||||||
*
|
|
||||||
* This routine is a timer service routine which sends an event to task 1.
|
|
||||||
*
|
|
||||||
* 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"
|
|
||||||
|
|
||||||
rtems_timer_service_routine Delayed_send_event(
|
|
||||||
rtems_id ignored_id,
|
|
||||||
void *ignored_address
|
|
||||||
)
|
|
||||||
{
|
|
||||||
rtems_status_code status;
|
|
||||||
|
|
||||||
status = rtems_event_send( Task_id[ 1 ], RTEMS_EVENT_16 );
|
|
||||||
directive_failed_with_level( status, "rtems_event_send", 1 );
|
|
||||||
}
|
|
||||||
@@ -1,64 +0,0 @@
|
|||||||
/* Init
|
|
||||||
*
|
|
||||||
* This routine is the initialization task for this test program.
|
|
||||||
* It is a user initialization task 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 test, it should also be set to a known
|
|
||||||
* value by this function.
|
|
||||||
*
|
|
||||||
* Input parameters:
|
|
||||||
* argument - task argument
|
|
||||||
*
|
|
||||||
* 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 TEST_INIT
|
|
||||||
#include "system.h"
|
|
||||||
|
|
||||||
rtems_task Init(
|
|
||||||
rtems_task_argument argument
|
|
||||||
)
|
|
||||||
{
|
|
||||||
rtems_status_code status;
|
|
||||||
|
|
||||||
printf(
|
|
||||||
"\n\n*** TEST 3 -- NODE %d ***\n",
|
|
||||||
Multiprocessing_configuration.node
|
|
||||||
);
|
|
||||||
|
|
||||||
Task_name[ 1 ] = rtems_build_name( '1', '1', '1', ' ' );
|
|
||||||
Task_name[ 2 ] = rtems_build_name( '2', '2', '2', ' ' );
|
|
||||||
|
|
||||||
puts( "Creating Test_task (Global)" );
|
|
||||||
status = rtems_task_create(
|
|
||||||
Task_name[ Multiprocessing_configuration.node ],
|
|
||||||
1,
|
|
||||||
RTEMS_MINIMUM_STACK_SIZE,
|
|
||||||
RTEMS_NO_PREEMPT,
|
|
||||||
RTEMS_GLOBAL,
|
|
||||||
&Task_id[ 1 ]
|
|
||||||
);
|
|
||||||
directive_failed( status, "rtems_task_create" );
|
|
||||||
|
|
||||||
puts( "Starting Test_task (Global)" );
|
|
||||||
status = rtems_task_start( Task_id[ 1 ], Test_task, 0 );
|
|
||||||
directive_failed( status, "rtems_task_start" );
|
|
||||||
|
|
||||||
Timer_name[ 1 ] = rtems_build_name( 'T', 'M', '1', ' ' );
|
|
||||||
|
|
||||||
status = rtems_timer_create( Timer_name[ 1 ], &Timer_id[ 1 ] );
|
|
||||||
directive_failed( status, "rtems_timer_create" );
|
|
||||||
|
|
||||||
puts( "Deleting initialization task" );
|
|
||||||
status = rtems_task_delete( RTEMS_SELF );
|
|
||||||
directive_failed( status, "rtems_task_delete of RTEMS_SELF" );
|
|
||||||
}
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
Makefile
|
|
||||||
Makefile.in
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
##
|
|
||||||
## $Id$
|
|
||||||
##
|
|
||||||
|
|
||||||
|
|
||||||
VPATH = @srcdir@:@srcdir@/..
|
|
||||||
|
|
||||||
NODE = 1
|
|
||||||
TEST = mp03
|
|
||||||
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
|
||||||
|
|
||||||
MANAGERS = io mp timer event
|
|
||||||
|
|
||||||
C_FILES = init.c task1.c delay.c
|
|
||||||
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))
|
|
||||||
|
|
||||||
H_FILES = system.h
|
|
||||||
|
|
||||||
DOCTYPES = doc scn
|
|
||||||
DOCS = $(DOCTYPES:%=$(TEST).%)
|
|
||||||
|
|
||||||
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)/mptests.am
|
|
||||||
|
|
||||||
AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/..
|
|
||||||
|
|
||||||
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
|
|
||||||
@@ -1,44 +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.
|
|
||||||
#
|
|
||||||
|
|
||||||
|
|
||||||
This file describes the directives and concepts tested by this test set.
|
|
||||||
|
|
||||||
test set name: test52
|
|
||||||
|
|
||||||
directives:
|
|
||||||
ex_init, ex_start, t_create, t_start, tm_tick, i_return, t_ident,
|
|
||||||
tm_wkafter, t_suspend, t_resume
|
|
||||||
|
|
||||||
concepts:
|
|
||||||
|
|
||||||
a. Verifies system can create and start both the executive's system
|
|
||||||
initialization and idle task.
|
|
||||||
|
|
||||||
b. Verifies executive can swap between three application tasks at the
|
|
||||||
same priority and the executive's internal idle task.
|
|
||||||
|
|
||||||
c. Verifies can print strings to the CRT on port 2 of the mvme136 board
|
|
||||||
using Print and Println in the board support package.
|
|
||||||
|
|
||||||
d. Verifies interrupt handler can handler a task switch from an interrupt
|
|
||||||
as specified with the i_return directive.
|
|
||||||
|
|
||||||
e. Verifies executive initialization performed correctly.
|
|
||||||
|
|
||||||
f. Verifies the executive trap handler except for the halt function.
|
|
||||||
|
|
||||||
g. Verifies that a task can get the task identification number of itself.
|
|
||||||
|
|
||||||
h. Verifies that a task can get the task identification number
|
|
||||||
of another task (on another node).
|
|
||||||
|
|
||||||
i. Verifies that a task can suspend and resume a remote task.
|
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
*** TEST 3 -- NODE 1 ***
|
|
||||||
Creating Test_task (Global)
|
|
||||||
Starting Test_task (Global)
|
|
||||||
Deleting initialization task
|
|
||||||
Getting TID of remote task
|
|
||||||
Remote task's name is : 222
|
|
||||||
111 - Suspending remote task
|
|
||||||
111 - Resuming remote task
|
|
||||||
111 - Suspending remote task
|
|
||||||
111 - Resuming remote task
|
|
||||||
111 - Suspending remote task
|
|
||||||
111 - Resuming remote task
|
|
||||||
111 - Have I been suspended?????
|
|
||||||
111 - Have I been suspended?????
|
|
||||||
111 - Have I been suspended?????
|
|
||||||
111 - Have I been suspended?????
|
|
||||||
|
|
||||||
........
|
|
||||||
|
|
||||||
111 - Have I been suspended?????
|
|
||||||
111 - Have I been suspended?????
|
|
||||||
111 - Have I been suspended?????
|
|
||||||
111 - Have I been suspended?????
|
|
||||||
*** END OF TEST 3 ***
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
Makefile
|
|
||||||
Makefile.in
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
##
|
|
||||||
## $Id$
|
|
||||||
##
|
|
||||||
|
|
||||||
|
|
||||||
VPATH = @srcdir@:@srcdir@/..
|
|
||||||
|
|
||||||
NODE = 2
|
|
||||||
TEST = mp03
|
|
||||||
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
|
||||||
|
|
||||||
MANAGERS = io mp timer event
|
|
||||||
|
|
||||||
C_FILES = init.c delay.c task1.c
|
|
||||||
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))
|
|
||||||
|
|
||||||
H_FILES = system.h
|
|
||||||
|
|
||||||
DOCTYPES = doc scn
|
|
||||||
DOCS = $(DOCTYPES:%=$(TEST).%)
|
|
||||||
|
|
||||||
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)/mptests.am
|
|
||||||
|
|
||||||
AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/..
|
|
||||||
|
|
||||||
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
|
|
||||||
@@ -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.
|
|
||||||
#
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
*** TEST 3 -- NODE 2 ***
|
|
||||||
Creating Test_task (Global)
|
|
||||||
Starting Test_task (Global)
|
|
||||||
Deleting initialization task
|
|
||||||
Getting TID of remote task
|
|
||||||
Remote task's name is : 111
|
|
||||||
222 - Have I been suspended?????
|
|
||||||
222 - Have I been suspended?????
|
|
||||||
222 - Have I been suspended?????
|
|
||||||
222 - Have I been suspended?????
|
|
||||||
|
|
||||||
........
|
|
||||||
|
|
||||||
222 - Have I been suspended?????
|
|
||||||
222 - Have I been suspended?????
|
|
||||||
222 - Have I been suspended?????
|
|
||||||
222 - Have I been suspended?????
|
|
||||||
222 - Suspending remote task
|
|
||||||
222 - Resuming remote task
|
|
||||||
222 - Suspending remote task
|
|
||||||
222 - Resuming remote task
|
|
||||||
222 - Suspending remote task
|
|
||||||
222 - Resuming remote task
|
|
||||||
*** END OF TEST 3 ***
|
|
||||||
@@ -1,58 +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 <tmacros.h>
|
|
||||||
|
|
||||||
/* functions */
|
|
||||||
|
|
||||||
rtems_task Init(
|
|
||||||
rtems_task_argument argument
|
|
||||||
);
|
|
||||||
|
|
||||||
rtems_task Test_task(
|
|
||||||
rtems_task_argument argument
|
|
||||||
);
|
|
||||||
|
|
||||||
rtems_timer_service_routine Delayed_send_event(
|
|
||||||
rtems_id ignored_id,
|
|
||||||
void *ignored_address
|
|
||||||
);
|
|
||||||
|
|
||||||
/* configuration information */
|
|
||||||
|
|
||||||
#define CONFIGURE_MP_APPLICATION
|
|
||||||
|
|
||||||
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
|
|
||||||
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
|
|
||||||
|
|
||||||
#define CONFIGURE_MAXIMUM_TASKS 2
|
|
||||||
#define CONFIGURE_MAXIMUM_TIMERS 1
|
|
||||||
|
|
||||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
|
||||||
|
|
||||||
#include <confdefs.h>
|
|
||||||
|
|
||||||
/* variables */
|
|
||||||
|
|
||||||
TEST_EXTERN rtems_id Task_id[ 4 ]; /* array of task ids */
|
|
||||||
TEST_EXTERN rtems_name Task_name[ 4 ]; /* array of task names */
|
|
||||||
|
|
||||||
TEST_EXTERN rtems_id Timer_id[ 2 ]; /* array of timer ids */
|
|
||||||
TEST_EXTERN rtems_name Timer_name[ 2 ]; /* array of timer names */
|
|
||||||
|
|
||||||
TEST_EXTERN rtems_unsigned32 remote_node;
|
|
||||||
TEST_EXTERN rtems_id remote_tid;
|
|
||||||
|
|
||||||
/* end of include file */
|
|
||||||
@@ -1,154 +0,0 @@
|
|||||||
/* Test_task
|
|
||||||
*
|
|
||||||
* This task suspends and resumes a remote task.
|
|
||||||
*
|
|
||||||
* Input parameters:
|
|
||||||
* argument - task argument
|
|
||||||
*
|
|
||||||
* 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"
|
|
||||||
|
|
||||||
/*PAGE
|
|
||||||
*
|
|
||||||
* Test_Task_Support
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
void Test_Task_Support(
|
|
||||||
rtems_unsigned32 node
|
|
||||||
)
|
|
||||||
{
|
|
||||||
rtems_event_set events;
|
|
||||||
rtems_status_code status;
|
|
||||||
|
|
||||||
if ( Multiprocessing_configuration.node == node ) {
|
|
||||||
|
|
||||||
for ( ; ; ) {
|
|
||||||
|
|
||||||
status = rtems_event_receive(
|
|
||||||
RTEMS_EVENT_16,
|
|
||||||
RTEMS_NO_WAIT,
|
|
||||||
RTEMS_NO_TIMEOUT,
|
|
||||||
&events
|
|
||||||
);
|
|
||||||
|
|
||||||
if ( status == RTEMS_SUCCESSFUL )
|
|
||||||
break;
|
|
||||||
|
|
||||||
fatal_directive_status(status, RTEMS_UNSATISFIED, "rtems_event_receive");
|
|
||||||
|
|
||||||
status = rtems_task_wake_after( 2 * TICKS_PER_SECOND );
|
|
||||||
directive_failed( status, "rtems_task_wake_after" );
|
|
||||||
|
|
||||||
put_name( Task_name[ node ], FALSE );
|
|
||||||
puts( " - Suspending remote task" );
|
|
||||||
|
|
||||||
status = rtems_task_suspend( remote_tid );
|
|
||||||
directive_failed( status, "rtems_task_suspend" );
|
|
||||||
|
|
||||||
status = rtems_task_wake_after( 2 * TICKS_PER_SECOND );
|
|
||||||
directive_failed( status, "rtems_task_wake_after" );
|
|
||||||
|
|
||||||
put_name( Task_name[ node ], FALSE );
|
|
||||||
puts( " - Resuming remote task" );
|
|
||||||
|
|
||||||
status = rtems_task_resume( remote_tid ) ;
|
|
||||||
directive_failed( status, "rtems_task_resume" );
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
} else {
|
|
||||||
|
|
||||||
for ( ; ; ) {
|
|
||||||
status = rtems_event_receive(
|
|
||||||
RTEMS_EVENT_16,
|
|
||||||
RTEMS_NO_WAIT,
|
|
||||||
RTEMS_NO_TIMEOUT,
|
|
||||||
&events
|
|
||||||
);
|
|
||||||
|
|
||||||
if ( status == RTEMS_SUCCESSFUL )
|
|
||||||
break;
|
|
||||||
|
|
||||||
fatal_directive_status(status, RTEMS_UNSATISFIED, "rtems_event_receive");
|
|
||||||
|
|
||||||
put_name( Task_name[ remote_node ], FALSE );
|
|
||||||
puts( " - have I been suspended???" );
|
|
||||||
|
|
||||||
status = rtems_task_wake_after( TICKS_PER_SECOND / 2 );
|
|
||||||
directive_failed( status, "rtems_task_wake_after" );
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/*PAGE
|
|
||||||
*
|
|
||||||
* Test_task
|
|
||||||
*/
|
|
||||||
|
|
||||||
rtems_task Test_task(
|
|
||||||
rtems_task_argument argument
|
|
||||||
)
|
|
||||||
{
|
|
||||||
rtems_id tid;
|
|
||||||
rtems_status_code status;
|
|
||||||
|
|
||||||
status = rtems_task_ident( RTEMS_SELF, RTEMS_SEARCH_ALL_NODES, &tid );
|
|
||||||
directive_failed( status, "rtems_task_ident" );
|
|
||||||
|
|
||||||
puts( "Getting TID of remote task" );
|
|
||||||
remote_node = (Multiprocessing_configuration.node == 1) ? 2 : 1;
|
|
||||||
printf( "Remote task's name is : " );
|
|
||||||
put_name( Task_name[ remote_node ], TRUE );
|
|
||||||
|
|
||||||
do {
|
|
||||||
status = rtems_task_ident(
|
|
||||||
Task_name[ remote_node ],
|
|
||||||
RTEMS_SEARCH_ALL_NODES,
|
|
||||||
&remote_tid
|
|
||||||
);
|
|
||||||
} while ( status != RTEMS_SUCCESSFUL );
|
|
||||||
|
|
||||||
directive_failed( status, "rtems_task_ident" );
|
|
||||||
|
|
||||||
status = rtems_timer_fire_after(
|
|
||||||
Timer_id[ 1 ],
|
|
||||||
5 * TICKS_PER_SECOND,
|
|
||||||
Delayed_send_event,
|
|
||||||
NULL
|
|
||||||
);
|
|
||||||
directive_failed( status, "rtems_timer_fire_after" );
|
|
||||||
|
|
||||||
Test_Task_Support( 1 );
|
|
||||||
|
|
||||||
status = rtems_timer_fire_after(
|
|
||||||
Timer_id[ 1 ],
|
|
||||||
5 * TICKS_PER_SECOND,
|
|
||||||
Delayed_send_event,
|
|
||||||
NULL
|
|
||||||
);
|
|
||||||
directive_failed( status, "rtems_timer_fire_after" );
|
|
||||||
|
|
||||||
if ( Multiprocessing_configuration.node == 1 ) {
|
|
||||||
status = rtems_task_wake_after( 2 * TICKS_PER_SECOND );
|
|
||||||
directive_failed( status, "rtems_task_wake_after" );
|
|
||||||
}
|
|
||||||
|
|
||||||
Test_Task_Support( 2 );
|
|
||||||
|
|
||||||
puts( "*** END OF TEST 3 ***" );
|
|
||||||
rtems_test_exit( 0 );
|
|
||||||
}
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
Makefile
|
|
||||||
Makefile.in
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
##
|
|
||||||
## $Id$
|
|
||||||
##
|
|
||||||
|
|
||||||
|
|
||||||
SUBDIRS = node1 node2
|
|
||||||
|
|
||||||
EXTRA_DIST = system.h init.c task1.c
|
|
||||||
|
|
||||||
include $(top_srcdir)/../automake/subdirs.am
|
|
||||||
include $(top_srcdir)/../automake/local.am
|
|
||||||
@@ -1,59 +0,0 @@
|
|||||||
/* Init
|
|
||||||
*
|
|
||||||
* This routine is the initialization task for this test program.
|
|
||||||
* It is a user initialization task 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 test, it should also be set to a known
|
|
||||||
* value by this function.
|
|
||||||
*
|
|
||||||
* Input parameters:
|
|
||||||
* argument - task argument
|
|
||||||
*
|
|
||||||
* 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 TEST_INIT
|
|
||||||
#include "system.h"
|
|
||||||
|
|
||||||
rtems_task Init(
|
|
||||||
rtems_task_argument argument
|
|
||||||
)
|
|
||||||
{
|
|
||||||
rtems_status_code status;
|
|
||||||
|
|
||||||
printf(
|
|
||||||
"\n\n*** TEST 4 -- NODE %d ***\n",
|
|
||||||
Multiprocessing_configuration.node
|
|
||||||
);
|
|
||||||
|
|
||||||
Task_name[ 1 ] = rtems_build_name( '1', '1', '1', ' ' );
|
|
||||||
Task_name[ 2 ] = rtems_build_name( '2', '2', '2', ' ' );
|
|
||||||
|
|
||||||
puts( "Creating Test_task (Global)" );
|
|
||||||
status = rtems_task_create(
|
|
||||||
Task_name[ Multiprocessing_configuration.node ],
|
|
||||||
Multiprocessing_configuration.node,
|
|
||||||
RTEMS_MINIMUM_STACK_SIZE,
|
|
||||||
RTEMS_DEFAULT_MODES,
|
|
||||||
RTEMS_GLOBAL,
|
|
||||||
&Task_id[ 1 ]
|
|
||||||
);
|
|
||||||
directive_failed( status, "rtems_task_create" );
|
|
||||||
|
|
||||||
puts( "Starting Test_task (Global)" );
|
|
||||||
status = rtems_task_start( Task_id[ 1 ], Test_task, 0 );
|
|
||||||
directive_failed( status, "rtems_task_start" );
|
|
||||||
|
|
||||||
puts( "Deleting initialization task" );
|
|
||||||
status = rtems_task_delete( RTEMS_SELF );
|
|
||||||
directive_failed( status, "rtems_task_delete of RTEMS_SELF" );
|
|
||||||
}
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
Makefile
|
|
||||||
Makefile.in
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
##
|
|
||||||
## $Id$
|
|
||||||
##
|
|
||||||
|
|
||||||
|
|
||||||
VPATH = @srcdir@:@srcdir@/..
|
|
||||||
|
|
||||||
NODE = 1
|
|
||||||
TEST = mp04
|
|
||||||
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
|
||||||
|
|
||||||
MANAGERS = io mp
|
|
||||||
|
|
||||||
C_FILES = init.c task1.c
|
|
||||||
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))
|
|
||||||
|
|
||||||
H_FILES = system.h
|
|
||||||
|
|
||||||
DOCTYPES = doc scn
|
|
||||||
DOCS = $(DOCTYPES:%=$(TEST).%)
|
|
||||||
|
|
||||||
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)/mptests.am
|
|
||||||
|
|
||||||
AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/..
|
|
||||||
|
|
||||||
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
|
|
||||||
@@ -1,40 +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.
|
|
||||||
#
|
|
||||||
|
|
||||||
|
|
||||||
This file describes the directives and concepts tested by this test set.
|
|
||||||
|
|
||||||
test set name: test53
|
|
||||||
|
|
||||||
directives:
|
|
||||||
ex_init, ex_start, t_create, t_start, i_return, t_ident, tm_get,
|
|
||||||
tm_wkafter, tm_setpri
|
|
||||||
|
|
||||||
concepts:
|
|
||||||
|
|
||||||
a. Verifies system can create and start both the executive's system
|
|
||||||
initialization and idle task.
|
|
||||||
|
|
||||||
b. Verifies that the system can get the id of a remote task.
|
|
||||||
|
|
||||||
c. Verifies that the system can change the priority of a remote
|
|
||||||
task.
|
|
||||||
|
|
||||||
d. Verifies interrupt handler can handler a task switch from an interrupt
|
|
||||||
as specified with the i_return directive.
|
|
||||||
|
|
||||||
e. Verifies executive initialization performed correctly.
|
|
||||||
|
|
||||||
f. Verifies the executive trap handler except for the halt function.
|
|
||||||
|
|
||||||
g. Verifies that a task can get the task identification number of itself.
|
|
||||||
|
|
||||||
h. Verifies that a task can delete itself or another task.
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
*** TEST 4 -- NODE 1 ***
|
|
||||||
Creating Test_task (Global)
|
|
||||||
Starting Test_task (Global)
|
|
||||||
Deleting initialization task
|
|
||||||
Getting TID of remote task
|
|
||||||
Remote task's name is : 222
|
|
||||||
Local task priority has been set
|
|
||||||
*** END OF TEST 4 ***
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
Makefile
|
|
||||||
Makefile.in
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
##
|
|
||||||
## $Id$
|
|
||||||
##
|
|
||||||
|
|
||||||
|
|
||||||
VPATH = @srcdir@:@srcdir@/..
|
|
||||||
|
|
||||||
NODE = 2
|
|
||||||
TEST = mp04
|
|
||||||
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
|
||||||
|
|
||||||
MANAGERS = io mp
|
|
||||||
|
|
||||||
C_FILES = init.c task1.c
|
|
||||||
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))
|
|
||||||
|
|
||||||
H_FILES = system.h
|
|
||||||
|
|
||||||
DOCTYPES = doc scn
|
|
||||||
DOCS = $(DOCTYPES:%=$(TEST).%)
|
|
||||||
|
|
||||||
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)/mptests.am
|
|
||||||
|
|
||||||
AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/..
|
|
||||||
|
|
||||||
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
|
|
||||||
@@ -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.
|
|
||||||
#
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
*** TEST 4 -- NODE 2 ***
|
|
||||||
Creating Test_task (Global)
|
|
||||||
Starting Test_task (Global)
|
|
||||||
Deleting initialization task
|
|
||||||
Getting TID of remote task
|
|
||||||
Remote task's name is : 111
|
|
||||||
Local task priority has been set
|
|
||||||
*** END OF TEST 4 ***
|
|
||||||
@@ -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 <tmacros.h>
|
|
||||||
|
|
||||||
/* functions */
|
|
||||||
|
|
||||||
rtems_task Init(
|
|
||||||
rtems_task_argument argument
|
|
||||||
);
|
|
||||||
|
|
||||||
rtems_task Test_task(
|
|
||||||
rtems_task_argument argument
|
|
||||||
);
|
|
||||||
|
|
||||||
/* configuration information */
|
|
||||||
|
|
||||||
#define CONFIGURE_MP_APPLICATION
|
|
||||||
|
|
||||||
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
|
|
||||||
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
|
|
||||||
|
|
||||||
#define CONFIGURE_MAXIMUM_TASKS 2
|
|
||||||
#define CONFIGURE_MAXIMUM_TIMERS 1
|
|
||||||
|
|
||||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
|
||||||
|
|
||||||
#include <confdefs.h>
|
|
||||||
|
|
||||||
/* variables */
|
|
||||||
|
|
||||||
TEST_EXTERN rtems_id Task_id[ 4 ]; /* array of task ids */
|
|
||||||
TEST_EXTERN rtems_name Task_name[ 4 ]; /* array of task names */
|
|
||||||
|
|
||||||
/* end of include file */
|
|
||||||
@@ -1,82 +0,0 @@
|
|||||||
/* Test_task
|
|
||||||
*
|
|
||||||
* This task tests the rtems_task_set_priority directive on a remote task.
|
|
||||||
*
|
|
||||||
* Input parameters:
|
|
||||||
* argument - task argument
|
|
||||||
*
|
|
||||||
* 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"
|
|
||||||
|
|
||||||
extern rtems_multiprocessing_table Multiprocessing_configuration;
|
|
||||||
|
|
||||||
rtems_task Test_task(
|
|
||||||
rtems_task_argument argument
|
|
||||||
)
|
|
||||||
{
|
|
||||||
rtems_id tid;
|
|
||||||
rtems_status_code status;
|
|
||||||
rtems_unsigned32 remote_node;
|
|
||||||
rtems_id remote_tid;
|
|
||||||
rtems_task_priority previous_priority;
|
|
||||||
rtems_task_priority previous_priority_1;
|
|
||||||
|
|
||||||
status = rtems_task_ident( RTEMS_SELF, RTEMS_SEARCH_ALL_NODES, &tid );
|
|
||||||
directive_failed( status, "rtems_task_ident" );
|
|
||||||
|
|
||||||
puts( "Getting TID of remote task" );
|
|
||||||
remote_node = (Multiprocessing_configuration.node == 1) ? 2 : 1;
|
|
||||||
puts_nocr( "Remote task's name is : " );
|
|
||||||
put_name( Task_name[ remote_node ], TRUE );
|
|
||||||
|
|
||||||
do {
|
|
||||||
status = rtems_task_ident(
|
|
||||||
Task_name[ remote_node ],
|
|
||||||
RTEMS_SEARCH_ALL_NODES,
|
|
||||||
&remote_tid
|
|
||||||
);
|
|
||||||
} while ( status != RTEMS_SUCCESSFUL );
|
|
||||||
|
|
||||||
directive_failed( status, "rtems_task_ident" );
|
|
||||||
|
|
||||||
status = rtems_task_set_priority(
|
|
||||||
remote_tid,
|
|
||||||
Multiprocessing_configuration.node,
|
|
||||||
&previous_priority
|
|
||||||
);
|
|
||||||
directive_failed( status, "rtems_task_set_priority" );
|
|
||||||
|
|
||||||
if ( previous_priority != remote_node ) {
|
|
||||||
printf(
|
|
||||||
"Remote priority (0x%x) does not match remote node (0x%x)!!!\n",
|
|
||||||
previous_priority,
|
|
||||||
remote_node
|
|
||||||
);
|
|
||||||
rtems_test_exit( 0xf0000 );
|
|
||||||
}
|
|
||||||
|
|
||||||
do {
|
|
||||||
status = rtems_task_set_priority(
|
|
||||||
RTEMS_SELF,
|
|
||||||
RTEMS_CURRENT_PRIORITY,
|
|
||||||
&previous_priority_1
|
|
||||||
);
|
|
||||||
directive_failed( status, "rtems_task_set_priority" );
|
|
||||||
} while ( previous_priority_1 != remote_node );
|
|
||||||
|
|
||||||
puts( "Local task priority has been set" );
|
|
||||||
|
|
||||||
puts( "*** END OF TEST 4 ***" );
|
|
||||||
rtems_test_exit( 0 );
|
|
||||||
}
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
Makefile
|
|
||||||
Makefile.in
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
##
|
|
||||||
## $Id$
|
|
||||||
##
|
|
||||||
|
|
||||||
|
|
||||||
SUBDIRS = node1 node2
|
|
||||||
|
|
||||||
EXTRA_DIST = system.h asr.c init.c task1.c
|
|
||||||
|
|
||||||
include $(top_srcdir)/../automake/subdirs.am
|
|
||||||
include $(top_srcdir)/../automake/local.am
|
|
||||||
@@ -1,36 +0,0 @@
|
|||||||
/* Process_asr
|
|
||||||
*
|
|
||||||
* This routine performs the processing for task 1's RTEMS_ASR. It is called
|
|
||||||
* by an assembly routine which saves the necessary registers.
|
|
||||||
*
|
|
||||||
* Input parameters:
|
|
||||||
* signal - signal set
|
|
||||||
*
|
|
||||||
* 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"
|
|
||||||
|
|
||||||
rtems_asr Process_asr(
|
|
||||||
rtems_signal_set signal
|
|
||||||
)
|
|
||||||
{
|
|
||||||
if ( signal != expected_signal ) {
|
|
||||||
printf(
|
|
||||||
"ERROR: I was expecting signal 0x%.8x got 0x%.8x\n",
|
|
||||||
expected_signal,
|
|
||||||
signal
|
|
||||||
);
|
|
||||||
rtems_fatal_error_occurred( 0xf0000 );
|
|
||||||
}
|
|
||||||
signal_caught = 1;
|
|
||||||
}
|
|
||||||
@@ -1,64 +0,0 @@
|
|||||||
/* Init
|
|
||||||
*
|
|
||||||
* This routine is the initialization task for this test program.
|
|
||||||
* It is a user initialization task 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 test, it should also be set to a known
|
|
||||||
* value by this function.
|
|
||||||
*
|
|
||||||
* Input parameters:
|
|
||||||
* argument - task argument
|
|
||||||
*
|
|
||||||
* 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 TEST_INIT
|
|
||||||
#include "system.h"
|
|
||||||
|
|
||||||
rtems_task Init(
|
|
||||||
rtems_task_argument argument
|
|
||||||
)
|
|
||||||
{
|
|
||||||
rtems_status_code status;
|
|
||||||
|
|
||||||
printf(
|
|
||||||
"\n\n*** TEST 5 -- NODE %d ***\n",
|
|
||||||
Multiprocessing_configuration.node
|
|
||||||
);
|
|
||||||
|
|
||||||
Task_name[ 1 ] = rtems_build_name( '1', '1', '1', ' ' );
|
|
||||||
Task_name[ 2 ] = rtems_build_name( '2', '2', '2', ' ' );
|
|
||||||
|
|
||||||
puts( "Creating Test_task (Global)" );
|
|
||||||
status = rtems_task_create(
|
|
||||||
Task_name[Multiprocessing_configuration.node],
|
|
||||||
1,
|
|
||||||
RTEMS_MINIMUM_STACK_SIZE * 2,
|
|
||||||
RTEMS_TIMESLICE,
|
|
||||||
RTEMS_GLOBAL,
|
|
||||||
&Task_id[ 1 ]
|
|
||||||
);
|
|
||||||
directive_failed( status, "rtems_task_create" );
|
|
||||||
|
|
||||||
puts( "Starting Test_task (Global)" );
|
|
||||||
status = rtems_task_start( Task_id[ 1 ], Test_task, 0 );
|
|
||||||
directive_failed( status, "rtems_task_start" );
|
|
||||||
|
|
||||||
Timer_name[ 1 ] = rtems_build_name( 'T', 'M', '1', ' ' );
|
|
||||||
|
|
||||||
status = rtems_timer_create( Timer_name[ 1 ], &Timer_id[ 1 ] );
|
|
||||||
directive_failed( status, "rtems_timer_create" );
|
|
||||||
|
|
||||||
puts( "Deleting initialization task" );
|
|
||||||
status = rtems_task_delete( RTEMS_SELF );
|
|
||||||
directive_failed( status, "rtems_task_delete of RTEMS_SELF" );
|
|
||||||
}
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
Makefile
|
|
||||||
Makefile.in
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
##
|
|
||||||
## $Id$
|
|
||||||
##
|
|
||||||
|
|
||||||
|
|
||||||
VPATH = @srcdir@:@srcdir@/..
|
|
||||||
|
|
||||||
NODE = 1
|
|
||||||
TEST = mp05
|
|
||||||
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
|
||||||
|
|
||||||
MANAGERS = io mp signal timer
|
|
||||||
|
|
||||||
C_FILES = init.c asr.c task1.c
|
|
||||||
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))
|
|
||||||
|
|
||||||
H_FILES = system.h
|
|
||||||
|
|
||||||
DOCTYPES = doc scn
|
|
||||||
DOCS = $(DOCTYPES:%=$(TEST).%)
|
|
||||||
|
|
||||||
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)/mptests.am
|
|
||||||
|
|
||||||
AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/..
|
|
||||||
|
|
||||||
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
|
|
||||||
@@ -1,44 +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.
|
|
||||||
#
|
|
||||||
|
|
||||||
|
|
||||||
This file describes the directives and concepts tested by this test set.
|
|
||||||
|
|
||||||
test set name: test54
|
|
||||||
|
|
||||||
directives:
|
|
||||||
ex_init, ex_start, t_create, t_start, tm_tick, i_return, t_ident,
|
|
||||||
tm_wkafter, as_catch, as_return
|
|
||||||
|
|
||||||
concepts:
|
|
||||||
|
|
||||||
a. Verifies system can create and start both the executive's system
|
|
||||||
initialization and idle task.
|
|
||||||
|
|
||||||
b. Verifies executive can swap between three application tasks at the
|
|
||||||
same priority and the executive's internal idle task.
|
|
||||||
|
|
||||||
c. Verifies can print strings to the CRT on port 2 of the mvme136 board
|
|
||||||
using Print and Println in the board support package.
|
|
||||||
|
|
||||||
d. Verifies interrupt handler can handler a task switch from an interrupt
|
|
||||||
as specified with the i_return directive.
|
|
||||||
|
|
||||||
e. Verifies executive initialization performed correctly.
|
|
||||||
|
|
||||||
f. Verifies the executive trap handler except for the halt function.
|
|
||||||
|
|
||||||
g. Verifies that a task can get the task identification number of itself.
|
|
||||||
|
|
||||||
h. Verifies that a task can get the task identification number
|
|
||||||
of another task.
|
|
||||||
|
|
||||||
i. Verifies that a signal can be sent to a remote task.
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
*** TEST 5 -- NODE 1 ***
|
|
||||||
Creating Test_task (Global)
|
|
||||||
Starting Test_task (Global)
|
|
||||||
Deleting initialization task
|
|
||||||
rtems_signal_catch: initializing signal catcher
|
|
||||||
Remote task's name is : 222
|
|
||||||
Getting TID of remote task
|
|
||||||
Sending signal to remote task
|
|
||||||
....................................................
|
|
||||||
....................................................
|
|
||||||
*** END OF TEST 5 ***
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
Makefile
|
|
||||||
Makefile.in
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
##
|
|
||||||
## $Id$
|
|
||||||
##
|
|
||||||
|
|
||||||
|
|
||||||
VPATH = @srcdir@:@srcdir@/..
|
|
||||||
|
|
||||||
NODE = 2
|
|
||||||
TEST = mp05
|
|
||||||
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
|
||||||
|
|
||||||
MANAGERS = io mp signal timer
|
|
||||||
|
|
||||||
C_FILES = init.c asr.c task1.c
|
|
||||||
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))
|
|
||||||
|
|
||||||
H_FILES = system.h
|
|
||||||
|
|
||||||
DOCTYPES = doc scn
|
|
||||||
DOCS = $(DOCTYPES:%=$(TEST).%)
|
|
||||||
|
|
||||||
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)/mptests.am
|
|
||||||
|
|
||||||
AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/..
|
|
||||||
|
|
||||||
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
|
|
||||||
@@ -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.
|
|
||||||
#
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
*** TEST 5 -- NODE 2 ***
|
|
||||||
Creating Test_task (Global)
|
|
||||||
Starting Test_task (Global)
|
|
||||||
Deleting initialization task
|
|
||||||
rtems_signal_catch: initializing signal catcher
|
|
||||||
Remote task's name is : 111
|
|
||||||
Getting TID of remote task
|
|
||||||
....................................................
|
|
||||||
....................................................
|
|
||||||
*** END OF TEST 5 ***
|
|
||||||
@@ -1,63 +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 <tmacros.h>
|
|
||||||
|
|
||||||
/* functions */
|
|
||||||
|
|
||||||
rtems_task Init(
|
|
||||||
rtems_task_argument argument
|
|
||||||
);
|
|
||||||
|
|
||||||
rtems_task Test_task(
|
|
||||||
rtems_task_argument argument
|
|
||||||
);
|
|
||||||
|
|
||||||
rtems_asr Process_asr( rtems_signal_set );
|
|
||||||
|
|
||||||
/* configuration information */
|
|
||||||
|
|
||||||
#define CONFIGURE_MP_APPLICATION
|
|
||||||
|
|
||||||
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
|
|
||||||
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
|
|
||||||
|
|
||||||
#define CONFIGURE_MAXIMUM_TASKS 2
|
|
||||||
#define CONFIGURE_MAXIMUM_TIMERS 1
|
|
||||||
|
|
||||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
|
||||||
|
|
||||||
#define CONFIGURE_EXTRA_TASK_STACKS (1 * RTEMS_MINIMUM_STACK_SIZE)
|
|
||||||
|
|
||||||
#include <confdefs.h>
|
|
||||||
|
|
||||||
/* variables */
|
|
||||||
|
|
||||||
TEST_EXTERN rtems_id Task_id[ 4 ]; /* array of task ids */
|
|
||||||
TEST_EXTERN rtems_name Task_name[ 4 ]; /* array of task names */
|
|
||||||
|
|
||||||
TEST_EXTERN rtems_id Timer_id[ 2 ]; /* array of timer ids */
|
|
||||||
TEST_EXTERN rtems_name Timer_name[ 2 ]; /* array of timer names */
|
|
||||||
|
|
||||||
TEST_EXTERN volatile rtems_boolean Stop_Test;
|
|
||||||
|
|
||||||
TEST_EXTERN rtems_unsigned32 remote_node;
|
|
||||||
TEST_EXTERN rtems_id remote_tid;
|
|
||||||
TEST_EXTERN rtems_signal_set remote_signal;
|
|
||||||
TEST_EXTERN rtems_signal_set expected_signal;
|
|
||||||
TEST_EXTERN volatile rtems_unsigned32 signal_count;
|
|
||||||
TEST_EXTERN volatile rtems_unsigned32 signal_caught;
|
|
||||||
|
|
||||||
/* end of include file */
|
|
||||||
@@ -1,105 +0,0 @@
|
|||||||
/* Test_task
|
|
||||||
*
|
|
||||||
* This task initializes the signal catcher, sends the first signal
|
|
||||||
* if running on the first node, and loops while waiting for signals.
|
|
||||||
*
|
|
||||||
* NOTE: The signal catcher is not reentrant and hence RTEMS_NO_ASR must
|
|
||||||
* be a part of its execution mode.
|
|
||||||
*
|
|
||||||
* Input parameters:
|
|
||||||
* argument - task argument
|
|
||||||
*
|
|
||||||
* 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"
|
|
||||||
|
|
||||||
#define SIGNALS_PER_DOT 15
|
|
||||||
|
|
||||||
rtems_timer_service_routine Stop_Test_TSR(
|
|
||||||
rtems_id ignored_id,
|
|
||||||
void *ignored_address
|
|
||||||
)
|
|
||||||
{
|
|
||||||
Stop_Test = TRUE;
|
|
||||||
}
|
|
||||||
|
|
||||||
rtems_task Test_task(
|
|
||||||
rtems_task_argument argument
|
|
||||||
)
|
|
||||||
{
|
|
||||||
rtems_status_code status;
|
|
||||||
|
|
||||||
Stop_Test = FALSE;
|
|
||||||
|
|
||||||
signal_caught = 0;
|
|
||||||
signal_count = 0;
|
|
||||||
|
|
||||||
puts( "rtems_signal_catch: initializing signal catcher" );
|
|
||||||
status = rtems_signal_catch( Process_asr, RTEMS_NO_ASR|RTEMS_NO_PREEMPT );
|
|
||||||
directive_failed( status, "rtems_signal_catch" );
|
|
||||||
|
|
||||||
if (Multiprocessing_configuration.node == 1) {
|
|
||||||
remote_node = 2;
|
|
||||||
remote_signal = RTEMS_SIGNAL_18;
|
|
||||||
expected_signal = RTEMS_SIGNAL_17;
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
remote_node = 1;
|
|
||||||
remote_signal = RTEMS_SIGNAL_17;
|
|
||||||
expected_signal = RTEMS_SIGNAL_18;
|
|
||||||
}
|
|
||||||
puts_nocr( "Remote task's name is : " );
|
|
||||||
put_name( Task_name[ remote_node ], TRUE );
|
|
||||||
|
|
||||||
puts( "Getting TID of remote task" );
|
|
||||||
do {
|
|
||||||
status = rtems_task_ident(
|
|
||||||
Task_name[ remote_node ],
|
|
||||||
RTEMS_SEARCH_ALL_NODES,
|
|
||||||
&remote_tid
|
|
||||||
);
|
|
||||||
} while ( status != RTEMS_SUCCESSFUL );
|
|
||||||
directive_failed( status, "rtems_task_ident" );
|
|
||||||
|
|
||||||
status = rtems_timer_fire_after(
|
|
||||||
Timer_id[ 1 ],
|
|
||||||
3 * TICKS_PER_SECOND,
|
|
||||||
Stop_Test_TSR,
|
|
||||||
NULL
|
|
||||||
);
|
|
||||||
directive_failed( status, "rtems_timer_fire_after" );
|
|
||||||
|
|
||||||
if ( Multiprocessing_configuration.node == 1 ) {
|
|
||||||
puts( "Sending signal to remote task" );
|
|
||||||
do {
|
|
||||||
status = rtems_signal_send( remote_tid, remote_signal );
|
|
||||||
if ( status == RTEMS_NOT_DEFINED )
|
|
||||||
continue;
|
|
||||||
} while ( status != RTEMS_SUCCESSFUL );
|
|
||||||
directive_failed( status, "rtems_signal_send" );
|
|
||||||
}
|
|
||||||
|
|
||||||
while ( Stop_Test == FALSE ) {
|
|
||||||
if ( signal_caught ) {
|
|
||||||
signal_caught = 0;
|
|
||||||
if ( ++signal_count >= SIGNALS_PER_DOT ) {
|
|
||||||
signal_count = 0;
|
|
||||||
put_dot( '.' );
|
|
||||||
}
|
|
||||||
status = rtems_signal_send( remote_tid, remote_signal );
|
|
||||||
directive_failed( status, "rtems_signal_send" );
|
|
||||||
}
|
|
||||||
}
|
|
||||||
puts( "\n*** END OF TEST 5 ***" );
|
|
||||||
rtems_test_exit( 0 );
|
|
||||||
}
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
Makefile
|
|
||||||
Makefile.in
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
##
|
|
||||||
## $Id$
|
|
||||||
##
|
|
||||||
|
|
||||||
|
|
||||||
SUBDIRS = node1 node2
|
|
||||||
|
|
||||||
EXTRA_DIST = system.h init.c task1.c
|
|
||||||
|
|
||||||
include $(top_srcdir)/../automake/subdirs.am
|
|
||||||
include $(top_srcdir)/../automake/local.am
|
|
||||||
@@ -1,64 +0,0 @@
|
|||||||
/* Init
|
|
||||||
*
|
|
||||||
* This routine is the initialization task for this test program.
|
|
||||||
* It is a user initialization task 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 test, it should also be set to a known
|
|
||||||
* value by this function.
|
|
||||||
*
|
|
||||||
* Input parameters:
|
|
||||||
* argument - task argument
|
|
||||||
*
|
|
||||||
* 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 TEST_INIT
|
|
||||||
#include "system.h"
|
|
||||||
|
|
||||||
rtems_task Init(
|
|
||||||
rtems_task_argument argument
|
|
||||||
)
|
|
||||||
{
|
|
||||||
rtems_status_code status;
|
|
||||||
|
|
||||||
printf(
|
|
||||||
"\n\n*** TEST 6 -- NODE %d ***\n",
|
|
||||||
Multiprocessing_configuration.node
|
|
||||||
);
|
|
||||||
|
|
||||||
Task_name[ 1 ] = rtems_build_name( '1', '1', '1', ' ' );
|
|
||||||
Task_name[ 2 ] = rtems_build_name( '2', '2', '2', ' ' );
|
|
||||||
|
|
||||||
puts( "Creating Test_task (Global)" );
|
|
||||||
status = rtems_task_create(
|
|
||||||
Task_name[Multiprocessing_configuration.node],
|
|
||||||
1,
|
|
||||||
RTEMS_MINIMUM_STACK_SIZE,
|
|
||||||
RTEMS_DEFAULT_MODES,
|
|
||||||
RTEMS_GLOBAL,
|
|
||||||
&Task_id[ 1 ]
|
|
||||||
);
|
|
||||||
directive_failed( status, "rtems_task_create" );
|
|
||||||
|
|
||||||
puts( "Starting Test_task (Global)" );
|
|
||||||
status = rtems_task_start( Task_id[ 1 ], Test_task, 0 );
|
|
||||||
directive_failed( status, "rtems_task_start" );
|
|
||||||
|
|
||||||
Timer_name[ 1 ] = rtems_build_name( 'T', 'M', '1', ' ' );
|
|
||||||
|
|
||||||
status = rtems_timer_create( Timer_name[ 1 ], &Timer_id[ 1 ] );
|
|
||||||
directive_failed( status, "rtems_timer_create" );
|
|
||||||
|
|
||||||
puts( "Deleting initialization task" );
|
|
||||||
status = rtems_task_delete( RTEMS_SELF );
|
|
||||||
directive_failed( status, "rtems_task_delete of RTEMS_SELF" );
|
|
||||||
}
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
Makefile
|
|
||||||
Makefile.in
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
##
|
|
||||||
## $Id$
|
|
||||||
##
|
|
||||||
|
|
||||||
|
|
||||||
VPATH = @srcdir@:@srcdir@/..
|
|
||||||
|
|
||||||
NODE = 1
|
|
||||||
TEST = mp06
|
|
||||||
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
|
||||||
|
|
||||||
MANAGERS = io mp event timer
|
|
||||||
|
|
||||||
C_FILES = init.c task1.c
|
|
||||||
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))
|
|
||||||
|
|
||||||
H_FILES = system.h
|
|
||||||
|
|
||||||
DOCTYPES = doc scn
|
|
||||||
DOCS = $(DOCTYPES:%=$(TEST).%)
|
|
||||||
|
|
||||||
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)/mptests.am
|
|
||||||
|
|
||||||
AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/..
|
|
||||||
|
|
||||||
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
|
|
||||||
@@ -1,44 +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.
|
|
||||||
#
|
|
||||||
|
|
||||||
|
|
||||||
This file describes the directives and concepts tested by this test set.
|
|
||||||
|
|
||||||
test set name: test55
|
|
||||||
|
|
||||||
directives:
|
|
||||||
ex_init, ex_start, t_create, t_start, tm_tick, i_return, t_ident,
|
|
||||||
ev_send, ev_receive
|
|
||||||
|
|
||||||
concepts:
|
|
||||||
|
|
||||||
a. Verifies system can create and start both the executive's system
|
|
||||||
initialization and idle task.
|
|
||||||
|
|
||||||
b. Verifies executive can swap between three application tasks at the
|
|
||||||
same priority and the executive's internal idle task.
|
|
||||||
|
|
||||||
c. Verifies can print strings to the CRT on port 2 of the mvme136 board
|
|
||||||
using Print and Println in the board support package.
|
|
||||||
|
|
||||||
d. Verifies interrupt handler can handler a task switch from an interrupt
|
|
||||||
as specified with the i_return directive.
|
|
||||||
|
|
||||||
e. Verifies executive initialization performed correctly.
|
|
||||||
|
|
||||||
f. Verifies the executive trap handler except for the halt function.
|
|
||||||
|
|
||||||
g. Verifies that a task can get the task identification number of itself.
|
|
||||||
|
|
||||||
h. Verifies that a task can get the task identification number
|
|
||||||
of another task.
|
|
||||||
|
|
||||||
i. Verifies that events can be sent to a remote task.
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
*** TEST 6 -- NODE 1 ***
|
|
||||||
Creating Test_task (Global)
|
|
||||||
Starting Test_task (Global)
|
|
||||||
Deleting initialization task
|
|
||||||
Remote task's name is : 222
|
|
||||||
Getting TID of remote task
|
|
||||||
Sending events to remote task
|
|
||||||
....................................................
|
|
||||||
....................................................
|
|
||||||
*** END OF TEST 6 ***
|
|
||||||
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
Makefile
|
|
||||||
Makefile.in
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
##
|
|
||||||
## $Id$
|
|
||||||
##
|
|
||||||
|
|
||||||
|
|
||||||
VPATH = @srcdir@:@srcdir@/..
|
|
||||||
|
|
||||||
NODE = 2
|
|
||||||
TEST = mp06
|
|
||||||
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
|
||||||
|
|
||||||
MANAGERS = io mp event timer
|
|
||||||
|
|
||||||
C_FILES = init.c task1.c
|
|
||||||
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))
|
|
||||||
|
|
||||||
H_FILES = system.h
|
|
||||||
|
|
||||||
DOCTYPES = doc scn
|
|
||||||
DOCS = $(DOCTYPES:%=$(TEST).%)
|
|
||||||
|
|
||||||
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)/mptests.am
|
|
||||||
|
|
||||||
AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/..
|
|
||||||
|
|
||||||
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
|
|
||||||
@@ -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.
|
|
||||||
#
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
*** TEST 6 -- NODE 2 ***
|
|
||||||
Creating Test_task (Global)
|
|
||||||
Starting Test_task (Global)
|
|
||||||
Deleting initialization task
|
|
||||||
Remote task's name is : 111
|
|
||||||
Getting TID of remote task
|
|
||||||
Receiving events from remote task
|
|
||||||
....................................................
|
|
||||||
....................................................
|
|
||||||
rtems_event_receive - correctly returned RTEMS_TIMEOUT
|
|
||||||
*** END OF TEST 6 ***
|
|
||||||
|
|
||||||
@@ -1,52 +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 <tmacros.h>
|
|
||||||
|
|
||||||
/* functions */
|
|
||||||
|
|
||||||
rtems_task Init(
|
|
||||||
rtems_task_argument argument
|
|
||||||
);
|
|
||||||
|
|
||||||
rtems_task Test_task(
|
|
||||||
rtems_task_argument argument
|
|
||||||
);
|
|
||||||
|
|
||||||
/* configuration information */
|
|
||||||
|
|
||||||
#define CONFIGURE_MP_APPLICATION
|
|
||||||
|
|
||||||
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
|
|
||||||
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
|
|
||||||
|
|
||||||
#define CONFIGURE_MAXIMUM_TASKS 2
|
|
||||||
#define CONFIGURE_MAXIMUM_TIMERS 1
|
|
||||||
|
|
||||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
|
||||||
|
|
||||||
#include <confdefs.h>
|
|
||||||
|
|
||||||
/* variables */
|
|
||||||
|
|
||||||
TEST_EXTERN rtems_id Task_id[ 4 ]; /* array of task ids */
|
|
||||||
TEST_EXTERN rtems_name Task_name[ 4 ]; /* array of task names */
|
|
||||||
|
|
||||||
TEST_EXTERN rtems_id Timer_id[ 4 ]; /* array of timer ids */
|
|
||||||
TEST_EXTERN rtems_name Timer_name[ 4 ]; /* array of timer names */
|
|
||||||
|
|
||||||
TEST_EXTERN volatile rtems_boolean Stop_Test;
|
|
||||||
|
|
||||||
/* end of include file */
|
|
||||||
@@ -1,175 +0,0 @@
|
|||||||
/* Test_task
|
|
||||||
*
|
|
||||||
* This task tests global event operations. If running on node one, it
|
|
||||||
* continuously sends events. If running on node two, it continuously
|
|
||||||
* receives events.
|
|
||||||
*
|
|
||||||
* Input parameters:
|
|
||||||
* argument - task argument
|
|
||||||
*
|
|
||||||
* 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"
|
|
||||||
|
|
||||||
#define DOT_COUNT 25
|
|
||||||
|
|
||||||
/*PAGE
|
|
||||||
*
|
|
||||||
* Stop_Test_TSR
|
|
||||||
*/
|
|
||||||
|
|
||||||
rtems_timer_service_routine Stop_Test_TSR(
|
|
||||||
rtems_id ignored_id,
|
|
||||||
void *ignored_address
|
|
||||||
)
|
|
||||||
{
|
|
||||||
Stop_Test = TRUE;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*PAGE
|
|
||||||
*
|
|
||||||
* Event_set_table
|
|
||||||
*/
|
|
||||||
|
|
||||||
rtems_event_set Event_set_table[] = {
|
|
||||||
RTEMS_EVENT_0,
|
|
||||||
RTEMS_EVENT_1,
|
|
||||||
RTEMS_EVENT_2,
|
|
||||||
RTEMS_EVENT_3,
|
|
||||||
RTEMS_EVENT_4,
|
|
||||||
RTEMS_EVENT_5,
|
|
||||||
RTEMS_EVENT_6,
|
|
||||||
RTEMS_EVENT_7,
|
|
||||||
RTEMS_EVENT_8,
|
|
||||||
RTEMS_EVENT_9,
|
|
||||||
RTEMS_EVENT_10,
|
|
||||||
RTEMS_EVENT_11,
|
|
||||||
RTEMS_EVENT_12,
|
|
||||||
RTEMS_EVENT_13,
|
|
||||||
RTEMS_EVENT_14,
|
|
||||||
RTEMS_EVENT_15,
|
|
||||||
RTEMS_EVENT_16,
|
|
||||||
RTEMS_EVENT_17,
|
|
||||||
RTEMS_EVENT_18,
|
|
||||||
RTEMS_EVENT_19,
|
|
||||||
RTEMS_EVENT_20,
|
|
||||||
RTEMS_EVENT_21,
|
|
||||||
RTEMS_EVENT_22,
|
|
||||||
RTEMS_EVENT_23,
|
|
||||||
RTEMS_EVENT_24,
|
|
||||||
RTEMS_EVENT_25,
|
|
||||||
RTEMS_EVENT_26,
|
|
||||||
RTEMS_EVENT_27,
|
|
||||||
RTEMS_EVENT_28,
|
|
||||||
RTEMS_EVENT_29,
|
|
||||||
RTEMS_EVENT_30,
|
|
||||||
RTEMS_EVENT_31
|
|
||||||
};
|
|
||||||
|
|
||||||
/*PAGE
|
|
||||||
*
|
|
||||||
* Test_task
|
|
||||||
*/
|
|
||||||
|
|
||||||
rtems_task Test_task(
|
|
||||||
rtems_task_argument argument
|
|
||||||
)
|
|
||||||
{
|
|
||||||
rtems_status_code status;
|
|
||||||
rtems_unsigned32 count;
|
|
||||||
rtems_unsigned32 remote_node;
|
|
||||||
rtems_id remote_tid;
|
|
||||||
rtems_event_set event_out;
|
|
||||||
rtems_event_set event_for_this_iteration;
|
|
||||||
|
|
||||||
Stop_Test = FALSE;
|
|
||||||
|
|
||||||
remote_node = (Multiprocessing_configuration.node == 1) ? 2 : 1;
|
|
||||||
puts_nocr( "Remote task's name is : " );
|
|
||||||
put_name( Task_name[ remote_node ], TRUE );
|
|
||||||
|
|
||||||
puts( "Getting TID of remote task" );
|
|
||||||
do {
|
|
||||||
status = rtems_task_ident(
|
|
||||||
Task_name[ remote_node ],
|
|
||||||
RTEMS_SEARCH_ALL_NODES,
|
|
||||||
&remote_tid
|
|
||||||
);
|
|
||||||
} while ( status != RTEMS_SUCCESSFUL );
|
|
||||||
directive_failed( status, "rtems_task_ident FAILED!!" );
|
|
||||||
|
|
||||||
if ( Multiprocessing_configuration.node == 1 )
|
|
||||||
puts( "Sending events to remote task" );
|
|
||||||
else
|
|
||||||
puts( "Receiving events from remote task" );
|
|
||||||
|
|
||||||
status = rtems_timer_fire_after(
|
|
||||||
Timer_id[ 1 ],
|
|
||||||
5 * TICKS_PER_SECOND,
|
|
||||||
Stop_Test_TSR,
|
|
||||||
NULL
|
|
||||||
);
|
|
||||||
directive_failed( status, "rtems_timer_fire_after" );
|
|
||||||
|
|
||||||
count = 0;
|
|
||||||
|
|
||||||
for ( ; ; ) {
|
|
||||||
if ( Stop_Test == TRUE )
|
|
||||||
break;
|
|
||||||
|
|
||||||
event_for_this_iteration = Event_set_table[ count % 32 ];
|
|
||||||
|
|
||||||
if ( Multiprocessing_configuration.node == 1 ) {
|
|
||||||
status = rtems_event_send( remote_tid, event_for_this_iteration );
|
|
||||||
directive_failed( status, "rtems_event_send" );
|
|
||||||
|
|
||||||
status = rtems_task_wake_after( 1 );
|
|
||||||
directive_failed( status, "rtems_task_wake_after" );
|
|
||||||
} else {
|
|
||||||
status = rtems_event_receive(
|
|
||||||
event_for_this_iteration,
|
|
||||||
RTEMS_DEFAULT_OPTIONS,
|
|
||||||
1 * TICKS_PER_SECOND,
|
|
||||||
&event_out
|
|
||||||
);
|
|
||||||
if ( rtems_are_statuses_equal( status, RTEMS_TIMEOUT ) ) {
|
|
||||||
if ( Multiprocessing_configuration.node == 2 )
|
|
||||||
puts( "\nCorrect behavior if the other node exitted." );
|
|
||||||
else
|
|
||||||
puts( "\nERROR... node 1 died" );
|
|
||||||
break;
|
|
||||||
} else
|
|
||||||
directive_failed( status, "rtems_event_receive" );
|
|
||||||
}
|
|
||||||
|
|
||||||
if ( (count % DOT_COUNT) == 0 )
|
|
||||||
put_dot('.');
|
|
||||||
|
|
||||||
count++;
|
|
||||||
}
|
|
||||||
|
|
||||||
putchar( '\n' );
|
|
||||||
|
|
||||||
if ( Multiprocessing_configuration.node == 2 ) {
|
|
||||||
status = rtems_event_receive(
|
|
||||||
RTEMS_EVENT_16,
|
|
||||||
RTEMS_DEFAULT_OPTIONS,
|
|
||||||
1 * TICKS_PER_SECOND,
|
|
||||||
&event_out
|
|
||||||
);
|
|
||||||
fatal_directive_status( status, RTEMS_TIMEOUT, "rtems_event_receive" );
|
|
||||||
puts( "rtems_event_receive - correctly returned RTEMS_TIMEOUT" );
|
|
||||||
}
|
|
||||||
puts( "*** END OF TEST 6 ***" );
|
|
||||||
rtems_test_exit( 0 );
|
|
||||||
}
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
Makefile
|
|
||||||
Makefile.in
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
##
|
|
||||||
## $Id$
|
|
||||||
##
|
|
||||||
|
|
||||||
|
|
||||||
SUBDIRS = node1 node2
|
|
||||||
|
|
||||||
EXTRA_DIST = system.h init.c task1.c
|
|
||||||
|
|
||||||
include $(top_srcdir)/../automake/subdirs.am
|
|
||||||
include $(top_srcdir)/../automake/local.am
|
|
||||||
@@ -1,64 +0,0 @@
|
|||||||
/* Init
|
|
||||||
*
|
|
||||||
* This routine is the initialization task for this test program.
|
|
||||||
* It is a user initialization task 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 test, it should also be set to a known
|
|
||||||
* value by this function.
|
|
||||||
*
|
|
||||||
* Input parameters:
|
|
||||||
* argument - task argument
|
|
||||||
*
|
|
||||||
* 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 TEST_INIT
|
|
||||||
#include "system.h"
|
|
||||||
|
|
||||||
rtems_task Init(
|
|
||||||
rtems_task_argument argument
|
|
||||||
)
|
|
||||||
{
|
|
||||||
rtems_status_code status;
|
|
||||||
|
|
||||||
printf(
|
|
||||||
"\n\n*** TEST 7 -- NODE %d ***\n",
|
|
||||||
Multiprocessing_configuration.node
|
|
||||||
);
|
|
||||||
|
|
||||||
Task_name[ 1 ] = rtems_build_name( '1', '1', '1', ' ' );
|
|
||||||
Task_name[ 2 ] = rtems_build_name( '2', '2', '2', ' ' );
|
|
||||||
|
|
||||||
puts( "Creating Test_task (Global)" );
|
|
||||||
status = rtems_task_create(
|
|
||||||
Task_name[Multiprocessing_configuration.node],
|
|
||||||
1,
|
|
||||||
RTEMS_MINIMUM_STACK_SIZE,
|
|
||||||
RTEMS_TIMESLICE,
|
|
||||||
RTEMS_GLOBAL,
|
|
||||||
&Task_id[ 1 ]
|
|
||||||
);
|
|
||||||
directive_failed( status, "rtems_task_create" );
|
|
||||||
|
|
||||||
puts( "Starting Test_task (Global)" );
|
|
||||||
status = rtems_task_start( Task_id[ 1 ], Test_task, 0 );
|
|
||||||
directive_failed( status, "rtems_task_start" );
|
|
||||||
|
|
||||||
Timer_name[ 1 ] = rtems_build_name( 'T', 'M', '1', ' ' );
|
|
||||||
|
|
||||||
status = rtems_timer_create( Timer_name[ 1 ], &Timer_id[ 1 ] );
|
|
||||||
directive_failed( status, "rtems_timer_create" );
|
|
||||||
|
|
||||||
puts( "Deleting initialization task" );
|
|
||||||
status = rtems_task_delete( RTEMS_SELF );
|
|
||||||
directive_failed( status, "rtems_task_delete of RTEMS_SELF" );
|
|
||||||
}
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
Makefile
|
|
||||||
Makefile.in
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
##
|
|
||||||
## $Id$
|
|
||||||
##
|
|
||||||
|
|
||||||
|
|
||||||
VPATH = @srcdir@:@srcdir@/..
|
|
||||||
|
|
||||||
NODE = 1
|
|
||||||
TEST = mp07
|
|
||||||
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
|
||||||
|
|
||||||
MANAGERS = io mp event timer
|
|
||||||
|
|
||||||
C_FILES = init.c task1.c
|
|
||||||
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))
|
|
||||||
|
|
||||||
H_FILES = system.h
|
|
||||||
|
|
||||||
DOCTYPES = doc scn
|
|
||||||
DOCS = $(DOCTYPES:%=$(TEST).%)
|
|
||||||
|
|
||||||
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)/mptests.am
|
|
||||||
|
|
||||||
AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/..
|
|
||||||
|
|
||||||
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
|
|
||||||
@@ -1,45 +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.
|
|
||||||
#
|
|
||||||
|
|
||||||
|
|
||||||
This file describes the directives and concepts tested by this test set.
|
|
||||||
|
|
||||||
test set name: test56
|
|
||||||
|
|
||||||
directives:
|
|
||||||
ex_init, ex_start, t_create, t_start, tm_tick, i_return, t_ident,
|
|
||||||
ev_send, ev_receive
|
|
||||||
|
|
||||||
concepts:
|
|
||||||
|
|
||||||
a. Verifies system can create and start both the executive's system
|
|
||||||
initialization and idle task.
|
|
||||||
|
|
||||||
b. Verifies executive can swap between three application tasks at the
|
|
||||||
same priority and the executive's internal idle task.
|
|
||||||
|
|
||||||
c. Verifies can print strings to the CRT on port 2 of the mvme136 board
|
|
||||||
using Print and Println in the board support package.
|
|
||||||
|
|
||||||
d. Verifies interrupt handler can handler a task switch from an interrupt
|
|
||||||
as specified with the i_return directive.
|
|
||||||
|
|
||||||
e. Verifies executive initialization performed correctly.
|
|
||||||
|
|
||||||
f. Verifies the executive trap handler except for the halt function.
|
|
||||||
|
|
||||||
g. Verifies that a task can get the task identification number of itself.
|
|
||||||
|
|
||||||
h. Verifies that a task can get the task identification number
|
|
||||||
of another task.
|
|
||||||
|
|
||||||
i. Verifies that two tasks on different processors can alternate
|
|
||||||
sending each other events.
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
*** TEST 7 -- NODE 1 ***
|
|
||||||
Creating Test_task (Global)
|
|
||||||
Starting Test_task (Global)
|
|
||||||
Deleting initialization task
|
|
||||||
Remote task's name is : 222
|
|
||||||
Getting TID of remote task
|
|
||||||
Sending first event to remote task
|
|
||||||
....................................................
|
|
||||||
....................................................
|
|
||||||
*** END OF TEST 7 ***
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
Makefile
|
|
||||||
Makefile.in
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
##
|
|
||||||
## $Id$
|
|
||||||
##
|
|
||||||
|
|
||||||
|
|
||||||
VPATH = @srcdir@:@srcdir@/..
|
|
||||||
|
|
||||||
NODE = 2
|
|
||||||
TEST = mp07
|
|
||||||
PGM = ${ARCH}/$(TEST)-node$(NODE).exe
|
|
||||||
|
|
||||||
MANAGERS = io mp event timer
|
|
||||||
|
|
||||||
C_FILES = init.c task1.c
|
|
||||||
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))
|
|
||||||
|
|
||||||
H_FILES = system.h
|
|
||||||
|
|
||||||
DOCTYPES = doc scn
|
|
||||||
DOCS = $(DOCTYPES:%=$(TEST).%)
|
|
||||||
|
|
||||||
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)/mptests.am
|
|
||||||
|
|
||||||
AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/..
|
|
||||||
|
|
||||||
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
|
|
||||||
@@ -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.
|
|
||||||
#
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
*** TEST 7 -- NODE 2 ***
|
|
||||||
Creating Test_task (Global)
|
|
||||||
Starting Test_task (Global)
|
|
||||||
Deleting initialization task
|
|
||||||
Remote task's name is : 111
|
|
||||||
Getting TID of remote task
|
|
||||||
....................................................
|
|
||||||
....................................................
|
|
||||||
*** END OF TEST 7 ***
|
|
||||||
@@ -1,52 +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 <tmacros.h>
|
|
||||||
|
|
||||||
/* functions */
|
|
||||||
|
|
||||||
rtems_task Init(
|
|
||||||
rtems_task_argument argument
|
|
||||||
);
|
|
||||||
|
|
||||||
rtems_task Test_task(
|
|
||||||
rtems_task_argument argument
|
|
||||||
);
|
|
||||||
|
|
||||||
/* configuration information */
|
|
||||||
|
|
||||||
#define CONFIGURE_MP_APPLICATION
|
|
||||||
|
|
||||||
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
|
|
||||||
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
|
|
||||||
|
|
||||||
#define CONFIGURE_MAXIMUM_TASKS 2
|
|
||||||
#define CONFIGURE_MAXIMUM_TIMERS 1
|
|
||||||
|
|
||||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
|
||||||
|
|
||||||
#include <confdefs.h>
|
|
||||||
|
|
||||||
/* variables */
|
|
||||||
|
|
||||||
TEST_EXTERN rtems_id Task_id[ 4 ]; /* array of task ids */
|
|
||||||
TEST_EXTERN rtems_name Task_name[ 4 ]; /* array of task names */
|
|
||||||
|
|
||||||
TEST_EXTERN rtems_id Timer_id[ 4 ]; /* array of timer ids */
|
|
||||||
TEST_EXTERN rtems_name Timer_name[ 4 ]; /* array of timer names */
|
|
||||||
|
|
||||||
TEST_EXTERN volatile rtems_boolean Stop_Test;
|
|
||||||
|
|
||||||
/* end of include file */
|
|
||||||
@@ -1,102 +0,0 @@
|
|||||||
/* Test_task
|
|
||||||
*
|
|
||||||
* This task continuously sends an event to its counterpart on the
|
|
||||||
* other node, and then waits for it to send an event. The copy
|
|
||||||
* running on node one send the first event.
|
|
||||||
*
|
|
||||||
* Input parameters:
|
|
||||||
* argument - task argument
|
|
||||||
*
|
|
||||||
* 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"
|
|
||||||
|
|
||||||
#define DOT_COUNT 100
|
|
||||||
|
|
||||||
rtems_timer_service_routine Stop_Test_TSR(
|
|
||||||
rtems_id ignored_id,
|
|
||||||
void *ignored_address
|
|
||||||
)
|
|
||||||
{
|
|
||||||
Stop_Test = TRUE;
|
|
||||||
}
|
|
||||||
|
|
||||||
rtems_task Test_task(
|
|
||||||
rtems_task_argument argument
|
|
||||||
)
|
|
||||||
{
|
|
||||||
rtems_status_code status;
|
|
||||||
rtems_unsigned32 count;
|
|
||||||
rtems_unsigned32 remote_node;
|
|
||||||
rtems_id remote_tid;
|
|
||||||
rtems_event_set event_out;
|
|
||||||
|
|
||||||
Stop_Test = FALSE;
|
|
||||||
|
|
||||||
remote_node = (Multiprocessing_configuration.node == 1) ? 2 : 1;
|
|
||||||
puts_nocr( "Remote task's name is : " );
|
|
||||||
put_name( Task_name[ remote_node ], TRUE );
|
|
||||||
|
|
||||||
puts( "Getting TID of remote task" );
|
|
||||||
do {
|
|
||||||
status = rtems_task_ident(
|
|
||||||
Task_name[ remote_node ],
|
|
||||||
RTEMS_SEARCH_ALL_NODES,
|
|
||||||
&remote_tid
|
|
||||||
);
|
|
||||||
} while ( !rtems_is_status_successful( status ) );
|
|
||||||
|
|
||||||
if ( Multiprocessing_configuration.node == 1 ) {
|
|
||||||
puts( "Sending first event to remote task" );
|
|
||||||
status = rtems_event_send( remote_tid, RTEMS_EVENT_16 );
|
|
||||||
directive_failed( status, "rtems_event_send" );
|
|
||||||
}
|
|
||||||
|
|
||||||
status = rtems_timer_fire_after(
|
|
||||||
Timer_id[ 1 ],
|
|
||||||
5 * TICKS_PER_SECOND,
|
|
||||||
Stop_Test_TSR,
|
|
||||||
NULL
|
|
||||||
);
|
|
||||||
directive_failed( status, "rtems_timer_fire_after" );
|
|
||||||
|
|
||||||
while ( Stop_Test == FALSE ) {
|
|
||||||
for ( count=DOT_COUNT ; count && (Stop_Test == FALSE) ; count-- ) {
|
|
||||||
status = rtems_event_receive(
|
|
||||||
RTEMS_EVENT_16,
|
|
||||||
RTEMS_DEFAULT_OPTIONS,
|
|
||||||
RTEMS_NO_TIMEOUT,
|
|
||||||
&event_out
|
|
||||||
);
|
|
||||||
if ( status == RTEMS_TIMEOUT ) {
|
|
||||||
puts( "\nTA1 - RTEMS_TIMEOUT .. probably OK if the other node exits" );
|
|
||||||
break;
|
|
||||||
} else
|
|
||||||
directive_failed( status, "rtems_event_receive" );
|
|
||||||
|
|
||||||
status = rtems_event_send( remote_tid, RTEMS_EVENT_16 );
|
|
||||||
directive_failed( status, "rtems_event_send" );
|
|
||||||
}
|
|
||||||
put_dot('.');
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Wait a bit before shutting down so we don't screw up the other node
|
|
||||||
* when our MPCI shuts down
|
|
||||||
*/
|
|
||||||
|
|
||||||
rtems_task_wake_after(10);
|
|
||||||
|
|
||||||
puts( "\n*** END OF TEST 7 ***" );
|
|
||||||
rtems_test_exit( 0 );
|
|
||||||
}
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
Makefile
|
|
||||||
Makefile.in
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
##
|
|
||||||
## $Id$
|
|
||||||
##
|
|
||||||
|
|
||||||
|
|
||||||
SUBDIRS = node1 node2
|
|
||||||
|
|
||||||
EXTRA_DIST = system.h init.c task1.c
|
|
||||||
|
|
||||||
include $(top_srcdir)/../automake/subdirs.am
|
|
||||||
include $(top_srcdir)/../automake/local.am
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user