Compare commits

...

4130 Commits

Author SHA1 Message Date
cvs2git
7eedcaa5cb This commit was manufactured by cvs2svn to create tag 'rtems-4-5-1-pre2'.
Sprout from rtems-4-5-branch 2001-10-16 20:54:30 UTC Joel Sherrill <joel.sherrill@OARcorp.com> 'changed version to 4.5.1-pre2'
Cherrypick from master 1999-03-31 23:21:19 UTC Joel Sherrill <joel.sherrill@OARcorp.com> 'Fixed paths to include files so this will build.':
    c/src/lib/libcpu/mips/clock/clock.S
2001-10-16 20:54:31 +00:00
Joel Sherrill
7f62220428 changed version to 4.5.1-pre2 2001-10-16 20:54:30 +00:00
Joel Sherrill
7307d94354 2001-10-11 Mike Siers <mikes@poliac.com>
* libc/termios.c: Fixed a memory leak in the termios
	software.  Basically the tty open function was allocating an input
	raw buffer, an output raw buffer, and a cooked buffer that were
	not getting released.  I have attached a patch for the latest
	snapshot.  The patch also has a fix to ensure the tty link list
	is updated correctly when a tty is closed.
2001-10-16 20:52:57 +00:00
Joel Sherrill
fda1996850 2001-10-10 Joel Sherrill <joel@OARcorp.com>
* imfs_getchild.c: Correct length of static string
	as reported by Ibragimov Ilya <ibr@oktet.ru>.
2001-10-11 13:17:04 +00:00
Joel Sherrill
710b4e09b4 2001-09-28 Joel Sherrill <joel@OARcorp.com>
* src/clockgetres.c: Fixed math problem.  We are not converting
	an interval to a timespec -- it is actually a real number of
	microseconds.
2001-10-10 18:37:02 +00:00
Joel Sherrill
7ec48c0511 2001-10-08 Joel Sherrill <joel@OARcorp.com>
* custom/ods68302.cfg: Added BSP specific make-cxx-exe rule.
	* custom/rxgen960.cfg: Account for special start file.
2001-10-08 21:59:50 +00:00
Joel Sherrill
a0ef1069ca 2001-09-28 Joel Sherrill <joel@OARcorp.com>
* Generally add support for make-cxx-exe for all BSPs.
	* automake/leaf.am: New file.
	* aclocal/rtems-top.m4: Added ENDIF macro.
	* c/src/exec/score/include/rtems/score/Makefile.am,
	c/src/tests/itrontests/itronmbf01/Makefile.am,
	c/src/tests/itrontests/itronmbox01/Makefile.am,
	c/src/tests/itrontests/itronsem01/Makefile.am,
	c/src/tests/itrontests/itrontask01/Makefile.am,
	c/src/tests/itrontests/itrontask02/Makefile.am,
	c/src/tests/itrontests/itrontask03/Makefile.am,
	c/src/tests/itrontests/itrontask04/Makefile.am,
	c/src/tests/itrontests/itrontime01/Makefile.am,
	c/src/tests/libtests/cpuuse/Makefile.am,
	c/src/tests/libtests/malloctest/Makefile.am,
	c/src/tests/libtests/monitor/Makefile.am,
	c/src/tests/libtests/putenvtest/Makefile.am,
	c/src/tests/libtests/rtems++/Makefile.am,
	c/src/tests/libtests/rtmonuse/Makefile.am,
	c/src/tests/libtests/stackchk/Makefile.am,
	c/src/tests/libtests/termios/Makefile.am,
	c/src/tests/mptests/mp01/node1/Makefile.am,
	c/src/tests/mptests/mp01/node2/Makefile.am,
	c/src/tests/mptests/mp02/node1/Makefile.am,
	c/src/tests/mptests/mp02/node2/Makefile.am,
	c/src/tests/mptests/mp03/node1/Makefile.am,
	c/src/tests/mptests/mp03/node2/Makefile.am,
	c/src/tests/mptests/mp04/node1/Makefile.am,
	c/src/tests/mptests/mp04/node2/Makefile.am,
	c/src/tests/mptests/mp05/node1/Makefile.am,
	c/src/tests/mptests/mp05/node2/Makefile.am,
	c/src/tests/mptests/mp06/node1/Makefile.am,
	c/src/tests/mptests/mp06/node2/Makefile.am,
	c/src/tests/mptests/mp07/node1/Makefile.am,
	c/src/tests/mptests/mp07/node2/Makefile.am,
	c/src/tests/mptests/mp08/node1/Makefile.am,
	c/src/tests/mptests/mp08/node2/Makefile.am,
	c/src/tests/mptests/mp09/node1/Makefile.am,
	c/src/tests/mptests/mp09/node2/Makefile.am,
	c/src/tests/mptests/mp10/node1/Makefile.am,
	c/src/tests/mptests/mp10/node2/Makefile.am,
	c/src/tests/mptests/mp11/node1/Makefile.am,
	c/src/tests/mptests/mp11/node2/Makefile.am,
	c/src/tests/mptests/mp12/node1/Makefile.am,
	c/src/tests/mptests/mp12/node2/Makefile.am,
	c/src/tests/mptests/mp13/node1/Makefile.am,
	c/src/tests/mptests/mp13/node2/Makefile.am,
	c/src/tests/mptests/mp14/node1/Makefile.am,
	c/src/tests/mptests/mp14/node2/Makefile.am,
	c/src/tests/psxtests/psx01/Makefile.am,
	c/src/tests/psxtests/psx02/Makefile.am,
	c/src/tests/psxtests/psx03/Makefile.am,
	c/src/tests/psxtests/psx04/Makefile.am,
	c/src/tests/psxtests/psx05/Makefile.am,
	c/src/tests/psxtests/psx06/Makefile.am,
	c/src/tests/psxtests/psx07/Makefile.am,
	c/src/tests/psxtests/psx08/Makefile.am,
	c/src/tests/psxtests/psx09/Makefile.am,
	c/src/tests/psxtests/psx10/Makefile.am,
	c/src/tests/psxtests/psx11/Makefile.am,
	c/src/tests/psxtests/psx12/Makefile.am,
	c/src/tests/psxtests/psx13/Makefile.am,
	c/src/tests/psxtests/psxcancel/Makefile.am,
	c/src/tests/psxtests/psxfile01/Makefile.am,
	c/src/tests/psxtests/psxhdrs/Makefile.am,
	c/src/tests/psxtests/psxmount/Makefile.am,
	c/src/tests/psxtests/psxmsgq01/Makefile.am,
	c/src/tests/psxtests/psxreaddir/Makefile.am,
	c/src/tests/psxtests/psxsem01/Makefile.am,
	c/src/tests/psxtests/psxstat/Makefile.am,
	c/src/tests/psxtests/psxtime/Makefile.am,
	c/src/tests/psxtests/psxtimer/Makefile.am,
	c/src/tests/samples/base_mp/node1/Makefile.am,
	c/src/tests/samples/base_mp/node2/Makefile.am,
	c/src/tests/samples/base_sp/Makefile.am,
	c/src/tests/samples/cdtest/Makefile.am,
	c/src/tests/samples/hello/Makefile.am,
	c/src/tests/samples/minimum/Makefile.am,
	c/src/tests/samples/paranoia/Makefile.am,
	c/src/tests/samples/ticker/Makefile.am,
	c/src/tests/samples/unlimited/Makefile.am,
	c/src/tests/sptests/sp01/Makefile.am,
	c/src/tests/sptests/sp02/Makefile.am,
	c/src/tests/sptests/sp03/Makefile.am,
	c/src/tests/sptests/sp04/Makefile.am,
	c/src/tests/sptests/sp05/Makefile.am,
	c/src/tests/sptests/sp06/Makefile.am,
	c/src/tests/sptests/sp07/Makefile.am,
	c/src/tests/sptests/sp08/Makefile.am,
	c/src/tests/sptests/sp09/Makefile.am,
	c/src/tests/sptests/sp11/Makefile.am,
	c/src/tests/sptests/sp12/Makefile.am,
	c/src/tests/sptests/sp13/Makefile.am,
	c/src/tests/sptests/sp14/Makefile.am,
	c/src/tests/sptests/sp15/Makefile.am,
	c/src/tests/sptests/sp16/Makefile.am,
	c/src/tests/sptests/sp17/Makefile.am,
	c/src/tests/sptests/sp19/Makefile.am,
	c/src/tests/sptests/sp20/Makefile.am,
	c/src/tests/sptests/sp21/Makefile.am,
	c/src/tests/sptests/sp22/Makefile.am,
	c/src/tests/sptests/sp23/Makefile.am,
	c/src/tests/sptests/sp24/Makefile.am,
	c/src/tests/sptests/sp25/Makefile.am,
	c/src/tests/sptests/sp26/Makefile.am,
	c/src/tests/sptests/sp27/Makefile.am,
	c/src/tests/sptests/sp28/Makefile.am,
	c/src/tests/sptests/sp29/Makefile.am,
	c/src/tests/sptests/spfatal/Makefile.am,
	c/src/tests/sptests/spsize/Makefile.am,
	c/src/tests/support/stubdr/Makefile.am,
	c/src/tests/tmitrontests/tmitronsem01/Makefile.am,
	c/src/tests/tmtests/tm01/Makefile.am,
	c/src/tests/tmtests/tm02/Makefile.am,
	c/src/tests/tmtests/tm03/Makefile.am,
	c/src/tests/tmtests/tm04/Makefile.am,
	c/src/tests/tmtests/tm05/Makefile.am,
	c/src/tests/tmtests/tm06/Makefile.am,
	c/src/tests/tmtests/tm07/Makefile.am,
	c/src/tests/tmtests/tm08/Makefile.am,
	c/src/tests/tmtests/tm09/Makefile.am,
	c/src/tests/tmtests/tm10/Makefile.am,
	c/src/tests/tmtests/tm11/Makefile.am,
	c/src/tests/tmtests/tm12/Makefile.am,
	c/src/tests/tmtests/tm13/Makefile.am,
	c/src/tests/tmtests/tm14/Makefile.am,
	c/src/tests/tmtests/tm15/Makefile.am,
	c/src/tests/tmtests/tm16/Makefile.am,
	c/src/tests/tmtests/tm17/Makefile.am,
	c/src/tests/tmtests/tm18/Makefile.am,
	c/src/tests/tmtests/tm19/Makefile.am,
	c/src/tests/tmtests/tm20/Makefile.am,
	c/src/tests/tmtests/tm21/Makefile.am,
	c/src/tests/tmtests/tm22/Makefile.am,
	c/src/tests/tmtests/tm23/Makefile.am,
	c/src/tests/tmtests/tm24/Makefile.am,
	c/src/tests/tmtests/tm25/Makefile.am,
	c/src/tests/tmtests/tm26/Makefile.am,
	c/src/tests/tmtests/tm27/Makefile.am,
	c/src/tests/tmtests/tm28/Makefile.am,
	c/src/tests/tmtests/tm29/Makefile.am,
	c/src/tests/tmtests/tmck/Makefile.am,
	c/src/tests/tmtests/tmoverhd/Makefile.am: Use leaf.am instead of
	leaf.cfg.
2001-10-08 21:49:47 +00:00
Joel Sherrill
6343f19b5b 2001-09-28 Joel Sherrill <joel@OARcorp.com>
* Generally add support for make-cxx-exe for all BSPs.
	* automake/leaf.am: New file.
	* aclocal/rtems-top.m4: Added ENDIF macro.
	* c/src/exec/score/include/rtems/score/Makefile.am,
	c/src/tests/itrontests/itronmbf01/Makefile.am,
	c/src/tests/itrontests/itronmbox01/Makefile.am,
	c/src/tests/itrontests/itronsem01/Makefile.am,
	c/src/tests/itrontests/itrontask01/Makefile.am,
	c/src/tests/itrontests/itrontask02/Makefile.am,
	c/src/tests/itrontests/itrontask03/Makefile.am,
	c/src/tests/itrontests/itrontask04/Makefile.am,
	c/src/tests/itrontests/itrontime01/Makefile.am,
	c/src/tests/libtests/cpuuse/Makefile.am,
	c/src/tests/libtests/malloctest/Makefile.am,
	c/src/tests/libtests/monitor/Makefile.am,
	c/src/tests/libtests/putenvtest/Makefile.am,
	c/src/tests/libtests/rtems++/Makefile.am,
	c/src/tests/libtests/rtmonuse/Makefile.am,
	c/src/tests/libtests/stackchk/Makefile.am,
	c/src/tests/libtests/termios/Makefile.am,
	c/src/tests/mptests/mp01/node1/Makefile.am,
	c/src/tests/mptests/mp01/node2/Makefile.am,
	c/src/tests/mptests/mp02/node1/Makefile.am,
	c/src/tests/mptests/mp02/node2/Makefile.am,
	c/src/tests/mptests/mp03/node1/Makefile.am,
	c/src/tests/mptests/mp03/node2/Makefile.am,
	c/src/tests/mptests/mp04/node1/Makefile.am,
	c/src/tests/mptests/mp04/node2/Makefile.am,
	c/src/tests/mptests/mp05/node1/Makefile.am,
	c/src/tests/mptests/mp05/node2/Makefile.am,
	c/src/tests/mptests/mp06/node1/Makefile.am,
	c/src/tests/mptests/mp06/node2/Makefile.am,
	c/src/tests/mptests/mp07/node1/Makefile.am,
	c/src/tests/mptests/mp07/node2/Makefile.am,
	c/src/tests/mptests/mp08/node1/Makefile.am,
	c/src/tests/mptests/mp08/node2/Makefile.am,
	c/src/tests/mptests/mp09/node1/Makefile.am,
	c/src/tests/mptests/mp09/node2/Makefile.am,
	c/src/tests/mptests/mp10/node1/Makefile.am,
	c/src/tests/mptests/mp10/node2/Makefile.am,
	c/src/tests/mptests/mp11/node1/Makefile.am,
	c/src/tests/mptests/mp11/node2/Makefile.am,
	c/src/tests/mptests/mp12/node1/Makefile.am,
	c/src/tests/mptests/mp12/node2/Makefile.am,
	c/src/tests/mptests/mp13/node1/Makefile.am,
	c/src/tests/mptests/mp13/node2/Makefile.am,
	c/src/tests/mptests/mp14/node1/Makefile.am,
	c/src/tests/mptests/mp14/node2/Makefile.am,
	c/src/tests/psxtests/psx01/Makefile.am,
	c/src/tests/psxtests/psx02/Makefile.am,
	c/src/tests/psxtests/psx03/Makefile.am,
	c/src/tests/psxtests/psx04/Makefile.am,
	c/src/tests/psxtests/psx05/Makefile.am,
	c/src/tests/psxtests/psx06/Makefile.am,
	c/src/tests/psxtests/psx07/Makefile.am,
	c/src/tests/psxtests/psx08/Makefile.am,
	c/src/tests/psxtests/psx09/Makefile.am,
	c/src/tests/psxtests/psx10/Makefile.am,
	c/src/tests/psxtests/psx11/Makefile.am,
	c/src/tests/psxtests/psx12/Makefile.am,
	c/src/tests/psxtests/psx13/Makefile.am,
	c/src/tests/psxtests/psxcancel/Makefile.am,
	c/src/tests/psxtests/psxfile01/Makefile.am,
	c/src/tests/psxtests/psxhdrs/Makefile.am,
	c/src/tests/psxtests/psxmount/Makefile.am,
	c/src/tests/psxtests/psxmsgq01/Makefile.am,
	c/src/tests/psxtests/psxreaddir/Makefile.am,
	c/src/tests/psxtests/psxsem01/Makefile.am,
	c/src/tests/psxtests/psxstat/Makefile.am,
	c/src/tests/psxtests/psxtime/Makefile.am,
	c/src/tests/psxtests/psxtimer/Makefile.am,
	c/src/tests/samples/base_mp/node1/Makefile.am,
	c/src/tests/samples/base_mp/node2/Makefile.am,
	c/src/tests/samples/base_sp/Makefile.am,
	c/src/tests/samples/cdtest/Makefile.am,
	c/src/tests/samples/hello/Makefile.am,
	c/src/tests/samples/minimum/Makefile.am,
	c/src/tests/samples/paranoia/Makefile.am,
	c/src/tests/samples/ticker/Makefile.am,
	c/src/tests/samples/unlimited/Makefile.am,
	c/src/tests/sptests/sp01/Makefile.am,
	c/src/tests/sptests/sp02/Makefile.am,
	c/src/tests/sptests/sp03/Makefile.am,
	c/src/tests/sptests/sp04/Makefile.am,
	c/src/tests/sptests/sp05/Makefile.am,
	c/src/tests/sptests/sp06/Makefile.am,
	c/src/tests/sptests/sp07/Makefile.am,
	c/src/tests/sptests/sp08/Makefile.am,
	c/src/tests/sptests/sp09/Makefile.am,
	c/src/tests/sptests/sp11/Makefile.am,
	c/src/tests/sptests/sp12/Makefile.am,
	c/src/tests/sptests/sp13/Makefile.am,
	c/src/tests/sptests/sp14/Makefile.am,
	c/src/tests/sptests/sp15/Makefile.am,
	c/src/tests/sptests/sp16/Makefile.am,
	c/src/tests/sptests/sp17/Makefile.am,
	c/src/tests/sptests/sp19/Makefile.am,
	c/src/tests/sptests/sp20/Makefile.am,
	c/src/tests/sptests/sp21/Makefile.am,
	c/src/tests/sptests/sp22/Makefile.am,
	c/src/tests/sptests/sp23/Makefile.am,
	c/src/tests/sptests/sp24/Makefile.am,
	c/src/tests/sptests/sp25/Makefile.am,
	c/src/tests/sptests/sp26/Makefile.am,
	c/src/tests/sptests/sp27/Makefile.am,
	c/src/tests/sptests/sp28/Makefile.am,
	c/src/tests/sptests/sp29/Makefile.am,
	c/src/tests/sptests/spfatal/Makefile.am,
	c/src/tests/sptests/spsize/Makefile.am,
	c/src/tests/support/stubdr/Makefile.am,
	c/src/tests/tmitrontests/tmitronsem01/Makefile.am,
	c/src/tests/tmtests/tm01/Makefile.am,
	c/src/tests/tmtests/tm02/Makefile.am,
	c/src/tests/tmtests/tm03/Makefile.am,
	c/src/tests/tmtests/tm04/Makefile.am,
	c/src/tests/tmtests/tm05/Makefile.am,
	c/src/tests/tmtests/tm06/Makefile.am,
	c/src/tests/tmtests/tm07/Makefile.am,
	c/src/tests/tmtests/tm08/Makefile.am,
	c/src/tests/tmtests/tm09/Makefile.am,
	c/src/tests/tmtests/tm10/Makefile.am,
	c/src/tests/tmtests/tm11/Makefile.am,
	c/src/tests/tmtests/tm12/Makefile.am,
	c/src/tests/tmtests/tm13/Makefile.am,
	c/src/tests/tmtests/tm14/Makefile.am,
	c/src/tests/tmtests/tm15/Makefile.am,
	c/src/tests/tmtests/tm16/Makefile.am,
	c/src/tests/tmtests/tm17/Makefile.am,
	c/src/tests/tmtests/tm18/Makefile.am,
	c/src/tests/tmtests/tm19/Makefile.am,
	c/src/tests/tmtests/tm20/Makefile.am,
	c/src/tests/tmtests/tm21/Makefile.am,
	c/src/tests/tmtests/tm22/Makefile.am,
	c/src/tests/tmtests/tm23/Makefile.am,
	c/src/tests/tmtests/tm24/Makefile.am,
	c/src/tests/tmtests/tm25/Makefile.am,
	c/src/tests/tmtests/tm26/Makefile.am,
	c/src/tests/tmtests/tm27/Makefile.am,
	c/src/tests/tmtests/tm28/Makefile.am,
	c/src/tests/tmtests/tm29/Makefile.am,
	c/src/tests/tmtests/tmck/Makefile.am,
	c/src/tests/tmtests/tmoverhd/Makefile.am: Use leaf.am instead of
	leaf.cfg.
2001-10-08 21:23:01 +00:00
Joel Sherrill
b9adf9b180 2001-09-28 Joel Sherrill <joel@OARcorp.com>
* Generally add support for make-cxx-exe for all BSPs.
	* automake/leaf.am: New file.
	* aclocal/rtems-top.m4: Added ENDIF macro.
	* c/src/exec/score/include/rtems/score/Makefile.am,
	c/src/tests/itrontests/itronmbf01/Makefile.am,
	c/src/tests/itrontests/itronmbox01/Makefile.am,
	c/src/tests/itrontests/itronsem01/Makefile.am,
	c/src/tests/itrontests/itrontask01/Makefile.am,
	c/src/tests/itrontests/itrontask02/Makefile.am,
	c/src/tests/itrontests/itrontask03/Makefile.am,
	c/src/tests/itrontests/itrontask04/Makefile.am,
	c/src/tests/itrontests/itrontime01/Makefile.am,
	c/src/tests/libtests/cpuuse/Makefile.am,
	c/src/tests/libtests/malloctest/Makefile.am,
	c/src/tests/libtests/monitor/Makefile.am,
	c/src/tests/libtests/putenvtest/Makefile.am,
	c/src/tests/libtests/rtems++/Makefile.am,
	c/src/tests/libtests/rtmonuse/Makefile.am,
	c/src/tests/libtests/stackchk/Makefile.am,
	c/src/tests/libtests/termios/Makefile.am,
	c/src/tests/mptests/mp01/node1/Makefile.am,
	c/src/tests/mptests/mp01/node2/Makefile.am,
	c/src/tests/mptests/mp02/node1/Makefile.am,
	c/src/tests/mptests/mp02/node2/Makefile.am,
	c/src/tests/mptests/mp03/node1/Makefile.am,
	c/src/tests/mptests/mp03/node2/Makefile.am,
	c/src/tests/mptests/mp04/node1/Makefile.am,
	c/src/tests/mptests/mp04/node2/Makefile.am,
	c/src/tests/mptests/mp05/node1/Makefile.am,
	c/src/tests/mptests/mp05/node2/Makefile.am,
	c/src/tests/mptests/mp06/node1/Makefile.am,
	c/src/tests/mptests/mp06/node2/Makefile.am,
	c/src/tests/mptests/mp07/node1/Makefile.am,
	c/src/tests/mptests/mp07/node2/Makefile.am,
	c/src/tests/mptests/mp08/node1/Makefile.am,
	c/src/tests/mptests/mp08/node2/Makefile.am,
	c/src/tests/mptests/mp09/node1/Makefile.am,
	c/src/tests/mptests/mp09/node2/Makefile.am,
	c/src/tests/mptests/mp10/node1/Makefile.am,
	c/src/tests/mptests/mp10/node2/Makefile.am,
	c/src/tests/mptests/mp11/node1/Makefile.am,
	c/src/tests/mptests/mp11/node2/Makefile.am,
	c/src/tests/mptests/mp12/node1/Makefile.am,
	c/src/tests/mptests/mp12/node2/Makefile.am,
	c/src/tests/mptests/mp13/node1/Makefile.am,
	c/src/tests/mptests/mp13/node2/Makefile.am,
	c/src/tests/mptests/mp14/node1/Makefile.am,
	c/src/tests/mptests/mp14/node2/Makefile.am,
	c/src/tests/psxtests/psx01/Makefile.am,
	c/src/tests/psxtests/psx02/Makefile.am,
	c/src/tests/psxtests/psx03/Makefile.am,
	c/src/tests/psxtests/psx04/Makefile.am,
	c/src/tests/psxtests/psx05/Makefile.am,
	c/src/tests/psxtests/psx06/Makefile.am,
	c/src/tests/psxtests/psx07/Makefile.am,
	c/src/tests/psxtests/psx08/Makefile.am,
	c/src/tests/psxtests/psx09/Makefile.am,
	c/src/tests/psxtests/psx10/Makefile.am,
	c/src/tests/psxtests/psx11/Makefile.am,
	c/src/tests/psxtests/psx12/Makefile.am,
	c/src/tests/psxtests/psx13/Makefile.am,
	c/src/tests/psxtests/psxcancel/Makefile.am,
	c/src/tests/psxtests/psxfile01/Makefile.am,
	c/src/tests/psxtests/psxhdrs/Makefile.am,
	c/src/tests/psxtests/psxmount/Makefile.am,
	c/src/tests/psxtests/psxmsgq01/Makefile.am,
	c/src/tests/psxtests/psxreaddir/Makefile.am,
	c/src/tests/psxtests/psxsem01/Makefile.am,
	c/src/tests/psxtests/psxstat/Makefile.am,
	c/src/tests/psxtests/psxtime/Makefile.am,
	c/src/tests/psxtests/psxtimer/Makefile.am,
	c/src/tests/samples/base_mp/node1/Makefile.am,
	c/src/tests/samples/base_mp/node2/Makefile.am,
	c/src/tests/samples/base_sp/Makefile.am,
	c/src/tests/samples/cdtest/Makefile.am,
	c/src/tests/samples/hello/Makefile.am,
	c/src/tests/samples/minimum/Makefile.am,
	c/src/tests/samples/paranoia/Makefile.am,
	c/src/tests/samples/ticker/Makefile.am,
	c/src/tests/samples/unlimited/Makefile.am,
	c/src/tests/sptests/sp01/Makefile.am,
	c/src/tests/sptests/sp02/Makefile.am,
	c/src/tests/sptests/sp03/Makefile.am,
	c/src/tests/sptests/sp04/Makefile.am,
	c/src/tests/sptests/sp05/Makefile.am,
	c/src/tests/sptests/sp06/Makefile.am,
	c/src/tests/sptests/sp07/Makefile.am,
	c/src/tests/sptests/sp08/Makefile.am,
	c/src/tests/sptests/sp09/Makefile.am,
	c/src/tests/sptests/sp11/Makefile.am,
	c/src/tests/sptests/sp12/Makefile.am,
	c/src/tests/sptests/sp13/Makefile.am,
	c/src/tests/sptests/sp14/Makefile.am,
	c/src/tests/sptests/sp15/Makefile.am,
	c/src/tests/sptests/sp16/Makefile.am,
	c/src/tests/sptests/sp17/Makefile.am,
	c/src/tests/sptests/sp19/Makefile.am,
	c/src/tests/sptests/sp20/Makefile.am,
	c/src/tests/sptests/sp21/Makefile.am,
	c/src/tests/sptests/sp22/Makefile.am,
	c/src/tests/sptests/sp23/Makefile.am,
	c/src/tests/sptests/sp24/Makefile.am,
	c/src/tests/sptests/sp25/Makefile.am,
	c/src/tests/sptests/sp26/Makefile.am,
	c/src/tests/sptests/sp27/Makefile.am,
	c/src/tests/sptests/sp28/Makefile.am,
	c/src/tests/sptests/sp29/Makefile.am,
	c/src/tests/sptests/spfatal/Makefile.am,
	c/src/tests/sptests/spsize/Makefile.am,
	c/src/tests/support/stubdr/Makefile.am,
	c/src/tests/tmitrontests/tmitronsem01/Makefile.am,
	c/src/tests/tmtests/tm01/Makefile.am,
	c/src/tests/tmtests/tm02/Makefile.am,
	c/src/tests/tmtests/tm03/Makefile.am,
	c/src/tests/tmtests/tm04/Makefile.am,
	c/src/tests/tmtests/tm05/Makefile.am,
	c/src/tests/tmtests/tm06/Makefile.am,
	c/src/tests/tmtests/tm07/Makefile.am,
	c/src/tests/tmtests/tm08/Makefile.am,
	c/src/tests/tmtests/tm09/Makefile.am,
	c/src/tests/tmtests/tm10/Makefile.am,
	c/src/tests/tmtests/tm11/Makefile.am,
	c/src/tests/tmtests/tm12/Makefile.am,
	c/src/tests/tmtests/tm13/Makefile.am,
	c/src/tests/tmtests/tm14/Makefile.am,
	c/src/tests/tmtests/tm15/Makefile.am,
	c/src/tests/tmtests/tm16/Makefile.am,
	c/src/tests/tmtests/tm17/Makefile.am,
	c/src/tests/tmtests/tm18/Makefile.am,
	c/src/tests/tmtests/tm19/Makefile.am,
	c/src/tests/tmtests/tm20/Makefile.am,
	c/src/tests/tmtests/tm21/Makefile.am,
	c/src/tests/tmtests/tm22/Makefile.am,
	c/src/tests/tmtests/tm23/Makefile.am,
	c/src/tests/tmtests/tm24/Makefile.am,
	c/src/tests/tmtests/tm25/Makefile.am,
	c/src/tests/tmtests/tm26/Makefile.am,
	c/src/tests/tmtests/tm27/Makefile.am,
	c/src/tests/tmtests/tm28/Makefile.am,
	c/src/tests/tmtests/tm29/Makefile.am,
	c/src/tests/tmtests/tmck/Makefile.am,
	c/src/tests/tmtests/tmoverhd/Makefile.am: Use leaf.am instead of
	leaf.cfg.
2001-10-08 15:29:10 +00:00
Joel Sherrill
a3ab6ab6de 2001-09-28 Joel Sherrill <joel@OARcorp.com>
* Generally add support for make-cxx-exe for all BSPs.
	* automake/leaf.am: New file.
	* aclocal/rtems-top.m4: Added ENDIF macro.
	* c/src/exec/score/include/rtems/score/Makefile.am,
	c/src/tests/itrontests/itronmbf01/Makefile.am,
	c/src/tests/itrontests/itronmbox01/Makefile.am,
	c/src/tests/itrontests/itronsem01/Makefile.am,
	c/src/tests/itrontests/itrontask01/Makefile.am,
	c/src/tests/itrontests/itrontask02/Makefile.am,
	c/src/tests/itrontests/itrontask03/Makefile.am,
	c/src/tests/itrontests/itrontask04/Makefile.am,
	c/src/tests/itrontests/itrontime01/Makefile.am,
	c/src/tests/libtests/cpuuse/Makefile.am,
	c/src/tests/libtests/malloctest/Makefile.am,
	c/src/tests/libtests/monitor/Makefile.am,
	c/src/tests/libtests/putenvtest/Makefile.am,
	c/src/tests/libtests/rtems++/Makefile.am,
	c/src/tests/libtests/rtmonuse/Makefile.am,
	c/src/tests/libtests/stackchk/Makefile.am,
	c/src/tests/libtests/termios/Makefile.am,
	c/src/tests/mptests/mp01/node1/Makefile.am,
	c/src/tests/mptests/mp01/node2/Makefile.am,
	c/src/tests/mptests/mp02/node1/Makefile.am,
	c/src/tests/mptests/mp02/node2/Makefile.am,
	c/src/tests/mptests/mp03/node1/Makefile.am,
	c/src/tests/mptests/mp03/node2/Makefile.am,
	c/src/tests/mptests/mp04/node1/Makefile.am,
	c/src/tests/mptests/mp04/node2/Makefile.am,
	c/src/tests/mptests/mp05/node1/Makefile.am,
	c/src/tests/mptests/mp05/node2/Makefile.am,
	c/src/tests/mptests/mp06/node1/Makefile.am,
	c/src/tests/mptests/mp06/node2/Makefile.am,
	c/src/tests/mptests/mp07/node1/Makefile.am,
	c/src/tests/mptests/mp07/node2/Makefile.am,
	c/src/tests/mptests/mp08/node1/Makefile.am,
	c/src/tests/mptests/mp08/node2/Makefile.am,
	c/src/tests/mptests/mp09/node1/Makefile.am,
	c/src/tests/mptests/mp09/node2/Makefile.am,
	c/src/tests/mptests/mp10/node1/Makefile.am,
	c/src/tests/mptests/mp10/node2/Makefile.am,
	c/src/tests/mptests/mp11/node1/Makefile.am,
	c/src/tests/mptests/mp11/node2/Makefile.am,
	c/src/tests/mptests/mp12/node1/Makefile.am,
	c/src/tests/mptests/mp12/node2/Makefile.am,
	c/src/tests/mptests/mp13/node1/Makefile.am,
	c/src/tests/mptests/mp13/node2/Makefile.am,
	c/src/tests/mptests/mp14/node1/Makefile.am,
	c/src/tests/mptests/mp14/node2/Makefile.am,
	c/src/tests/psxtests/psx01/Makefile.am,
	c/src/tests/psxtests/psx02/Makefile.am,
	c/src/tests/psxtests/psx03/Makefile.am,
	c/src/tests/psxtests/psx04/Makefile.am,
	c/src/tests/psxtests/psx05/Makefile.am,
	c/src/tests/psxtests/psx06/Makefile.am,
	c/src/tests/psxtests/psx07/Makefile.am,
	c/src/tests/psxtests/psx08/Makefile.am,
	c/src/tests/psxtests/psx09/Makefile.am,
	c/src/tests/psxtests/psx10/Makefile.am,
	c/src/tests/psxtests/psx11/Makefile.am,
	c/src/tests/psxtests/psx12/Makefile.am,
	c/src/tests/psxtests/psx13/Makefile.am,
	c/src/tests/psxtests/psxcancel/Makefile.am,
	c/src/tests/psxtests/psxfile01/Makefile.am,
	c/src/tests/psxtests/psxhdrs/Makefile.am,
	c/src/tests/psxtests/psxmount/Makefile.am,
	c/src/tests/psxtests/psxmsgq01/Makefile.am,
	c/src/tests/psxtests/psxreaddir/Makefile.am,
	c/src/tests/psxtests/psxsem01/Makefile.am,
	c/src/tests/psxtests/psxstat/Makefile.am,
	c/src/tests/psxtests/psxtime/Makefile.am,
	c/src/tests/psxtests/psxtimer/Makefile.am,
	c/src/tests/samples/base_mp/node1/Makefile.am,
	c/src/tests/samples/base_mp/node2/Makefile.am,
	c/src/tests/samples/base_sp/Makefile.am,
	c/src/tests/samples/cdtest/Makefile.am,
	c/src/tests/samples/hello/Makefile.am,
	c/src/tests/samples/minimum/Makefile.am,
	c/src/tests/samples/paranoia/Makefile.am,
	c/src/tests/samples/ticker/Makefile.am,
	c/src/tests/samples/unlimited/Makefile.am,
	c/src/tests/sptests/sp01/Makefile.am,
	c/src/tests/sptests/sp02/Makefile.am,
	c/src/tests/sptests/sp03/Makefile.am,
	c/src/tests/sptests/sp04/Makefile.am,
	c/src/tests/sptests/sp05/Makefile.am,
	c/src/tests/sptests/sp06/Makefile.am,
	c/src/tests/sptests/sp07/Makefile.am,
	c/src/tests/sptests/sp08/Makefile.am,
	c/src/tests/sptests/sp09/Makefile.am,
	c/src/tests/sptests/sp11/Makefile.am,
	c/src/tests/sptests/sp12/Makefile.am,
	c/src/tests/sptests/sp13/Makefile.am,
	c/src/tests/sptests/sp14/Makefile.am,
	c/src/tests/sptests/sp15/Makefile.am,
	c/src/tests/sptests/sp16/Makefile.am,
	c/src/tests/sptests/sp17/Makefile.am,
	c/src/tests/sptests/sp19/Makefile.am,
	c/src/tests/sptests/sp20/Makefile.am,
	c/src/tests/sptests/sp21/Makefile.am,
	c/src/tests/sptests/sp22/Makefile.am,
	c/src/tests/sptests/sp23/Makefile.am,
	c/src/tests/sptests/sp24/Makefile.am,
	c/src/tests/sptests/sp25/Makefile.am,
	c/src/tests/sptests/sp26/Makefile.am,
	c/src/tests/sptests/sp27/Makefile.am,
	c/src/tests/sptests/sp28/Makefile.am,
	c/src/tests/sptests/sp29/Makefile.am,
	c/src/tests/sptests/spfatal/Makefile.am,
	c/src/tests/sptests/spsize/Makefile.am,
	c/src/tests/support/stubdr/Makefile.am,
	c/src/tests/tmitrontests/tmitronsem01/Makefile.am,
	c/src/tests/tmtests/tm01/Makefile.am,
	c/src/tests/tmtests/tm02/Makefile.am,
	c/src/tests/tmtests/tm03/Makefile.am,
	c/src/tests/tmtests/tm04/Makefile.am,
	c/src/tests/tmtests/tm05/Makefile.am,
	c/src/tests/tmtests/tm06/Makefile.am,
	c/src/tests/tmtests/tm07/Makefile.am,
	c/src/tests/tmtests/tm08/Makefile.am,
	c/src/tests/tmtests/tm09/Makefile.am,
	c/src/tests/tmtests/tm10/Makefile.am,
	c/src/tests/tmtests/tm11/Makefile.am,
	c/src/tests/tmtests/tm12/Makefile.am,
	c/src/tests/tmtests/tm13/Makefile.am,
	c/src/tests/tmtests/tm14/Makefile.am,
	c/src/tests/tmtests/tm15/Makefile.am,
	c/src/tests/tmtests/tm16/Makefile.am,
	c/src/tests/tmtests/tm17/Makefile.am,
	c/src/tests/tmtests/tm18/Makefile.am,
	c/src/tests/tmtests/tm19/Makefile.am,
	c/src/tests/tmtests/tm20/Makefile.am,
	c/src/tests/tmtests/tm21/Makefile.am,
	c/src/tests/tmtests/tm22/Makefile.am,
	c/src/tests/tmtests/tm23/Makefile.am,
	c/src/tests/tmtests/tm24/Makefile.am,
	c/src/tests/tmtests/tm25/Makefile.am,
	c/src/tests/tmtests/tm26/Makefile.am,
	c/src/tests/tmtests/tm27/Makefile.am,
	c/src/tests/tmtests/tm28/Makefile.am,
	c/src/tests/tmtests/tm29/Makefile.am,
	c/src/tests/tmtests/tmck/Makefile.am,
	c/src/tests/tmtests/tmoverhd/Makefile.am: Use leaf.am instead of
	leaf.cfg.
2001-09-28 23:22:06 +00:00
Joel Sherrill
c48d648576 2001-09-28 Joel Sherrill <joel@OARcorp.com>
* sonic/Makefile.am: Don't build unless HAS_NETWORKING.
2001-09-28 23:04:01 +00:00
Joel Sherrill
388cf1286f 2001-09-27 Jiri Gaisler <jiri@gaisler.com>
* cpu_asm.S: Small patch to fix a bug in the rtems sparc port. The
	bug has been there all the time, but only hits the leon bsp since the
	leon cpu has a 5-stage pipeline (erc32 has 4 stages).
2001-09-28 14:10:46 +00:00
Joel Sherrill
7a5dbdd33d 2001-09-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* automake/leaf.am: New file.
2001-09-20 19:56:11 +00:00
cvs2git
09b663b38c This commit was manufactured by cvs2svn to create branch 'rtems-4-5-branch'.
Cherrypick from master 2001-09-19 17:19:27 UTC Joel Sherrill <joel.sherrill@OARcorp.com> '2001-09-19	Ralf Corsepius <corsepiu@faw.uni-ulm.de>':
    automake/leaf.am
2001-09-19 17:19:28 +00:00
Joel Sherrill
a7b8de0589 changed version to 4.5.1-pre1 2001-08-30 19:12:24 +00:00
Joel Sherrill
3efa52954d changed version to 4.5.1-pre1 2001-08-30 18:54:18 +00:00
Joel Sherrill
36d90eec36 changed version to 4.5.1-pre1 2001-08-30 18:42:03 +00:00
Joel Sherrill
2b31cc882c changed version to 4.5.1-pre1 2001-08-30 18:41:42 +00:00
Joel Sherrill
b68cc333d3 2001-08-30 Joel Sherrill <joel@OARcorp.com>
* libc/lseek.c: Modified to reflect 4.5 placement of libio_.h.
2001-08-30 18:35:01 +00:00
Joel Sherrill
6f1118a0c5 2001-08-30 Joel Sherrill <joel@OARcorp.com>
* src/coremutex.c, src/coremutexseize.c, src/coremutexsurrender.c:
	The per thread field resource_count should only be manipulated
	when a mutex is priority ceiling or priority inherit.  This
	was reported by Chris Johns <ccj@acm.org> who also noticed that
	the use of switches for all disciplines generated less efficient
	code than using explicit tests for the one or two cases we were
	really interested in.  Further review of his modifications made
	it apparent that the "isa" methods to test mutex discipline were
	not being used so this modification was swept into the code as well.
2001-08-30 18:32:12 +00:00
Joel Sherrill
ca739de315 2001-08-30 Joel Sherrill <joel@OARcorp.com>
* inline/rtems/rtems/attr.inl: Correct typo and use correct
	attribute RTEMS_SYSTEM_TASK. Reported by Chris Johns <ccj@acm.org>.
2001-08-30 18:27:52 +00:00
Joel Sherrill
770f6e99fb 2001-08-17 Joel Sherrill <joel@OARcorp.com>
* libc/lseek.c: Fix minor bug introduced by misinterpretation of
	return code.
2001-08-17 13:17:04 +00:00
Joel Sherrill
45e1417c51 2001-08-16 Joel Sherrill <joel@OARcorp.com>
* src/mqueuesendsupp.c: Account for possibly blocking during the
	core send operation.


2001-08-16	Joel Sherrill <joel@OARcorp.com>

	* src/msgqsubmit.c: Add a comment indicating that we do not have
	to account for possibly blocking during the core send operation
	because Classic API message queue send is always non-blocking.

2001-08-16	Joel Sherrill <joel@OARcorp.com>

	* include/rtems/score/coremsg.h, src/coremsgsubmit.c: Add a new
	return status to account for blocking sends.  Otherwise, the
	caller will think that the returned message status will have
	the ultimate results of the operation.  If the send times out,
	the final status will be in the return_code of the thread.

2001-08-16      Joel Sherrill <joel@OARcorp.com>

        * src/coremutexsurrender.c: Use holder thread not executing
        thread because even though they may and often are the same
        it is not guaranteed unless the proper attribute is set.

2001-08-16      Joel Sherrill <joel@OARcorp.com>

        * startup/linkcmds: Modified to work better with gcc 2.8.1 and
        gnat 3.13p.

2001-08-16      Joel Sherrill <joel@OARcorp.com>

        * tools/runtest.in: Recognize debug variant of monitor test.


2001-08-16      Joel Sherrill <joel@OARcorp.com>

        * sp13/sp13.scn: Id in screen had wrong class field value.
        * sp13/system.h: Account for message buffer memory.
        * sp13/task2.c: Remove unnecessary check for failure.

2001-08-16      Joel Sherrill <joel@OARcorp.com>

        * sp20/system.h: Account for extra task stacks properly.


2001-08-16      Joel Sherrill <joel@OARcorp.com>

        * include/tmacros.h: Attempt to print errno as further information.
2001-08-16 22:22:16 +00:00
Joel Sherrill
cbdb14497c 2001-08-16 Joel Sherrill <joel@OARcorp.com>
* libc/lseek.c: Modified after discussion with Eugeny S. Mints
	<jack@oktet.ru> to correct the behavior.  There were two mistakes.
	First, iop->offset was incorrectly set for SEEK_END.  Second,
	iop->offset should be left unmodified if there are errors.
	This modification attempts to fix both situations.
2001-08-16 22:15:35 +00:00
Joel Sherrill
b3a6713265 2001-08-16 Joel Sherrill <joel@OARcorp.com>
* src/mqueuesendsupp.c: Account for possibly blocking during the
	core send operation.


2001-08-16	Joel Sherrill <joel@OARcorp.com>

	* src/msgqsubmit.c: Add a comment indicating that we do not have
	to account for possibly blocking during the core send operation
	because Classic API message queue send is always non-blocking.

2001-08-16	Joel Sherrill <joel@OARcorp.com>

	* include/rtems/score/coremsg.h, src/coremsgsubmit.c: Add a new
	return status to account for blocking sends.  Otherwise, the
	caller will think that the returned message status will have
	the ultimate results of the operation.  If the send times out,
	the final status will be in the return_code of the thread.

2001-08-16      Joel Sherrill <joel@OARcorp.com>

        * src/coremutexsurrender.c: Use holder thread not executing
        thread because even though they may and often are the same
        it is not guaranteed unless the proper attribute is set.

2001-08-16      Joel Sherrill <joel@OARcorp.com>

        * startup/linkcmds: Modified to work better with gcc 2.8.1 and
        gnat 3.13p.

2001-08-16      Joel Sherrill <joel@OARcorp.com>

        * tools/runtest.in: Recognize debug variant of monitor test.


2001-08-16      Joel Sherrill <joel@OARcorp.com>

        * sp13/sp13.scn: Id in screen had wrong class field value.
        * sp13/system.h: Account for message buffer memory.
        * sp13/task2.c: Remove unnecessary check for failure.

2001-08-16      Joel Sherrill <joel@OARcorp.com>

        * sp20/system.h: Account for extra task stacks properly.


2001-08-16      Joel Sherrill <joel@OARcorp.com>

        * include/tmacros.h: Attempt to print errno as further information.
2001-08-16 21:36:15 +00:00
Joel Sherrill
5ccb03b887 2001-08-09 Joel Sherrill <joel@OARcorp.com>
* scripts/setup.def, scripts/gccnewlib/base-gcc.add,
 	scripts/gccnewlib/gccnewlib.add, scripts-ada/buildall.in:
	Updated to reflect new versions.
2001-08-09 21:25:48 +00:00
Joel Sherrill
6559511b4e 2001-08-09 Joel Sherrill <joel@OARcorp.com>
* c/src/lib/libbsp/i386/i386ex/startup/linkcmds,
	c/src/lib/libbsp/powerpc/eth_comm/canbus/Makefile.am,
	c/src/libnetworking/pppd/ipxcp.c: These files had latent single
	bit mistakes from the CVS server's RAM failure.
2001-08-09 21:23:42 +00:00
Joel Sherrill
256226b87e 2001-08-09 Chris Johns <ccj@acm.org>
* cpu_asm.S: This patch was co-developed with Eric Norum
	<eric.norum@usask.ca>.  It closes a one instruction window
	on some m68k CPU cores.  It fixes symptoms seen as:
	    1) No more `interrupt handler invoked twice for
	       a single interrupt'.
	    2) No more `lockup when mc68360 CPM and PIT interrupts
	       are at different levels'.
	It does insert a little more overhead on machines without hardware
	interrupt stacks but correctness has a price.
2001-08-09 21:09:52 +00:00
Joel Sherrill
3bb9542cd6 2001-08-09 Joel Sherrill <joel@OARcorp.com>
* c/src/exec/itron/src/snd_mbx.c, c/src/exec/itron/src/tsnd_mbf.c
	c/src/exec/posix/src/mqueuesendsupp.c,
	c/src/exec/rtems/src/msgqsubmit.c,
	c/src/exec/score/include/rtems/score/coremsg.h,
	c/src/exec/score/inline/rtems/score/coremsg.inl,
	c/src/exec/score/src/coremsgsubmit.c: Unblocking message queue
	operations should NOT use _Thread_Executing for return status
	since it is permissible to invoke message send operations from
	an ISR.  This was reported by Suvrat Gupta <suvrat@utstar.com>.
2001-08-09 21:08:50 +00:00
Joel Sherrill
b748fff9c5 2001-03-26 Zoltan Kocsi <zoltan@bendor.com.au>
* src/eventsurrender.c: Clear event condition when task is unblocked.
	This makes sure that subsequent event send thinks the task is still
	blocked and overwrites the initial events received.
2001-03-29 15:51:54 +00:00
Joel Sherrill
ca4c387054 2000-11-28 Joel Sherrill <joel@OARcorp.com>
* src/imfs/memfile.c: Bug report from Sturniolo Jose
	<jsturnio@nec.com.ar> where NULL pointer was dereferenced.
2000-11-28 21:52:53 +00:00
Joel Sherrill
079b1f4c2c 2000-11-28 Sergei Organov <osv@javad.ru>
* libc/getcwd.c: Ensure _closedir(dir) is called even on
	error exit from the routine.
2000-11-28 21:49:50 +00:00
Joel Sherrill
99cfdc2dea 2000-11-28 Chris Johns <ccj@acm.org>
* src/heapallocate.c: Do not allow the size to overflow when
	adjusting it.  A test allocated a stack of -1 (~0). This
	actually resulted in a stack being allocated but with a
	size of 0xb. The allocator did not test the size to see if
	it rolled through 0 and so allowed the allocation to happen, the
	thread to get created. The task crashed as you would expect.
2000-11-28 21:47:27 +00:00
Joel Sherrill
e5aeae7b30 2000-11-20 Dmitry Kargapolov <dk@gentex.ru>
* libc/mount.c: Make sure there is space allocated for a device name
	in the mount table entry.
2000-11-20 13:30:03 +00:00
Joel Sherrill
0b18036afc 2000-09-20 Joel Sherrill <joel@OARcorp.com>
* src/objectgetbyindex.c: Do not enable dispatching on an
	error path it was not disabled on.
2000-09-20 13:27:47 +00:00
Joel Sherrill
74835d7880 2000-08-11 Chris Johns <ccj@acm.org>
* libc/chmod.c: Return ENOTSUP if filesystem does not have handler.
	* libc/eval.c: Ditto.
	* libc/fcntl.c: Ditto.
	* libc/fsync.c: Ditto.
	* libc/ioctl.c: Ditto.
	* libc/ioman.c: Ditto.
	* libc/link.c: Ditto.
	* libc/memfile.c: Ditto.
	* libc/mknod.c: Ditto.
	* libc/symlink.c: Ditto.
	* libc/libio.h(rtems_filesystem_dev_major_t): New macro.
	* libc/libio.h(rtems_filesystem_dev_minor_t): New macro.
2000-08-11 20:04:03 +00:00
Joel Sherrill
289f822131 IEEE
====
-4 = {d = -4, i = {0xc0100000, 0x0}} s=1 e=0x80 m=0x100000 (0x0900000)
-3 = {d = -3, i = {0xc0080000, 0x0}} s=1 e=0x80 m=0x080000 (0x0880000)
-2 = {d = -2, i = {0xc0000000, 0x0}} s=1 e=0x80 m=0x000000 (0x0800000)
-1 = {d = -1, i = {0xbff00000, 0x0}} s=1 e=0x7f m=0x000000 (0x0800000)
 0 = {d =  0, i = {0x00000000, 0x0}} s=0 e=0    m=0x000000 (0x0800000)
 1 = {d =  1, i = {0x3ff00000, 0x0}} s=0 e=0x7f m=0x000000 (0x0800000)
 2 = {d =  2, i = {0x40000000, 0x0}} s=0 e=0    m=0x000000 (0x0800000)
 3 = {d =  3, i = {0x40080000, 0x0}} s=0 e=0    m=0x080000 (0x0880000)

C4X
===
-4 = {d = -4, i = {0x01800000, 0x0}} s=1 e=1    m=0x800000 (0x1000000)
-3 = {d = -3, i = {0x01c00000, 0x0}} s=1 e=1    m=0xa00000 (0x1400000)
-2 = {d = -2, i = {0x00800000, 0x0}} s=1 e=0    m=0x800000 (0x1000000)
-1 = {d = -1, i = {0xff800000, 0x0}} s=1 e=0xff m=0x000000 (0x1000000)
 0 = {d =  0, i = {0x80000000, 0x0}} s=0 e=0    m=0x000000 (0x0800000)
 1 = {d =  1, i = {0x00000000, 0x0}} s=0 e=0x7f m=0x000000 (0x0800000)
 2 = {d =  2, i = {0x01000000, 0x0}} s=0 e=1    m=0x400000 (0x0800000)
 3 = {d =  3, i = {0x01400000, 0x0}} s=0 e=1    m=0x600000 (0x0c00000)
 4 = {d =  4, i = {0x02000000, 0x0}} s=0 e=2    m=0xXXXXXX (0x0000000)

0x1010 0000
  0101 0000
  0010 1002
2000-08-03 14:43:43 +00:00
Joel Sherrill
d7d1096c78 Patch from Eric Valette <valette@crf.canon.fr> with debugging
by Till Straumann <strauman@SLAC.Stanford.EDU>.  With this
patch, the motorola_shared BSP should also support the MVME2303.
2000-07-24 19:17:34 +00:00
Joel Sherrill
36f910cdbe changed version to 4.5.0 2000-07-24 17:58:24 +00:00
Joel Sherrill
cadf485057 changed version to 4.5.0 2000-07-17 01:06:22 +00:00
Joel Sherrill
2d722f996d changed version to 4.5.0 2000-07-14 19:37:39 +00:00
Joel Sherrill
356a74b69d changed version to 4.5.0 2000-07-14 19:30:07 +00:00
Joel Sherrill
3df0c1e9ff changed version to 4.5.0 2000-07-14 19:24:28 +00:00
Joel Sherrill
b167323ddb changed version to 4.5.0 2000-07-14 19:14:12 +00:00
Joel Sherrill
9717739f27 changed version to 4.5.0 2000-07-14 19:10:50 +00:00
Joel Sherrill
8465866651 changed version to 4.5.0 2000-07-14 19:05:23 +00:00
Joel Sherrill
a5c67bc66d Updated RTEMS version. 2000-07-14 19:04:42 +00:00
Joel Sherrill
a4c731f6aa Updated tool versions for gnat 3.12p RPM revision 5. 2000-07-14 19:04:13 +00:00
Joel Sherrill
c1956b5952 Changed name of static table versions to avoid conflict. 2000-07-14 18:53:21 +00:00
Joel Sherrill
21555cba2d Switch logical in conditional. 2000-07-13 16:17:23 +00:00
Joel Sherrill
822d6b4799 Patch rtems-rc-20000711-2-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that removes setting unused variables WORKSPACE_MB and HEAPSPACE_MB.
2000-07-11 15:33:40 +00:00
Joel Sherrill
6d19b7edd4 Fixed problem reported by Victor V. Vengerov <Victor.Vengerov@oktet.ru>
where alarm() did not correctly account for the watchdog start_time
and stop_time fields being based on ticks not seconds.  This resulted
in alarm() returning a bogus number of seconds remaining.
2000-07-07 19:31:28 +00:00
Joel Sherrill
7f51092d10 Patch from James Housley <jim@thehousleys.net> so application Makefiles
can find tools installed to $(prefix)/bin after installation.
2000-07-07 16:48:29 +00:00
Joel Sherrill
1d51c45deb Patch rtems-rc-20000705-1.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
CVS: ----------------------------------------------------------------------
CVS: Enter Log.  Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: 	c/src/tests/libtests/termios/init.c
CVS: ----------------------------------------------------------------------
2000-07-06 20:10:40 +00:00
Joel Sherrill
e734e57635 Patch rtems-rc-20000702-1.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that is a hack to workaround a switch generation compiler bug for the
SH2 and cleaned up some warnings.
CVS: ----------------------------------------------------------------------
CVS: Enter Log.  Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: 	c/src/tests/libtests/termios/init.c
CVS: ----------------------------------------------------------------------
2000-07-03 20:48:00 +00:00
Joel Sherrill
0f4bfda992 Interrupt stack is allocated in _ISR_Handler_initialization not
_Interrupt_Manager_initialization.
2000-07-03 18:43:44 +00:00
Joel Sherrill
6d3279acea Patches from Eric Valette to address librdbg issues on SunRPC upgrade
and cleanup.
2000-06-29 16:22:13 +00:00
Joel Sherrill
5aac7bc83e Patch from Chris Johns <cjohns@cybertec.com.au> to make sure the
ttyHead back link is set.
2000-06-29 16:05:30 +00:00
Joel Sherrill
14b4125f3c Patch from Eric Valette <valette@crf.canon.fr> to make librdbg work
with the new RPC code.
2000-06-29 15:48:05 +00:00
Joel Sherrill
5f3ad6a89d Patch from Chris Johns <cjohns@cybertec.com.au> and
Jennifer Averett <jennifer.averett@oarcorp.com> to fix
appends (O_APPEND at open time) on in-memory files.

A call such as:

    fd = open (file, O_APPEND | O_WRONLY);

did not append to the end of the file.
2000-06-26 14:50:00 +00:00
Joel Sherrill
f782320813 Patch from Chris Johns <cjohns@cybertec.com.au> and
Jennifer Averett <jennifer.averett@oarcorp.com> to make sure
"/" is created with S_IFDIR set.
2000-06-26 14:46:47 +00:00
Joel Sherrill
0a8a4c128d Patch from James Housley <jim@thehousleys.net> to address FreeBSD 4.x
build issues.
2000-06-16 13:05:17 +00:00
Joel Sherrill
d33b901755 changed version to 4.5.0-beta3a 2000-06-12 20:55:36 +00:00
Joel Sherrill
1dc9286f8b changed version to 4.5.0-beta3a 2000-06-12 20:30:01 +00:00
Joel Sherrill
b96734cdd0 Fixed so hppa1.1 compiles with only problems in simhppa BSP. 2000-06-12 20:29:45 +00:00
Joel Sherrill
380b2231e0 Works on Solaris and Linux. 2000-06-12 18:46:11 +00:00
Joel Sherrill
c243c4923e Added i960KA support in anticipation is i960 gdb simulator BSP. 2000-06-12 15:56:32 +00:00
Joel Sherrill
19c6e495d3 changed version to 4.5.0-beta3a 2000-06-12 15:26:51 +00:00
Joel Sherrill
930c1c8dc9 Merging main trunk and 4.5 branch. These changes were in the
main trunk.
2000-06-12 15:24:34 +00:00
Joel Sherrill
6a62bceb23 changed version to 4.5.0-beta3a 2000-06-12 14:22:25 +00:00
Joel Sherrill
f18d2e7432 Updated a bit. 2000-06-12 14:19:35 +00:00
Joel Sherrill
531cbf9a4a Changed st_atime, st_ctime, and st_mtime for IMFS nodes to be
stat_ to avoid conflicts with macros on Solaris.
2000-06-12 14:09:52 +00:00
Joel Sherrill
f981326efc Updated version. 2000-06-12 14:07:19 +00:00
Joel Sherrill
e88f497884 Make sure Context_Control is large enough. 2000-06-10 18:37:21 +00:00
Joel Sherrill
98165e21b7 Check that context control overlay is big enough. 2000-06-10 18:36:48 +00:00
Joel Sherrill
c5fe7cf65c Patch rtems-rc-4.5.0-27-cvs from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to remove syntactically incorrect else code that was technically
unneeded anyway.
2000-06-09 18:45:23 +00:00
Joel Sherrill
c580598529 Configure a default interrupt stack size. 2000-06-08 01:37:04 +00:00
Joel Sherrill
8b9aa32d5b Added -DUSE_INIT_FINI so they should be able to run C++ tests. 2000-06-07 13:34:55 +00:00
Joel Sherrill
423fb5ac8c Changed patch version for newlib to include Ralf's fixes for
install shell script problems.
2000-06-07 13:31:52 +00:00
Joel Sherrill
b790e3990f Changed distribution version. 2000-06-07 13:31:22 +00:00
Joel Sherrill
b24ef52626 Do not include config.sub and config.guess in distribution. scripts
must be loaded as a subdirectory of an RTEMS release.
2000-06-07 13:31:06 +00:00
Joel Sherrill
68638f0519 Added attributes of allocatable and executable to .reset and .initial
sections so they are disassembled by objdump and loaded by gdb.
2000-06-07 13:29:46 +00:00
Joel Sherrill
1a632e8e73 -T linkcmds now part of %lib rule so %link rule can more easily honor
the CPU model library linking rules built into gcc.
2000-06-07 13:27:40 +00:00
Joel Sherrill
259397cc88 Added *spec.in since they are now automatically generated from the *.add
files.
2000-06-07 13:23:46 +00:00
Joel Sherrill
bdf9a99415 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
gccnewlib.add applies find -path=... which might cause files.gcc
  getting corrupted.

  This seems to be gnu-find specific and doesn't seem to be supported
  by Solaris find (/usr/bin/find). I didn't see this because I use
  gnu-find even under Solaris (/amd/bin/find under our Solaris
  installation).
  This causes the first call to find in gccnewlib.add to deliver
  incorrect results and may result into incorrectly setting up the
  files.* files, esp. files.gcc.
2000-06-06 13:44:18 +00:00
Joel Sherrill
19f4540ee5 Updated patch versions. 2000-06-02 20:13:51 +00:00
Joel Sherrill
fd16f5b587 Patch from Keith Outwater <vac4050@cae597.rsc.raytheon.com> to rename
webserver trace() routine to goahead_trace() to avoid name conflicts
with ncurses.
2000-06-01 21:50:37 +00:00
Joel Sherrill
e89694ee7e Distributed the preinstall of the header files to the directories
owning the header files.
2000-05-31 22:31:26 +00:00
Joel Sherrill
322c894c08 Patch to:
1. Fixes a typo in the code conditionalized by GEN68360_WITH_SRAM
  2. Mods the code to add support for an additional bank of SRAM (needed more RAM
     to run the web server!)

From <vac4050@cae597.rsc.raytheon.com> reviewed by Eric Norum <eric@cls.usask.ca>.
2000-05-31 15:27:40 +00:00
Joel Sherrill
3081446337 Patch rtems-rc-4.5.0-25.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
multilib handling issues.
2000-05-31 15:24:43 +00:00
Joel Sherrill
db07e68798 Update from John S. Gwynne <jsg@jsgpc.mrcday.com> that:
* updated README
     * improved misc script for running the RTEMS test programs
     * Updated 332 SIM configuration in start.c
     * C++ global constructor fix (USE_INIT_FINI)
     * change __end_of_ram to _RamEnd to match changes by others
2000-05-31 15:05:55 +00:00
Joel Sherrill
0adfb21347 Added -DUSE_INIT_FINI to all m68k and PowerPC BSPs. 2000-05-31 15:01:48 +00:00
Joel Sherrill
fe4edc8ccf Include clockdrv.h and console.h per Frank Szczerba <frank@wmi.com>. 2000-05-31 14:14:27 +00:00
Joel Sherrill
6a8700de5f Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to:
This is the diff to let gcc-target-default.cfg use LINK.c -Wl,-r
  instead of LD -r for building *.rels.

  BTW: gcc -r works but seems to be undocumented, however
       as gcc -r -v shows it seems to works. Now I am using -Wl,-r :-)
2000-05-31 13:35:08 +00:00
Joel Sherrill
75061954c1 Patch from Nick Simon <Nick.SIMON@syntegra.bt.co.uk> to make
error.h C++ safe.
2000-05-30 14:07:37 +00:00
Joel Sherrill
a3f5b6be31 Added a special CPU model of "rtems_multilib". This is the beginnings
of an experiment to determine what it will take to multilib most of
RTEMS per GNU multilib conventions.  It is thought that only
interrupt processing and IO are not multlib-able.  This means that
a BSP Kit should include IRQ processing from score/cpu, all peripheral
support (header files from score/cpu, libchip, and libcpu), and the
BSPs themselves.  The rest of RTEMS should be multlib-able.  But to do
this, all RTEMS CPU model feature flags must be derivable from gcc
cpp predefines.  By configuring the bare bsp with the rtems_multilib
CPU model, you can try any combination of CPU CFLAGS and see well how the
logic in that section of the <CPU>.h works.   Once all CPU multilib
variations can be built, then RTEMS proper can be multilib'ed and
separated from the BSPs.
2000-05-28 20:14:45 +00:00
Joel Sherrill
63cf252f31 Patch rtems-rc-4.5.0-21.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which splits the current monolithic specs files into a sequence of
subparts.  These can be concatenated togather to make a the whole .spec
file.  This cleans up the maintenance problem of having "all languages"
and a "C/C++ only" gccnewlib spec files.  Plus it should make it easier
to produce variants like the gdb-m68k-bdm which require special hackery. :)
Ralf's comments:

  It addresses the way *.spec.in get composed inside of the source
  tree.

  Changes:
    * Each spec.in is broken into several files (*.add), one *.add file
      per sub-package.
    * Each Makefile.am composes spec.ins from the *.add files
    * Removal of redundant automake support files.
    * Default value for BuildRoot changed to /tmp/<spec-file-name>
    * %clean stage added to *specs

  Advantages (IMHO).
    * The *.add files are easier to adminstrate and more flexible in
      comparison to the former *.specs.ins.
    * gccnewlib_c_only.spec.in now is composed from the same sources as
      gccnewlib.spec.in (less errors)
    * If using the default BuildRoot --clean now deletes all files that
      were generated while building.

  Notes:
    * rtems.spec.in has not yet been adapted to the scheme used for the
      other *spec.ins
    * Except for cosmetical changes the internals of the  *.spec files
      should not have changed.

  To Apply:
    cvs rm -f scripts/binutils/binutils.spec.in
    cvs rm -f scripts/gccnewlib/gccnewlib.spec.in
    cvs rm -f scripts/gccnewlib/gccnewlib_c_only.spec.in
    cvs rm -f scripts/gdb/gdb.spec.in
    cvs rm -f scripts/config.sub
    cvs rm -f scripts/config.guess
    cvs rm -f scripts/install-sh
    cvs rm -f scripts/mkinstalldirs
    cvs rm -f scripts/missing

    patch -p1 < rtems-rc-4.5.0-21.diff

    cvs add scripts/*/*.add
    cvs add scripts/*/README
2000-05-28 18:14:55 +00:00
cvs2git
22095e222d This commit was manufactured by cvs2svn to create branch 'rtems-4-5-branch'.
Cherrypick from master 2000-05-28 18:03:55 UTC Joel Sherrill <joel.sherrill@OARcorp.com> 'Added on 4.5 branch':
    scripts/binutils/base-binutils.add
    scripts/binutils/binutils.add
    scripts/binutils/target-binutils.add
    scripts/gccnewlib/base-chill.add
    scripts/gccnewlib/base-g77.add
    scripts/gccnewlib/base-gcc.add
    scripts/gccnewlib/base-gcj.add
    scripts/gccnewlib/gccnewlib.add
    scripts/gccnewlib/target-chill.add
    scripts/gccnewlib/target-g77.add
    scripts/gccnewlib/target-gcc.add
    scripts/gccnewlib/target-gcj.add
    scripts/gccnewlib/target-objc.add
    scripts/gdb/base-gdb.add
    scripts/gdb/gdb.add
    scripts/gdb/target-gdb.add
2000-05-28 18:03:56 +00:00
Joel Sherrill
559cf7684d Updated newlib version which bumped the gnatnewlib version. 2000-05-28 17:53:39 +00:00
Joel Sherrill
5bd07d40e3 Updated newlib, gdb, and gcc patch versions which bumped the RPM release
of gccnewlib and gdb.
2000-05-28 17:53:16 +00:00
Joel Sherrill
19de118930 New version number. 2000-05-28 17:52:48 +00:00
Joel Sherrill
d102375e79 Removed definition of PPC_ABI and PPC_ASM as there are now defaults
that reflect the GNU toolset.
2000-05-28 17:52:30 +00:00
Joel Sherrill
dd72009e4e Added casts to avoid warnings. 2000-05-28 17:49:21 +00:00
Joel Sherrill
1d89b75c96 Removed more warnings. In particular added ifdef's on IPV6 for
variables only used in IPV6.
2000-05-28 17:47:39 +00:00
Joel Sherrill
f8d3664510 Added prototype of fdopen() since it is not strict ANSI and not
having a prototype caused warnings.
2000-05-28 17:46:40 +00:00
Joel Sherrill
9c948846fa Added cast to remove warning. 2000-05-28 17:45:55 +00:00
Joel Sherrill
96efaf679b Renamed delay() to avoid conflicts since it is a common name that
was in particular used by the ttcp test.
2000-05-28 17:45:17 +00:00
Joel Sherrill
3704a9a149 Added defaults for PPC_ABI and PPC_ASM so every PowerPC does not
have to define them to their default value.  The default values
reflect the ABI and Assembly format of the current GNU tools.
2000-05-28 17:43:00 +00:00
Joel Sherrill
cfca5dba95 Removed warning by adding return NULL. 2000-05-28 17:42:03 +00:00
Joel Sherrill
9d05d68fe6 Changed sed command to avoid severe limitations in Solaris /bin/sed.
Detected by Joel after multiple reports on the rtems-users mailing
list.  Final fix from Ralf Corsepius.
2000-05-28 17:41:43 +00:00
Joel Sherrill
05ff78ab00 Added INSTALL_CHANGE and INSTALL_VARIANT information. 2000-05-26 17:49:52 +00:00
Joel Sherrill
09c16269d9 Significant updates. 2000-05-26 17:17:40 +00:00
Joel Sherrill
3050704fa5 Corrected old-style usage of TARGET_ARCH. 2000-05-26 17:16:37 +00:00
Joel Sherrill
fa9b9f512b Corrected resource requirements. 2000-05-25 19:49:34 +00:00
Joel Sherrill
a12793743a Removed warning. 2000-05-25 17:17:35 +00:00
Joel Sherrill
60a3213b13 Increased memory reserved for stack requirements. 2000-05-25 16:06:30 +00:00
Joel Sherrill
f3b1664f51 Increased resources configured. 2000-05-25 16:04:37 +00:00
Joel Sherrill
c94c2518de Update from Stephan Wilms <Stephan.Wilms@CWA.de> that adds autodetection.
What I implemented in this new driver version is, that the driver will
first probe for a DEC21140 card and use it if found. If not found it
will probe for a DEC21143 card and use that if found. This removes the
need for defining/undefining a macro (as was required with my previous
version). I tested the driver with my 21143 card using netdemo and it
apears to work just fine.

Here are some cases that I did not test, mainly because I do not have
the required testing hardware:
   - I did not enhance or test PPC support
   - I did not test DEC21140 support
   - I did not use other test software than netdemo
2000-05-25 13:42:00 +00:00
Joel Sherrill
64bddf48af Patch to remove warnings from Eric Norum <eric@cls.usask.ca>. 2000-05-25 13:19:49 +00:00
Joel Sherrill
646decbd61 Patch from Nick Simom (Nick.SIMON@syntegra.bt.co.uk) so eth_comm
can return to start code without faulting.
2000-05-24 17:11:24 +00:00
Joel Sherrill
09b6a0938e Significantly lowered the default memory requirements:
- CONFIGURE_RTEMS_INIT_TASKS_TABLE was 10 now 0
    - CONFIGURE_POSIX_INIT_THREAD_TABLE was 10 now 0
    - CONFIGURE_ITRON_INIT_TASK_TABLE was 10 now 0
    - CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS was 20 now 3
    - added CONFIGURE_NUMBER_OF_TERMIOS_PORTS and defaulted to 1
    - added CONFIGURE_TERMIOS_DISABLED defaulted to "enabled"
    - miniIMFS is now the default

Added configuration error checks that:
  + Ensure > 0 tasks/threads are configured
  + Ensure at least one inititalization task/thread is defined

bsp.h now defines these so BSP specific requirements
are accounted for.
  + CONFIGURE_NUMBER_OF_TERMIOS_PORTS
  + CONFIGURE_INTERRUPT_STACK_MEMORY

console_reserve_resources and rtems_termios_reserve_resources
are no longer required and considered obsolete.  Calls to
rtems_termios_reserve_resources have been eliminated although
the routine is still there and the body "if 0'ed".

We are very close to having NO reason to modify the
configuration tables in the BSP.  Be warned that eventually
we would like to see the need for BSP_Configuration
eliminated!
2000-05-24 17:06:54 +00:00
Joel Sherrill
9a03459c44 Significantly lowered the default memory requirements:
- CONFIGURE_RTEMS_INIT_TASKS_TABLE was 10 now 0
    - CONFIGURE_POSIX_INIT_THREAD_TABDE was 10 now 0
    - CONFIGURE_ITRON_INIT_TASK_TABLE was 10 now 0
    - CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS was 20 now 3
    - added CONFIGURE_NUMBER_OF_TERMIOS_PORTS and defaulted to 1
    - added CONFIGURE_TERMIOS_DISABLED defaulted to "enabled"
    - miniIMFS is now the default

Added configuration error checks that:
  + Ensure > 0 tasks/threads are configured
  + Ensure at least one inititalization task/thread is defined

bsp.h now defines these so BSP specific requirements
are accounted for.
  + CONFIGURE_NUMBER_OF_TERMIOS_PORTS
  + CONFIGURE_INTERRUPT_STACK_MEMORY

console_reserve_resources and rtems_termios_reserve_resources
are no longer required and considered obsolete.  Calls to
rtems_termios_reserve_resources have been eliminated although
the routine is still there and the body "if 0'ed".

We are very close to having NO reason to modify the
configuration tables in the BSP.  Be warned that eventually
we would like to see the need for BSP_Configuration
eliminated!
2000-05-24 17:06:37 +00:00
Joel Sherrill
d38427f158 Handle mp variants better. 2000-05-24 17:01:13 +00:00
Joel Sherrill
77989a586e Make sure debug variant output goes into a different log file. 2000-05-24 17:01:02 +00:00
Joel Sherrill
9cad6a0214 Now can bring up an idle initialization task. 2000-05-24 16:57:07 +00:00
Joel Sherrill
1296960168 Added screen contents. 2000-05-24 16:52:34 +00:00
cvs2git
978b21bd73 This commit was manufactured by cvs2svn to create branch 'rtems-4-5-branch'.
Cherrypick from master 2000-05-24 16:51:23 UTC Joel Sherrill <joel.sherrill@OARcorp.com> 'New file.':
    c/src/tests/libtests/malloctest/malloctest.scn
    scripts/config.guess
    scripts/config.sub
2000-05-24 16:51:24 +00:00
Joel Sherrill
d7bf62566d Increased task stack configured. 2000-05-24 16:50:26 +00:00
Joel Sherrill
95df6137e9 Added malloctest back in to set of tests to run. 2000-05-24 16:49:16 +00:00
Joel Sherrill
bef66a669f Fixed bug so debug variant of MP tests could be run. 2000-05-24 16:44:13 +00:00
Joel Sherrill
9b3cdfe85f Updated. 2000-05-24 15:56:20 +00:00
Joel Sherrill
70f1f1d971 Initial DEC 21143 support from Stephan Wilms <Stephan.Wilms@CWA.de>.
Comments follow:

 This support is (for now) only available for the __i386 target, because
 that's the only testing platform I have. It should to my best knowledge
 work in the same way for the "__PPC" target, but someone should test
 this first before it's put into the code. Thanks go to Andrew Klossner
 who provided the vital information about the Intel 21143 chip.

 (FWIW: my network card is a Kingston KNE100TX with 21143PD chip)
2000-05-24 15:55:00 +00:00
Joel Sherrill
2c8485b663 Eliminated printing from switch extension. 2000-05-24 15:37:32 +00:00
Joel Sherrill
2fbdbd4f14 Significantly lowered the default memory requirements:
- CONFIGURE_RTEMS_INIT_TASKS_TABLE was 10 now 0
    - CONFIGURE_POSIX_INIT_THREAD_TABLE was 10 now 0
    - CONFIGURE_ITRON_INIT_TASK_TABLE was 10 now 0
    - CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS was 20 now 3
    - added CONFIGURE_NUMBER_OF_TERMIOS_PORTS and defaulted to 1
    - added CONFIGURE_TERMIOS_DISABLED defaulted to "enabled"
    - miniIMFS is now the default

Added configuration error checks that:
  + Ensure > 0 tasks/threads are configured
  + Ensure at least one inititalization task/thread is defined


bsp.h now defines so BSP specific requirements are accounted for:
  + CONFIGURE_NUMBER_OF_TERMIOS_PORTS
  + CONFIGURE_INTERRUPT_STACK_MEMORY

console_reserve_resources and rtems_termios_reserve_resources
are no longer required and considered obsolete.  Calls to
rtems_termios_reserve_resources have been eliminated although
the routine is still there and the body "if 0'ed".

We are very close to having NO reason to modify the
configuration tables in the BSP.  Be warned that eventually
we would like to see the need for BSP_Configuration
eliminated!
2000-05-24 14:36:52 +00:00
Joel Sherrill
1a9006a68a Added a return to the bottom. 2000-05-24 14:23:34 +00:00
Joel Sherrill
8fe36e1c4d Removed some warnings. 2000-05-24 14:21:27 +00:00
Joel Sherrill
625f1a61a1 Remove NO_CPU reference. 2000-05-23 21:31:44 +00:00
Joel Sherrill
7c1a82facd Patch from Jennifer Averett <jennifer.averett@oarcorp.com> to make
this C++ safe.
2000-05-23 15:41:04 +00:00
Joel Sherrill
1b6969373d Added routines addr2ascii.c and ascii2addr.c even though they
are not reentrant.  Eric Norum <eric@cls.usask.ca> at
request of John Cotton <john.cotton@nrc.ca>.
2000-05-23 15:15:19 +00:00
Joel Sherrill
58271f676d Added code to determine RPM CPU type for the host OS. This is
needed to determine that on x86-linux, RPM builds "i386" RPMs
while on Sparc/Solaris, it builds "sparc" RPMs.  Since the
buildall script installs the binutils RPM to build the gccnewlib
RPM, it needs to know this.
2000-05-21 15:23:02 +00:00
Joel Sherrill
f9c0574793 This is an update of all Classic API Message Manager tests to
eliminate code which assumes that 4 * sizeof(unsigned32) == 16)
and that a 16 byte message can be assumed to be 4 unsigned32's.
These assumptions are invalid on target processors that are
not byte-addressable.
2000-05-19 19:13:09 +00:00
Joel Sherrill
9f2e6c6c7d Changed versions. 2000-05-19 19:07:04 +00:00
Joel Sherrill
e22e30858e Use minimum stack size. 2000-05-19 19:06:24 +00:00
Joel Sherrill
6174e27e89 Changed to use minimum stack size. 2000-05-19 19:04:45 +00:00
Joel Sherrill
ef0126bba2 Changed screen to have indeterminate addresses. 2000-05-19 19:04:28 +00:00
Joel Sherrill
9064ad45e1 Made note that Version, CPU, and BSP will vary. 2000-05-19 19:03:41 +00:00
Joel Sherrill
fb4541be87 Removed duplicated call to unmount filesystem. 2000-05-19 19:02:30 +00:00
Joel Sherrill
459d051bcf Corrected direction of comparison in sizeof context overlay. 2000-05-19 19:01:39 +00:00
Joel Sherrill
d88b46fe00 Removed HWAPI reference. 2000-05-17 13:59:36 +00:00
Joel Sherrill
00b772a3a1 Applied patch to wrong place in code. 2000-05-17 13:46:40 +00:00
Joel Sherrill
580c7a94f9 Adding code to test for maximum filesize and skip some tests. 2000-05-16 19:23:16 +00:00
Joel Sherrill
0632b75420 Initialize the variable. 2000-05-16 19:19:47 +00:00
Joel Sherrill
2936e9721f Use sizeof(unsigned32) not 4. 2000-05-16 19:19:18 +00:00
Joel Sherrill
a93350a415 Use CPU_ALIGNMENT not 4. 2000-05-16 19:18:03 +00:00
Joel Sherrill
f48cad9cec Constant of 4 for size is bad. 2000-05-16 19:16:39 +00:00
Joel Sherrill
250edf6f78 Modified to avoid copying too much data. 2000-05-16 19:15:25 +00:00
Joel Sherrill
8531dceb87 Updated to have better comments that can be searched and replaced. 2000-05-16 19:13:46 +00:00
Joel Sherrill
72988cd968 Changed RTEMS_MAXIMUM_NAME_LENGTH to ITRON_MAXIMUM_NAME_LENGTH. 2000-05-16 19:11:33 +00:00
Joel Sherrill
aaf44d495a Do not prototype fileno() if is is a macro. This was tripped on Solaris. 2000-05-16 19:07:19 +00:00
Joel Sherrill
055b7d5fe1 Corrected order of arguments to strncpy(). 2000-05-16 19:06:41 +00:00
Joel Sherrill
078280e025 Use CPU_HEAP_ALIGNMENT not CPU_ALIGNMENT. 2000-05-16 19:05:49 +00:00
Joel Sherrill
ba4b9ffe55 Changed <= to < to prevent overindexing array of file control blocks
(rtems_libio_iops).
2000-05-16 19:04:21 +00:00
Joel Sherrill
51e4268d73 Do not look for C++ compiler if C++ is disabled. 2000-05-16 18:58:58 +00:00
Joel Sherrill
017cb2be68 Do not dereference NULL per bug report from Victor V. Vengerov <vvv@oktet.ru>. 2000-05-16 18:58:18 +00:00
Joel Sherrill
01e0e43f7f Update from Eric Norum to fix dereference of zero and correct
test behavior.  Based on report from Victor V. Vengerov <vvv@oktet.ru>.
2000-05-16 18:44:03 +00:00
Joel Sherrill
405990a70c Added code to check for NULL pointer per bug report from
Victor V. Vengerov <vvv@oktet.ru>.
2000-05-16 18:43:00 +00:00
Joel Sherrill
b6206ccbad Modified to enable thread safe libraries. 2000-05-16 18:39:39 +00:00
Joel Sherrill
a4cb8f0d28 Patch from Eric Norum <eric@cls.usask.ca> to fix bug from
Alexey S. Fadeyev <alexey@vocord.com>.  Discussion follows:

    "Alexey S. Fadeyev" wrote:
    > So if I run this application it tell me :
    > > connect_task: Connection established
    > > accept somthing
    >
    > But if I try to connect to invalid port (3001 for example) it also tell me
    > that connection
    > established but bind_task did't accept it. So how I can find out in
    > connect_task does my connection realy
    > exist ? What type of socket is here? Blocking or non-blocking? I try used
    > select but it did't help - it
    > always tell me from connect_task that connection is valid.
    >

    Yep -- there was a problem alright.  The connect() routine wasn't
    returning an error indication when it should have.  Note that this
    problem was not limited to the loopback driver -- a refused connection
    from any server would return `success'.
2000-05-11 20:37:59 +00:00
Joel Sherrill
6c30cc6f4d changed version to 4.5.0-beta3 2000-05-10 14:48:45 +00:00
Joel Sherrill
3673fbd84f Updated. 2000-05-10 13:35:18 +00:00
Joel Sherrill
405543d683 Corrected to flag that this test is not implemented. 2000-05-10 13:34:15 +00:00
Joel Sherrill
a2a0c9eabd Updated to indicate that it has been tested and that the ulClock
parameter now supports overrides.
2000-05-08 21:50:20 +00:00
Joel Sherrill
b12d10b4e0 RTEMS specific thread support for G++. This implementation
includes RTEMS wrappers invoked by gcc.  The beauty of this
is that it puts the implementation in our hands. :)

It uses a mutex ( semaphore ), and task variables simulating
the "keys" for each task.

Thanks to Rosimildo da Silva <rdasilva@connectel.com> for
submitting this.
2000-05-08 21:21:29 +00:00
cvs2git
b76a825478 This commit was manufactured by cvs2svn to create branch 'rtems-4-5-branch'.
Cherrypick from master 2000-05-08 21:17:50 UTC Joel Sherrill <joel.sherrill@OARcorp.com> 'New file added on 4.5 branch':
    c/src/lib/libc/gxx_wrappers.c
2000-05-08 21:17:51 +00:00
Joel Sherrill
e612d75205 Modified license and copyright terms to be correct. 2000-05-08 20:56:07 +00:00
Joel Sherrill
0921e6917a New file on branch. 2000-05-08 20:38:19 +00:00
cvs2git
66d9d03690 This commit was manufactured by cvs2svn to create branch 'rtems-4-5-branch'.
Cherrypick from master 2000-05-08 20:36:59 UTC Joel Sherrill <joel.sherrill@OARcorp.com> 'New file added on 4.5 branch':
    c/src/lib/libbsp/m68k/mvme167/console/console-recording.c
2000-05-08 20:37:00 +00:00
Joel Sherrill
9d216de2ae Removed uses of RTEMS_ENABLE_HWAPI but left macro in aclocal. 2000-05-08 18:59:18 +00:00
Joel Sherrill
120adc209f Patch cd2401fix.diff from Charles-Antoine Gauthier <charles.gauthier@nrc.ca>
to address problems triggered when switching modes.  His ChangeLog:


  * c/src/lib/libbsp/m68k/mvme167/console/console-recording:
    New file. Console debug info recording functions.
  * c/src/lib/libbsp/m68k/mvme167/console/console.c:
    Try to eliminate garbled characters when the line characteristics are
    changed. Added debug info logging calls
  * c/src/tests/libtests/termios/init.c: Remove sleep calls.

His longer description :)

  This one was hard. I tried a number of approaches, and eventually came
  to the conclusion that one cannot tell when the output FIFO have drained
  completely. Consequently, the driver now includes delay loops that get
  executed when the line discipline is changed. Yuk. I had a look at the
  Linux and FreeBSD drivers; the FreeBSD driver uses delay loops while the
  Linux driver contain warnings about characters getting garbled when the
  line discipline is changed.

  The new driver only re-initializes the cd2401 if some registers need to
  change, otherwise, the chip is left alone. This is equivalent to caching
  the previous setting and only changing things if they need to be. The
  code is kind of ugly, but what can you do. The delay loops are only used
  if the chip must be re-initialized.

  Optional instrumentation that records what the driver is doing is
  provided. It should be obvious how to enable it and how to use it. It's
  not the best, but it got the job done.

  I ran the termios test. The delay loops I had introduced are no longer
  necessary, so I took them out. The patch includes that change. The test
  re-initializes the chip whenever the canonical input test (test 4) is
  run THE FIRST TIME OR AFTER THE LINE WAS RESET (test 1). The test did
  not garble any characters when the chip was re-initialized (or when it
  was not) while running at 9600 bsp. I therefore think that I have a
  solution.
2000-05-08 17:27:46 +00:00
Joel Sherrill
3a0218ed0b Update from John Cotton <john.cotton@nrc.ca> which includes
a number of short fixes pointed out by Eric Norum.
2000-05-08 17:22:38 +00:00
Joel Sherrill
57ca6d09f9 Changed XXX into comment. 2000-05-05 21:23:45 +00:00
Joel Sherrill
11a46a0dfd These tests should have been fairly clean examples. Instead they
showed their roots as tests and included numerous references to
test support routines.
2000-05-05 12:58:06 +00:00
Joel Sherrill
a1a19f6c40 Corrected typo (ifdef/define). Also spotted overnight by Ralf. :) 2000-05-05 12:57:14 +00:00
Joel Sherrill
c6883bda03 Added inet_netof.c per patch from Eric Norum <eric@cls.usask.ca> 2000-05-05 01:30:41 +00:00
Joel Sherrill
af9b39e269 Renamed the CONFIGURE_TEST_NEEDS configuration constants to
CONFIGURE_APPLICATION_NEEDS.
2000-05-04 20:49:22 +00:00
Joel Sherrill
f74de9c028 Removed references to CONFIGURE_SPTEST and CONFIGURE_TMTEST.
Renamed CONFIGURE_MPTEST to CONFIGURE_MP_APPLICATION to properly
reflect its usage.
2000-05-04 14:57:48 +00:00
Joel Sherrill
f747eca890 Added setup.cache. 2000-05-04 14:17:26 +00:00
Joel Sherrill
5a6d98e43b Made better package names. 2000-05-04 14:16:28 +00:00
Joel Sherrill
d123a04b09 Updated versions. 2000-05-04 14:16:20 +00:00
Joel Sherrill
de01ce7dea binutils subdirectory is currently ignored. binutils is built
as a subpackage of gnatnewlib.
2000-05-04 14:15:53 +00:00
Joel Sherrill
a4b7b82e8a Updated to new versions. 2000-05-04 14:15:15 +00:00
Joel Sherrill
45e8d6c1ad Better way to check which RTEMS RPMs are installed. 2000-05-04 14:15:07 +00:00
Joel Sherrill
4d42c4394f Significantly enhanced checks for CPU type and floating point format
supported.
2000-05-04 14:09:30 +00:00
Joel Sherrill
9c8d1edf6a Fixed typo. 2000-05-04 14:08:49 +00:00
Joel Sherrill
57b6590b1b Does not really support multiprocessing so do not even try to
build it.
2000-05-04 14:08:32 +00:00
Joel Sherrill
9fb78b8039 Update from Eric Norum <eric@cls.usask.ca>. 2000-05-03 14:12:51 +00:00
cvs2git
45e4cc77c6 This commit was manufactured by cvs2svn to create branch 'rtems-4-5-branch'.
Cherrypick from master 2000-05-03 13:55:42 UTC Joel Sherrill <joel.sherrill@OARcorp.com> 'Added on 4.5 branch.':
    c/src/librpc/src/rpc/rtems_portmapper.c
    c/src/librpc/src/rpc/rtems_rpc.c
2000-05-03 13:55:43 +00:00
Joel Sherrill
305f03339c Patch from Eric Norum <eric@cls.usask.ca> to make task variables maintain
a global and private version of each task variable.
2000-05-01 17:31:29 +00:00
Joel Sherrill
fee06c867b Patch rtems-4.5.0-rc-19.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that:


 This is the patch I had announced earlier today:

 It addresses:
    * make dist - support (In a configured build tree, cd .../librpc; make
       dist now packages a complete tarball)
    * man-pages - support
    * missing .cvsignores
    * missing Makefile.ams

 It does not address the portability issue I mentioned earlier.

 To apply the patch:
    cd rtems
    patch -p1 < rtems-4.5.0-rc-19.diff

    cvs add c/src/librpc/include/rpcsvc/Makefile.am
    cvs add c/src/librpc/include/rpcsvc/.cvsignore
    cvs add c/src/librpc/src/rpc/PSD.doc/Makefile.am
    cvs add c/src/librpc/src/rpc/PSD.doc/.cvsignore

    cd c/src/librpc
    ../../../bootstrap
2000-05-01 15:00:53 +00:00
cvs2git
180126d2fe This commit was manufactured by cvs2svn to create branch 'rtems-4-5-branch'.
Cherrypick from master 2000-05-01 14:57:46 UTC Joel Sherrill <joel.sherrill@OARcorp.com> 'Added on 4.5-branch':
    c/src/librpc/include/rpcsvc/.cvsignore
    c/src/librpc/include/rpcsvc/Makefile.am
    c/src/librpc/src/rpc/.cvsignore
    c/src/librpc/src/rpc/PSD.doc/.cvsignore
    c/src/librpc/src/rpc/PSD.doc/Makefile.am
    c/src/librpc/src/xdr/.cvsignore
2000-05-01 14:57:47 +00:00
Joel Sherrill
2033706715 Fixed weird compilation problem. Why was it including FLEEB. 2000-04-29 21:58:47 +00:00
Joel Sherrill
c7b43795b6 Uncommented line so libxdr is picked up. 2000-04-29 19:47:14 +00:00
Joel Sherrill
8e743b739b Significant update of librpc to include XDR and more RPC
functionality from FreeBSD.  This update is from Eric Norum
<eric@cls.usask.ca> and he reports that both his RPC netdemo
program and an HP Ethernet/GPIB adapter that makes heavy
use of RPC/XDR for its communication protocol is working with EPICS.
2000-04-29 19:39:09 +00:00
cvs2git
be363a2dd3 This commit was manufactured by cvs2svn to create branch 'rtems-4-5-branch'.
Cherrypick from master 2000-04-29 19:13:19 UTC Joel Sherrill <joel.sherrill@OARcorp.com> 'New files added as part of librpc upgrade.':
    c/src/librpc/README_RTEMS
    c/src/librpc/include/rpc/auth_des.h
    c/src/librpc/include/rpc/auth_unix.h
    c/src/librpc/include/rpc/des.h
    c/src/librpc/include/rpc/des_crypt.h
    c/src/librpc/include/rpc/pmap_clnt.h
    c/src/librpc/include/rpc/pmap_prot.h
    c/src/librpc/include/rpc/pmap_rmt.h
    c/src/librpc/include/rpc/rpc_com.h
    c/src/librpc/include/rpcsvc/bootparam_prot.x
    c/src/librpc/include/rpcsvc/crypt.x
    c/src/librpc/include/rpcsvc/key_prot.x
    c/src/librpc/include/rpcsvc/klm_prot.x
    c/src/librpc/include/rpcsvc/mount.x
    c/src/librpc/include/rpcsvc/nfs_prot.x
    c/src/librpc/include/rpcsvc/nis.x
    c/src/librpc/include/rpcsvc/nis_cache.x
    c/src/librpc/include/rpcsvc/nis_callback.x
    c/src/librpc/include/rpcsvc/nis_db.h
    c/src/librpc/include/rpcsvc/nis_object.x
    c/src/librpc/include/rpcsvc/nis_tags.h
    c/src/librpc/include/rpcsvc/nislib.h
    c/src/librpc/include/rpcsvc/nlm_prot.x
    c/src/librpc/include/rpcsvc/pmap_prot.x
    c/src/librpc/include/rpcsvc/rex.x
    c/src/librpc/include/rpcsvc/rnusers.x
    c/src/librpc/include/rpcsvc/rquota.x
    c/src/librpc/include/rpcsvc/rstat.x
    c/src/librpc/include/rpcsvc/rwall.x
    c/src/librpc/include/rpcsvc/sm_inter.x
    c/src/librpc/include/rpcsvc/spray.x
    c/src/librpc/include/rpcsvc/yp.x
    c/src/librpc/include/rpcsvc/yp_prot.h
    c/src/librpc/include/rpcsvc/ypclnt.h
    c/src/librpc/include/rpcsvc/yppasswd.x
    c/src/librpc/include/rpcsvc/ypupdate_prot.x
    c/src/librpc/include/rpcsvc/ypxfrd.x
    c/src/librpc/src/rpc/DISCLAIMER
    c/src/librpc/src/rpc/Makefile.am
    c/src/librpc/src/rpc/PSD.doc/nfs.rfc.ms
    c/src/librpc/src/rpc/PSD.doc/rpc.prog.ms
    c/src/librpc/src/rpc/PSD.doc/rpc.rfc.ms
    c/src/librpc/src/rpc/PSD.doc/rpcgen.ms
    c/src/librpc/src/rpc/PSD.doc/xdr.nts.ms
    c/src/librpc/src/rpc/PSD.doc/xdr.rfc.ms
    c/src/librpc/src/rpc/README
    c/src/librpc/src/rpc/auth_des.c
    c/src/librpc/src/rpc/auth_none.c
    c/src/librpc/src/rpc/auth_time.c
    c/src/librpc/src/rpc/auth_unix.c
    c/src/librpc/src/rpc/authdes_prot.c
    c/src/librpc/src/rpc/authunix_prot.c
    c/src/librpc/src/rpc/bindresvport.3
    c/src/librpc/src/rpc/bindresvport.c
    c/src/librpc/src/rpc/clnt_generic.c
    c/src/librpc/src/rpc/clnt_perror.c
    c/src/librpc/src/rpc/clnt_raw.c
    c/src/librpc/src/rpc/clnt_simple.c
    c/src/librpc/src/rpc/clnt_tcp.c
    c/src/librpc/src/rpc/clnt_udp.c
    c/src/librpc/src/rpc/clnt_unix.c
    c/src/librpc/src/rpc/crypt_client.c
    c/src/librpc/src/rpc/des_crypt.3
    c/src/librpc/src/rpc/des_crypt.c
    c/src/librpc/src/rpc/des_soft.c
    c/src/librpc/src/rpc/get_myaddress.c
    c/src/librpc/src/rpc/getpublickey.c
    c/src/librpc/src/rpc/getrpcent.3
    c/src/librpc/src/rpc/getrpcent.c
    c/src/librpc/src/rpc/getrpcport.3
    c/src/librpc/src/rpc/getrpcport.c
    c/src/librpc/src/rpc/key_call.c
    c/src/librpc/src/rpc/key_prot_xdr.c
    c/src/librpc/src/rpc/netname.c
    c/src/librpc/src/rpc/netnamer.c
    c/src/librpc/src/rpc/pmap_clnt.c
    c/src/librpc/src/rpc/pmap_getmaps.c
    c/src/librpc/src/rpc/pmap_getport.c
    c/src/librpc/src/rpc/pmap_prot.c
    c/src/librpc/src/rpc/pmap_prot2.c
    c/src/librpc/src/rpc/pmap_rmt.c
    c/src/librpc/src/rpc/publickey.3
    c/src/librpc/src/rpc/publickey.5
    c/src/librpc/src/rpc/rpc.3
    c/src/librpc/src/rpc/rpc.5
    c/src/librpc/src/rpc/rpc_callmsg.c
    c/src/librpc/src/rpc/rpc_commondata.c
    c/src/librpc/src/rpc/rpc_dtablesize.c
    c/src/librpc/src/rpc/rpc_prot.c
    c/src/librpc/src/rpc/rpc_secure.3
    c/src/librpc/src/rpc/rpcdname.c
    c/src/librpc/src/rpc/rstat.1
    c/src/librpc/src/rpc/rstat_svc.8
    c/src/librpc/src/rpc/rtime.3
    c/src/librpc/src/rpc/rtime.c
    c/src/librpc/src/rpc/svc.c
    c/src/librpc/src/rpc/svc_auth.c
    c/src/librpc/src/rpc/svc_auth_des.c
    c/src/librpc/src/rpc/svc_auth_unix.c
    c/src/librpc/src/rpc/svc_raw.c
    c/src/librpc/src/rpc/svc_run.c
    c/src/librpc/src/rpc/svc_simple.c
    c/src/librpc/src/rpc/svc_tcp.c
    c/src/librpc/src/rpc/svc_udp.c
    c/src/librpc/src/rpc/svc_unix.c
    c/src/librpc/src/xdr/Makefile.am
    c/src/librpc/src/xdr/xdr.3
    c/src/librpc/src/xdr/xdr.c
    c/src/librpc/src/xdr/xdr_array.c
    c/src/librpc/src/xdr/xdr_float.c
    c/src/librpc/src/xdr/xdr_mem.c
    c/src/librpc/src/xdr/xdr_rec.c
    c/src/librpc/src/xdr/xdr_reference.c
    c/src/librpc/src/xdr/xdr_sizeof.c
    c/src/librpc/src/xdr/xdr_stdio.c
2000-04-29 19:13:20 +00:00
Joel Sherrill
b797468c04 Removed as part of merging RPC/XDR upgrade from Eric Norum. 2000-04-29 19:09:48 +00:00
Joel Sherrill
cd7024d520 removed unused variables. 2000-04-29 14:59:31 +00:00
Joel Sherrill
d554ca0bf9 Patch from John M. Mills <jmills@tga.com> to do some cleanup and use
-O4 at both debug and optimized levels.  There is still a speed setting
problem but the sample tests run.
2000-04-28 19:51:00 +00:00
Joel Sherrill
a06c5f5b22 Temporarily disable libxdr until the complete patch is in. 2000-04-28 19:45:20 +00:00
Joel Sherrill
a974d6a0c9 Patch rtems-4.5-rc-18-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
The patch below is a work-around to the "make/gmake" problem.

  This only works if gmake-only users set MAKE=gmake at configuration time
  or explicitly set it from the environment at make-time.

  IIRC, this should be sufficient for ./bit users, because it explicitly
  exports MAKE.
2000-04-28 19:44:39 +00:00
Joel Sherrill
42b7ffaeb6 Updated to new versions. 2000-04-28 18:32:16 +00:00
Joel Sherrill
92bc357886 Modifed to properly support aliased that support multiprocessing. 2000-04-28 18:31:43 +00:00
Joel Sherrill
2f82b35cee New files from Eric Norum missed in previous commit. 2000-04-28 17:44:03 +00:00
cvs2git
6ff83a45b0 This commit was manufactured by cvs2svn to create branch 'rtems-4-5-branch'.
Cherrypick from master 2000-04-28 17:42:16 UTC Joel Sherrill <joel.sherrill@OARcorp.com> 'New files added on 4.5 branch.':
    c/src/libnetworking/memory.h
    c/src/libnetworking/sys/un.h
2000-04-28 17:42:17 +00:00
Joel Sherrill
ccbbfe3be2 Patch from "Alan Harry" <alan@crossware.com> to fix a problem where
the wrong variables were being cleared.
2000-04-27 20:11:05 +00:00
Joel Sherrill
fc1459f560 Patch from Eric Norum <eric@cls.usask.ca> to initiate upgrading
librpc to a more complete version.
2000-04-27 18:24:51 +00:00
Joel Sherrill
92ba047699 Patches rtems-rc-4.5.0-16-cvs.diff and rtems-rc-4.5.0-17-cvs.diff
from Ralf Corsepius <corsepiu@faw.uni-ulm.de> that address the following:

  * NoSource: 0, 1 in rpm-specs does not work anymore under SuSE-6.4
    (rpm-3.0.4), putting each NoSource: onto a separate line however seems
    to work. Unfortunately, I don't know the actual cause for this, esp. if
    SuSE broke it or if rpm-specs specification has changed (i.e.
    Redhat broke it up).
  * Add *.spec to several .cvsignores (Prevents cvs from complaining about
    <target>*.spec within the source-tree).
2000-04-18 13:18:34 +00:00
Joel Sherrill
8812023ee9 Patches rtems-rc-4.5.0-16-cvs.diff and rtems-rc-4.5.0-17-cvs.diff
from Ralf Corsepius <corsepiu@faw.uni-ulm.de> that address the following:

  * NoSource: 0, 1 in rpm-specs does not work anymore under SuSE-6.4
    (rpm-3.0.4), putting each NoSource: onto a separate line however seems
    to work. Unfortunately, I don't know the actual cause for this, esp. if
    SuSE broke it or if rpm-specs specification has changed (i.e.
    Redhat broke it up).
  * Add *.spec to several .cvsignores (Prevents cvs from complaining about
    <target>*.spec within the source-tree).
2000-04-18 13:10:39 +00:00
Joel Sherrill
8f5da34c1c Patch rtems-rc-4.5.0-15-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that addresses configuration issues for posix/linux under SuSE-6.4:

    Unbelievable as it is, SuSE has started to use i486-suse-linux as
    canonicalization triple which breaks out linux/posix/unix.
2000-04-18 13:00:20 +00:00
Joel Sherrill
a17495450f Avoid use of C++ keyword (or) as structure element name. 2000-04-18 12:57:47 +00:00
Joel Sherrill
97ad1a52e4 After investigating a problem reported by Franck Julien <FranckJ@cxr.fr>,
I discovered that when specifying -m68000 and -msoft-float to gcc 2.95.2,
it decides that the proper multilib variant is the default one which is
compiled for the m68020 and hardware floating point.  This appears to be
because there is no 68000/soft-float library variant.  This problem
applies to all m68000 class CPUs options including -m68302.
2000-04-16 17:14:36 +00:00
Joel Sherrill
dda3dc9ae7 Patch rtems-rc-4.5.0-14-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
which resolves a serious problem with the user-level RTEMS Makefiles
reported by Eric Norum <eric@cls.usask.ca>.
2000-04-16 17:04:17 +00:00
Joel Sherrill
fe8e18a98d Patch from Eric Norum <eric@cls.usask.ca> to modify the generic
m68k start code to setup the "environ" variable properly.  With
this patch, his EPICS application that runs on the gen68360
also runs on the mvmv167.
2000-04-16 17:01:18 +00:00
Joel Sherrill
e283b9098a changed version to 4.5.0-beta2 2000-04-13 16:51:12 +00:00
cvs2git
48e40a33a0 This commit was manufactured by cvs2svn to create branch 'rtems-4-5-branch'.
Cherrypick from master 2000-04-13 16:47:57 UTC Joel Sherrill <joel.sherrill@OARcorp.com> 'Patch rtems-rc-4.5.0-13-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.':
    .cvsignore
    c/.cvsignore
    c/make/.cvsignore
    c/src/.cvsignore
    c/src/exec/.cvsignore
    c/src/exec/itron/.cvsignore
    c/src/exec/itron/include/.cvsignore
    c/src/exec/itron/include/itronsys/.cvsignore
    c/src/exec/itron/include/rtems/.cvsignore
    c/src/exec/itron/include/rtems/itron/.cvsignore
    c/src/exec/itron/inline/.cvsignore
    c/src/exec/itron/inline/rtems/.cvsignore
    c/src/exec/itron/inline/rtems/itron/.cvsignore
    c/src/exec/itron/src/.cvsignore
    c/src/exec/posix/.cvsignore
    c/src/exec/posix/include/.cvsignore
    c/src/exec/posix/include/rtems/.cvsignore
    c/src/exec/posix/include/rtems/posix/.cvsignore
    c/src/exec/posix/include/sys/.cvsignore
    c/src/exec/posix/inline/.cvsignore
    c/src/exec/posix/inline/rtems/.cvsignore
    c/src/exec/posix/inline/rtems/posix/.cvsignore
    c/src/exec/posix/macros/.cvsignore
    c/src/exec/posix/macros/rtems/.cvsignore
    c/src/exec/posix/macros/rtems/posix/.cvsignore
    c/src/exec/posix/optman/.cvsignore
    c/src/exec/posix/src/.cvsignore
    c/src/exec/rtems/.cvsignore
    c/src/exec/rtems/include/.cvsignore
    c/src/exec/rtems/include/rtems/.cvsignore
    c/src/exec/rtems/include/rtems/rtems/.cvsignore
    c/src/exec/rtems/inline/.cvsignore
    c/src/exec/rtems/inline/rtems/.cvsignore
    c/src/exec/rtems/inline/rtems/rtems/.cvsignore
    c/src/exec/rtems/macros/.cvsignore
    c/src/exec/rtems/macros/rtems/.cvsignore
    c/src/exec/rtems/macros/rtems/rtems/.cvsignore
    c/src/exec/rtems/optman/.cvsignore
    c/src/exec/rtems/src/.cvsignore
    c/src/exec/sapi/.cvsignore
    c/src/exec/sapi/include/.cvsignore
    c/src/exec/sapi/include/rtems/.cvsignore
    c/src/exec/sapi/inline/.cvsignore
    c/src/exec/sapi/inline/rtems/.cvsignore
    c/src/exec/sapi/macros/.cvsignore
    c/src/exec/sapi/macros/rtems/.cvsignore
    c/src/exec/sapi/optman/.cvsignore
    c/src/exec/sapi/src/.cvsignore
    c/src/exec/score/.cvsignore
    c/src/exec/score/cpu/.cvsignore
    c/src/exec/score/cpu/a29k/.cvsignore
    c/src/exec/score/cpu/a29k/rtems/.cvsignore
    c/src/exec/score/cpu/a29k/rtems/score/.cvsignore
    c/src/exec/score/cpu/hppa1.1/.cvsignore
    c/src/exec/score/cpu/hppa1.1/rtems/.cvsignore
    c/src/exec/score/cpu/hppa1.1/rtems/score/.cvsignore
    c/src/exec/score/cpu/i386/.cvsignore
    c/src/exec/score/cpu/i386/rtems/.cvsignore
    c/src/exec/score/cpu/i386/rtems/score/.cvsignore
    c/src/exec/score/cpu/i960/.cvsignore
    c/src/exec/score/cpu/i960/rtems/.cvsignore
    c/src/exec/score/cpu/i960/rtems/score/.cvsignore
    c/src/exec/score/cpu/m68k/.cvsignore
    c/src/exec/score/cpu/m68k/rtems/.cvsignore
    c/src/exec/score/cpu/m68k/rtems/score/.cvsignore
    c/src/exec/score/cpu/mips64orion/.cvsignore
    c/src/exec/score/cpu/mips64orion/rtems/.cvsignore
    c/src/exec/score/cpu/mips64orion/rtems/score/.cvsignore
    c/src/exec/score/cpu/no_cpu/.cvsignore
    c/src/exec/score/cpu/no_cpu/rtems/.cvsignore
    c/src/exec/score/cpu/no_cpu/rtems/score/.cvsignore
    c/src/exec/score/cpu/powerpc/.cvsignore
    c/src/exec/score/cpu/powerpc/new_exception_processing/.cvsignore
    c/src/exec/score/cpu/powerpc/old_exception_processing/.cvsignore
    c/src/exec/score/cpu/powerpc/shared/.cvsignore
    c/src/exec/score/cpu/sh/.cvsignore
    c/src/exec/score/cpu/sh/rtems/.cvsignore
    c/src/exec/score/cpu/sh/rtems/score/.cvsignore
    c/src/exec/score/cpu/sparc/.cvsignore
    c/src/exec/score/cpu/sparc/rtems/.cvsignore
    c/src/exec/score/cpu/sparc/rtems/score/.cvsignore
    c/src/exec/score/cpu/unix/.cvsignore
    c/src/exec/score/cpu/unix/rtems/.cvsignore
    c/src/exec/score/cpu/unix/rtems/score/.cvsignore
    c/src/exec/score/include/.cvsignore
    c/src/exec/score/include/rtems/.cvsignore
    c/src/exec/score/include/rtems/score/.cvsignore
    c/src/exec/score/inline/.cvsignore
    c/src/exec/score/inline/rtems/.cvsignore
    c/src/exec/score/inline/rtems/score/.cvsignore
    c/src/exec/score/macros/.cvsignore
    c/src/exec/score/macros/rtems/.cvsignore
    c/src/exec/score/macros/rtems/score/.cvsignore
    c/src/exec/score/src/.cvsignore
    c/src/exec/wrapup/.cvsignore
    c/src/exec/wrapup/itron/.cvsignore
    c/src/exec/wrapup/posix/.cvsignore
    c/src/exec/wrapup/rtems/.cvsignore
    c/src/lib/.cvsignore
    c/src/lib/include/.cvsignore
    c/src/lib/include/motorola/.cvsignore
    c/src/lib/include/sys/.cvsignore
    c/src/lib/include/zilog/.cvsignore
    c/src/lib/libbsp/.cvsignore
    c/src/lib/libbsp/a29k/.cvsignore
    c/src/lib/libbsp/a29k/portsw/.cvsignore
    c/src/lib/libbsp/a29k/portsw/console/.cvsignore
    c/src/lib/libbsp/a29k/portsw/include/.cvsignore
    c/src/lib/libbsp/a29k/portsw/shmsupp/.cvsignore
    c/src/lib/libbsp/a29k/portsw/start/.cvsignore
    c/src/lib/libbsp/a29k/portsw/startup/.cvsignore
    c/src/lib/libbsp/a29k/portsw/wrapup/.cvsignore
    c/src/lib/libbsp/bare/.cvsignore
    c/src/lib/libbsp/bare/include/.cvsignore
    c/src/lib/libbsp/hppa1.1/.cvsignore
    c/src/lib/libbsp/hppa1.1/pxfl/.cvsignore
    c/src/lib/libbsp/hppa1.1/simhppa/.cvsignore
    c/src/lib/libbsp/hppa1.1/simhppa/include/.cvsignore
    c/src/lib/libbsp/hppa1.1/simhppa/shmsupp/.cvsignore
    c/src/lib/libbsp/hppa1.1/simhppa/start/.cvsignore
    c/src/lib/libbsp/hppa1.1/simhppa/startup/.cvsignore
    c/src/lib/libbsp/hppa1.1/simhppa/tools/.cvsignore
    c/src/lib/libbsp/hppa1.1/simhppa/tty/.cvsignore
    c/src/lib/libbsp/hppa1.1/simhppa/wrapup/.cvsignore
    c/src/lib/libbsp/i386/.cvsignore
    c/src/lib/libbsp/i386/i386ex/.cvsignore
    c/src/lib/libbsp/i386/i386ex/clock/.cvsignore
    c/src/lib/libbsp/i386/i386ex/console/.cvsignore
    c/src/lib/libbsp/i386/i386ex/include/.cvsignore
    c/src/lib/libbsp/i386/i386ex/network/.cvsignore
    c/src/lib/libbsp/i386/i386ex/start/.cvsignore
    c/src/lib/libbsp/i386/i386ex/startup/.cvsignore
    c/src/lib/libbsp/i386/i386ex/timer/.cvsignore
    c/src/lib/libbsp/i386/i386ex/wrapup/.cvsignore
    c/src/lib/libbsp/i386/pc386/.cvsignore
    c/src/lib/libbsp/i386/pc386/3c509/.cvsignore
    c/src/lib/libbsp/i386/pc386/clock/.cvsignore
    c/src/lib/libbsp/i386/pc386/console/.cvsignore
    c/src/lib/libbsp/i386/pc386/include/.cvsignore
    c/src/lib/libbsp/i386/pc386/ne2000/.cvsignore
    c/src/lib/libbsp/i386/pc386/start/.cvsignore
    c/src/lib/libbsp/i386/pc386/startup/.cvsignore
    c/src/lib/libbsp/i386/pc386/timer/.cvsignore
    c/src/lib/libbsp/i386/pc386/tools/.cvsignore
    c/src/lib/libbsp/i386/pc386/wd8003/.cvsignore
    c/src/lib/libbsp/i386/pc386/wrapup/.cvsignore
    c/src/lib/libbsp/i386/shared/.cvsignore
    c/src/lib/libbsp/i386/shared/comm/.cvsignore
    c/src/lib/libbsp/i386/shared/io/.cvsignore
    c/src/lib/libbsp/i386/shared/irq/.cvsignore
    c/src/lib/libbsp/i386/shared/pci/.cvsignore
    c/src/lib/libbsp/i386/ts_386ex/.cvsignore
    c/src/lib/libbsp/i386/ts_386ex/clock/.cvsignore
    c/src/lib/libbsp/i386/ts_386ex/console/.cvsignore
    c/src/lib/libbsp/i386/ts_386ex/include/.cvsignore
    c/src/lib/libbsp/i386/ts_386ex/network/.cvsignore
    c/src/lib/libbsp/i386/ts_386ex/start/.cvsignore
    c/src/lib/libbsp/i386/ts_386ex/startup/.cvsignore
    c/src/lib/libbsp/i386/ts_386ex/timer/.cvsignore
    c/src/lib/libbsp/i386/ts_386ex/tools/.cvsignore
    c/src/lib/libbsp/i386/ts_386ex/tools/debug_ada/.cvsignore
    c/src/lib/libbsp/i386/ts_386ex/tools/debug_c/.cvsignore
    c/src/lib/libbsp/i386/ts_386ex/tools/dos_sup/.cvsignore
    c/src/lib/libbsp/i386/ts_386ex/tools/network_ada/.cvsignore
    c/src/lib/libbsp/i386/ts_386ex/tools/network_ada/adasockets/.cvsignore
    c/src/lib/libbsp/i386/ts_386ex/tools/network_ada/listener/.cvsignore
    c/src/lib/libbsp/i386/ts_386ex/tools/network_ada/tcprelay/.cvsignore
    c/src/lib/libbsp/i386/ts_386ex/tools/ts_1325_ada/.cvsignore
    c/src/lib/libbsp/i386/ts_386ex/wrapup/.cvsignore
    c/src/lib/libbsp/i960/.cvsignore
    c/src/lib/libbsp/i960/cvme961/.cvsignore
    c/src/lib/libbsp/i960/cvme961/clock/.cvsignore
    c/src/lib/libbsp/i960/cvme961/console/.cvsignore
    c/src/lib/libbsp/i960/cvme961/include/.cvsignore
    c/src/lib/libbsp/i960/cvme961/shmsupp/.cvsignore
    c/src/lib/libbsp/i960/cvme961/start/.cvsignore
    c/src/lib/libbsp/i960/cvme961/startup/.cvsignore
    c/src/lib/libbsp/i960/cvme961/timer/.cvsignore
    c/src/lib/libbsp/i960/cvme961/wrapup/.cvsignore
    c/src/lib/libbsp/i960/rxgen960/.cvsignore
    c/src/lib/libbsp/i960/rxgen960/clock/.cvsignore
    c/src/lib/libbsp/i960/rxgen960/console/.cvsignore
    c/src/lib/libbsp/i960/rxgen960/include/.cvsignore
    c/src/lib/libbsp/i960/rxgen960/shmsupp/.cvsignore
    c/src/lib/libbsp/i960/rxgen960/startup/.cvsignore
    c/src/lib/libbsp/i960/rxgen960/timer/.cvsignore
    c/src/lib/libbsp/i960/rxgen960/wrapup/.cvsignore
    c/src/lib/libbsp/m68k/.cvsignore
    c/src/lib/libbsp/m68k/dmv152/.cvsignore
    c/src/lib/libbsp/m68k/dmv152/clock/.cvsignore
    c/src/lib/libbsp/m68k/dmv152/console/.cvsignore
    c/src/lib/libbsp/m68k/dmv152/include/.cvsignore
    c/src/lib/libbsp/m68k/dmv152/spurious/.cvsignore
    c/src/lib/libbsp/m68k/dmv152/start/.cvsignore
    c/src/lib/libbsp/m68k/dmv152/startup/.cvsignore
    c/src/lib/libbsp/m68k/dmv152/timer/.cvsignore
    c/src/lib/libbsp/m68k/dmv152/wrapup/.cvsignore
    c/src/lib/libbsp/m68k/efi332/.cvsignore
    c/src/lib/libbsp/m68k/efi332/clock/.cvsignore
    c/src/lib/libbsp/m68k/efi332/console/.cvsignore
    c/src/lib/libbsp/m68k/efi332/include/.cvsignore
    c/src/lib/libbsp/m68k/efi332/spurious/.cvsignore
    c/src/lib/libbsp/m68k/efi332/start/.cvsignore
    c/src/lib/libbsp/m68k/efi332/startup/.cvsignore
    c/src/lib/libbsp/m68k/efi332/timer/.cvsignore
    c/src/lib/libbsp/m68k/efi332/wrapup/.cvsignore
    c/src/lib/libbsp/m68k/efi68k/.cvsignore
    c/src/lib/libbsp/m68k/efi68k/clock/.cvsignore
    c/src/lib/libbsp/m68k/efi68k/console/.cvsignore
    c/src/lib/libbsp/m68k/efi68k/include/.cvsignore
    c/src/lib/libbsp/m68k/efi68k/spurious/.cvsignore
    c/src/lib/libbsp/m68k/efi68k/start/.cvsignore
    c/src/lib/libbsp/m68k/efi68k/startup/.cvsignore
    c/src/lib/libbsp/m68k/efi68k/timer/.cvsignore
    c/src/lib/libbsp/m68k/efi68k/wrapup/.cvsignore
    c/src/lib/libbsp/m68k/gen68302/.cvsignore
    c/src/lib/libbsp/m68k/gen68302/clock/.cvsignore
    c/src/lib/libbsp/m68k/gen68302/console/.cvsignore
    c/src/lib/libbsp/m68k/gen68302/include/.cvsignore
    c/src/lib/libbsp/m68k/gen68302/start/.cvsignore
    c/src/lib/libbsp/m68k/gen68302/startup/.cvsignore
    c/src/lib/libbsp/m68k/gen68302/timer/.cvsignore
    c/src/lib/libbsp/m68k/gen68302/wrapup/.cvsignore
    c/src/lib/libbsp/m68k/gen68340/.cvsignore
    c/src/lib/libbsp/m68k/gen68340/clock/.cvsignore
    c/src/lib/libbsp/m68k/gen68340/console/.cvsignore
    c/src/lib/libbsp/m68k/gen68340/include/.cvsignore
    c/src/lib/libbsp/m68k/gen68340/start/.cvsignore
    c/src/lib/libbsp/m68k/gen68340/startup/.cvsignore
    c/src/lib/libbsp/m68k/gen68340/timer/.cvsignore
    c/src/lib/libbsp/m68k/gen68340/wrapup/.cvsignore
    c/src/lib/libbsp/m68k/gen68360/.cvsignore
    c/src/lib/libbsp/m68k/gen68360/clock/.cvsignore
    c/src/lib/libbsp/m68k/gen68360/console/.cvsignore
    c/src/lib/libbsp/m68k/gen68360/include/.cvsignore
    c/src/lib/libbsp/m68k/gen68360/network/.cvsignore
    c/src/lib/libbsp/m68k/gen68360/start/.cvsignore
    c/src/lib/libbsp/m68k/gen68360/startup/.cvsignore
    c/src/lib/libbsp/m68k/gen68360/timer/.cvsignore
    c/src/lib/libbsp/m68k/gen68360/wrapup/.cvsignore
    c/src/lib/libbsp/m68k/idp/.cvsignore
    c/src/lib/libbsp/m68k/idp/clock/.cvsignore
    c/src/lib/libbsp/m68k/idp/console/.cvsignore
    c/src/lib/libbsp/m68k/idp/include/.cvsignore
    c/src/lib/libbsp/m68k/idp/start/.cvsignore
    c/src/lib/libbsp/m68k/idp/startup/.cvsignore
    c/src/lib/libbsp/m68k/idp/timer/.cvsignore
    c/src/lib/libbsp/m68k/idp/wrapup/.cvsignore
    c/src/lib/libbsp/m68k/mvme136/.cvsignore
    c/src/lib/libbsp/m68k/mvme136/clock/.cvsignore
    c/src/lib/libbsp/m68k/mvme136/console/.cvsignore
    c/src/lib/libbsp/m68k/mvme136/include/.cvsignore
    c/src/lib/libbsp/m68k/mvme136/shmsupp/.cvsignore
    c/src/lib/libbsp/m68k/mvme136/start/.cvsignore
    c/src/lib/libbsp/m68k/mvme136/startup/.cvsignore
    c/src/lib/libbsp/m68k/mvme136/timer/.cvsignore
    c/src/lib/libbsp/m68k/mvme136/wrapup/.cvsignore
    c/src/lib/libbsp/m68k/mvme147/.cvsignore
    c/src/lib/libbsp/m68k/mvme147/clock/.cvsignore
    c/src/lib/libbsp/m68k/mvme147/console/.cvsignore
    c/src/lib/libbsp/m68k/mvme147/include/.cvsignore
    c/src/lib/libbsp/m68k/mvme147/start/.cvsignore
    c/src/lib/libbsp/m68k/mvme147/startup/.cvsignore
    c/src/lib/libbsp/m68k/mvme147/timer/.cvsignore
    c/src/lib/libbsp/m68k/mvme147/wrapup/.cvsignore
    c/src/lib/libbsp/m68k/mvme147s/.cvsignore
    c/src/lib/libbsp/m68k/mvme147s/clock/.cvsignore
    c/src/lib/libbsp/m68k/mvme147s/console/.cvsignore
    c/src/lib/libbsp/m68k/mvme147s/include/.cvsignore
    c/src/lib/libbsp/m68k/mvme147s/shmsupp/.cvsignore
    c/src/lib/libbsp/m68k/mvme147s/start/.cvsignore
    c/src/lib/libbsp/m68k/mvme147s/startup/.cvsignore
    c/src/lib/libbsp/m68k/mvme147s/timer/.cvsignore
    c/src/lib/libbsp/m68k/mvme147s/wrapup/.cvsignore
    c/src/lib/libbsp/m68k/mvme162/.cvsignore
    c/src/lib/libbsp/m68k/mvme162/clock/.cvsignore
    c/src/lib/libbsp/m68k/mvme162/console/.cvsignore
    c/src/lib/libbsp/m68k/mvme162/consolex/.cvsignore
    c/src/lib/libbsp/m68k/mvme162/include/.cvsignore
    c/src/lib/libbsp/m68k/mvme162/start/.cvsignore
    c/src/lib/libbsp/m68k/mvme162/startup/.cvsignore
    c/src/lib/libbsp/m68k/mvme162/timer/.cvsignore
    c/src/lib/libbsp/m68k/mvme162/tod/.cvsignore
    c/src/lib/libbsp/m68k/mvme162/tools/.cvsignore
    c/src/lib/libbsp/m68k/mvme162/wrapup/.cvsignore
    c/src/lib/libbsp/m68k/mvme167/.cvsignore
    c/src/lib/libbsp/m68k/mvme167/clock/.cvsignore
    c/src/lib/libbsp/m68k/mvme167/console/.cvsignore
    c/src/lib/libbsp/m68k/mvme167/fatal/.cvsignore
    c/src/lib/libbsp/m68k/mvme167/include/.cvsignore
    c/src/lib/libbsp/m68k/mvme167/network/.cvsignore
    c/src/lib/libbsp/m68k/mvme167/start/.cvsignore
    c/src/lib/libbsp/m68k/mvme167/startup/.cvsignore
    c/src/lib/libbsp/m68k/mvme167/timer/.cvsignore
    c/src/lib/libbsp/m68k/mvme167/times
    c/src/lib/libbsp/m68k/mvme167/wrapup/.cvsignore
    c/src/lib/libbsp/m68k/ods68302/.cvsignore
    c/src/lib/libbsp/m68k/ods68302/clock/.cvsignore
    c/src/lib/libbsp/m68k/ods68302/console/.cvsignore
    c/src/lib/libbsp/m68k/ods68302/include/.cvsignore
    c/src/lib/libbsp/m68k/ods68302/start/.cvsignore
    c/src/lib/libbsp/m68k/ods68302/startup/.cvsignore
    c/src/lib/libbsp/m68k/ods68302/timer/.cvsignore
    c/src/lib/libbsp/m68k/ods68302/wrapup/.cvsignore
    c/src/lib/libbsp/m68k/shared/.cvsignore
    c/src/lib/libbsp/mips/p4000/liblnk/.cvsignore
    c/src/lib/libbsp/mips64orion/.cvsignore
    c/src/lib/libbsp/mips64orion/p4000/.cvsignore
    c/src/lib/libbsp/mips64orion/p4000/console/.cvsignore
    c/src/lib/libbsp/mips64orion/p4000/include/.cvsignore
    c/src/lib/libbsp/mips64orion/p4000/liblnk/.cvsignore
    c/src/lib/libbsp/mips64orion/p4000/start/.cvsignore
    c/src/lib/libbsp/mips64orion/p4000/startup/.cvsignore
    c/src/lib/libbsp/mips64orion/p4000/wrapup/.cvsignore
    c/src/lib/libbsp/no_cpu/.cvsignore
    c/src/lib/libbsp/no_cpu/no_bsp/.cvsignore
    c/src/lib/libbsp/no_cpu/no_bsp/clock/.cvsignore
    c/src/lib/libbsp/no_cpu/no_bsp/console/.cvsignore
    c/src/lib/libbsp/no_cpu/no_bsp/include/.cvsignore
    c/src/lib/libbsp/no_cpu/no_bsp/shmsupp/.cvsignore
    c/src/lib/libbsp/no_cpu/no_bsp/startup/.cvsignore
    c/src/lib/libbsp/no_cpu/no_bsp/timer/.cvsignore
    c/src/lib/libbsp/no_cpu/no_bsp/wrapup/.cvsignore
    c/src/lib/libbsp/powerpc/.cvsignore
    c/src/lib/libbsp/powerpc/dmv177/.cvsignore
    c/src/lib/libbsp/powerpc/dmv177/clock/.cvsignore
    c/src/lib/libbsp/powerpc/dmv177/console/.cvsignore
    c/src/lib/libbsp/powerpc/dmv177/include/.cvsignore
    c/src/lib/libbsp/powerpc/dmv177/scv64/.cvsignore
    c/src/lib/libbsp/powerpc/dmv177/sonic/.cvsignore
    c/src/lib/libbsp/powerpc/dmv177/start/.cvsignore
    c/src/lib/libbsp/powerpc/dmv177/startup/.cvsignore
    c/src/lib/libbsp/powerpc/dmv177/timer/.cvsignore
    c/src/lib/libbsp/powerpc/dmv177/tod/.cvsignore
    c/src/lib/libbsp/powerpc/dmv177/wrapup/.cvsignore
    c/src/lib/libbsp/powerpc/eth_comm/.cvsignore
    c/src/lib/libbsp/powerpc/eth_comm/canbus/.cvsignore
    c/src/lib/libbsp/powerpc/eth_comm/console/.cvsignore
    c/src/lib/libbsp/powerpc/eth_comm/include/.cvsignore
    c/src/lib/libbsp/powerpc/eth_comm/network/.cvsignore
    c/src/lib/libbsp/powerpc/eth_comm/start/.cvsignore
    c/src/lib/libbsp/powerpc/eth_comm/startup/.cvsignore
    c/src/lib/libbsp/powerpc/eth_comm/wrapup/.cvsignore
    c/src/lib/libbsp/powerpc/helas403/.cvsignore
    c/src/lib/libbsp/powerpc/helas403/dlentry/.cvsignore
    c/src/lib/libbsp/powerpc/helas403/flashentry/.cvsignore
    c/src/lib/libbsp/powerpc/helas403/include/.cvsignore
    c/src/lib/libbsp/powerpc/helas403/startup/.cvsignore
    c/src/lib/libbsp/powerpc/helas403/wrapup/.cvsignore
    c/src/lib/libbsp/powerpc/motorola_powerpc/.cvsignore
    c/src/lib/libbsp/powerpc/motorola_powerpc/bootloader/.cvsignore
    c/src/lib/libbsp/powerpc/motorola_powerpc/clock/.cvsignore
    c/src/lib/libbsp/powerpc/motorola_powerpc/console/.cvsignore
    c/src/lib/libbsp/powerpc/motorola_powerpc/include/.cvsignore
    c/src/lib/libbsp/powerpc/motorola_powerpc/irq/.cvsignore
    c/src/lib/libbsp/powerpc/motorola_powerpc/motorola/.cvsignore
    c/src/lib/libbsp/powerpc/motorola_powerpc/openpic/.cvsignore
    c/src/lib/libbsp/powerpc/motorola_powerpc/pci/.cvsignore
    c/src/lib/libbsp/powerpc/motorola_powerpc/residual/.cvsignore
    c/src/lib/libbsp/powerpc/motorola_powerpc/start/.cvsignore
    c/src/lib/libbsp/powerpc/motorola_powerpc/startup/.cvsignore
    c/src/lib/libbsp/powerpc/motorola_powerpc/vectors/.cvsignore
    c/src/lib/libbsp/powerpc/motorola_powerpc/wrapup/.cvsignore
    c/src/lib/libbsp/powerpc/papyrus/.cvsignore
    c/src/lib/libbsp/powerpc/papyrus/dlentry/.cvsignore
    c/src/lib/libbsp/powerpc/papyrus/flashentry/.cvsignore
    c/src/lib/libbsp/powerpc/papyrus/include/.cvsignore
    c/src/lib/libbsp/powerpc/papyrus/startup/.cvsignore
    c/src/lib/libbsp/powerpc/papyrus/wrapup/.cvsignore
    c/src/lib/libbsp/powerpc/ppcn_60x/.cvsignore
    c/src/lib/libbsp/powerpc/ppcn_60x/clock/.cvsignore
    c/src/lib/libbsp/powerpc/ppcn_60x/console/.cvsignore
    c/src/lib/libbsp/powerpc/ppcn_60x/include/.cvsignore
    c/src/lib/libbsp/powerpc/ppcn_60x/network/.cvsignore
    c/src/lib/libbsp/powerpc/ppcn_60x/nvram/.cvsignore
    c/src/lib/libbsp/powerpc/ppcn_60x/pci/.cvsignore
    c/src/lib/libbsp/powerpc/ppcn_60x/start/.cvsignore
    c/src/lib/libbsp/powerpc/ppcn_60x/startup/.cvsignore
    c/src/lib/libbsp/powerpc/ppcn_60x/timer/.cvsignore
    c/src/lib/libbsp/powerpc/ppcn_60x/tod/.cvsignore
    c/src/lib/libbsp/powerpc/ppcn_60x/universe/.cvsignore
    c/src/lib/libbsp/powerpc/ppcn_60x/vectors/.cvsignore
    c/src/lib/libbsp/powerpc/ppcn_60x/wrapup/.cvsignore
    c/src/lib/libbsp/powerpc/psim/.cvsignore
    c/src/lib/libbsp/powerpc/psim/clock/.cvsignore
    c/src/lib/libbsp/powerpc/psim/console/.cvsignore
    c/src/lib/libbsp/powerpc/psim/include/.cvsignore
    c/src/lib/libbsp/powerpc/psim/shmsupp/.cvsignore
    c/src/lib/libbsp/powerpc/psim/start/.cvsignore
    c/src/lib/libbsp/powerpc/psim/startup/.cvsignore
    c/src/lib/libbsp/powerpc/psim/timer/.cvsignore
    c/src/lib/libbsp/powerpc/psim/tools/.cvsignore
    c/src/lib/libbsp/powerpc/psim/vectors/.cvsignore
    c/src/lib/libbsp/powerpc/psim/wrapup/.cvsignore
    c/src/lib/libbsp/powerpc/score603e/.cvsignore
    c/src/lib/libbsp/powerpc/score603e/PCI_bus/.cvsignore
    c/src/lib/libbsp/powerpc/score603e/clock/.cvsignore
    c/src/lib/libbsp/powerpc/score603e/console/.cvsignore
    c/src/lib/libbsp/powerpc/score603e/include/.cvsignore
    c/src/lib/libbsp/powerpc/score603e/start/.cvsignore
    c/src/lib/libbsp/powerpc/score603e/startup/.cvsignore
    c/src/lib/libbsp/powerpc/score603e/timer/.cvsignore
    c/src/lib/libbsp/powerpc/score603e/tod/.cvsignore
    c/src/lib/libbsp/powerpc/score603e/vectors/.cvsignore
    c/src/lib/libbsp/powerpc/score603e/wrapup/.cvsignore
    c/src/lib/libbsp/powerpc/shared/.cvsignore
    c/src/lib/libbsp/powerpc/shared/bootloader/.cvsignore
    c/src/lib/libbsp/powerpc/shared/clock/.cvsignore
    c/src/lib/libbsp/powerpc/shared/console/.cvsignore
    c/src/lib/libbsp/powerpc/shared/include/.cvsignore
    c/src/lib/libbsp/powerpc/shared/irq/.cvsignore
    c/src/lib/libbsp/powerpc/shared/motorola/.cvsignore
    c/src/lib/libbsp/powerpc/shared/openpic/.cvsignore
    c/src/lib/libbsp/powerpc/shared/pci/.cvsignore
    c/src/lib/libbsp/powerpc/shared/residual/.cvsignore
    c/src/lib/libbsp/powerpc/shared/start/.cvsignore
    c/src/lib/libbsp/powerpc/shared/startup/.cvsignore
    c/src/lib/libbsp/powerpc/shared/vectors/.cvsignore
    c/src/lib/libbsp/sh/.cvsignore
    c/src/lib/libbsp/sh/gensh1/.cvsignore
    c/src/lib/libbsp/sh/gensh1/console/.cvsignore
    c/src/lib/libbsp/sh/gensh1/include/.cvsignore
    c/src/lib/libbsp/sh/gensh1/scitab/.cvsignore
    c/src/lib/libbsp/sh/gensh1/start/.cvsignore
    c/src/lib/libbsp/sh/gensh1/startup/.cvsignore
    c/src/lib/libbsp/sh/gensh1/wrapup/.cvsignore
    c/src/lib/libbsp/sh/gensh2/.cvsignore
    c/src/lib/libbsp/sh/gensh2/console/.cvsignore
    c/src/lib/libbsp/sh/gensh2/include/.cvsignore
    c/src/lib/libbsp/sh/gensh2/scitab/.cvsignore
    c/src/lib/libbsp/sh/gensh2/start/.cvsignore
    c/src/lib/libbsp/sh/gensh2/startup/.cvsignore
    c/src/lib/libbsp/sh/gensh2/wrapup/.cvsignore
    c/src/lib/libbsp/sh/shared/.cvsignore
    c/src/lib/libbsp/shmdr/.cvsignore
    c/src/lib/libbsp/sparc/.cvsignore
    c/src/lib/libbsp/sparc/erc32/.cvsignore
    c/src/lib/libbsp/sparc/erc32/clock/.cvsignore
    c/src/lib/libbsp/sparc/erc32/console/.cvsignore
    c/src/lib/libbsp/sparc/erc32/gnatsupp/.cvsignore
    c/src/lib/libbsp/sparc/erc32/include/.cvsignore
    c/src/lib/libbsp/sparc/erc32/start/.cvsignore
    c/src/lib/libbsp/sparc/erc32/startup/.cvsignore
    c/src/lib/libbsp/sparc/erc32/timer/.cvsignore
    c/src/lib/libbsp/sparc/erc32/tools/.cvsignore
    c/src/lib/libbsp/sparc/erc32/wrapup/.cvsignore
    c/src/lib/libbsp/unix/.cvsignore
    c/src/lib/libbsp/unix/posix/.cvsignore
    c/src/lib/libbsp/unix/posix/clock/.cvsignore
    c/src/lib/libbsp/unix/posix/console/.cvsignore
    c/src/lib/libbsp/unix/posix/include/.cvsignore
    c/src/lib/libbsp/unix/posix/shmsupp/.cvsignore
    c/src/lib/libbsp/unix/posix/startup/.cvsignore
    c/src/lib/libbsp/unix/posix/timer/.cvsignore
    c/src/lib/libbsp/unix/posix/tools/.cvsignore
    c/src/lib/libbsp/unix/posix/wrapup/.cvsignore
    c/src/lib/libc/.cvsignore
    c/src/lib/libcpu/.cvsignore
    c/src/lib/libcpu/a29k/.cvsignore
    c/src/lib/libcpu/a29k/clock/.cvsignore
    c/src/lib/libcpu/a29k/timer/.cvsignore
    c/src/lib/libcpu/hppa1.1/.cvsignore
    c/src/lib/libcpu/hppa1.1/clock/.cvsignore
    c/src/lib/libcpu/hppa1.1/include/.cvsignore
    c/src/lib/libcpu/hppa1.1/milli/.cvsignore
    c/src/lib/libcpu/hppa1.1/semaphore/.cvsignore
    c/src/lib/libcpu/hppa1.1/timer/.cvsignore
    c/src/lib/libcpu/i386/.cvsignore
    c/src/lib/libcpu/m68k/.cvsignore
    c/src/lib/libcpu/m68k/m68040/.cvsignore
    c/src/lib/libcpu/m68k/m68040/fpsp/.cvsignore
    c/src/lib/libcpu/mips64orion/.cvsignore
    c/src/lib/libcpu/mips64orion/clock/.cvsignore
    c/src/lib/libcpu/mips64orion/timer/.cvsignore
    c/src/lib/libcpu/powerpc/.cvsignore
    c/src/lib/libcpu/powerpc/mpc505/.cvsignore
    c/src/lib/libcpu/powerpc/mpc505/timer/.cvsignore
    c/src/lib/libcpu/powerpc/mpc505/vectors/.cvsignore
    c/src/lib/libcpu/powerpc/mpc6xx/.cvsignore
    c/src/lib/libcpu/powerpc/mpc6xx/clock/.cvsignore
    c/src/lib/libcpu/powerpc/mpc6xx/exceptions/.cvsignore
    c/src/lib/libcpu/powerpc/mpc6xx/mmu/.cvsignore
    c/src/lib/libcpu/powerpc/mpc6xx/timer/.cvsignore
    c/src/lib/libcpu/powerpc/mpc6xx/wrapup/.cvsignore
    c/src/lib/libcpu/powerpc/mpc821/.cvsignore
    c/src/lib/libcpu/powerpc/mpc821/clock/.cvsignore
    c/src/lib/libcpu/powerpc/mpc821/console-generic/.cvsignore
    c/src/lib/libcpu/powerpc/mpc821/include/.cvsignore
    c/src/lib/libcpu/powerpc/mpc821/timer/.cvsignore
    c/src/lib/libcpu/powerpc/mpc821/vectors/.cvsignore
    c/src/lib/libcpu/powerpc/mpc860/.cvsignore
    c/src/lib/libcpu/powerpc/mpc860/clock/.cvsignore
    c/src/lib/libcpu/powerpc/mpc860/console-generic/.cvsignore
    c/src/lib/libcpu/powerpc/mpc860/include/.cvsignore
    c/src/lib/libcpu/powerpc/mpc860/timer/.cvsignore
    c/src/lib/libcpu/powerpc/mpc860/vectors/.cvsignore
    c/src/lib/libcpu/powerpc/ppc403/.cvsignore
    c/src/lib/libcpu/powerpc/ppc403/clock/.cvsignore
    c/src/lib/libcpu/powerpc/ppc403/console/.cvsignore
    c/src/lib/libcpu/powerpc/ppc403/ictrl/.cvsignore
    c/src/lib/libcpu/powerpc/ppc403/timer/.cvsignore
    c/src/lib/libcpu/powerpc/ppc403/vectors/.cvsignore
    c/src/lib/libcpu/powerpc/shared/.cvsignore
    c/src/lib/libcpu/powerpc/wrapup/.cvsignore
    c/src/lib/libcpu/sh/.cvsignore
    c/src/lib/libcpu/sh/sh7032/.cvsignore
    c/src/lib/libcpu/sh/sh7032/clock/.cvsignore
    c/src/lib/libcpu/sh/sh7032/delay/.cvsignore
    c/src/lib/libcpu/sh/sh7032/include/.cvsignore
    c/src/lib/libcpu/sh/sh7032/null/.cvsignore
    c/src/lib/libcpu/sh/sh7032/sci/.cvsignore
    c/src/lib/libcpu/sh/sh7032/timer/.cvsignore
    c/src/lib/libcpu/sh/sh7045/.cvsignore
    c/src/lib/libcpu/sh/sh7045/clock/.cvsignore
    c/src/lib/libcpu/sh/sh7045/include/.cvsignore
    c/src/lib/libcpu/sh/sh7045/null/.cvsignore
    c/src/lib/libcpu/sh/sh7045/sci/.cvsignore
    c/src/lib/libcpu/sh/sh7045/timer/.cvsignore
    c/src/lib/libcpu/sparc/.cvsignore
    c/src/lib/libcpu/sparc/reg_win/.cvsignore
    c/src/lib/libcpu/sparc/syscall/.cvsignore
    c/src/libchip/.cvsignore
    c/src/libchip/network/.cvsignore
    c/src/libchip/rtc/.cvsignore
    c/src/libchip/serial/.cvsignore
    c/src/libmisc/.cvsignore
    c/src/libmisc/cpuuse/.cvsignore
    c/src/libmisc/dummy/.cvsignore
    c/src/libmisc/dumpbuf/.cvsignore
    c/src/libmisc/monitor/.cvsignore
    c/src/libmisc/rtmonuse/.cvsignore
    c/src/libmisc/stackchk/.cvsignore
    c/src/libmisc/untar/.cvsignore
    c/src/libmisc/wrapup/.cvsignore
    c/src/libnetworking/.cvsignore
    c/src/libnetworking/arpa/.cvsignore
    c/src/libnetworking/include/.cvsignore
    c/src/libnetworking/kern/.cvsignore
    c/src/libnetworking/lib/.cvsignore
    c/src/libnetworking/libc/.cvsignore
    c/src/libnetworking/machine/.cvsignore
    c/src/libnetworking/net/.cvsignore
    c/src/libnetworking/netinet/.cvsignore
    c/src/libnetworking/nfs/.cvsignore
    c/src/libnetworking/pppd/.cvsignore
    c/src/libnetworking/rtems/.cvsignore
    c/src/libnetworking/rtems_servers/.cvsignore
    c/src/libnetworking/rtems_webserver/.cvsignore
    c/src/libnetworking/sys/.cvsignore
    c/src/libnetworking/vm/.cvsignore
    c/src/libnetworking/wrapup/.cvsignore
    c/src/librdbg/.cvsignore
    c/src/librdbg/include/.cvsignore
    c/src/librdbg/include/rdbg/.cvsignore
    c/src/librdbg/include/rdbg/i386/.cvsignore
    c/src/librdbg/include/rdbg/powerpc/.cvsignore
    c/src/librdbg/src/.cvsignore
    c/src/librdbg/src/i386/.cvsignore
    c/src/librdbg/src/i386/any/.cvsignore
    c/src/librdbg/src/powerpc/.cvsignore
    c/src/librdbg/src/powerpc/mcp750/.cvsignore
    c/src/librdbg/src/powerpc/new_exception_processing/.cvsignore
    c/src/librpc/.cvsignore
    c/src/librpc/include/.cvsignore
    c/src/librpc/include/rpc/.cvsignore
    c/src/librpc/src/.cvsignore
    c/src/librtems++/.cvsignore
    c/src/librtems++/include/.cvsignore
    c/src/librtems++/include/rtems++/.cvsignore
    c/src/librtems++/src/.cvsignore
    c/src/make/.cvsignore
    c/src/make/compilers/.cvsignore
    c/src/make/custom/.cvsignore
    c/src/tests/.cvsignore
    c/src/tests/itrontests/.cvsignore
    c/src/tests/itrontests/itronhello/.cvsignore
    c/src/tests/itrontests/itronmbf01/.cvsignore
    c/src/tests/itrontests/itronmbox01/.cvsignore
    c/src/tests/itrontests/itronsem01/.cvsignore
    c/src/tests/itrontests/itrontask01/.cvsignore
    c/src/tests/itrontests/itrontask02/.cvsignore
    c/src/tests/itrontests/itrontask03/.cvsignore
    c/src/tests/itrontests/itrontask04/.cvsignore
    c/src/tests/itrontests/itrontime01/.cvsignore
    c/src/tests/libtests/.cvsignore
    c/src/tests/libtests/cpuuse/.cvsignore
    c/src/tests/libtests/malloctest/.cvsignore
    c/src/tests/libtests/monitor/.cvsignore
    c/src/tests/libtests/putenvtest/.cvsignore
    c/src/tests/libtests/rtems++/.cvsignore
    c/src/tests/libtests/rtmonuse/.cvsignore
    c/src/tests/libtests/stackchk/.cvsignore
    c/src/tests/libtests/termios/.cvsignore
    c/src/tests/mptests/.cvsignore
    c/src/tests/mptests/mp01/.cvsignore
    c/src/tests/mptests/mp01/node1/.cvsignore
    c/src/tests/mptests/mp01/node2/.cvsignore
    c/src/tests/mptests/mp02/.cvsignore
    c/src/tests/mptests/mp02/node1/.cvsignore
    c/src/tests/mptests/mp02/node2/.cvsignore
    c/src/tests/mptests/mp03/.cvsignore
    c/src/tests/mptests/mp03/node1/.cvsignore
    c/src/tests/mptests/mp03/node2/.cvsignore
    c/src/tests/mptests/mp04/.cvsignore
    c/src/tests/mptests/mp04/node1/.cvsignore
    c/src/tests/mptests/mp04/node2/.cvsignore
    c/src/tests/mptests/mp05/.cvsignore
    c/src/tests/mptests/mp05/node1/.cvsignore
    c/src/tests/mptests/mp05/node2/.cvsignore
    c/src/tests/mptests/mp06/.cvsignore
    c/src/tests/mptests/mp06/node1/.cvsignore
    c/src/tests/mptests/mp06/node2/.cvsignore
    c/src/tests/mptests/mp07/.cvsignore
    c/src/tests/mptests/mp07/node1/.cvsignore
    c/src/tests/mptests/mp07/node2/.cvsignore
    c/src/tests/mptests/mp08/.cvsignore
    c/src/tests/mptests/mp08/node1/.cvsignore
    c/src/tests/mptests/mp08/node2/.cvsignore
    c/src/tests/mptests/mp09/.cvsignore
    c/src/tests/mptests/mp09/node1/.cvsignore
    c/src/tests/mptests/mp09/node2/.cvsignore
    c/src/tests/mptests/mp10/.cvsignore
    c/src/tests/mptests/mp10/node1/.cvsignore
    c/src/tests/mptests/mp10/node2/.cvsignore
    c/src/tests/mptests/mp11/.cvsignore
    c/src/tests/mptests/mp11/node1/.cvsignore
    c/src/tests/mptests/mp11/node2/.cvsignore
    c/src/tests/mptests/mp12/.cvsignore
    c/src/tests/mptests/mp12/node1/.cvsignore
    c/src/tests/mptests/mp12/node2/.cvsignore
    c/src/tests/mptests/mp13/.cvsignore
    c/src/tests/mptests/mp13/node1/.cvsignore
    c/src/tests/mptests/mp13/node2/.cvsignore
    c/src/tests/mptests/mp14/.cvsignore
    c/src/tests/mptests/mp14/node1/.cvsignore
    c/src/tests/mptests/mp14/node2/.cvsignore
    c/src/tests/psxtests/.cvsignore
    c/src/tests/psxtests/include/.cvsignore
    c/src/tests/psxtests/psx01/.cvsignore
    c/src/tests/psxtests/psx02/.cvsignore
    c/src/tests/psxtests/psx03/.cvsignore
    c/src/tests/psxtests/psx04/.cvsignore
    c/src/tests/psxtests/psx05/.cvsignore
    c/src/tests/psxtests/psx06/.cvsignore
    c/src/tests/psxtests/psx07/.cvsignore
    c/src/tests/psxtests/psx08/.cvsignore
    c/src/tests/psxtests/psx09/.cvsignore
    c/src/tests/psxtests/psx10/.cvsignore
    c/src/tests/psxtests/psx11/.cvsignore
    c/src/tests/psxtests/psx12/.cvsignore
    c/src/tests/psxtests/psx13/.cvsignore
    c/src/tests/psxtests/psxcancel/.cvsignore
    c/src/tests/psxtests/psxfile01/.cvsignore
    c/src/tests/psxtests/psxhdrs/.cvsignore
    c/src/tests/psxtests/psxmount/.cvsignore
    c/src/tests/psxtests/psxmsgq01/.cvsignore
    c/src/tests/psxtests/psxreaddir/.cvsignore
    c/src/tests/psxtests/psxsem01/.cvsignore
    c/src/tests/psxtests/psxstat/.cvsignore
    c/src/tests/psxtests/psxtime/.cvsignore
    c/src/tests/psxtests/psxtimer/.cvsignore
    c/src/tests/samples/.cvsignore
    c/src/tests/samples/base_mp/.cvsignore
    c/src/tests/samples/base_mp/node1/.cvsignore
    c/src/tests/samples/base_mp/node2/.cvsignore
    c/src/tests/samples/base_sp/.cvsignore
    c/src/tests/samples/cdtest/.cvsignore
    c/src/tests/samples/hello/.cvsignore
    c/src/tests/samples/minimum/.cvsignore
    c/src/tests/samples/paranoia/.cvsignore
    c/src/tests/samples/ticker/.cvsignore
    c/src/tests/samples/unlimited/.cvsignore
    c/src/tests/sptests/.cvsignore
    c/src/tests/sptests/sp01/.cvsignore
    c/src/tests/sptests/sp02/.cvsignore
    c/src/tests/sptests/sp03/.cvsignore
    c/src/tests/sptests/sp04/.cvsignore
    c/src/tests/sptests/sp05/.cvsignore
    c/src/tests/sptests/sp06/.cvsignore
    c/src/tests/sptests/sp07/.cvsignore
    c/src/tests/sptests/sp08/.cvsignore
    c/src/tests/sptests/sp09/.cvsignore
    c/src/tests/sptests/sp11/.cvsignore
    c/src/tests/sptests/sp12/.cvsignore
    c/src/tests/sptests/sp13/.cvsignore
    c/src/tests/sptests/sp14/.cvsignore
    c/src/tests/sptests/sp15/.cvsignore
    c/src/tests/sptests/sp16/.cvsignore
    c/src/tests/sptests/sp17/.cvsignore
    c/src/tests/sptests/sp19/.cvsignore
    c/src/tests/sptests/sp20/.cvsignore
    c/src/tests/sptests/sp21/.cvsignore
    c/src/tests/sptests/sp22/.cvsignore
    c/src/tests/sptests/sp23/.cvsignore
    c/src/tests/sptests/sp24/.cvsignore
    c/src/tests/sptests/sp25/.cvsignore
    c/src/tests/sptests/sp26/.cvsignore
    c/src/tests/sptests/sp27/.cvsignore
    c/src/tests/sptests/sp28/.cvsignore
    c/src/tests/sptests/sp29/.cvsignore
    c/src/tests/sptests/spfatal/.cvsignore
    c/src/tests/sptests/spsize/.cvsignore
    c/src/tests/support/.cvsignore
    c/src/tests/support/include/.cvsignore
    c/src/tests/support/stubdr/.cvsignore
    c/src/tests/support/wrapup/.cvsignore
    c/src/tests/tmitrontests/.cvsignore
    c/src/tests/tmitrontests/include/.cvsignore
    c/src/tests/tmitrontests/tmitronsem01/.cvsignore
    c/src/tests/tmtests/.cvsignore
    c/src/tests/tmtests/include/.cvsignore
    c/src/tests/tmtests/tm01/.cvsignore
    c/src/tests/tmtests/tm02/.cvsignore
    c/src/tests/tmtests/tm03/.cvsignore
    c/src/tests/tmtests/tm04/.cvsignore
    c/src/tests/tmtests/tm05/.cvsignore
    c/src/tests/tmtests/tm06/.cvsignore
    c/src/tests/tmtests/tm07/.cvsignore
    c/src/tests/tmtests/tm08/.cvsignore
    c/src/tests/tmtests/tm09/.cvsignore
    c/src/tests/tmtests/tm10/.cvsignore
    c/src/tests/tmtests/tm11/.cvsignore
    c/src/tests/tmtests/tm12/.cvsignore
    c/src/tests/tmtests/tm13/.cvsignore
    c/src/tests/tmtests/tm14/.cvsignore
    c/src/tests/tmtests/tm15/.cvsignore
    c/src/tests/tmtests/tm16/.cvsignore
    c/src/tests/tmtests/tm17/.cvsignore
    c/src/tests/tmtests/tm18/.cvsignore
    c/src/tests/tmtests/tm19/.cvsignore
    c/src/tests/tmtests/tm20/.cvsignore
    c/src/tests/tmtests/tm21/.cvsignore
    c/src/tests/tmtests/tm22/.cvsignore
    c/src/tests/tmtests/tm23/.cvsignore
    c/src/tests/tmtests/tm24/.cvsignore
    c/src/tests/tmtests/tm25/.cvsignore
    c/src/tests/tmtests/tm26/.cvsignore
    c/src/tests/tmtests/tm27/.cvsignore
    c/src/tests/tmtests/tm28/.cvsignore
    c/src/tests/tmtests/tm29/.cvsignore
    c/src/tests/tmtests/tmck/.cvsignore
    c/src/tests/tmtests/tmoverhd/.cvsignore
    c/src/tests/tools/.cvsignore
    c/src/tests/tools/generic/.cvsignore
    c/src/wrapup/.cvsignore
    doc/.cvsignore
    make/.cvsignore
    make/Templates/.cvsignore
    make/compilers/.cvsignore
    make/custom/.cvsignore
    scripts-ada/.cvsignore
    scripts-ada/binutils/.cvsignore
    scripts-ada/gdb/.cvsignore
    scripts-ada/gnatnewlib/.cvsignore
    scripts/.cvsignore
    scripts/binutils/.cvsignore
    scripts/gccnewlib/.cvsignore
    scripts/gdb/.cvsignore
    scripts/rtems/.cvsignore
    tools/.cvsignore
    tools/build/.cvsignore
    tools/cpu/.cvsignore
    tools/cpu/generic/.cvsignore
    tools/cpu/hppa1.1/.cvsignore
    tools/cpu/sh/.cvsignore
    tools/cpu/unix/.cvsignore
    tools/update/.cvsignore
2000-04-13 16:47:58 +00:00
Joel Sherrill
0e136bed14 Patch rtems-rc-4.5.0-12-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
The patch contains two mid-severity bug fixes:

  - bootstrap: fix autoheader invocation
  - make/host.cfg.in: comment out RM, required by c/src/make/host.cfg.in,
    which is generated from make/host.cfg.in
2000-04-13 13:47:28 +00:00
Joel Sherrill
e0d1ba5fa5 Modified CVS Id. 2000-04-13 13:46:19 +00:00
Joel Sherrill
a7d5b16341 Modified Id. 2000-04-13 13:45:52 +00:00
Joel Sherrill
dddbc444a0 Renamed IMFS structure elements to avoid conflicts on Solaris host/target.
Reported by Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
2000-04-13 13:40:20 +00:00
Joel Sherrill
6c48c6eec8 Modified to disable interrupts while checking signals. 2000-04-13 13:37:29 +00:00
Joel Sherrill
f3fea8685f M68k BSPs compile and link again after making Ramsize handling as
consistent as possible across all m68k BSPs.
2000-04-13 13:00:41 +00:00
Joel Sherrill
2e34e9f106 Added note indicating source of expected assertion. 2000-04-11 20:19:59 +00:00
Joel Sherrill
206ca3ae79 Honor no data cache macro setting. Problem reported by Wilfried Busalski
<fue@lancier.de>.
2000-04-07 19:39:27 +00:00
Joel Sherrill
09652b9ff2 Cleanup patch from John Cotton <John.Cotton@nrc.ca>. 2000-04-07 19:10:44 +00:00
Joel Sherrill
f50952c9d3 Patch from Charles-Antoine Gauthier <charles.gauthier@nrc.ca> after
feedback from Eric Norum <eric@skatter.usask.ca> on static and
dynamic RAM sizing issues while still having as much shared
code as possible across the m68k BSPs.
2000-04-07 19:04:12 +00:00
Joel Sherrill
cc655a57ef Patch from Eric Norum <eric@cls.usask.ca> to make the loopback interface
actually work.  This was tripped by EPICS.
2000-04-07 19:01:01 +00:00
Joel Sherrill
755c630210 Cleanup patch rtems-rc-4.5.0-11-cvs.diff from Ralf Corsepius
<corsepiu@faw.uni-ulm.de>.
2000-04-05 19:39:01 +00:00
Joel Sherrill
6e48c9b206 Cleanup patch from Ralf Corsepius. 2000-04-05 19:37:04 +00:00
Joel Sherrill
0315b79ba6 Added support for Cygwin. 2000-04-05 19:32:36 +00:00
Joel Sherrill
35ff211959 Now all m68k BSPs specify _RamBase. This is necessary for the shared
m68kbsppretaskinghook.c to work.
2000-04-05 19:09:06 +00:00
Joel Sherrill
bb734ccaa8 Patch from Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
to update the mvme167 BSP and account for the fact that RAM base
does not have to start at 0.
2000-04-05 18:24:48 +00:00
cvs2git
ce70a16674 This commit was manufactured by cvs2svn to create branch 'rtems-4-5-branch'.
Cherrypick from master 2000-04-05 13:27:52 UTC Joel Sherrill <joel.sherrill@OARcorp.com> 'New file.  Copied from i386ex BSP as missing from submission.':
    c/src/lib/libbsp/m68k/mvme167/network/Makefile.am
    c/src/lib/libbsp/m68k/mvme167/network/netexterns.h
    c/src/lib/libbsp/m68k/mvme167/network/network.c
    c/src/lib/libbsp/m68k/mvme167/network/uti596.h
    make/custom/Cygwin-posix.cfg
2000-04-05 13:27:53 +00:00
Joel Sherrill
cbbc442efc Added cygwin as simulator port. 2000-04-05 13:10:57 +00:00
Joel Sherrill
0c67e4aca6 Patch from Charles-Antoine Gauthier <charles.gauthier@nrc.ca> to go
along with the network driver.
2000-04-05 12:55:10 +00:00
Joel Sherrill
12edad69e3 Patch rtems-rc-4.5-10-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
Ralf's description of the patch follows:

  Now that make VARIANT=xxx has prooven not to be simple enough, I made up
  my mind to change again the internals of the mechanism being used to
  handle variants:

  With the patch below, I introduce the indirection step I had mentioned
  in one of my recent mails to translate settings of VARIANT.

  The trick is to use the contents of VARIANT as keyword to lookup another
  internal keyword (VARIANT_V), which then is used as keyword to lookup
  values for setting ARCH, LIB_VARIANT, LIBSUFFIX_VA and AM_CFLAGS from
  ARCH_$(VARIANT_V)_V etc. (cf automake/local.am).

  This means, at first to translate
    VARIANT=[optimize|OPTIMIZE] into VARIANT_V=OPTIMIZE
    VARIANT=[debug|DEBUG] into VARIANT_V=DEBUG
    VARIANT=[profile|PROFILE] into VARIANT_V=PROFILE
    VARIANT=<anything> into VARIANT_V=<anything>

  => perform keyword conversion to uppercase and reduction from 6 to 3+1
    internal keywords.

  $(VARIANT_V) then is used to lookup make variables from other tables
  (eg. CFLAGS_*_V).  Eg. ARCH is set up this way:

    ARCH_OPTIMIZE_V = o-optimize
    ARCH_DEBUG_V = o-debug
    ARCH_PROFILE_V = o-profile
    ARCH__V = $(ARCH_OPTIMIZE_V)
    ARCH = $(ARCH_$(VARIANT_V)_V)

  Note the ARCH__V variable. When VARIANT=<anything> is passed to make,
  VARIANT_V=<anything> will be set, resulting into ARCH =
  $(ARCH_$(<anything>)_V) = $(ARCH__V) = $(ARCH_OPTIMIZE_V), ie. falling
  back to OPTIMIZE.

  => o- or o-<anything> should never popup anymore.
2000-04-05 12:51:51 +00:00
Joel Sherrill
a899433e54 Patch rtems-rc-4.5.0-8-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
Fixes a problem related to an old bug in automake-1.4 which already had
broken other Makefile.ams in RTEMS (cf. ./c/src/lib/libbsp/bsp.am).
2000-04-04 19:04:33 +00:00
Joel Sherrill
ad3c8e860e Patch rtems-rc-4.5.0-8-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
The patch contains:

* make uninstall will only work if called from below
  <target_alias>/c/<BSP> of if all BSPs in RTEMS_BSP_LIST have been built
  previously (c/Makefile will choke otherwise). Not perfect but better
  than nothing.
2000-04-04 19:02:52 +00:00
Joel Sherrill
a7c46db906 Fixed typo. 2000-04-04 12:53:06 +00:00
Joel Sherrill
c34eb10f55 Patch rtems-rc-4.5.0-7-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
The patch contains:

  * Many small cleanups wrt. make VARIANT=[DEBUG|PROFILE] support
  * several modifications to make/custom/*.cfg
  * Merger with the mvme2307.cfg you had posted two weeks ago (Please
    check it, I did not check it against to version you posted today).
  * Added a check to the toplevel configure.in to refuse building inside
    of the source tree.
2000-04-03 20:01:31 +00:00
cvs2git
cc2ccd6e71 This commit was manufactured by cvs2svn to create branch 'rtems-4-5-branch'.
Cherrypick from master 2000-04-03 19:56:54 UTC Joel Sherrill <joel.sherrill@OARcorp.com> 'New file from Ralf Corsepius <corsepiu@faw.uni-ulm.de> as part of':
    c/src/make/leaf.cfg
2000-04-03 19:56:55 +00:00
Joel Sherrill
562f5c8591 Added cygwin as mapping to unix port. 2000-04-03 19:01:31 +00:00
Joel Sherrill
7f02ee73ff Patch from Eric Norum <eric@cls.usask.ca> to prevent leaking MT_SONAME
mbuf's in the network stack.
2000-04-03 17:30:31 +00:00
Joel Sherrill
33677ef548 Enhancements from Charles-Antoine Gauthier <charles.gauthier@nrc.ca>. 2000-04-03 15:31:17 +00:00
Joel Sherrill
effc2c4e6b Patch rtems-rc-4.5.0-6-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
The patch contains:

  * build variants support
  * Reworked make-exe custom/*.cfg for all targets (Should be
    self-explanatory, may still be incomplete)
  * Several fixes to custom/*.cfgs related to setting debug flags
  * Fixes to some bsp_specs for BSPs which apparently have never been
    build with debugging before ;)
  * pc386.cfg fix attempts (cf. my mail from earlier today)
  * Updated ampolish (No need to run it, the patch contains the result
    from having applied it)

Known bugs/deficiencies related to this work:

  * "make [clean|distclean]" support is still incomplete (e.g. "make
    clean" does not delete all Depends-o-*)
  * Completely untested for linux/posix and hppa.
  * Build failures of i960 BSPs (make VARIANT=DEBUG) - I guess, they are
    not related to this patch.
  * Successfully tested for all sh, sparc, i386, ppc, m68k BSPs (make
    VARIANT=DEBUG)
  * make VARIANT=PROFILE not supported by all BSPs (I don't care :)
  * make VARIANT=DEBUG failures below tests/ for some BSPs (e.g. gensh1),
    because of the tests's binaries being too large to fit into the target
    memory layout.
2000-04-03 14:44:39 +00:00
Joel Sherrill
0d744abbcc Patch from Jay Kulpinski <jskulpin@eng01.gdds.com> that makes
sure the mvme2307 BSP uses new exception processing.  Jay included
modifications to the make-exe rule to build bootable binary images
but I (being Joel) am unsure if the way they jump around the tree is
OK for both automake/autoconf and post-install usage.
2000-04-03 14:03:11 +00:00
Joel Sherrill
52448f35e9 Patch from Jay Kulpinski <jskulpin@eng01.gdds.com> that addresses
a floating point support problem discovered with the mvme2307 BSP.
A floating point not available exception would occur when trying
to switch to a new thread with the floating point attribute.
Floating point instructions were disabled, but floating point
loads and stores were needed to save and/or restore the context.
2000-04-03 13:57:34 +00:00
Joel Sherrill
d2d4372da0 Patch from Charles-Antoine Gauthier <charles.gauthier@nrc.ca> reviewed
by Eric Norum <eric@cls.usask.ca> to disable flow control at initialization.
2000-04-03 13:24:38 +00:00
Joel Sherrill
7ea9f1dc08 Patch from Eric Norum <eric@cls.usask.ca> so simple binary semaphores
can be deleted when held.
2000-04-03 13:10:50 +00:00
Joel Sherrill
969525fe2f Added missing include of <sys/types.h> required by added prototypes. 2000-03-23 13:57:13 +00:00
Joel Sherrill
94795bbda6 Patch rtems-rc-4.5.0-5-cvs.diff from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> that allows bootstrap to be run
from subdirectories.
2000-03-22 14:04:02 +00:00
Joel Sherrill
96cf181204 Removed referecnes to BSP specific files. Other corrections
will likely be needed in the efi332 BSP.
2000-03-21 21:35:47 +00:00
Joel Sherrill
776d6963ae Corrected mpc505/mpc509 support based on patch from Wilfried Busalski
<fue@lancier.de>.
2000-03-21 21:33:38 +00:00
Joel Sherrill
af7a0ed984 Patch from Eric Norum <eric@cls.usask.ca> to correct calls to
memset().  The arguments for value and size were reversed everywhere.
2000-03-21 20:15:09 +00:00
Joel Sherrill
05a346681d Patch from Gunter Magin <magin@skil.camelot.de> where the type was
not large enough to support high baud rates.

  brg_spd[] is an array which stores the baud rates, for which one of the 4
  available BRG dividers has been set. The array is used for deciding if a
  BRG devider may be reused.

  > 1.  What baud_rate and divisor is causing this to fail?

  divisor is dependent on the system clock (Cpu_table.clock_speed), and gets
  calculated in m860_get_brg_cd.

  m860_get_brg_clk fails for any baudrates > (2^16-1), as those baudrates are
  truncated to 16 bit which is the size of a short. In fact, as it has been a
  short and not an unsigned short, it will fail at any baudrate >(2^15-1). In
  any case, it failed for my application, which required 250000 Baud.
2000-03-21 18:35:00 +00:00
Joel Sherrill
abbf55b924 Ran ampolish after getting new version from Ralf Corsepius
<corsepiu@faw.uni-ulm.de>.
2000-03-21 18:05:29 +00:00
Joel Sherrill
6f921ba886 Ran ampolish after getting new version from Ralf Corsepius
<corsepiu@faw.uni-ulm.de>.
2000-03-21 17:57:21 +00:00
Joel Sherrill
67077a1b46 Patches rtems-rc-4.5.0-1.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that addresses the following:

    * Duplicate variables in Makefiles (many Makefile.ams below c/src/test
      are affected systematically)
    * Erroniously using local.am instead of host.am in host-Makefile.am
      (Only host Makefile.ams should be affected; Erroniously using local.am
      in host-Makefiles doesn't desturb much)
    * use '.' instead of '$pwd' in ./bootstrap (using $pwd does not work if
      $pwd is a symlink on linux).
    * Broken CVS Ids somewhere
    * Removing redundant/obsolete make variables from *.cfg files.

  Except of the last item from the list above, most parts of this patch
  are fairly harmless, sometimes even cosmetical.

  As mentioned before, this patch also contains a new ampolish script.

  This script features:
    * Pretty printing of Makefile.ams (eg. removal of trailing spaces,
      removal of duplicate empty lines, pretty printing make variables, etc.).

    * Some syntactical checks on the contents of Makefiles.am
    * Proper handling of Automake conditionals

  FYI:
    * Applying tools/update/rtems-polish.sh -am completely reformats all
      Makefile.am resulting into a very large (~500k) diff.
    * Applying tools/update/rtems-polish.sh -am twice, finally does not
      reformat the Makefile.ams anymore.
    * Many parts of the patch above result from merging back issues which
      have shown when applying this new ampolish (i.e. partially result from
      extracting the essentials of reformating being proposed by applying it
      on Makefile.ams).

    Though this ampolish is a very nice tool, IMHO, I am hestitant if you
    should apply (i.e. run tools/update/rtems-polish.sh -am) it to the
    sources before the release, because
      * the resulting diff is fairly large
      * I am not 100% sure it doesn't break anything.

    However, applying it after the release would result into compatibility
    problems in applying patches ;)

    I would suggest that you might consider trying it locally, then to
    examine the diff and then to decide whether to apply it in general or
    not.

Joel's Comments:

As Ralf points out, this patch is problematic in that applying it before
a release could break things but applying it afterwards will result in
patches being unusable for Makefiles.  My inclination is to forge ahead
and apply it.
2000-03-21 17:11:40 +00:00
Joel Sherrill
15b6e46f70 Patch from Charles-Antoine Gauthier <charles.gauthier@nrc.ca>
to fix problem where wait() was in this file -- not waitpid().
2000-03-21 15:56:54 +00:00
Joel Sherrill
d56669456a After Charles-Antoine Gauthier <charles.gauthier@nrc.ca> spotted that the
prototype for tcsendbreak() was missing, Joel noticed that others were as
well and added them.
2000-03-21 15:36:48 +00:00
Joel Sherrill
d6b047703d Patch from Gunter Magin <magin@skil.camelot.de>.
It seems to me I have found a bug in m860_smc_initialize(). This
    function lives in
    c/src/lib/libcpu/powerpc/mpc860/console-generic/console-generic.c.

    The following lines are supposed to set the simode register with the
    baud rate generator index, which has been returned from m860_get_brg_clk().

    (line 386 of console-generic.c)
        /*
         * Put SMC in NMSI mode, connect SMC to BRG
         */
        m860.simode &= ~0x7000 << ((port-1) * 8);
        m860.simode |= brg << (12 + ((port-1) * 8));

    This works well for port == 1 (SMC1), however for SMC2 (port == 2) it
    fails. First, the simode register consists of 2 16bit parts (one for
    SMC1 and SMC2 respectively), hence the shift count is wrong. Second ~0x7000
    (which is 0xffff8fff is shifted left and pulls 0 from the right, which
    kills the SMC1 entries, when written back to the simode register.

    Substitute those lines by:

        m860.simode &= ~(0x7000 << ((port-1) * 16));
        m860.simode |= brg << (12 + ((port-1) * 16));

    I have checked snapshot 20000218a which still contains the bug.

    Also affected is libcpu/powerpc/mpc821/console_generic.c, which is a
    cut&paste&substitue decendant of the mpc860 console-generic.c.
CVS: ----------------------------------------------------------------------
CVS: Enter Log.  Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS:  Tag: rtems-4-5-branch
CVS: 	console-generic.c
CVS: ----------------------------------------------------------------------
2000-03-21 15:06:04 +00:00
Joel Sherrill
218103dd35 Patch from Gunter Magin <magin@skil.camelot.de>.
It seems to me I have found a bug in m860_smc_initialize(). This
    function lives in
    c/src/lib/libcpu/powerpc/mpc860/console-generic/console-generic.c.

    The following lines are supposed to set the simode register with the
    baud rate generator index, which has been returned from m860_get_brg_clk().

    (line 386 of console-generic.c)
        /*
         * Put SMC in NMSI mode, connect SMC to BRG
         */
        m860.simode &= ~0x7000 << ((port-1) * 8);
        m860.simode |= brg << (12 + ((port-1) * 8));

    This works well for port == 1 (SMC1), however for SMC2 (port == 2) it
    fails. First, the simode register consists of 2 16bit parts (one for
    SMC1 and SMC2 respectively), hence the shift count is wrong. Second ~0x7000
    (which is 0xffff8fff is shifted left and pulls 0 from the right, which
    kills the SMC1 entries, when written back to the simode register.

    Substitute those lines by:

        m860.simode &= ~(0x7000 << ((port-1) * 16));
        m860.simode |= brg << (12 + ((port-1) * 16));

    I have checked snapshot 20000218a which still contains the bug.

    Also affected is libcpu/powerpc/mpc821/console_generic.c, which is a
    cut&paste&substitue decendant of the mpc860 console-generic.c.
2000-03-21 15:05:19 +00:00
Joel Sherrill
477f3471f8 Problem reported by Chris Johns <ccj@acm.org> that webcomp.c was being
built and included in the target code.  It is a host utility.
2000-03-21 14:46:40 +00:00
Joel Sherrill
89fbb94136 changed version to 4.5.0-beta1c 2000-02-29 14:19:26 +00:00
Joel Sherrill
ac11adeb5b Fixed one type and switched to including the correct Makefile support file. 2000-02-28 15:00:28 +00:00
Joel Sherrill
0ac819756c Patches rtems-rc-4.5.0-1.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that fixes numerous miscellaneous issues most related to the debug and
profile build stanzas:

  Fix for the "make debug" (1) issue and an analogous issue with "make
  profile" (untested).
    * Fixes to mcp750.cfg (make debug, directories) (2)
    * Updates/minor fixes for shgen (3)
    * Updates some custom/*.cfgs to use $(LINK.c) instead of  $(CC)
    * Leftovers from rtems-rc-4.5.0-[0|1].diff which somehow did not make it
      into cvs.
    * Cleanups to the perlscripts below tools/update/
    * Some unsorted minor fixes.

 Footnotes/Remarks:
    (1) Tested for all m68k, sh, sparc, unix and selected i386, ppc BSPs.

    Known problems: I can't build the debug variant for the m68k/mvme162 and
    m68k/mvme162lx (segmentation fault - signal 11 :)

    (2) Tested by building the BSP, but I doubt the debug-variant is
    functional. The flags used for the debug variant should be checked by
    knowledgeable persons and probably at runtime #:o)

    (3) I have updated shgen to use getopt_long (it should fall back to
    getopt if not available), enhanced the options, cleaned up some minor
    tweaks and added help2man support (rough automatic man-page generation).

  Technical notes:
    * make debug and make profile now work similar in target Makefile.ams as
    they did in old autoconf-Makefile.ins using leaf.cfg. Unlike the rules
    in leaf.cfg these Makefile.am also recurse once on themselves in
    directory Makefiles before or after recursing into subdirectories, not
    only in leaf-directories.
    To implement this behavior, I renamed the former automake/local.am into
    automake/host.am and extended local.am to provide this recursion.
    I.e. host.am implements the non-self-recursive variant, while local.am
    now implements the self-recursive behavior.
    => all Makefile.ams exploiting build-variants are supposed to include
    local.am
    => all Makefile.ams not exploiting build-variants should include host.am

    => Rules of thumb:
        - Only include one of both, either local.am or host.am into a
        Makefile.am.
        -Target-Makefile.ams should include local.am
        -Host-Makefile.ams should include host.am (Probably, you now understand
        the naming)
        - There are exceptions from these rules :)

    * Now, make debug|profile|all are independent of each other. However,
    each of them however triggers preinstall.

    * "make install" still decends into the subdirectories but does not
    trigger "all|profile|debug|preinstall" in target Makefile.am anymore.
    Besides triggering "install"-rules in some selected Makefile.ams, it
    only packs $(PROJECT_ROOT) into a tarballs and unpacks it to $(prefix).
    => "make install" alone is not enough to install RTEMS, now use
    make RTEMS_BSP=<bsps> [all] [debug] [profile]
    make RTEMS_BSP=<bsp> install

    I consider this to be a step back wrt. exploiting automake mechanisms,
    and expect this to be reverted if we abandon building target variants in
    favour of the standard convention of optionally overriding flags from
    the command line (i.e. instead of "make debug", GNU standards favor
    "make CFLAGS=<options> --prefix=<location>")
2000-02-25 18:50:47 +00:00
Joel Sherrill
02c31b9c10 Patches rtems-rc-4.5.0-1.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that fixes numerous miscellaneous issues most related to the debug and
profile build stanzas:

  Fix for the "make debug" (1) issue and an analogous issue with "make
  profile" (untested).
    * Fixes to mcp750.cfg (make debug, directories) (2)
    * Updates/minor fixes for shgen (3)
    * Updates some custom/*.cfgs to use $(LINK.c) instead of  $(CC)
    * Leftovers from rtems-rc-4.5.0-[0|1].diff which somehow did not make it
      into cvs.
    * Cleanups to the perlscripts below tools/update/
    * Some unsorted minor fixes.

 Footnotes/Remarks:
    (1) Tested for all m68k, sh, sparc, unix and selected i386, ppc BSPs.

    Known problems: I can't build the debug variant for the m68k/mvme162 and
    m68k/mvme162lx (segmentation fault - signal 11 :)

    (2) Tested by building the BSP, but I doubt the debug-variant is
    functional. The flags used for the debug variant should be checked by
    knowledgeable persons and probably at runtime #:o)

    (3) I have updated shgen to use getopt_long (it should fall back to
    getopt if not available), enhanced the options, cleaned up some minor
    tweaks and added help2man support (rough automatic man-page generation).

  Technical notes:
    * make debug and make profile now work similar in target Makefile.ams as
    they did in old autoconf-Makefile.ins using leaf.cfg. Unlike the rules
    in leaf.cfg these Makefile.am also recurse once on themselves in
    directory Makefiles before or after recursing into subdirectories, not
    only in leaf-directories.
    To implement this behavior, I renamed the former automake/local.am into
    automake/host.am and extended local.am to provide this recursion.
    I.e. host.am implements the non-self-recursive variant, while local.am
    now implements the self-recursive behavior.
    => all Makefile.ams exploiting build-variants are supposed to include
    local.am
    => all Makefile.ams not exploiting build-variants should include host.am

    => Rules of thumb:
        - Only include one of both, either local.am or host.am into a
        Makefile.am.
        -Target-Makefile.ams should include local.am
        -Host-Makefile.ams should include host.am (Probably, you now understand
        the naming)
        - There are exceptions from these rules :)

    * Now, make debug|profile|all are independent of each other. However,
    each of them however triggers preinstall.

    * "make install" still decends into the subdirectories but does not
    trigger "all|profile|debug|preinstall" in target Makefile.am anymore.
    Besides triggering "install"-rules in some selected Makefile.ams, it
    only packs $(PROJECT_ROOT) into a tarballs and unpacks it to $(prefix).
    => "make install" alone is not enough to install RTEMS, now use
    make RTEMS_BSP=<bsps> [all] [debug] [profile]
    make RTEMS_BSP=<bsp> install

    I consider this to be a step back wrt. exploiting automake mechanisms,
    and expect this to be reverted if we abandon building target variants in
    favour of the standard convention of optionally overriding flags from
    the command line (i.e. instead of "make debug", GNU standards favor
    "make CFLAGS=<options> --prefix=<location>")
2000-02-25 17:34:26 +00:00
Joel Sherrill
99eb5852f5 Patches rtems-rc-4.5.0-1.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that fixes numerous miscellaneous issues most related to the debug and
profile build stanzas:

  Fix for the "make debug" (1) issue and an analogous issue with "make
  profile" (untested).
    * Fixes to mcp750.cfg (make debug, directories) (2)
    * Updates/minor fixes for shgen (3)
    * Updates some custom/*.cfgs to use $(LINK.c) instead of  $(CC)
    * Leftovers from rtems-rc-4.5.0-[0|1].diff which somehow did not make it
      into cvs.
    * Cleanups to the perlscripts below tools/update/
    * Some unsorted minor fixes.

 Footnotes/Remarks:
    (1) Tested for all m68k, sh, sparc, unix and selected i386, ppc BSPs.

    Known problems: I can't build the debug variant for the m68k/mvme162 and
    m68k/mvme162lx (segmentation fault - signal 11 :)

    (2) Tested by building the BSP, but I doubt the debug-variant is
    functional. The flags used for the debug variant should be checked by
    knowledgeable persons and probably at runtime #:o)

    (3) I have updated shgen to use getopt_long (it should fall back to
    getopt if not available), enhanced the options, cleaned up some minor
    tweaks and added help2man support (rough automatic man-page generation).

  Technical notes:
    * make debug and make profile now work similar in target Makefile.ams as
    they did in old autoconf-Makefile.ins using leaf.cfg. Unlike the rules
    in leaf.cfg these Makefile.am also recurse once on themselves in
    directory Makefiles before or after recursing into subdirectories, not
    only in leaf-directories.
    To implement this behavior, I renamed the former automake/local.am into
    automake/host.am and extended local.am to provide this recursion.
    I.e. host.am implements the non-self-recursive variant, while local.am
    now implements the self-recursive behavior.
    => all Makefile.ams exploiting build-variants are supposed to include
    local.am
    => all Makefile.ams not exploiting build-variants should include host.am

    => Rules of thumb:
        - Only include one of both, either local.am or host.am into a
        Makefile.am.
        -Target-Makefile.ams should include local.am
        -Host-Makefile.ams should include host.am (Probably, you now understand
        the naming)
        - There are exceptions from these rules :)

    * Now, make debug|profile|all are independent of each other. However,
    each of them however triggers preinstall.

    * "make install" still decends into the subdirectories but does not
    trigger "all|profile|debug|preinstall" in target Makefile.am anymore.
    Besides triggering "install"-rules in some selected Makefile.ams, it
    only packs $(PROJECT_ROOT) into a tarballs and unpacks it to $(prefix).
    => "make install" alone is not enough to install RTEMS, now use
    make RTEMS_BSP=<bsps> [all] [debug] [profile]
    make RTEMS_BSP=<bsp> install

    I consider this to be a step back wrt. exploiting automake mechanisms,
    and expect this to be reverted if we abandon building target variants in
    favour of the standard convention of optionally overriding flags from
    the command line (i.e. instead of "make debug", GNU standards favor
    "make CFLAGS=<options> --prefix=<location>")
2000-02-25 15:03:10 +00:00
Joel Sherrill
77b2b0ec5b Patches rtems-rc-4.5.0-1.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that fixes numerous miscellaneous issues most related to the debug and
profile build stanzas:

  Fix for the "make debug" (1) issue and an analogous issue with "make
  profile" (untested).
    * Fixes to mcp750.cfg (make debug, directories) (2)
    * Updates/minor fixes for shgen (3)
    * Updates some custom/*.cfgs to use $(LINK.c) instead of  $(CC)
    * Leftovers from rtems-rc-4.5.0-[0|1].diff which somehow did not make it
      into cvs.
    * Cleanups to the perlscripts below tools/update/
    * Some unsorted minor fixes.

 Footnotes/Remarks:
    (1) Tested for all m68k, sh, sparc, unix and selected i386, ppc BSPs.

    Known problems: I can't build the debug variant for the m68k/mvme162 and
    m68k/mvme162lx (segmentation fault - signal 11 :)

    (2) Tested by building the BSP, but I doubt the debug-variant is
    functional. The flags used for the debug variant should be checked by
    knowledgeable persons and probably at runtime #:o)

    (3) I have updated shgen to use getopt_long (it should fall back to
    getopt if not available), enhanced the options, cleaned up some minor
    tweaks and added help2man support (rough automatic man-page generation).

  Technical notes:
    * make debug and make profile now work similar in target Makefile.ams as
    they did in old autoconf-Makefile.ins using leaf.cfg. Unlike the rules
    in leaf.cfg these Makefile.am also recurse once on themselves in
    directory Makefiles before or after recursing into subdirectories, not
    only in leaf-directories.
    To implement this behavior, I renamed the former automake/local.am into
    automake/host.am and extended local.am to provide this recursion.
    I.e. host.am implements the non-self-recursive variant, while local.am
    now implements the self-recursive behavior.
    => all Makefile.ams exploiting build-variants are supposed to include
    local.am
    => all Makefile.ams not exploiting build-variants should include host.am

    => Rules of thumb:
        - Only include one of both, either local.am or host.am into a
        Makefile.am.
        -Target-Makefile.ams should include local.am
        -Host-Makefile.ams should include host.am (Probably, you now understand
        the naming)
        - There are exceptions from these rules :)

    * Now, make debug|profile|all are independent of each other. However,
    each of them however triggers preinstall.

    * "make install" still decends into the subdirectories but does not
    trigger "all|profile|debug|preinstall" in target Makefile.am anymore.
    Besides triggering "install"-rules in some selected Makefile.ams, it
    only packs $(PROJECT_ROOT) into a tarballs and unpacks it to $(prefix).
    => "make install" alone is not enough to install RTEMS, now use
    make RTEMS_BSP=<bsps> [all] [debug] [profile]
    make RTEMS_BSP=<bsp> install

    I consider this to be a step back wrt. exploiting automake mechanisms,
    and expect this to be reverted if we abandon building target variants in
    favour of the standard convention of optionally overriding flags from
    the command line (i.e. instead of "make debug", GNU standards favor
    "make CFLAGS=<options> --prefix=<location>")
2000-02-25 14:51:28 +00:00
Joel Sherrill
06f190b9b6 Correcting them so they have a chance of working. They need to
at least include $(RTEMS_MAKEFILE_PATH)/Makefile.in before including
anything else.
2000-02-23 21:15:37 +00:00
Joel Sherrill
7209360a09 Fix based on report from Jake Janovetz <janovetz@tempest.ece.uiuc.edu>
that some files needed to be installed so you could build your own
version of the web server initialization code.
2000-02-23 16:01:11 +00:00
Joel Sherrill
f362fa7698 Fixed based on report from Peter Pointner <pr@schenk.isar.de> that
POSIX threads passed the incorrect pointer to a default name on
the stack.  POSIX threads did not need a name and neither did
ITRON tasks so this code was eliminated from both APIs.
2000-02-23 15:59:20 +00:00
Joel Sherrill
06383557e0 Patch rtems-rc-4.5.0-diff from Ralf Corsepius to address a problem
where user Makefiles where accidentally used when using the RTEMS
application Makefile scheme.
2000-02-19 15:46:40 +00:00
Joel Sherrill
2de8b1b2fa Small patch from Peter Pointner <pr@schenk.isar.de> to correct
invalid use of directive_failed macro.
2000-02-18 14:30:56 +00:00
Joel Sherrill
1509336283 Patch from Eric Norum <eric@cls.usask.ca> to address these issues:
1) Coalesce outgoing packet into a single mbuf when the packet is spread
      over more mbufs than configured transmit buffer descriptors.
   2) Add dianostic counters for successful and failed coalesce attempts.
   3) Add diagnostic counter for transmit retries.

NOTE: (1) lead to deadlock and the same design based on underlying
hardware characteristics is currently also in the Sonic and
i386ex/network driver.
2000-02-18 13:53:06 +00:00
Joel Sherrill
56616af310 Patch rtems-rc-4.5.0-1.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which contains a couple of minor bug fixes:

  Fixes:
    * Typos: Use LIB_VARIANT instead of LIBVARIANT
    * Fix pc386.cfg
2000-02-16 17:47:48 +00:00
Joel Sherrill
319d298851 Changed <= to < to prevent overindexing array of file control blocks
(rtems_libio_iops).
2000-02-15 21:01:27 +00:00
cvs2git
d5e3931159 This commit was manufactured by cvs2svn to create branch 'rtems-4-5-branch'.
Sprout from master 2000-02-11 15:54:47 UTC Joel Sherrill <joel.sherrill@OARcorp.com> 'Increased block size to 128 and added comments based on feedback from'
Delete:
    c/src/ada-tests/mptests/mp01/config.h
    c/src/ada-tests/mptests/mp01/mp01.adb
    c/src/ada-tests/mptests/mp01/mptest.adb
    c/src/ada-tests/mptests/mp01/mptest.ads
    c/src/ada-tests/mptests/mp01/node1/mp01.scn
    c/src/ada-tests/mptests/mp01/node1/mptest-per_node_configuration.adb
    c/src/ada-tests/mptests/mp01/node2/mp01.scn
    c/src/ada-tests/mptests/mp01/node2/mptest-per_node_configuration.adb
    c/src/ada-tests/mptests/mp02/mptest.adb
    c/src/ada-tests/mptests/mp02/mptest.ads
    c/src/ada-tests/mptests/mp02/node1/mp02.scn
    c/src/ada-tests/mptests/mp02/node1/mptest-per_node_configuration.adb
    c/src/ada-tests/mptests/mp02/node2/mp02.scn
    c/src/ada-tests/mptests/mp02/node2/mptest-per_node_configuration.adb
    c/src/ada-tests/mptests/mp03/mptest.adb
    c/src/ada-tests/mptests/mp03/mptest.ads
    c/src/ada-tests/mptests/mp03/node1/mp03.scn
    c/src/ada-tests/mptests/mp03/node1/mptest-per_node_configuration.adb
    c/src/ada-tests/mptests/mp03/node2/mp03.scn
    c/src/ada-tests/mptests/mp03/node2/mptest-per_node_configuration.adb
    c/src/ada-tests/mptests/mp04/mptest.adb
    c/src/ada-tests/mptests/mp04/mptest.ads
    c/src/ada-tests/mptests/mp04/node1/mp04.scn
    c/src/ada-tests/mptests/mp04/node1/mptest-per_node_configuration.adb
    c/src/ada-tests/mptests/mp04/node2/mp04.scn
    c/src/ada-tests/mptests/mp04/node2/mptest-per_node_configuration.adb
    c/src/ada-tests/mptests/mp05/mptest.adb
    c/src/ada-tests/mptests/mp05/mptest.ads
    c/src/ada-tests/mptests/mp05/node1/mp05.scn
    c/src/ada-tests/mptests/mp05/node1/mptest-per_node_configuration.adb
    c/src/ada-tests/mptests/mp05/node2/mp05.scn
    c/src/ada-tests/mptests/mp05/node2/mptest-per_node_configuration.adb
    c/src/ada-tests/mptests/mp06/mptest.adb
    c/src/ada-tests/mptests/mp06/mptest.ads
    c/src/ada-tests/mptests/mp06/node1/mp06.scn
    c/src/ada-tests/mptests/mp06/node1/mptest-per_node_configuration.adb
    c/src/ada-tests/mptests/mp06/node2/mp06.scn
    c/src/ada-tests/mptests/mp06/node2/mptest-per_node_configuration.adb
    c/src/ada-tests/mptests/mp07/mptest.adb
    c/src/ada-tests/mptests/mp07/mptest.ads
    c/src/ada-tests/mptests/mp07/node1/mp07.scn
    c/src/ada-tests/mptests/mp07/node1/mptest-per_node_configuration.adb
    c/src/ada-tests/mptests/mp07/node2/mp07.scn
    c/src/ada-tests/mptests/mp07/node2/mptest-per_node_configuration.adb
    c/src/ada-tests/mptests/mp08/mptest.adb
    c/src/ada-tests/mptests/mp08/mptest.ads
    c/src/ada-tests/mptests/mp08/node1/mp08.scn
    c/src/ada-tests/mptests/mp08/node1/mptest-per_node_configuration.adb
    c/src/ada-tests/mptests/mp08/node2/mp08.scn
    c/src/ada-tests/mptests/mp08/node2/mptest-per_node_configuration.adb
    c/src/ada-tests/mptests/mp09/mptest.adb
    c/src/ada-tests/mptests/mp09/mptest.ads
    c/src/ada-tests/mptests/mp09/node1/mp09.scn
    c/src/ada-tests/mptests/mp09/node1/mptest-per_node_configuration.adb
    c/src/ada-tests/mptests/mp09/node2/mp09.scn
    c/src/ada-tests/mptests/mp09/node2/mptest-per_node_configuration.adb
    c/src/ada-tests/mptests/mp10/mptest.adb
    c/src/ada-tests/mptests/mp10/mptest.ads
    c/src/ada-tests/mptests/mp10/node1/mp10.scn
    c/src/ada-tests/mptests/mp10/node1/mptest-per_node_configuration.adb
    c/src/ada-tests/mptests/mp10/node2/mp10.scn
    c/src/ada-tests/mptests/mp10/node2/mptest-per_node_configuration.adb
    c/src/ada-tests/mptests/mp11/mptest.adb
    c/src/ada-tests/mptests/mp11/mptest.ads
    c/src/ada-tests/mptests/mp11/node1/mp11.scn
    c/src/ada-tests/mptests/mp11/node1/mptest-per_node_configuration.adb
    c/src/ada-tests/mptests/mp11/node2/mp11.scn
    c/src/ada-tests/mptests/mp11/node2/mptest-per_node_configuration.adb
    c/src/ada-tests/mptests/mp12/mptest.adb
    c/src/ada-tests/mptests/mp12/mptest.ads
    c/src/ada-tests/mptests/mp12/node1/mp12.scn
    c/src/ada-tests/mptests/mp12/node1/mptest-per_node_configuration.adb
    c/src/ada-tests/mptests/mp12/node2/mp12.scn
    c/src/ada-tests/mptests/mp12/node2/mptest-per_node_configuration.adb
    c/src/ada-tests/mptests/mp13/mptest.adb
    c/src/ada-tests/mptests/mp13/mptest.ads
    c/src/ada-tests/mptests/mp13/node1/mp13.scn
    c/src/ada-tests/mptests/mp13/node1/mptest-per_node_configuration.adb
    c/src/ada-tests/mptests/mp13/node2/mp13.scn
    c/src/ada-tests/mptests/mp13/node2/mptest-per_node_configuration.adb
    c/src/ada-tests/mptests/mp14/mptest.adb
    c/src/ada-tests/mptests/mp14/mptest.ads
    c/src/ada-tests/mptests/mp14/node1/mp14.scn
    c/src/ada-tests/mptests/mp14/node1/mptest-per_node_configuration.adb
    c/src/ada-tests/mptests/mp14/node2/mp14.scn
    c/src/ada-tests/mptests/mp14/node2/mptest-per_node_configuration.adb
    c/src/ada-tests/samples/base_mp/mptest.adb
    c/src/ada-tests/samples/base_mp/mptest.ads
    c/src/ada-tests/samples/base_mp/node1/base_mp.scn
    c/src/ada-tests/samples/base_mp/node1/mptest-per_node_configuration.adb
    c/src/ada-tests/samples/base_mp/node2/base_mp.scn
    c/src/ada-tests/samples/base_mp/node2/mptest-per_node_configuration.adb
    c/src/ada-tests/samples/base_sp/base_sp.adb
    c/src/ada-tests/samples/base_sp/base_sp.scn
    c/src/ada-tests/samples/base_sp/config.h
    c/src/ada-tests/samples/base_sp/sptest.adb
    c/src/ada-tests/samples/base_sp/sptest.ads
    c/src/ada-tests/samples/hello/config.h
    c/src/ada-tests/samples/hello/hello.adb
    c/src/ada-tests/samples/hello/hello.scn
    c/src/ada-tests/samples/hello/sptest.adb
    c/src/ada-tests/samples/hello/sptest.ads
    c/src/ada-tests/samples/ticker/config.h
    c/src/ada-tests/samples/ticker/sptest.adb
    c/src/ada-tests/samples/ticker/sptest.ads
    c/src/ada-tests/samples/ticker/ticker.adb
    c/src/ada-tests/samples/ticker/ticker.scn
    c/src/ada-tests/sptests/sp01/config.h
    c/src/ada-tests/sptests/sp01/sp01.adb
    c/src/ada-tests/sptests/sp01/sp01.scn
    c/src/ada-tests/sptests/sp01/sptest.adb
    c/src/ada-tests/sptests/sp01/sptest.ads
    c/src/ada-tests/sptests/sp02/config.h
    c/src/ada-tests/sptests/sp02/sp02.adb
    c/src/ada-tests/sptests/sp02/sp02.scn
    c/src/ada-tests/sptests/sp02/sptest.adb
    c/src/ada-tests/sptests/sp02/sptest.ads
    c/src/ada-tests/sptests/sp03/config.h
    c/src/ada-tests/sptests/sp03/sp03.adb
    c/src/ada-tests/sptests/sp03/sp03.scn
    c/src/ada-tests/sptests/sp03/sptest.adb
    c/src/ada-tests/sptests/sp03/sptest.ads
    c/src/ada-tests/sptests/sp04/README
    c/src/ada-tests/sptests/sp04/config.h
    c/src/ada-tests/sptests/sp04/sp04.adb
    c/src/ada-tests/sptests/sp04/sp04.scn
    c/src/ada-tests/sptests/sp04/sptest.adb
    c/src/ada-tests/sptests/sp04/sptest.ads
    c/src/ada-tests/sptests/sp05/config.h
    c/src/ada-tests/sptests/sp05/sp05.adb
    c/src/ada-tests/sptests/sp05/sp05.scn
    c/src/ada-tests/sptests/sp05/sptest.adb
    c/src/ada-tests/sptests/sp05/sptest.ads
    c/src/ada-tests/sptests/sp06/config.h
    c/src/ada-tests/sptests/sp06/sp06.adb
    c/src/ada-tests/sptests/sp06/sp06.scn
    c/src/ada-tests/sptests/sp06/sptest.adb
    c/src/ada-tests/sptests/sp06/sptest.ads
    c/src/ada-tests/sptests/sp07/config.h
    c/src/ada-tests/sptests/sp07/sp07.adb
    c/src/ada-tests/sptests/sp07/sp07.scn
    c/src/ada-tests/sptests/sp07/sptest.adb
    c/src/ada-tests/sptests/sp07/sptest.ads
    c/src/ada-tests/sptests/sp08/config.h
    c/src/ada-tests/sptests/sp08/sp08.adb
    c/src/ada-tests/sptests/sp08/sp08.scn
    c/src/ada-tests/sptests/sp08/sptest.adb
    c/src/ada-tests/sptests/sp08/sptest.ads
    c/src/ada-tests/sptests/sp09/config.h
    c/src/ada-tests/sptests/sp09/sp09.adb
    c/src/ada-tests/sptests/sp09/sp09.scn
    c/src/ada-tests/sptests/sp09/sptest.adb
    c/src/ada-tests/sptests/sp09/sptest.ads
    c/src/ada-tests/sptests/sp11/config.h
    c/src/ada-tests/sptests/sp11/sp11.adb
    c/src/ada-tests/sptests/sp11/sp11.scn
    c/src/ada-tests/sptests/sp11/sptest.adb
    c/src/ada-tests/sptests/sp11/sptest.ads
    c/src/ada-tests/sptests/sp12/config.h
    c/src/ada-tests/sptests/sp12/sp12.adb
    c/src/ada-tests/sptests/sp12/sp12.scn
    c/src/ada-tests/sptests/sp12/sptest.adb
    c/src/ada-tests/sptests/sp12/sptest.ads
    c/src/ada-tests/sptests/sp13/config.h
    c/src/ada-tests/sptests/sp13/sp13.adb
    c/src/ada-tests/sptests/sp13/sp13.scn
    c/src/ada-tests/sptests/sp13/sptest.adb
    c/src/ada-tests/sptests/sp13/sptest.ads
    c/src/ada-tests/sptests/sp14/config.h
    c/src/ada-tests/sptests/sp14/sp14.adb
    c/src/ada-tests/sptests/sp14/sp14.scn
    c/src/ada-tests/sptests/sp14/sptest.adb
    c/src/ada-tests/sptests/sp14/sptest.ads
    c/src/ada-tests/sptests/sp15/config.h
    c/src/ada-tests/sptests/sp15/sp15.adb
    c/src/ada-tests/sptests/sp15/sp15.scn
    c/src/ada-tests/sptests/sp15/sptest.adb
    c/src/ada-tests/sptests/sp15/sptest.ads
    c/src/ada-tests/sptests/sp16/config.h
    c/src/ada-tests/sptests/sp16/sp16.adb
    c/src/ada-tests/sptests/sp16/sp16.scn
    c/src/ada-tests/sptests/sp16/sptest.adb
    c/src/ada-tests/sptests/sp16/sptest.ads
    c/src/ada-tests/sptests/sp17/config.h
    c/src/ada-tests/sptests/sp17/sp17.adb
    c/src/ada-tests/sptests/sp17/sp17.scn
    c/src/ada-tests/sptests/sp17/sptest.adb
    c/src/ada-tests/sptests/sp17/sptest.ads
    c/src/ada-tests/sptests/sp19/README
    c/src/ada-tests/sptests/sp19/config.h
    c/src/ada-tests/sptests/sp19/sp19.adb
    c/src/ada-tests/sptests/sp19/sp19.scn
    c/src/ada-tests/sptests/sp19/sptest.ads
    c/src/ada-tests/sptests/sp20/config.h
    c/src/ada-tests/sptests/sp20/sp20.adb
    c/src/ada-tests/sptests/sp20/sp20.scn
    c/src/ada-tests/sptests/sp20/sptest.adb
    c/src/ada-tests/sptests/sp20/sptest.ads
    c/src/ada-tests/sptests/sp21/config.h
    c/src/ada-tests/sptests/sp21/sp21.adb
    c/src/ada-tests/sptests/sp21/sp21.scn
    c/src/ada-tests/sptests/sp21/sptest.adb
    c/src/ada-tests/sptests/sp21/sptest.ads
    c/src/ada-tests/sptests/sp22/config.h
    c/src/ada-tests/sptests/sp22/sp22.adb
    c/src/ada-tests/sptests/sp22/sp22.scn
    c/src/ada-tests/sptests/sp22/sptest.adb
    c/src/ada-tests/sptests/sp22/sptest.ads
    c/src/ada-tests/sptests/sp23/config.h
    c/src/ada-tests/sptests/sp23/sp23.adb
    c/src/ada-tests/sptests/sp23/sp23.scn
    c/src/ada-tests/sptests/sp23/sptest.adb
    c/src/ada-tests/sptests/sp23/sptest.ads
    c/src/ada-tests/sptests/sp24/config.h
    c/src/ada-tests/sptests/sp24/sp24.adb
    c/src/ada-tests/sptests/sp24/sp24.scn
    c/src/ada-tests/sptests/sp24/sptest.adb
    c/src/ada-tests/sptests/sp24/sptest.ads
    c/src/ada-tests/sptests/sp25/config.h
    c/src/ada-tests/sptests/sp25/sp25.adb
    c/src/ada-tests/sptests/sp25/sp25.scn
    c/src/ada-tests/sptests/sp25/sptest.adb
    c/src/ada-tests/sptests/sp25/sptest.ads
    c/src/ada-tests/sptests/spsize/spsize.adb
    c/src/ada-tests/sptests/spsize/sptest.adb
    c/src/ada-tests/sptests/spsize/sptest.ads
    c/src/ada-tests/support/address_io.adb
    c/src/ada-tests/support/address_io.ads
    c/src/ada-tests/support/float_io.ads
    c/src/ada-tests/support/fp.inc
    c/src/ada-tests/support/init.c
    c/src/ada-tests/support/integer.inc
    c/src/ada-tests/support/rtems_calling_overhead.ads
    c/src/ada-tests/support/status_io.ads
    c/src/ada-tests/support/test_support.adb
    c/src/ada-tests/support/test_support.ads
    c/src/ada-tests/support/time_test_support.adb
    c/src/ada-tests/support/time_test_support.ads
    c/src/ada-tests/support/timer_driver.adb
    c/src/ada-tests/support/timer_driver.ads
    c/src/ada-tests/support/unsigned32_io.ads
    c/src/ada-tests/tmtests/tm01/config.h
    c/src/ada-tests/tmtests/tm01/tm01.adb
    c/src/ada-tests/tmtests/tm01/tmtest.adb
    c/src/ada-tests/tmtests/tm01/tmtest.ads
    c/src/ada-tests/tmtests/tm02/config.h
    c/src/ada-tests/tmtests/tm02/tm02.adb
    c/src/ada-tests/tmtests/tm02/tmtest.adb
    c/src/ada-tests/tmtests/tm02/tmtest.ads
    c/src/ada-tests/tmtests/tm03/config.h
    c/src/ada-tests/tmtests/tm03/tm03.adb
    c/src/ada-tests/tmtests/tm03/tmtest.adb
    c/src/ada-tests/tmtests/tm03/tmtest.ads
    c/src/ada-tests/tmtests/tm04/config.h
    c/src/ada-tests/tmtests/tm04/tm04.adb
    c/src/ada-tests/tmtests/tm04/tmtest.adb
    c/src/ada-tests/tmtests/tm04/tmtest.ads
    c/src/ada-tests/tmtests/tm05/config.h
    c/src/ada-tests/tmtests/tm05/tm05.adb
    c/src/ada-tests/tmtests/tm05/tmtest.adb
    c/src/ada-tests/tmtests/tm05/tmtest.ads
    c/src/ada-tests/tmtests/tm06/config.h
    c/src/ada-tests/tmtests/tm06/tm06.adb
    c/src/ada-tests/tmtests/tm06/tmtest.adb
    c/src/ada-tests/tmtests/tm06/tmtest.ads
    c/src/ada-tests/tmtests/tm07/config.h
    c/src/ada-tests/tmtests/tm07/tm07.adb
    c/src/ada-tests/tmtests/tm07/tmtest.adb
    c/src/ada-tests/tmtests/tm07/tmtest.ads
    c/src/ada-tests/tmtests/tm08/config.h
    c/src/ada-tests/tmtests/tm08/tm08.adb
    c/src/ada-tests/tmtests/tm08/tmtest.adb
    c/src/ada-tests/tmtests/tm08/tmtest.ads
    c/src/ada-tests/tmtests/tm09/config.h
    c/src/ada-tests/tmtests/tm09/tm09.adb
    c/src/ada-tests/tmtests/tm09/tmtest.adb
    c/src/ada-tests/tmtests/tm09/tmtest.ads
    c/src/ada-tests/tmtests/tm10/config.h
    c/src/ada-tests/tmtests/tm10/tm10.adb
    c/src/ada-tests/tmtests/tm10/tmtest.adb
    c/src/ada-tests/tmtests/tm10/tmtest.ads
    c/src/ada-tests/tmtests/tm11/config.h
    c/src/ada-tests/tmtests/tm11/tm11.adb
    c/src/ada-tests/tmtests/tm11/tmtest.adb
    c/src/ada-tests/tmtests/tm11/tmtest.ads
    c/src/ada-tests/tmtests/tm12/config.h
    c/src/ada-tests/tmtests/tm12/tm12.adb
    c/src/ada-tests/tmtests/tm12/tmtest.adb
    c/src/ada-tests/tmtests/tm12/tmtest.ads
    c/src/ada-tests/tmtests/tm13/config.h
    c/src/ada-tests/tmtests/tm13/tm13.adb
    c/src/ada-tests/tmtests/tm13/tmtest.adb
    c/src/ada-tests/tmtests/tm13/tmtest.ads
    c/src/ada-tests/tmtests/tm14/config.h
    c/src/ada-tests/tmtests/tm14/tm14.adb
    c/src/ada-tests/tmtests/tm14/tmtest.adb
    c/src/ada-tests/tmtests/tm14/tmtest.ads
    c/src/ada-tests/tmtests/tm15/config.h
    c/src/ada-tests/tmtests/tm15/tm15.adb
    c/src/ada-tests/tmtests/tm15/tmtest.adb
    c/src/ada-tests/tmtests/tm15/tmtest.ads
    c/src/ada-tests/tmtests/tm16/config.h
    c/src/ada-tests/tmtests/tm16/tm16.adb
    c/src/ada-tests/tmtests/tm16/tmtest.adb
    c/src/ada-tests/tmtests/tm16/tmtest.ads
    c/src/ada-tests/tmtests/tm17/config.h
    c/src/ada-tests/tmtests/tm17/tm17.adb
    c/src/ada-tests/tmtests/tm17/tmtest.adb
    c/src/ada-tests/tmtests/tm17/tmtest.ads
    c/src/ada-tests/tmtests/tm18/config.h
    c/src/ada-tests/tmtests/tm18/tm18.adb
    c/src/ada-tests/tmtests/tm18/tmtest.adb
    c/src/ada-tests/tmtests/tm18/tmtest.ads
    c/src/ada-tests/tmtests/tm19/config.h
    c/src/ada-tests/tmtests/tm19/tm19.adb
    c/src/ada-tests/tmtests/tm19/tmtest.adb
    c/src/ada-tests/tmtests/tm19/tmtest.ads
    c/src/ada-tests/tmtests/tm20/config.h
    c/src/ada-tests/tmtests/tm20/tm20.adb
    c/src/ada-tests/tmtests/tm20/tmtest.adb
    c/src/ada-tests/tmtests/tm20/tmtest.ads
    c/src/ada-tests/tmtests/tm21/config.h
    c/src/ada-tests/tmtests/tm21/tm21.adb
    c/src/ada-tests/tmtests/tm21/tmtest.adb
    c/src/ada-tests/tmtests/tm21/tmtest.ads
    c/src/ada-tests/tmtests/tm22/config.h
    c/src/ada-tests/tmtests/tm22/tm22.adb
    c/src/ada-tests/tmtests/tm22/tmtest.adb
    c/src/ada-tests/tmtests/tm22/tmtest.ads
    c/src/ada-tests/tmtests/tm23/config.h
    c/src/ada-tests/tmtests/tm23/tm23.adb
    c/src/ada-tests/tmtests/tm23/tmtest.adb
    c/src/ada-tests/tmtests/tm23/tmtest.ads
    c/src/ada-tests/tmtests/tm24/config.h
    c/src/ada-tests/tmtests/tm24/tm24.adb
    c/src/ada-tests/tmtests/tm24/tmtest.adb
    c/src/ada-tests/tmtests/tm24/tmtest.ads
    c/src/ada-tests/tmtests/tm25/config.h
    c/src/ada-tests/tmtests/tm25/tm25.adb
    c/src/ada-tests/tmtests/tm25/tmtest.adb
    c/src/ada-tests/tmtests/tm25/tmtest.ads
    c/src/ada-tests/tmtests/tm26/README
    c/src/ada-tests/tmtests/tm26/config.h
    c/src/ada-tests/tmtests/tm26/tm26.adb
    c/src/ada-tests/tmtests/tm26/tmtest.adp
    c/src/ada-tests/tmtests/tm26/tmtest.ads
    c/src/ada-tests/tmtests/tm27/README
    c/src/ada-tests/tmtests/tm27/config.h
    c/src/ada-tests/tmtests/tm27/tm27.adb
    c/src/ada-tests/tmtests/tm27/tmtest.adb
    c/src/ada-tests/tmtests/tm27/tmtest.ads
    c/src/ada-tests/tmtests/tm28/config.h
    c/src/ada-tests/tmtests/tm28/tm28.adb
    c/src/ada-tests/tmtests/tm28/tmtest.adb
    c/src/ada-tests/tmtests/tm28/tmtest.ads
    c/src/ada-tests/tmtests/tm29/config.h
    c/src/ada-tests/tmtests/tm29/tm29.adb
    c/src/ada-tests/tmtests/tm29/tmtest.adb
    c/src/ada-tests/tmtests/tm29/tmtest.ads
    c/src/ada-tests/tmtests/tmck/config.h
    c/src/ada-tests/tmtests/tmck/tmck.adb
    c/src/ada-tests/tmtests/tmck/tmtest.adb
    c/src/ada-tests/tmtests/tmck/tmtest.ads
    c/src/ada-tests/tmtests/tmoverhd/README
    c/src/ada-tests/tmtests/tmoverhd/config.h
    c/src/ada-tests/tmtests/tmoverhd/dummy_rtems.adb
    c/src/ada-tests/tmtests/tmoverhd/dummy_rtems.ads
    c/src/ada-tests/tmtests/tmoverhd/tmoverhd.adb
    c/src/ada-tests/tmtests/tmoverhd/tmtest.adb
    c/src/ada-tests/tmtests/tmoverhd/tmtest.ads
    c/src/ada/rtems.adb
    c/src/ada/rtems.ads
    c/src/exec/include/rtems/libio_.h
    c/src/exec/libcsupport/Makefile.am
    c/src/exec/libcsupport/include/chain.h
    c/src/exec/libcsupport/include/clockdrv.h
    c/src/exec/libcsupport/include/console.h
    c/src/exec/libcsupport/include/iosupp.h
    c/src/exec/libcsupport/include/motorola/mc68230.h
    c/src/exec/libcsupport/include/motorola/mc68681.h
    c/src/exec/libcsupport/include/ringbuf.h
    c/src/exec/libcsupport/include/rtems/assoc.h
    c/src/exec/libcsupport/include/rtems/error.h
    c/src/exec/libcsupport/include/rtems/libcsupport.h
    c/src/exec/libcsupport/include/rtems/libio.h
    c/src/exec/libcsupport/include/rtems/libio_.h
    c/src/exec/libcsupport/include/spurious.h
    c/src/exec/libcsupport/include/sys/filio.h
    c/src/exec/libcsupport/include/sys/ioctl.h
    c/src/exec/libcsupport/include/sys/sockio.h
    c/src/exec/libcsupport/include/sys/termios.h
    c/src/exec/libcsupport/include/sys/utime.h
    c/src/exec/libcsupport/include/sys/utsname.h
    c/src/exec/libcsupport/include/timerdrv.h
    c/src/exec/libcsupport/include/vmeintr.h
    c/src/exec/libcsupport/include/zilog/z8036.h
    c/src/exec/libcsupport/include/zilog/z8530.h
    c/src/exec/libcsupport/include/zilog/z8536.h
    c/src/exec/libcsupport/src/CASES
    c/src/exec/libcsupport/src/Makefile.am
    c/src/exec/libcsupport/src/README
    c/src/exec/libcsupport/src/TODO
    c/src/exec/libcsupport/src/__brk.c
    c/src/exec/libcsupport/src/__getpid.c
    c/src/exec/libcsupport/src/__gettod.c
    c/src/exec/libcsupport/src/__sbrk.c
    c/src/exec/libcsupport/src/__times.c
    c/src/exec/libcsupport/src/access.c
    c/src/exec/libcsupport/src/assoc.c
    c/src/exec/libcsupport/src/assocnamebad.c
    c/src/exec/libcsupport/src/base_fs.c
    c/src/exec/libcsupport/src/cfgetispeed.c
    c/src/exec/libcsupport/src/cfgetospeed.c
    c/src/exec/libcsupport/src/cfsetispeed.c
    c/src/exec/libcsupport/src/cfsetospeed.c
    c/src/exec/libcsupport/src/chdir.c
    c/src/exec/libcsupport/src/chmod.c
    c/src/exec/libcsupport/src/chown.c
    c/src/exec/libcsupport/src/close.c
    c/src/exec/libcsupport/src/closedir.c
    c/src/exec/libcsupport/src/creat.c
    c/src/exec/libcsupport/src/ctermid.c
    c/src/exec/libcsupport/src/dup.c
    c/src/exec/libcsupport/src/dup2.c
    c/src/exec/libcsupport/src/error.c
    c/src/exec/libcsupport/src/eval.c
    c/src/exec/libcsupport/src/fchmod.c
    c/src/exec/libcsupport/src/fcntl.c
    c/src/exec/libcsupport/src/fdatasync.c
    c/src/exec/libcsupport/src/fpathconf.c
    c/src/exec/libcsupport/src/fs_null_handlers.c
    c/src/exec/libcsupport/src/fstat.c
    c/src/exec/libcsupport/src/fsync.c
    c/src/exec/libcsupport/src/ftruncate.c
    c/src/exec/libcsupport/src/getcwd.c
    c/src/exec/libcsupport/src/getdents.c
    c/src/exec/libcsupport/src/getgrent.c
    c/src/exec/libcsupport/src/getpwent.c
    c/src/exec/libcsupport/src/hosterr.c
    c/src/exec/libcsupport/src/ioctl.c
    c/src/exec/libcsupport/src/isatty.c
    c/src/exec/libcsupport/src/libio.c
    c/src/exec/libcsupport/src/libio_sockets.c
    c/src/exec/libcsupport/src/link.c
    c/src/exec/libcsupport/src/lseek.c
    c/src/exec/libcsupport/src/lstat.c
    c/src/exec/libcsupport/src/malloc.c
    c/src/exec/libcsupport/src/mkdir.c
    c/src/exec/libcsupport/src/mkfifo.c
    c/src/exec/libcsupport/src/mknod.c
    c/src/exec/libcsupport/src/mount.c
    c/src/exec/libcsupport/src/newlibc.c
    c/src/exec/libcsupport/src/no_libc.c
    c/src/exec/libcsupport/src/no_posix.c
    c/src/exec/libcsupport/src/open.c
    c/src/exec/libcsupport/src/opendir.c
    c/src/exec/libcsupport/src/pathconf.c
    c/src/exec/libcsupport/src/pipe.c
    c/src/exec/libcsupport/src/read.c
    c/src/exec/libcsupport/src/readdir.c
    c/src/exec/libcsupport/src/readlink.c
    c/src/exec/libcsupport/src/rewinddir.c
    c/src/exec/libcsupport/src/rmdir.c
    c/src/exec/libcsupport/src/scandir.c
    c/src/exec/libcsupport/src/seekdir.c
    c/src/exec/libcsupport/src/stat.c
    c/src/exec/libcsupport/src/symlink.c
    c/src/exec/libcsupport/src/tcdrain.c
    c/src/exec/libcsupport/src/tcflow.c
    c/src/exec/libcsupport/src/tcflush.c
    c/src/exec/libcsupport/src/tcgetattr.c
    c/src/exec/libcsupport/src/tcgetprgrp.c
    c/src/exec/libcsupport/src/tcsendbreak.c
    c/src/exec/libcsupport/src/tcsetattr.c
    c/src/exec/libcsupport/src/tcsetpgrp.c
    c/src/exec/libcsupport/src/telldir.c
    c/src/exec/libcsupport/src/termios.c
    c/src/exec/libcsupport/src/termiosinitialize.c
    c/src/exec/libcsupport/src/termiosreserveresources.c
    c/src/exec/libcsupport/src/truncate.c
    c/src/exec/libcsupport/src/ttyname.c
    c/src/exec/libcsupport/src/ttyname_r.c
    c/src/exec/libcsupport/src/umask.c
    c/src/exec/libcsupport/src/unixlibc.c
    c/src/exec/libcsupport/src/unlink.c
    c/src/exec/libcsupport/src/unmount.c
    c/src/exec/libcsupport/src/utime.c
    c/src/exec/libcsupport/src/utsname.c
    c/src/exec/libcsupport/src/write.c
    c/src/exec/libfs/src/imfs/deviceio.c
    c/src/exec/libfs/src/imfs/imfs.h
    c/src/exec/libfs/src/imfs/imfs_chown.c
    c/src/exec/libfs/src/imfs/imfs_creat.c
    c/src/exec/libfs/src/imfs/imfs_debug.c
    c/src/exec/libfs/src/imfs/imfs_directory.c
    c/src/exec/libfs/src/imfs/imfs_eval.c
    c/src/exec/libfs/src/imfs/imfs_fchmod.c
    c/src/exec/libfs/src/imfs/imfs_fcntl.c
    c/src/exec/libfs/src/imfs/imfs_fdatasync.c
    c/src/exec/libfs/src/imfs/imfs_free.c
    c/src/exec/libfs/src/imfs/imfs_fsunmount.c
    c/src/exec/libfs/src/imfs/imfs_getchild.c
    c/src/exec/libfs/src/imfs/imfs_gtkn.c
    c/src/exec/libfs/src/imfs/imfs_handlers_device.c
    c/src/exec/libfs/src/imfs/imfs_handlers_directory.c
    c/src/exec/libfs/src/imfs/imfs_handlers_link.c
    c/src/exec/libfs/src/imfs/imfs_handlers_memfile.c
    c/src/exec/libfs/src/imfs/imfs_init.c
    c/src/exec/libfs/src/imfs/imfs_initsupp.c
    c/src/exec/libfs/src/imfs/imfs_link.c
    c/src/exec/libfs/src/imfs/imfs_mknod.c
    c/src/exec/libfs/src/imfs/imfs_mount.c
    c/src/exec/libfs/src/imfs/imfs_ntype.c
    c/src/exec/libfs/src/imfs/imfs_readlink.c
    c/src/exec/libfs/src/imfs/imfs_rmnod.c
    c/src/exec/libfs/src/imfs/imfs_stat.c
    c/src/exec/libfs/src/imfs/imfs_symlink.c
    c/src/exec/libfs/src/imfs/imfs_unixstub.c
    c/src/exec/libfs/src/imfs/imfs_unlink.c
    c/src/exec/libfs/src/imfs/imfs_unmount.c
    c/src/exec/libfs/src/imfs/imfs_utime.c
    c/src/exec/libfs/src/imfs/ioman.c
    c/src/exec/libfs/src/imfs/memfile.c
    c/src/exec/libfs/src/imfs/miniimfs_init.c
    c/src/exec/libnetworking/Makefile.am
    c/src/exec/libnetworking/README
    c/src/exec/libnetworking/arpa/Makefile.am
    c/src/exec/libnetworking/arpa/ftp.h
    c/src/exec/libnetworking/arpa/inet.h
    c/src/exec/libnetworking/arpa/nameser.h
    c/src/exec/libnetworking/arpa/nameser_compat.h
    c/src/exec/libnetworking/arpa/telnet.h
    c/src/exec/libnetworking/bpfilter.h
    c/src/exec/libnetworking/kern/Makefile.am
    c/src/exec/libnetworking/kern/kern_subr.c
    c/src/exec/libnetworking/kern/uipc_domain.c
    c/src/exec/libnetworking/kern/uipc_mbuf.c
    c/src/exec/libnetworking/kern/uipc_socket.c
    c/src/exec/libnetworking/kern/uipc_socket2.c
    c/src/exec/libnetworking/lib/Makefile.am
    c/src/exec/libnetworking/lib/README
    c/src/exec/libnetworking/lib/getprotoby.c
    c/src/exec/libnetworking/lib/rtems_bsdnet_ntp.c
    c/src/exec/libnetworking/lib/syslog.c
    c/src/exec/libnetworking/lib/tftpDriver.c
    c/src/exec/libnetworking/libc/Makefile.am
    c/src/exec/libnetworking/libc/addr2ascii.3
    c/src/exec/libnetworking/libc/addr2ascii.c
    c/src/exec/libnetworking/libc/ascii2addr.c
    c/src/exec/libnetworking/libc/base64.c
    c/src/exec/libnetworking/libc/byteorder.3
    c/src/exec/libnetworking/libc/ether_addr.c
    c/src/exec/libnetworking/libc/ethers.3
    c/src/exec/libnetworking/libc/gethostbydns.c
    c/src/exec/libnetworking/libc/gethostbyht.c
    c/src/exec/libnetworking/libc/gethostbyname.3
    c/src/exec/libnetworking/libc/gethostbynis.c
    c/src/exec/libnetworking/libc/gethostnamadr.c
    c/src/exec/libnetworking/libc/gethostname.c
    c/src/exec/libnetworking/libc/getnetbydns.c
    c/src/exec/libnetworking/libc/getnetbyht.c
    c/src/exec/libnetworking/libc/getnetbynis.c
    c/src/exec/libnetworking/libc/getnetent.3
    c/src/exec/libnetworking/libc/getnetnamadr.c
    c/src/exec/libnetworking/libc/getproto.c
    c/src/exec/libnetworking/libc/getprotoent.3
    c/src/exec/libnetworking/libc/getprotoent.c
    c/src/exec/libnetworking/libc/getprotoname.c
    c/src/exec/libnetworking/libc/getservbyname.c
    c/src/exec/libnetworking/libc/getservbyport.c
    c/src/exec/libnetworking/libc/getservent.3
    c/src/exec/libnetworking/libc/getservent.c
    c/src/exec/libnetworking/libc/herror.c
    c/src/exec/libnetworking/libc/inet.3
    c/src/exec/libnetworking/libc/inet_addr.c
    c/src/exec/libnetworking/libc/inet_lnaof.c
    c/src/exec/libnetworking/libc/inet_makeaddr.c
    c/src/exec/libnetworking/libc/inet_net_ntop.c
    c/src/exec/libnetworking/libc/inet_net_pton.c
    c/src/exec/libnetworking/libc/inet_neta.c
    c/src/exec/libnetworking/libc/inet_netof.c
    c/src/exec/libnetworking/libc/inet_network.c
    c/src/exec/libnetworking/libc/inet_ntoa.c
    c/src/exec/libnetworking/libc/inet_ntop.c
    c/src/exec/libnetworking/libc/inet_pton.c
    c/src/exec/libnetworking/libc/iso_addr.3
    c/src/exec/libnetworking/libc/iso_addr.c
    c/src/exec/libnetworking/libc/linkaddr.3
    c/src/exec/libnetworking/libc/linkaddr.c
    c/src/exec/libnetworking/libc/map_v4v6.c
    c/src/exec/libnetworking/libc/ns.3
    c/src/exec/libnetworking/libc/ns_addr.c
    c/src/exec/libnetworking/libc/ns_name.c
    c/src/exec/libnetworking/libc/ns_netint.c
    c/src/exec/libnetworking/libc/ns_ntoa.c
    c/src/exec/libnetworking/libc/ns_parse.c
    c/src/exec/libnetworking/libc/ns_print.c
    c/src/exec/libnetworking/libc/ns_ttl.c
    c/src/exec/libnetworking/libc/nsap_addr.c
    c/src/exec/libnetworking/libc/rcmd.3
    c/src/exec/libnetworking/libc/rcmd.c
    c/src/exec/libnetworking/libc/recv.c
    c/src/exec/libnetworking/libc/res_comp.c
    c/src/exec/libnetworking/libc/res_config.h
    c/src/exec/libnetworking/libc/res_data.c
    c/src/exec/libnetworking/libc/res_debug.c
    c/src/exec/libnetworking/libc/res_init.c
    c/src/exec/libnetworking/libc/res_mkquery.c
    c/src/exec/libnetworking/libc/res_mkupdate.c
    c/src/exec/libnetworking/libc/res_query.c
    c/src/exec/libnetworking/libc/res_send.c
    c/src/exec/libnetworking/libc/res_stubs.c
    c/src/exec/libnetworking/libc/res_update.c
    c/src/exec/libnetworking/libc/resolver.3
    c/src/exec/libnetworking/libc/send.c
    c/src/exec/libnetworking/libc/strsep.c
    c/src/exec/libnetworking/loop.h
    c/src/exec/libnetworking/machine/Makefile.am
    c/src/exec/libnetworking/machine/conf.h
    c/src/exec/libnetworking/machine/cpu.h
    c/src/exec/libnetworking/machine/cpufunc.h
    c/src/exec/libnetworking/machine/endian.h
    c/src/exec/libnetworking/machine/in_cksum.h
    c/src/exec/libnetworking/machine/limits.h
    c/src/exec/libnetworking/machine/param.h
    c/src/exec/libnetworking/machine/types.h
    c/src/exec/libnetworking/machine/vmparam.h
    c/src/exec/libnetworking/net/Makefile.am
    c/src/exec/libnetworking/net/bpf.h
    c/src/exec/libnetworking/net/ethernet.h
    c/src/exec/libnetworking/net/if.c
    c/src/exec/libnetworking/net/if.h
    c/src/exec/libnetworking/net/if_arp.h
    c/src/exec/libnetworking/net/if_dl.h
    c/src/exec/libnetworking/net/if_ethersubr.c
    c/src/exec/libnetworking/net/if_llc.h
    c/src/exec/libnetworking/net/if_loop.c
    c/src/exec/libnetworking/net/if_ppp.h
    c/src/exec/libnetworking/net/if_types.h
    c/src/exec/libnetworking/net/netisr.h
    c/src/exec/libnetworking/net/ppp-comp.h
    c/src/exec/libnetworking/net/ppp_defs.h
    c/src/exec/libnetworking/net/radix.c
    c/src/exec/libnetworking/net/radix.h
    c/src/exec/libnetworking/net/raw_cb.c
    c/src/exec/libnetworking/net/raw_cb.h
    c/src/exec/libnetworking/net/raw_usrreq.c
    c/src/exec/libnetworking/net/route.c
    c/src/exec/libnetworking/net/route.h
    c/src/exec/libnetworking/net/rtsock.c
    c/src/exec/libnetworking/netdb.h
    c/src/exec/libnetworking/netinet/Makefile.am
    c/src/exec/libnetworking/netinet/icmp_var.h
    c/src/exec/libnetworking/netinet/if_ether.c
    c/src/exec/libnetworking/netinet/if_ether.h
    c/src/exec/libnetworking/netinet/igmp.c
    c/src/exec/libnetworking/netinet/igmp.h
    c/src/exec/libnetworking/netinet/igmp_var.h
    c/src/exec/libnetworking/netinet/in.c
    c/src/exec/libnetworking/netinet/in.h
    c/src/exec/libnetworking/netinet/in_cksum.c
    c/src/exec/libnetworking/netinet/in_cksum_i386.c
    c/src/exec/libnetworking/netinet/in_cksum_m68k.c
    c/src/exec/libnetworking/netinet/in_cksum_powerpc.c
    c/src/exec/libnetworking/netinet/in_pcb.c
    c/src/exec/libnetworking/netinet/in_pcb.h
    c/src/exec/libnetworking/netinet/in_proto.c
    c/src/exec/libnetworking/netinet/in_rmx.c
    c/src/exec/libnetworking/netinet/in_systm.h
    c/src/exec/libnetworking/netinet/in_var.h
    c/src/exec/libnetworking/netinet/ip.h
    c/src/exec/libnetworking/netinet/ip_divert.c
    c/src/exec/libnetworking/netinet/ip_fw.c
    c/src/exec/libnetworking/netinet/ip_fw.h
    c/src/exec/libnetworking/netinet/ip_icmp.c
    c/src/exec/libnetworking/netinet/ip_icmp.h
    c/src/exec/libnetworking/netinet/ip_input.c
    c/src/exec/libnetworking/netinet/ip_mroute.c
    c/src/exec/libnetworking/netinet/ip_mroute.h
    c/src/exec/libnetworking/netinet/ip_output.c
    c/src/exec/libnetworking/netinet/ip_var.h
    c/src/exec/libnetworking/netinet/raw_ip.c
    c/src/exec/libnetworking/netinet/tcp.h
    c/src/exec/libnetworking/netinet/tcp_debug.c
    c/src/exec/libnetworking/netinet/tcp_debug.h
    c/src/exec/libnetworking/netinet/tcp_fsm.h
    c/src/exec/libnetworking/netinet/tcp_input.c
    c/src/exec/libnetworking/netinet/tcp_output.c
    c/src/exec/libnetworking/netinet/tcp_seq.h
    c/src/exec/libnetworking/netinet/tcp_subr.c
    c/src/exec/libnetworking/netinet/tcp_timer.c
    c/src/exec/libnetworking/netinet/tcp_timer.h
    c/src/exec/libnetworking/netinet/tcp_usrreq.c
    c/src/exec/libnetworking/netinet/tcp_var.h
    c/src/exec/libnetworking/netinet/tcpip.h
    c/src/exec/libnetworking/netinet/udp.h
    c/src/exec/libnetworking/netinet/udp_usrreq.c
    c/src/exec/libnetworking/netinet/udp_var.h
    c/src/exec/libnetworking/nfs/Makefile.am
    c/src/exec/libnetworking/nfs/bootp_subr.c
    c/src/exec/libnetworking/nfs/krpc.h
    c/src/exec/libnetworking/nfs/nfs.h
    c/src/exec/libnetworking/nfs/nfsdiskless.h
    c/src/exec/libnetworking/nfs/nfsproto.h
    c/src/exec/libnetworking/nfs/rpcv2.h
    c/src/exec/libnetworking/nfs/xdr_subs.h
    c/src/exec/libnetworking/opt_ipfw.h
    c/src/exec/libnetworking/opt_mrouting.h
    c/src/exec/libnetworking/opt_tcpdebug.h
    c/src/exec/libnetworking/poll.h
    c/src/exec/libnetworking/resolv.h
    c/src/exec/libnetworking/rtems/Makefile.am
    c/src/exec/libnetworking/rtems/issetugid.c
    c/src/exec/libnetworking/rtems/rtems_bootp.c
    c/src/exec/libnetworking/rtems/rtems_bsdnet.h
    c/src/exec/libnetworking/rtems/rtems_bsdnet_internal.h
    c/src/exec/libnetworking/rtems/rtems_glue.c
    c/src/exec/libnetworking/rtems/rtems_select.c
    c/src/exec/libnetworking/rtems/rtems_showicmpstat.c
    c/src/exec/libnetworking/rtems/rtems_showifstat.c
    c/src/exec/libnetworking/rtems/rtems_showipstat.c
    c/src/exec/libnetworking/rtems/rtems_showmbuf.c
    c/src/exec/libnetworking/rtems/rtems_showroute.c
    c/src/exec/libnetworking/rtems/rtems_showtcpstat.c
    c/src/exec/libnetworking/rtems/rtems_showudpstat.c
    c/src/exec/libnetworking/rtems/rtems_syscall.c
    c/src/exec/libnetworking/rtems/sghostname.c
    c/src/exec/libnetworking/rtems/tftp.h
    c/src/exec/libnetworking/sys/Makefile.am
    c/src/exec/libnetworking/sys/buf.h
    c/src/exec/libnetworking/sys/callout.h
    c/src/exec/libnetworking/sys/conf.h
    c/src/exec/libnetworking/sys/domain.h
    c/src/exec/libnetworking/sys/kernel.h
    c/src/exec/libnetworking/sys/libkern.h
    c/src/exec/libnetworking/sys/malloc.h
    c/src/exec/libnetworking/sys/mbuf.h
    c/src/exec/libnetworking/sys/mount.h
    c/src/exec/libnetworking/sys/param.h
    c/src/exec/libnetworking/sys/proc.h
    c/src/exec/libnetworking/sys/protosw.h
    c/src/exec/libnetworking/sys/queue.h
    c/src/exec/libnetworking/sys/reboot.h
    c/src/exec/libnetworking/sys/resourcevar.h
    c/src/exec/libnetworking/sys/rtprio.h
    c/src/exec/libnetworking/sys/select.h
    c/src/exec/libnetworking/sys/signalvar.h
    c/src/exec/libnetworking/sys/socket.h
    c/src/exec/libnetworking/sys/socketvar.h
    c/src/exec/libnetworking/sys/sysctl.h
    c/src/exec/libnetworking/sys/syslimits.h
    c/src/exec/libnetworking/sys/syslog.h
    c/src/exec/libnetworking/sys/systm.h
    c/src/exec/libnetworking/sys/ttydefaults.h
    c/src/exec/libnetworking/sys/ucred.h
    c/src/exec/libnetworking/sys/uio.h
    c/src/exec/libnetworking/syslog.h
    c/src/exec/libnetworking/vm/Makefile.am
    c/src/exec/libnetworking/vm/vm.h
    c/src/exec/libnetworking/vm/vm_extern.h
    c/src/exec/libnetworking/vm/vm_kern.h
    c/src/exec/libnetworking/vm/vm_param.h
    c/src/exec/libnetworking/wrapup/Makefile.am
    c/src/exec/librpc/Makefile.am
    c/src/exec/librpc/include/Makefile.am
    c/src/exec/librpc/include/rpc/Makefile.am
    c/src/exec/librpc/include/rpc/auth.h
    c/src/exec/librpc/include/rpc/clnt.h
    c/src/exec/librpc/include/rpc/rpc.h
    c/src/exec/librpc/include/rpc/rpc_msg.h
    c/src/exec/librpc/include/rpc/svc.h
    c/src/exec/librpc/include/rpc/svc_auth.h
    c/src/exec/librpc/include/rpc/types.h
    c/src/exec/librpc/include/rpc/xdr.h
    c/src/exec/librpc/src/Makefile.am
    c/src/exec/score/cpu/a29k/rtems/score/types.h
    c/src/exec/score/cpu/hppa1.1/rtems/score/types.h
    c/src/exec/score/cpu/i386/rtems/score/types.h
    c/src/exec/score/cpu/i960/rtems/score/types.h
    c/src/exec/score/cpu/m68k/rtems/score/types.h
    c/src/exec/score/cpu/mips/Makefile.am
    c/src/exec/score/cpu/mips/asm.h
    c/src/exec/score/cpu/mips/configure.in
    c/src/exec/score/cpu/mips/cpu.c
    c/src/exec/score/cpu/mips/cpu_asm.S
    c/src/exec/score/cpu/mips/cpu_asm.h
    c/src/exec/score/cpu/mips/idtcpu.h
    c/src/exec/score/cpu/mips/idtmon.h
    c/src/exec/score/cpu/mips/iregdef.h
    c/src/exec/score/cpu/mips/rtems.c
    c/src/exec/score/cpu/mips/rtems/Makefile.am
    c/src/exec/score/cpu/mips/rtems/score/Makefile.am
    c/src/exec/score/cpu/mips/rtems/score/cpu.h
    c/src/exec/score/cpu/mips/rtems/score/mips.h
    c/src/exec/score/cpu/mips/rtems/score/mips64orion.h
    c/src/exec/score/cpu/mips/rtems/score/mipstypes.h
    c/src/exec/score/cpu/mips/rtems/score/types.h
    c/src/exec/score/cpu/mips64orion/rtems/score/types.h
    c/src/exec/score/cpu/no_cpu/rtems/score/types.h
    c/src/exec/score/cpu/powerpc/asm.h
    c/src/exec/score/cpu/powerpc/rtems/score/ppc.h
    c/src/exec/score/cpu/powerpc/rtems/score/ppctypes.h
    c/src/exec/score/cpu/powerpc/rtems/score/types.h
    c/src/exec/score/cpu/sh/rtems/score/types.h
    c/src/exec/score/cpu/sparc/rtems/score/types.h
    c/src/exec/score/cpu/unix/rtems/score/types.h
    c/src/lib/include/rtems/assoc.h
    c/src/lib/include/rtems/error.h
    c/src/lib/include/rtems/libcsupport.h
    c/src/lib/include/rtems/libio.h
    c/src/lib/include/rtems/libio_.h
    c/src/lib/include/sys/filio.h
    c/src/lib/include/sys/ioctl.h
    c/src/lib/include/sys/sockio.h
    c/src/lib/include/sys/utsname.h
    c/src/lib/libbsp/i386/shared/irq/idt.c
    c/src/lib/libbsp/m68k/ods68302/startup/cpuboot.c
    c/src/lib/libbsp/mips/Makefile.am
    c/src/lib/libbsp/mips/README
    c/src/lib/libbsp/mips/configure.in
    c/src/lib/libbsp/mips/p4000/Makefile.am
    c/src/lib/libbsp/mips/p4000/README
    c/src/lib/libbsp/mips/p4000/bsp_specs
    c/src/lib/libbsp/mips/p4000/configure.in
    c/src/lib/libbsp/mips/p4000/console/Makefile.am
    c/src/lib/libbsp/mips/p4000/console/console.c
    c/src/lib/libbsp/mips/p4000/console/led.S
    c/src/lib/libbsp/mips/p4000/include/Makefile.am
    c/src/lib/libbsp/mips/p4000/include/bsp.h
    c/src/lib/libbsp/mips/p4000/include/coverhd.h
    c/src/lib/libbsp/mips/p4000/liblnk/Makefile.am
    c/src/lib/libbsp/mips/p4000/liblnk/lnklib.S
    c/src/lib/libbsp/mips/p4000/start/Makefile.am
    c/src/lib/libbsp/mips/p4000/start/start.S
    c/src/lib/libbsp/mips/p4000/startup/Makefile.am
    c/src/lib/libbsp/mips/p4000/startup/bspclean.c
    c/src/lib/libbsp/mips/p4000/startup/bspstart.c
    c/src/lib/libbsp/mips/p4000/startup/ghlinkcmds
    c/src/lib/libbsp/mips/p4000/startup/idtmem.S
    c/src/lib/libbsp/mips/p4000/startup/idttlb.S
    c/src/lib/libbsp/mips/p4000/startup/inittlb.c
    c/src/lib/libbsp/mips/p4000/startup/linkcmds
    c/src/lib/libbsp/mips/p4000/startup/setvec.c
    c/src/lib/libbsp/mips/p4000/times
    c/src/lib/libbsp/mips/p4000/wrapup/Makefile.am
    c/src/lib/libbsp/powerpc/support/new_exception_processing/Makefile.am
    c/src/lib/libbsp/powerpc/support/new_exception_processing/c_isr.inl
    c/src/lib/libbsp/powerpc/support/new_exception_processing/cpu.c
    c/src/lib/libbsp/powerpc/support/new_exception_processing/cpu.h
    c/src/lib/libbsp/powerpc/support/new_exception_processing/cpu_asm.S
    c/src/lib/libbsp/powerpc/support/old_exception_processing/Makefile.am
    c/src/lib/libbsp/powerpc/support/old_exception_processing/README
    c/src/lib/libbsp/powerpc/support/old_exception_processing/TODO
    c/src/lib/libbsp/powerpc/support/old_exception_processing/c_isr.inl
    c/src/lib/libbsp/powerpc/support/old_exception_processing/cpu.c
    c/src/lib/libbsp/powerpc/support/old_exception_processing/cpu.h
    c/src/lib/libbsp/powerpc/support/old_exception_processing/cpu_asm.S
    c/src/lib/libbsp/powerpc/support/old_exception_processing/irq_stub.S
    c/src/lib/libbsp/powerpc/support/old_exception_processing/ppccache.c
    c/src/lib/libbsp/powerpc/support/old_exception_processing/rtems.S
    c/src/lib/libc/utsname.c
    c/src/lib/libcpu/i386/idt.c
    c/src/lib/libcpu/m68k/shared/misc/memcpy.c
    c/src/lib/libcpu/mips/Makefile.am
    c/src/lib/libcpu/mips/clock/Makefile.am
    c/src/lib/libcpu/mips/clock/ckinit.c
    c/src/lib/libcpu/mips/clock/clock.S
    c/src/lib/libcpu/mips/clock/clock.h
    c/src/lib/libcpu/mips/configure.in
    c/src/lib/libcpu/mips/timer/Makefile.am
    c/src/lib/libcpu/mips/timer/gettime.S
    c/src/lib/libcpu/mips/timer/timer.c
    c/src/lib/libcpu/powerpc/new-exceptions/cpu.c
    c/src/lib/libcpu/powerpc/new-exceptions/cpu_asm.S
    c/src/lib/libcpu/powerpc/new_exception_processing/Makefile.am
    c/src/lib/libcpu/powerpc/new_exception_processing/c_isr.inl
    c/src/lib/libcpu/powerpc/new_exception_processing/cpu.c
    c/src/lib/libcpu/powerpc/new_exception_processing/cpu.h
    c/src/lib/libcpu/powerpc/new_exception_processing/cpu_asm.S
    c/src/lib/libcpu/powerpc/old-exceptions/README
    c/src/lib/libcpu/powerpc/old-exceptions/TODO
    c/src/lib/libcpu/powerpc/old-exceptions/cpu.c
    c/src/lib/libcpu/powerpc/old-exceptions/cpu_asm.S
    c/src/lib/libcpu/powerpc/old-exceptions/irq_stub.S
    c/src/lib/libcpu/powerpc/old-exceptions/ppccache.c
    c/src/lib/libcpu/powerpc/old_exception_processing/Makefile.am
    c/src/lib/libcpu/powerpc/old_exception_processing/README
    c/src/lib/libcpu/powerpc/old_exception_processing/TODO
    c/src/lib/libcpu/powerpc/old_exception_processing/c_isr.inl
    c/src/lib/libcpu/powerpc/old_exception_processing/cpu.c
    c/src/lib/libcpu/powerpc/old_exception_processing/cpu.h
    c/src/lib/libcpu/powerpc/old_exception_processing/cpu_asm.S
    c/src/lib/libcpu/powerpc/old_exception_processing/irq_stub.S
    c/src/lib/libcpu/powerpc/old_exception_processing/rtems.S
    c/src/lib/libcpu/sh/sh7032/include/iosh7032.h
    c/src/lib/libcpu/sh/sh7032/include/ispsh7032.h
    c/src/lib/libcpu/sh/sh7032/score/cpu_asm.c
    c/src/lib/libcpu/sh/sh7032/score/ispsh7032.c
    c/src/lib/libcpu/sh/sh7045/include/io_types.h
    c/src/lib/libcpu/sh/sh7045/include/iosh7045.h
    c/src/lib/libcpu/sh/sh7045/include/ispsh7045.h
    c/src/lib/libcpu/sh/sh7045/score/cpu_asm.c
    c/src/lib/libcpu/sh/sh7045/score/ispsh7045.c
    c/src/lib/libcpu/sparc/include/erc32.h
    c/src/libchip/shmdr/README
    c/src/libchip/shmdr/addlq.c
    c/src/libchip/shmdr/cnvpkt.c
    c/src/libchip/shmdr/dump.c
    c/src/libchip/shmdr/fatal.c
    c/src/libchip/shmdr/getlq.c
    c/src/libchip/shmdr/getpkt.c
    c/src/libchip/shmdr/init.c
    c/src/libchip/shmdr/initlq.c
    c/src/libchip/shmdr/intr.c
    c/src/libchip/shmdr/mpci.h
    c/src/libchip/shmdr/mpisr.c
    c/src/libchip/shmdr/poll.c
    c/src/libchip/shmdr/receive.c
    c/src/libchip/shmdr/retpkt.c
    c/src/libchip/shmdr/send.c
    c/src/libchip/shmdr/setckvec.c
    c/src/libchip/shmdr/shm_driver.h
    c/src/libfs/src/imfs/deviceio.c
    c/src/libfs/src/imfs/imfs.h
    c/src/libfs/src/imfs/imfs_chown.c
    c/src/libfs/src/imfs/imfs_creat.c
    c/src/libfs/src/imfs/imfs_debug.c
    c/src/libfs/src/imfs/imfs_directory.c
    c/src/libfs/src/imfs/imfs_eval.c
    c/src/libfs/src/imfs/imfs_fchmod.c
    c/src/libfs/src/imfs/imfs_fcntl.c
    c/src/libfs/src/imfs/imfs_fdatasync.c
    c/src/libfs/src/imfs/imfs_free.c
    c/src/libfs/src/imfs/imfs_fsunmount.c
    c/src/libfs/src/imfs/imfs_getchild.c
    c/src/libfs/src/imfs/imfs_gtkn.c
    c/src/libfs/src/imfs/imfs_handlers_device.c
    c/src/libfs/src/imfs/imfs_handlers_directory.c
    c/src/libfs/src/imfs/imfs_handlers_link.c
    c/src/libfs/src/imfs/imfs_handlers_memfile.c
    c/src/libfs/src/imfs/imfs_init.c
    c/src/libfs/src/imfs/imfs_initsupp.c
    c/src/libfs/src/imfs/imfs_link.c
    c/src/libfs/src/imfs/imfs_mknod.c
    c/src/libfs/src/imfs/imfs_mount.c
    c/src/libfs/src/imfs/imfs_ntype.c
    c/src/libfs/src/imfs/imfs_readlink.c
    c/src/libfs/src/imfs/imfs_rmnod.c
    c/src/libfs/src/imfs/imfs_stat.c
    c/src/libfs/src/imfs/imfs_symlink.c
    c/src/libfs/src/imfs/imfs_unixstub.c
    c/src/libfs/src/imfs/imfs_unlink.c
    c/src/libfs/src/imfs/imfs_unmount.c
    c/src/libfs/src/imfs/imfs_utime.c
    c/src/libfs/src/imfs/ioman.c
    c/src/libfs/src/imfs/memfile.c
    c/src/libfs/src/imfs/miniimfs_init.c
    c/src/librdbg/src/powerpc/new_exception_processing/Makefile.am
    c/src/librdbg/src/powerpc/new_exception_processing/remdeb.h
    c/src/librdbg/src/powerpc/new_exception_processing/remdeb_f.x
    c/src/librdbg/src/powerpc/new_exception_processing/remdeb_svc.c
    c/src/librdbg/src/powerpc/new_exception_processing/remdeb_xdr.c
    c/src/make/README
    c/src/make/compilers/gcc-target-default.cfg
    c/src/make/directory.cfg
    c/src/make/host.cfg.in
    c/src/make/lib.cfg
    c/src/optman/rtems/Makefile.am
    c/src/optman/rtems/no-dpmem.c
    c/src/optman/rtems/no-event.c
    c/src/optman/rtems/no-mp.c
    c/src/optman/rtems/no-msg.c
    c/src/optman/rtems/no-part.c
    c/src/optman/rtems/no-region.c
    c/src/optman/rtems/no-rtmon.c
    c/src/optman/rtems/no-sem.c
    c/src/optman/rtems/no-signal.c
    c/src/optman/rtems/no-timer.c
    c/src/optman/sapi/Makefile.am
    c/src/optman/sapi/no-ext.c
    c/src/optman/sapi/no-io.c
    cpukit/Makefile.am
    cpukit/ada/rtems.adb
    cpukit/ada/rtems.ads
    cpukit/ftpd/Makefile.am
    cpukit/ftpd/ftpd.c
    cpukit/ftpd/ftpd.h
    cpukit/httpd/Makefile.am
    cpukit/httpd/asp.c
    cpukit/httpd/balloc.c
    cpukit/httpd/default.c
    cpukit/httpd/ej.h
    cpukit/httpd/ejlex.c
    cpukit/httpd/ejparse.c
    cpukit/httpd/form.c
    cpukit/httpd/h.c
    cpukit/httpd/handler.c
    cpukit/httpd/mime.c
    cpukit/httpd/misc.c
    cpukit/httpd/ringq.c
    cpukit/httpd/rom.c
    cpukit/httpd/rtems_webserver.h
    cpukit/httpd/security.c
    cpukit/httpd/socket.c
    cpukit/httpd/sym.c
    cpukit/httpd/uemf.c
    cpukit/httpd/uemf.h
    cpukit/httpd/url.c
    cpukit/httpd/value.c
    cpukit/httpd/wbase64.c
    cpukit/httpd/webcomp.c
    cpukit/httpd/webmain.c
    cpukit/httpd/webpage.c
    cpukit/httpd/webrom.c
    cpukit/httpd/webs.c
    cpukit/httpd/webs.h
    cpukit/httpd/websuemf.c
    cpukit/httpd/wsIntrn.h
    cpukit/include/rtems/libio_.h
    cpukit/itron/Makefile.am
    cpukit/itron/include/Makefile.am
    cpukit/itron/include/itron.h
    cpukit/itron/include/itronsys/README
    cpukit/itron/include/itronsys/eventflags.h
    cpukit/itron/include/itronsys/fmempool.h
    cpukit/itron/include/itronsys/intr.h
    cpukit/itron/include/itronsys/mbox.h
    cpukit/itron/include/itronsys/msgbuffer.h
    cpukit/itron/include/itronsys/network.h
    cpukit/itron/include/itronsys/port.h
    cpukit/itron/include/itronsys/semaphore.h
    cpukit/itron/include/itronsys/status.h
    cpukit/itron/include/itronsys/sysmgmt.h
    cpukit/itron/include/itronsys/task.h
    cpukit/itron/include/itronsys/time.h
    cpukit/itron/include/itronsys/types.h
    cpukit/itron/include/itronsys/vmempool.h
    cpukit/itron/include/rtems/itron/README
    cpukit/itron/include/rtems/itron/config.h
    cpukit/itron/include/rtems/itron/eventflags.h
    cpukit/itron/include/rtems/itron/fmempool.h
    cpukit/itron/include/rtems/itron/intr.h
    cpukit/itron/include/rtems/itron/itronapi.h
    cpukit/itron/include/rtems/itron/mbox.h
    cpukit/itron/include/rtems/itron/msgbuffer.h
    cpukit/itron/include/rtems/itron/network.h
    cpukit/itron/include/rtems/itron/object.h
    cpukit/itron/include/rtems/itron/port.h
    cpukit/itron/include/rtems/itron/semaphore.h
    cpukit/itron/include/rtems/itron/sysmgmt.h
    cpukit/itron/include/rtems/itron/task.h
    cpukit/itron/include/rtems/itron/time.h
    cpukit/itron/include/rtems/itron/vmempool.h
    cpukit/itron/inline/Makefile.am
    cpukit/itron/inline/rtems/itron/eventflags.inl
    cpukit/itron/inline/rtems/itron/fmempool.inl
    cpukit/itron/inline/rtems/itron/intr.inl
    cpukit/itron/inline/rtems/itron/mbox.inl
    cpukit/itron/inline/rtems/itron/msgbuffer.inl
    cpukit/itron/inline/rtems/itron/network.inl
    cpukit/itron/inline/rtems/itron/port.inl
    cpukit/itron/inline/rtems/itron/semaphore.inl
    cpukit/itron/inline/rtems/itron/sysmgmt.inl
    cpukit/itron/inline/rtems/itron/task.inl
    cpukit/itron/inline/rtems/itron/time.inl
    cpukit/itron/inline/rtems/itron/vmempool.inl
    cpukit/itron/src/Makefile.am
    cpukit/itron/src/TODO
    cpukit/itron/src/can_wup.c
    cpukit/itron/src/chg_pri.c
    cpukit/itron/src/cre_mbf.c
    cpukit/itron/src/cre_mbx.c
    cpukit/itron/src/cre_sem.c
    cpukit/itron/src/cre_tsk.c
    cpukit/itron/src/del_mbf.c
    cpukit/itron/src/del_mbx.c
    cpukit/itron/src/del_sem.c
    cpukit/itron/src/del_tsk.c
    cpukit/itron/src/dis_dsp.c
    cpukit/itron/src/ena_dsp.c
    cpukit/itron/src/eventflags.c
    cpukit/itron/src/exd_tsk.c
    cpukit/itron/src/ext_tsk.c
    cpukit/itron/src/fmempool.c
    cpukit/itron/src/frsm_tsk.c
    cpukit/itron/src/get_tid.c
    cpukit/itron/src/itronintr.c
    cpukit/itron/src/itronsem.c
    cpukit/itron/src/itrontime.c
    cpukit/itron/src/mbox.c
    cpukit/itron/src/mboxtranslatereturncode.c
    cpukit/itron/src/msgbuffer.c
    cpukit/itron/src/msgbuffertranslatereturncode.c
    cpukit/itron/src/network.c
    cpukit/itron/src/port.c
    cpukit/itron/src/prcv_mbf.c
    cpukit/itron/src/prcv_mbx.c
    cpukit/itron/src/preq_sem.c
    cpukit/itron/src/psnd_mbf.c
    cpukit/itron/src/rcv_mbf.c
    cpukit/itron/src/rcv_mbx.c
    cpukit/itron/src/ref_mbf.c
    cpukit/itron/src/ref_mbx.c
    cpukit/itron/src/ref_sem.c
    cpukit/itron/src/ref_tsk.c
    cpukit/itron/src/rel_wai.c
    cpukit/itron/src/rot_rdq.c
    cpukit/itron/src/rsm_tsk.c
    cpukit/itron/src/sig_sem.c
    cpukit/itron/src/slp_tsk.c
    cpukit/itron/src/snd_mbf.c
    cpukit/itron/src/snd_mbx.c
    cpukit/itron/src/sta_tsk.c
    cpukit/itron/src/sus_tsk.c
    cpukit/itron/src/sysmgmt.c
    cpukit/itron/src/task.c
    cpukit/itron/src/ter_tsk.c
    cpukit/itron/src/trcv_mbf.c
    cpukit/itron/src/trcv_mbx.c
    cpukit/itron/src/tslp_tsk.c
    cpukit/itron/src/tsnd_mbf.c
    cpukit/itron/src/twai_sem.c
    cpukit/itron/src/vmempool.c
    cpukit/itron/src/wai_sem.c
    cpukit/itron/src/wup_tsk.c
    cpukit/libcsupport/Makefile.am
    cpukit/libcsupport/include/chain.h
    cpukit/libcsupport/include/clockdrv.h
    cpukit/libcsupport/include/console.h
    cpukit/libcsupport/include/iosupp.h
    cpukit/libcsupport/include/motorola/mc68230.h
    cpukit/libcsupport/include/motorola/mc68681.h
    cpukit/libcsupport/include/ringbuf.h
    cpukit/libcsupport/include/rtems/assoc.h
    cpukit/libcsupport/include/rtems/error.h
    cpukit/libcsupport/include/rtems/libcsupport.h
    cpukit/libcsupport/include/rtems/libio.h
    cpukit/libcsupport/include/rtems/libio_.h
    cpukit/libcsupport/include/spurious.h
    cpukit/libcsupport/include/sys/filio.h
    cpukit/libcsupport/include/sys/ioctl.h
    cpukit/libcsupport/include/sys/sockio.h
    cpukit/libcsupport/include/sys/termios.h
    cpukit/libcsupport/include/sys/utime.h
    cpukit/libcsupport/include/sys/utsname.h
    cpukit/libcsupport/include/timerdrv.h
    cpukit/libcsupport/include/vmeintr.h
    cpukit/libcsupport/include/zilog/z8036.h
    cpukit/libcsupport/include/zilog/z8530.h
    cpukit/libcsupport/include/zilog/z8536.h
    cpukit/libcsupport/src/CASES
    cpukit/libcsupport/src/README
    cpukit/libcsupport/src/TODO
    cpukit/libcsupport/src/__brk.c
    cpukit/libcsupport/src/__getpid.c
    cpukit/libcsupport/src/__gettod.c
    cpukit/libcsupport/src/__sbrk.c
    cpukit/libcsupport/src/__times.c
    cpukit/libcsupport/src/access.c
    cpukit/libcsupport/src/assoc.c
    cpukit/libcsupport/src/assocnamebad.c
    cpukit/libcsupport/src/base_fs.c
    cpukit/libcsupport/src/cfgetispeed.c
    cpukit/libcsupport/src/cfgetospeed.c
    cpukit/libcsupport/src/cfsetispeed.c
    cpukit/libcsupport/src/cfsetospeed.c
    cpukit/libcsupport/src/chdir.c
    cpukit/libcsupport/src/chmod.c
    cpukit/libcsupport/src/chown.c
    cpukit/libcsupport/src/close.c
    cpukit/libcsupport/src/closedir.c
    cpukit/libcsupport/src/creat.c
    cpukit/libcsupport/src/ctermid.c
    cpukit/libcsupport/src/dup.c
    cpukit/libcsupport/src/dup2.c
    cpukit/libcsupport/src/error.c
    cpukit/libcsupport/src/eval.c
    cpukit/libcsupport/src/fchmod.c
    cpukit/libcsupport/src/fcntl.c
    cpukit/libcsupport/src/fdatasync.c
    cpukit/libcsupport/src/fpathconf.c
    cpukit/libcsupport/src/fs_null_handlers.c
    cpukit/libcsupport/src/fstat.c
    cpukit/libcsupport/src/fsync.c
    cpukit/libcsupport/src/ftruncate.c
    cpukit/libcsupport/src/getcwd.c
    cpukit/libcsupport/src/getdents.c
    cpukit/libcsupport/src/getgrent.c
    cpukit/libcsupport/src/getpwent.c
    cpukit/libcsupport/src/hosterr.c
    cpukit/libcsupport/src/ioctl.c
    cpukit/libcsupport/src/isatty.c
    cpukit/libcsupport/src/libio.c
    cpukit/libcsupport/src/libio_sockets.c
    cpukit/libcsupport/src/link.c
    cpukit/libcsupport/src/lseek.c
    cpukit/libcsupport/src/lstat.c
    cpukit/libcsupport/src/malloc.c
    cpukit/libcsupport/src/mkdir.c
    cpukit/libcsupport/src/mkfifo.c
    cpukit/libcsupport/src/mknod.c
    cpukit/libcsupport/src/mount.c
    cpukit/libcsupport/src/newlibc.c
    cpukit/libcsupport/src/no_libc.c
    cpukit/libcsupport/src/no_posix.c
    cpukit/libcsupport/src/open.c
    cpukit/libcsupport/src/opendir.c
    cpukit/libcsupport/src/pathconf.c
    cpukit/libcsupport/src/pipe.c
    cpukit/libcsupport/src/read.c
    cpukit/libcsupport/src/readdir.c
    cpukit/libcsupport/src/readlink.c
    cpukit/libcsupport/src/rewinddir.c
    cpukit/libcsupport/src/rmdir.c
    cpukit/libcsupport/src/scandir.c
    cpukit/libcsupport/src/seekdir.c
    cpukit/libcsupport/src/stat.c
    cpukit/libcsupport/src/symlink.c
    cpukit/libcsupport/src/tcdrain.c
    cpukit/libcsupport/src/tcflow.c
    cpukit/libcsupport/src/tcflush.c
    cpukit/libcsupport/src/tcgetattr.c
    cpukit/libcsupport/src/tcgetprgrp.c
    cpukit/libcsupport/src/tcsendbreak.c
    cpukit/libcsupport/src/tcsetattr.c
    cpukit/libcsupport/src/tcsetpgrp.c
    cpukit/libcsupport/src/telldir.c
    cpukit/libcsupport/src/termios.c
    cpukit/libcsupport/src/termiosinitialize.c
    cpukit/libcsupport/src/termiosreserveresources.c
    cpukit/libcsupport/src/truncate.c
    cpukit/libcsupport/src/ttyname.c
    cpukit/libcsupport/src/ttyname_r.c
    cpukit/libcsupport/src/umask.c
    cpukit/libcsupport/src/unixlibc.c
    cpukit/libcsupport/src/unlink.c
    cpukit/libcsupport/src/unmount.c
    cpukit/libcsupport/src/utime.c
    cpukit/libcsupport/src/utsname.c
    cpukit/libcsupport/src/write.c
    cpukit/libfs/src/imfs/deviceio.c
    cpukit/libfs/src/imfs/imfs.h
    cpukit/libfs/src/imfs/imfs_chown.c
    cpukit/libfs/src/imfs/imfs_creat.c
    cpukit/libfs/src/imfs/imfs_debug.c
    cpukit/libfs/src/imfs/imfs_directory.c
    cpukit/libfs/src/imfs/imfs_eval.c
    cpukit/libfs/src/imfs/imfs_fchmod.c
    cpukit/libfs/src/imfs/imfs_fcntl.c
    cpukit/libfs/src/imfs/imfs_fdatasync.c
    cpukit/libfs/src/imfs/imfs_free.c
    cpukit/libfs/src/imfs/imfs_fsunmount.c
    cpukit/libfs/src/imfs/imfs_getchild.c
    cpukit/libfs/src/imfs/imfs_gtkn.c
    cpukit/libfs/src/imfs/imfs_handlers_device.c
    cpukit/libfs/src/imfs/imfs_handlers_directory.c
    cpukit/libfs/src/imfs/imfs_handlers_link.c
    cpukit/libfs/src/imfs/imfs_handlers_memfile.c
    cpukit/libfs/src/imfs/imfs_init.c
    cpukit/libfs/src/imfs/imfs_initsupp.c
    cpukit/libfs/src/imfs/imfs_link.c
    cpukit/libfs/src/imfs/imfs_mknod.c
    cpukit/libfs/src/imfs/imfs_mount.c
    cpukit/libfs/src/imfs/imfs_ntype.c
    cpukit/libfs/src/imfs/imfs_readlink.c
    cpukit/libfs/src/imfs/imfs_rmnod.c
    cpukit/libfs/src/imfs/imfs_stat.c
    cpukit/libfs/src/imfs/imfs_symlink.c
    cpukit/libfs/src/imfs/imfs_unixstub.c
    cpukit/libfs/src/imfs/imfs_unlink.c
    cpukit/libfs/src/imfs/imfs_unmount.c
    cpukit/libfs/src/imfs/imfs_utime.c
    cpukit/libfs/src/imfs/ioman.c
    cpukit/libfs/src/imfs/memfile.c
    cpukit/libfs/src/imfs/miniimfs_init.c
    cpukit/libmisc/Makefile.am
    cpukit/libmisc/README
    cpukit/libmisc/cpuuse/Makefile.am
    cpukit/libmisc/cpuuse/README
    cpukit/libmisc/cpuuse/cpuuse.c
    cpukit/libmisc/cpuuse/cpuuse.h
    cpukit/libmisc/dummy/Makefile.am
    cpukit/libmisc/dummy/README
    cpukit/libmisc/dummy/dummy.c
    cpukit/libmisc/dumpbuf/Makefile.am
    cpukit/libmisc/dumpbuf/dumpbuf.c
    cpukit/libmisc/dumpbuf/dumpbuf.h
    cpukit/libmisc/monitor/Makefile.am
    cpukit/libmisc/monitor/README
    cpukit/libmisc/monitor/mon-command.c
    cpukit/libmisc/monitor/mon-config.c
    cpukit/libmisc/monitor/mon-dname.c
    cpukit/libmisc/monitor/mon-driver.c
    cpukit/libmisc/monitor/mon-extension.c
    cpukit/libmisc/monitor/mon-itask.c
    cpukit/libmisc/monitor/mon-manager.c
    cpukit/libmisc/monitor/mon-monitor.c
    cpukit/libmisc/monitor/mon-mpci.c
    cpukit/libmisc/monitor/mon-object.c
    cpukit/libmisc/monitor/mon-prmisc.c
    cpukit/libmisc/monitor/mon-queue.c
    cpukit/libmisc/monitor/mon-server.c
    cpukit/libmisc/monitor/mon-symbols.c
    cpukit/libmisc/monitor/mon-task.c
    cpukit/libmisc/monitor/monitor.h
    cpukit/libmisc/monitor/symbols.h
    cpukit/libmisc/rtmonuse/Makefile.am
    cpukit/libmisc/rtmonuse/rtmonuse.c
    cpukit/libmisc/rtmonuse/rtmonuse.h
    cpukit/libmisc/stackchk/Makefile.am
    cpukit/libmisc/stackchk/README
    cpukit/libmisc/stackchk/check.c
    cpukit/libmisc/stackchk/internal.h
    cpukit/libmisc/stackchk/stackchk.h
    cpukit/libmisc/untar/Makefile.am
    cpukit/libmisc/untar/README
    cpukit/libmisc/untar/untar.c
    cpukit/libmisc/untar/untar.h
    cpukit/libmisc/wrapup/Makefile.am
    cpukit/libnetworking/Makefile.am
    cpukit/libnetworking/README
    cpukit/libnetworking/arpa/Makefile.am
    cpukit/libnetworking/arpa/ftp.h
    cpukit/libnetworking/arpa/inet.h
    cpukit/libnetworking/arpa/nameser.h
    cpukit/libnetworking/arpa/nameser_compat.h
    cpukit/libnetworking/arpa/telnet.h
    cpukit/libnetworking/bpfilter.h
    cpukit/libnetworking/kern/Makefile.am
    cpukit/libnetworking/kern/kern_subr.c
    cpukit/libnetworking/kern/uipc_domain.c
    cpukit/libnetworking/kern/uipc_mbuf.c
    cpukit/libnetworking/kern/uipc_socket.c
    cpukit/libnetworking/kern/uipc_socket2.c
    cpukit/libnetworking/lib/Makefile.am
    cpukit/libnetworking/lib/README
    cpukit/libnetworking/lib/getprotoby.c
    cpukit/libnetworking/lib/rtems_bsdnet_ntp.c
    cpukit/libnetworking/lib/syslog.c
    cpukit/libnetworking/lib/tftpDriver.c
    cpukit/libnetworking/libc/Makefile.am
    cpukit/libnetworking/libc/addr2ascii.3
    cpukit/libnetworking/libc/addr2ascii.c
    cpukit/libnetworking/libc/ascii2addr.c
    cpukit/libnetworking/libc/base64.c
    cpukit/libnetworking/libc/byteorder.3
    cpukit/libnetworking/libc/ether_addr.c
    cpukit/libnetworking/libc/ethers.3
    cpukit/libnetworking/libc/gethostbydns.c
    cpukit/libnetworking/libc/gethostbyht.c
    cpukit/libnetworking/libc/gethostbyname.3
    cpukit/libnetworking/libc/gethostbynis.c
    cpukit/libnetworking/libc/gethostnamadr.c
    cpukit/libnetworking/libc/gethostname.c
    cpukit/libnetworking/libc/getnetbydns.c
    cpukit/libnetworking/libc/getnetbyht.c
    cpukit/libnetworking/libc/getnetbynis.c
    cpukit/libnetworking/libc/getnetent.3
    cpukit/libnetworking/libc/getnetnamadr.c
    cpukit/libnetworking/libc/getproto.c
    cpukit/libnetworking/libc/getprotoent.3
    cpukit/libnetworking/libc/getprotoent.c
    cpukit/libnetworking/libc/getprotoname.c
    cpukit/libnetworking/libc/getservbyname.c
    cpukit/libnetworking/libc/getservbyport.c
    cpukit/libnetworking/libc/getservent.3
    cpukit/libnetworking/libc/getservent.c
    cpukit/libnetworking/libc/herror.c
    cpukit/libnetworking/libc/inet.3
    cpukit/libnetworking/libc/inet_addr.c
    cpukit/libnetworking/libc/inet_lnaof.c
    cpukit/libnetworking/libc/inet_makeaddr.c
    cpukit/libnetworking/libc/inet_net_ntop.c
    cpukit/libnetworking/libc/inet_net_pton.c
    cpukit/libnetworking/libc/inet_neta.c
    cpukit/libnetworking/libc/inet_netof.c
    cpukit/libnetworking/libc/inet_network.c
    cpukit/libnetworking/libc/inet_ntoa.c
    cpukit/libnetworking/libc/inet_ntop.c
    cpukit/libnetworking/libc/inet_pton.c
    cpukit/libnetworking/libc/iso_addr.3
    cpukit/libnetworking/libc/iso_addr.c
    cpukit/libnetworking/libc/linkaddr.3
    cpukit/libnetworking/libc/linkaddr.c
    cpukit/libnetworking/libc/map_v4v6.c
    cpukit/libnetworking/libc/ns.3
    cpukit/libnetworking/libc/ns_addr.c
    cpukit/libnetworking/libc/ns_name.c
    cpukit/libnetworking/libc/ns_netint.c
    cpukit/libnetworking/libc/ns_ntoa.c
    cpukit/libnetworking/libc/ns_parse.c
    cpukit/libnetworking/libc/ns_print.c
    cpukit/libnetworking/libc/ns_ttl.c
    cpukit/libnetworking/libc/nsap_addr.c
    cpukit/libnetworking/libc/rcmd.3
    cpukit/libnetworking/libc/rcmd.c
    cpukit/libnetworking/libc/recv.c
    cpukit/libnetworking/libc/res_comp.c
    cpukit/libnetworking/libc/res_config.h
    cpukit/libnetworking/libc/res_data.c
    cpukit/libnetworking/libc/res_debug.c
    cpukit/libnetworking/libc/res_init.c
    cpukit/libnetworking/libc/res_mkquery.c
    cpukit/libnetworking/libc/res_mkupdate.c
    cpukit/libnetworking/libc/res_query.c
    cpukit/libnetworking/libc/res_send.c
    cpukit/libnetworking/libc/res_stubs.c
    cpukit/libnetworking/libc/res_update.c
    cpukit/libnetworking/libc/resolver.3
    cpukit/libnetworking/libc/send.c
    cpukit/libnetworking/libc/strsep.c
    cpukit/libnetworking/loop.h
    cpukit/libnetworking/machine/Makefile.am
    cpukit/libnetworking/machine/conf.h
    cpukit/libnetworking/machine/cpu.h
    cpukit/libnetworking/machine/cpufunc.h
    cpukit/libnetworking/machine/endian.h
    cpukit/libnetworking/machine/in_cksum.h
    cpukit/libnetworking/machine/limits.h
    cpukit/libnetworking/machine/param.h
    cpukit/libnetworking/machine/types.h
    cpukit/libnetworking/machine/vmparam.h
    cpukit/libnetworking/net/Makefile.am
    cpukit/libnetworking/net/bpf.h
    cpukit/libnetworking/net/ethernet.h
    cpukit/libnetworking/net/if.c
    cpukit/libnetworking/net/if.h
    cpukit/libnetworking/net/if_arp.h
    cpukit/libnetworking/net/if_dl.h
    cpukit/libnetworking/net/if_ethersubr.c
    cpukit/libnetworking/net/if_llc.h
    cpukit/libnetworking/net/if_loop.c
    cpukit/libnetworking/net/if_ppp.h
    cpukit/libnetworking/net/if_types.h
    cpukit/libnetworking/net/netisr.h
    cpukit/libnetworking/net/ppp-comp.h
    cpukit/libnetworking/net/ppp_defs.h
    cpukit/libnetworking/net/radix.c
    cpukit/libnetworking/net/radix.h
    cpukit/libnetworking/net/raw_cb.c
    cpukit/libnetworking/net/raw_cb.h
    cpukit/libnetworking/net/raw_usrreq.c
    cpukit/libnetworking/net/route.c
    cpukit/libnetworking/net/route.h
    cpukit/libnetworking/net/rtsock.c
    cpukit/libnetworking/netdb.h
    cpukit/libnetworking/netinet/Makefile.am
    cpukit/libnetworking/netinet/icmp_var.h
    cpukit/libnetworking/netinet/if_ether.c
    cpukit/libnetworking/netinet/if_ether.h
    cpukit/libnetworking/netinet/igmp.c
    cpukit/libnetworking/netinet/igmp.h
    cpukit/libnetworking/netinet/igmp_var.h
    cpukit/libnetworking/netinet/in.c
    cpukit/libnetworking/netinet/in.h
    cpukit/libnetworking/netinet/in_cksum.c
    cpukit/libnetworking/netinet/in_cksum_i386.c
    cpukit/libnetworking/netinet/in_cksum_i386.h
    cpukit/libnetworking/netinet/in_cksum_m68k.c
    cpukit/libnetworking/netinet/in_cksum_m68k.h
    cpukit/libnetworking/netinet/in_cksum_powerpc.c
    cpukit/libnetworking/netinet/in_cksum_powerpc.h
    cpukit/libnetworking/netinet/in_pcb.c
    cpukit/libnetworking/netinet/in_pcb.h
    cpukit/libnetworking/netinet/in_proto.c
    cpukit/libnetworking/netinet/in_rmx.c
    cpukit/libnetworking/netinet/in_systm.h
    cpukit/libnetworking/netinet/in_var.h
    cpukit/libnetworking/netinet/ip.h
    cpukit/libnetworking/netinet/ip_divert.c
    cpukit/libnetworking/netinet/ip_fw.c
    cpukit/libnetworking/netinet/ip_fw.h
    cpukit/libnetworking/netinet/ip_icmp.c
    cpukit/libnetworking/netinet/ip_icmp.h
    cpukit/libnetworking/netinet/ip_input.c
    cpukit/libnetworking/netinet/ip_mroute.c
    cpukit/libnetworking/netinet/ip_mroute.h
    cpukit/libnetworking/netinet/ip_output.c
    cpukit/libnetworking/netinet/ip_var.h
    cpukit/libnetworking/netinet/raw_ip.c
    cpukit/libnetworking/netinet/tcp.h
    cpukit/libnetworking/netinet/tcp_debug.c
    cpukit/libnetworking/netinet/tcp_debug.h
    cpukit/libnetworking/netinet/tcp_fsm.h
    cpukit/libnetworking/netinet/tcp_input.c
    cpukit/libnetworking/netinet/tcp_output.c
    cpukit/libnetworking/netinet/tcp_seq.h
    cpukit/libnetworking/netinet/tcp_subr.c
    cpukit/libnetworking/netinet/tcp_timer.c
    cpukit/libnetworking/netinet/tcp_timer.h
    cpukit/libnetworking/netinet/tcp_usrreq.c
    cpukit/libnetworking/netinet/tcp_var.h
    cpukit/libnetworking/netinet/tcpip.h
    cpukit/libnetworking/netinet/udp.h
    cpukit/libnetworking/netinet/udp_usrreq.c
    cpukit/libnetworking/netinet/udp_var.h
    cpukit/libnetworking/nfs/Makefile.am
    cpukit/libnetworking/nfs/bootp_subr.c
    cpukit/libnetworking/nfs/krpc.h
    cpukit/libnetworking/nfs/nfs.h
    cpukit/libnetworking/nfs/nfsdiskless.h
    cpukit/libnetworking/nfs/nfsproto.h
    cpukit/libnetworking/nfs/rpcv2.h
    cpukit/libnetworking/nfs/xdr_subs.h
    cpukit/libnetworking/opt_ipfw.h
    cpukit/libnetworking/opt_mrouting.h
    cpukit/libnetworking/opt_tcpdebug.h
    cpukit/libnetworking/poll.h
    cpukit/libnetworking/resolv.h
    cpukit/libnetworking/rtems/Makefile.am
    cpukit/libnetworking/rtems/issetugid.c
    cpukit/libnetworking/rtems/rtems_bootp.c
    cpukit/libnetworking/rtems/rtems_bsdnet.h
    cpukit/libnetworking/rtems/rtems_bsdnet_internal.h
    cpukit/libnetworking/rtems/rtems_glue.c
    cpukit/libnetworking/rtems/rtems_select.c
    cpukit/libnetworking/rtems/rtems_showicmpstat.c
    cpukit/libnetworking/rtems/rtems_showifstat.c
    cpukit/libnetworking/rtems/rtems_showipstat.c
    cpukit/libnetworking/rtems/rtems_showmbuf.c
    cpukit/libnetworking/rtems/rtems_showroute.c
    cpukit/libnetworking/rtems/rtems_showtcpstat.c
    cpukit/libnetworking/rtems/rtems_showudpstat.c
    cpukit/libnetworking/rtems/rtems_syscall.c
    cpukit/libnetworking/rtems/sghostname.c
    cpukit/libnetworking/rtems/tftp.h
    cpukit/libnetworking/sys/Makefile.am
    cpukit/libnetworking/sys/buf.h
    cpukit/libnetworking/sys/callout.h
    cpukit/libnetworking/sys/conf.h
    cpukit/libnetworking/sys/domain.h
    cpukit/libnetworking/sys/kernel.h
    cpukit/libnetworking/sys/libkern.h
    cpukit/libnetworking/sys/malloc.h
    cpukit/libnetworking/sys/mbuf.h
    cpukit/libnetworking/sys/mount.h
    cpukit/libnetworking/sys/param.h
    cpukit/libnetworking/sys/proc.h
    cpukit/libnetworking/sys/protosw.h
    cpukit/libnetworking/sys/queue.h
    cpukit/libnetworking/sys/reboot.h
    cpukit/libnetworking/sys/resourcevar.h
    cpukit/libnetworking/sys/rtprio.h
    cpukit/libnetworking/sys/select.h
    cpukit/libnetworking/sys/signalvar.h
    cpukit/libnetworking/sys/socket.h
    cpukit/libnetworking/sys/socketvar.h
    cpukit/libnetworking/sys/sysctl.h
    cpukit/libnetworking/sys/syslimits.h
    cpukit/libnetworking/sys/syslog.h
    cpukit/libnetworking/sys/systm.h
    cpukit/libnetworking/sys/ttydefaults.h
    cpukit/libnetworking/sys/ucred.h
    cpukit/libnetworking/sys/uio.h
    cpukit/libnetworking/syslog.h
    cpukit/libnetworking/vm/Makefile.am
    cpukit/libnetworking/vm/vm.h
    cpukit/libnetworking/vm/vm_extern.h
    cpukit/libnetworking/vm/vm_kern.h
    cpukit/libnetworking/vm/vm_param.h
    cpukit/libnetworking/wrapup/Makefile.am
    cpukit/librpc/Makefile.am
    cpukit/librpc/include/Makefile.am
    cpukit/librpc/include/rpc/Makefile.am
    cpukit/librpc/include/rpc/auth.h
    cpukit/librpc/include/rpc/clnt.h
    cpukit/librpc/include/rpc/rpc.h
    cpukit/librpc/include/rpc/rpc_msg.h
    cpukit/librpc/include/rpc/svc.h
    cpukit/librpc/include/rpc/svc_auth.h
    cpukit/librpc/include/rpc/types.h
    cpukit/librpc/include/rpc/xdr.h
    cpukit/librpc/src/Makefile.am
    cpukit/posix/Makefile.am
    cpukit/posix/include/Makefile.am
    cpukit/posix/include/aio.h
    cpukit/posix/include/devctl.h
    cpukit/posix/include/intr.h
    cpukit/posix/include/mqueue.h
    cpukit/posix/include/rtems/posix/cancel.h
    cpukit/posix/include/rtems/posix/cond.h
    cpukit/posix/include/rtems/posix/condmp.h
    cpukit/posix/include/rtems/posix/config.h
    cpukit/posix/include/rtems/posix/intr.h
    cpukit/posix/include/rtems/posix/key.h
    cpukit/posix/include/rtems/posix/mqueue.h
    cpukit/posix/include/rtems/posix/mqueuemp.h
    cpukit/posix/include/rtems/posix/mutex.h
    cpukit/posix/include/rtems/posix/mutexmp.h
    cpukit/posix/include/rtems/posix/posixapi.h
    cpukit/posix/include/rtems/posix/priority.h
    cpukit/posix/include/rtems/posix/psignal.h
    cpukit/posix/include/rtems/posix/pthread.h
    cpukit/posix/include/rtems/posix/pthreadmp.h
    cpukit/posix/include/rtems/posix/ptimer.h
    cpukit/posix/include/rtems/posix/semaphore.h
    cpukit/posix/include/rtems/posix/semaphoremp.h
    cpukit/posix/include/rtems/posix/threadsup.h
    cpukit/posix/include/rtems/posix/time.h
    cpukit/posix/include/rtems/posix/timer.h
    cpukit/posix/include/sched.h
    cpukit/posix/include/semaphore.h
    cpukit/posix/inline/Makefile.am
    cpukit/posix/inline/rtems/posix/cond.inl
    cpukit/posix/inline/rtems/posix/intr.inl
    cpukit/posix/inline/rtems/posix/key.inl
    cpukit/posix/inline/rtems/posix/mqueue.inl
    cpukit/posix/inline/rtems/posix/mutex.inl
    cpukit/posix/inline/rtems/posix/priority.inl
    cpukit/posix/inline/rtems/posix/pthread.inl
    cpukit/posix/inline/rtems/posix/semaphore.inl
    cpukit/posix/macros/Makefile.am
    cpukit/posix/src/Makefile.am
    cpukit/posix/src/README.mqueue
    cpukit/posix/src/adasupp.c
    cpukit/posix/src/aio.c
    cpukit/posix/src/alarm.c
    cpukit/posix/src/cancel.c
    cpukit/posix/src/cancelrun.c
    cpukit/posix/src/cleanuppop.c
    cpukit/posix/src/cleanuppush.c
    cpukit/posix/src/clockgetcpuclockid.c
    cpukit/posix/src/clockgetenableattr.c
    cpukit/posix/src/clockgetres.c
    cpukit/posix/src/clockgettime.c
    cpukit/posix/src/clocksetenableattr.c
    cpukit/posix/src/clocksettime.c
    cpukit/posix/src/cond.c
    cpukit/posix/src/condattrdestroy.c
    cpukit/posix/src/condattrgetpshared.c
    cpukit/posix/src/condattrinit.c
    cpukit/posix/src/condattrsetpshared.c
    cpukit/posix/src/condbroadcast.c
    cpukit/posix/src/conddefaultattributes.c
    cpukit/posix/src/conddestroy.c
    cpukit/posix/src/condinit.c
    cpukit/posix/src/condmp.c
    cpukit/posix/src/condsignal.c
    cpukit/posix/src/condsignalsupp.c
    cpukit/posix/src/condtimedwait.c
    cpukit/posix/src/condwait.c
    cpukit/posix/src/condwaitsupp.c
    cpukit/posix/src/devctl.c
    cpukit/posix/src/execl.c
    cpukit/posix/src/execle.c
    cpukit/posix/src/execlp.c
    cpukit/posix/src/execv.c
    cpukit/posix/src/execve.c
    cpukit/posix/src/execvp.c
    cpukit/posix/src/fork.c
    cpukit/posix/src/getegid.c
    cpukit/posix/src/geteuid.c
    cpukit/posix/src/getgid.c
    cpukit/posix/src/getgroups.c
    cpukit/posix/src/getlogin.c
    cpukit/posix/src/getpgrp.c
    cpukit/posix/src/getpid.c
    cpukit/posix/src/getppid.c
    cpukit/posix/src/getuid.c
    cpukit/posix/src/intr.c
    cpukit/posix/src/key.c
    cpukit/posix/src/keycreate.c
    cpukit/posix/src/keydelete.c
    cpukit/posix/src/keygetspecific.c
    cpukit/posix/src/keyrundestructors.c
    cpukit/posix/src/keysetspecific.c
    cpukit/posix/src/kill.c
    cpukit/posix/src/killinfo.c
    cpukit/posix/src/mqueue.c
    cpukit/posix/src/mqueueclose.c
    cpukit/posix/src/mqueuecreatesupp.c
    cpukit/posix/src/mqueuedeletesupp.c
    cpukit/posix/src/mqueuegetattr.c
    cpukit/posix/src/mqueuenametoid.c
    cpukit/posix/src/mqueuenotify.c
    cpukit/posix/src/mqueueopen.c
    cpukit/posix/src/mqueuereceive.c
    cpukit/posix/src/mqueuerecvsupp.c
    cpukit/posix/src/mqueuesend.c
    cpukit/posix/src/mqueuesendsupp.c
    cpukit/posix/src/mqueuesetattr.c
    cpukit/posix/src/mqueuetimedreceive.c
    cpukit/posix/src/mqueuetimedsend.c
    cpukit/posix/src/mqueuetranslatereturncode.c
    cpukit/posix/src/mqueueunlink.c
    cpukit/posix/src/mutex.c
    cpukit/posix/src/mutexattrdestroy.c
    cpukit/posix/src/mutexattrgetprioceiling.c
    cpukit/posix/src/mutexattrgetprotocol.c
    cpukit/posix/src/mutexattrgetpshared.c
    cpukit/posix/src/mutexattrinit.c
    cpukit/posix/src/mutexattrsetprioceiling.c
    cpukit/posix/src/mutexattrsetprotocol.c
    cpukit/posix/src/mutexattrsetpshared.c
    cpukit/posix/src/mutexdefaultattributes.c
    cpukit/posix/src/mutexdestroy.c
    cpukit/posix/src/mutexfromcorestatus.c
    cpukit/posix/src/mutexgetprioceiling.c
    cpukit/posix/src/mutexinit.c
    cpukit/posix/src/mutexlock.c
    cpukit/posix/src/mutexlocksupp.c
    cpukit/posix/src/mutexmp.c
    cpukit/posix/src/mutexsetprioceiling.c
    cpukit/posix/src/mutextimedlock.c
    cpukit/posix/src/mutextrylock.c
    cpukit/posix/src/mutexunlock.c
    cpukit/posix/src/nanosleep.c
    cpukit/posix/src/pause.c
    cpukit/posix/src/posixintervaltotimespec.c
    cpukit/posix/src/posixtimespecsubtract.c
    cpukit/posix/src/posixtimespectointerval.c
    cpukit/posix/src/psignal.c
    cpukit/posix/src/psignalchecksignal.c
    cpukit/posix/src/psignalclearprocesssignals.c
    cpukit/posix/src/psignalclearsignals.c
    cpukit/posix/src/psignalsetprocesssignals.c
    cpukit/posix/src/psignalunblockthread.c
    cpukit/posix/src/pthread.c
    cpukit/posix/src/pthreadatfork.c
    cpukit/posix/src/pthreadattrdestroy.c
    cpukit/posix/src/pthreadattrgetdetachstate.c
    cpukit/posix/src/pthreadattrgetinheritsched.c
    cpukit/posix/src/pthreadattrgetschedparam.c
    cpukit/posix/src/pthreadattrgetschedpolicy.c
    cpukit/posix/src/pthreadattrgetscope.c
    cpukit/posix/src/pthreadattrgetstackaddr.c
    cpukit/posix/src/pthreadattrgetstacksize.c
    cpukit/posix/src/pthreadattrinit.c
    cpukit/posix/src/pthreadattrsetdetachstate.c
    cpukit/posix/src/pthreadattrsetinheritsched.c
    cpukit/posix/src/pthreadattrsetschedparam.c
    cpukit/posix/src/pthreadattrsetschedpolicy.c
    cpukit/posix/src/pthreadattrsetscope.c
    cpukit/posix/src/pthreadattrsetstackaddr.c
    cpukit/posix/src/pthreadattrsetstacksize.c
    cpukit/posix/src/pthreadcreate.c
    cpukit/posix/src/pthreaddetach.c
    cpukit/posix/src/pthreadequal.c
    cpukit/posix/src/pthreadexit.c
    cpukit/posix/src/pthreadgetcpuclockid.c
    cpukit/posix/src/pthreadgetcputime.c
    cpukit/posix/src/pthreadgetschedparam.c
    cpukit/posix/src/pthreadjoin.c
    cpukit/posix/src/pthreadkill.c
    cpukit/posix/src/pthreadonce.c
    cpukit/posix/src/pthreadself.c
    cpukit/posix/src/pthreadsetcputime.c
    cpukit/posix/src/pthreadsetschedparam.c
    cpukit/posix/src/pthreadsigmask.c
    cpukit/posix/src/ptimer.c
    cpukit/posix/src/ptimer1.c
    cpukit/posix/src/sched.c
    cpukit/posix/src/semaphore.c
    cpukit/posix/src/semaphorecreatesupp.c
    cpukit/posix/src/semaphoredeletesupp.c
    cpukit/posix/src/semaphoremp.c
    cpukit/posix/src/semaphorenametoid.c
    cpukit/posix/src/semaphorewaitsupp.c
    cpukit/posix/src/semclose.c
    cpukit/posix/src/semdestroy.c
    cpukit/posix/src/semgetvalue.c
    cpukit/posix/src/seminit.c
    cpukit/posix/src/semopen.c
    cpukit/posix/src/sempost.c
    cpukit/posix/src/semtimedwait.c
    cpukit/posix/src/semtrywait.c
    cpukit/posix/src/semunlink.c
    cpukit/posix/src/semwait.c
    cpukit/posix/src/setcancelstate.c
    cpukit/posix/src/setcanceltype.c
    cpukit/posix/src/setpgid.c
    cpukit/posix/src/setsid.c
    cpukit/posix/src/sigaction.c
    cpukit/posix/src/sigaddset.c
    cpukit/posix/src/sigdelset.c
    cpukit/posix/src/sigemptyset.c
    cpukit/posix/src/sigfillset.c
    cpukit/posix/src/sigismember.c
    cpukit/posix/src/signal_2.c
    cpukit/posix/src/sigpending.c
    cpukit/posix/src/sigprocmask.c
    cpukit/posix/src/sigqueue.c
    cpukit/posix/src/sigsuspend.c
    cpukit/posix/src/sigtimedwait.c
    cpukit/posix/src/sigwait.c
    cpukit/posix/src/sigwaitinfo.c
    cpukit/posix/src/sleep.c
    cpukit/posix/src/sysconf.c
    cpukit/posix/src/testcancel.c
    cpukit/posix/src/time.c
    cpukit/posix/src/types.c
    cpukit/posix/src/wait.c
    cpukit/posix/src/waitpid.c
    cpukit/pppd/Makefile.am
    cpukit/pppd/README
    cpukit/pppd/STATUS
    cpukit/pppd/auth.c
    cpukit/pppd/cbcp.c
    cpukit/pppd/cbcp.h
    cpukit/pppd/ccp.c
    cpukit/pppd/ccp.h
    cpukit/pppd/chap.c
    cpukit/pppd/chap.h
    cpukit/pppd/chap_ms.c
    cpukit/pppd/chap_ms.h
    cpukit/pppd/chat.c
    cpukit/pppd/demand.c
    cpukit/pppd/fsm.c
    cpukit/pppd/fsm.h
    cpukit/pppd/ipcp.c
    cpukit/pppd/ipcp.h
    cpukit/pppd/ipxcp.c
    cpukit/pppd/ipxcp.h
    cpukit/pppd/lcp.c
    cpukit/pppd/lcp.h
    cpukit/pppd/magic.c
    cpukit/pppd/magic.h
    cpukit/pppd/md4.c
    cpukit/pppd/md4.h
    cpukit/pppd/md5.c
    cpukit/pppd/md5.h
    cpukit/pppd/options.c
    cpukit/pppd/patchlevel.h
    cpukit/pppd/pathnames.h
    cpukit/pppd/pppd.h
    cpukit/pppd/upap.c
    cpukit/pppd/upap.h
    cpukit/rtems/Makefile.am
    cpukit/rtems/include/Makefile.am
    cpukit/rtems/include/rtems.h
    cpukit/rtems/include/rtems/rtems/asr.h
    cpukit/rtems/include/rtems/rtems/attr.h
    cpukit/rtems/include/rtems/rtems/clock.h
    cpukit/rtems/include/rtems/rtems/config.h
    cpukit/rtems/include/rtems/rtems/dpmem.h
    cpukit/rtems/include/rtems/rtems/event.h
    cpukit/rtems/include/rtems/rtems/eventmp.h
    cpukit/rtems/include/rtems/rtems/eventset.h
    cpukit/rtems/include/rtems/rtems/intr.h
    cpukit/rtems/include/rtems/rtems/message.h
    cpukit/rtems/include/rtems/rtems/modes.h
    cpukit/rtems/include/rtems/rtems/mp.h
    cpukit/rtems/include/rtems/rtems/msgmp.h
    cpukit/rtems/include/rtems/rtems/options.h
    cpukit/rtems/include/rtems/rtems/part.h
    cpukit/rtems/include/rtems/rtems/partmp.h
    cpukit/rtems/include/rtems/rtems/ratemon.h
    cpukit/rtems/include/rtems/rtems/region.h
    cpukit/rtems/include/rtems/rtems/regionmp.h
    cpukit/rtems/include/rtems/rtems/rtemsapi.h
    cpukit/rtems/include/rtems/rtems/sem.h
    cpukit/rtems/include/rtems/rtems/semmp.h
    cpukit/rtems/include/rtems/rtems/signal.h
    cpukit/rtems/include/rtems/rtems/signalmp.h
    cpukit/rtems/include/rtems/rtems/status.h
    cpukit/rtems/include/rtems/rtems/support.h
    cpukit/rtems/include/rtems/rtems/taskmp.h
    cpukit/rtems/include/rtems/rtems/tasks.h
    cpukit/rtems/include/rtems/rtems/timer.h
    cpukit/rtems/include/rtems/rtems/types.h
    cpukit/rtems/inline/Makefile.am
    cpukit/rtems/inline/rtems/rtems/asr.inl
    cpukit/rtems/inline/rtems/rtems/attr.inl
    cpukit/rtems/inline/rtems/rtems/dpmem.inl
    cpukit/rtems/inline/rtems/rtems/event.inl
    cpukit/rtems/inline/rtems/rtems/eventset.inl
    cpukit/rtems/inline/rtems/rtems/message.inl
    cpukit/rtems/inline/rtems/rtems/modes.inl
    cpukit/rtems/inline/rtems/rtems/options.inl
    cpukit/rtems/inline/rtems/rtems/part.inl
    cpukit/rtems/inline/rtems/rtems/ratemon.inl
    cpukit/rtems/inline/rtems/rtems/region.inl
    cpukit/rtems/inline/rtems/rtems/sem.inl
    cpukit/rtems/inline/rtems/rtems/status.inl
    cpukit/rtems/inline/rtems/rtems/support.inl
    cpukit/rtems/inline/rtems/rtems/tasks.inl
    cpukit/rtems/inline/rtems/rtems/timer.inl
    cpukit/rtems/macros/Makefile.am
    cpukit/rtems/macros/rtems/rtems/asr.inl
    cpukit/rtems/macros/rtems/rtems/attr.inl
    cpukit/rtems/macros/rtems/rtems/dpmem.inl
    cpukit/rtems/macros/rtems/rtems/event.inl
    cpukit/rtems/macros/rtems/rtems/eventset.inl
    cpukit/rtems/macros/rtems/rtems/message.inl
    cpukit/rtems/macros/rtems/rtems/modes.inl
    cpukit/rtems/macros/rtems/rtems/options.inl
    cpukit/rtems/macros/rtems/rtems/part.inl
    cpukit/rtems/macros/rtems/rtems/ratemon.inl
    cpukit/rtems/macros/rtems/rtems/region.inl
    cpukit/rtems/macros/rtems/rtems/sem.inl
    cpukit/rtems/macros/rtems/rtems/status.inl
    cpukit/rtems/macros/rtems/rtems/support.inl
    cpukit/rtems/macros/rtems/rtems/tasks.inl
    cpukit/rtems/macros/rtems/rtems/timer.inl
    cpukit/rtems/src/Makefile.am
    cpukit/rtems/src/attr.c
    cpukit/rtems/src/clockget.c
    cpukit/rtems/src/clockset.c
    cpukit/rtems/src/clocktick.c
    cpukit/rtems/src/clocktodtoseconds.c
    cpukit/rtems/src/clocktodvalidate.c
    cpukit/rtems/src/dpmem.c
    cpukit/rtems/src/dpmemcreate.c
    cpukit/rtems/src/dpmemdelete.c
    cpukit/rtems/src/dpmemexternal2internal.c
    cpukit/rtems/src/dpmemident.c
    cpukit/rtems/src/dpmeminternal2external.c
    cpukit/rtems/src/event.c
    cpukit/rtems/src/eventmp.c
    cpukit/rtems/src/eventreceive.c
    cpukit/rtems/src/eventseize.c
    cpukit/rtems/src/eventsend.c
    cpukit/rtems/src/eventsurrender.c
    cpukit/rtems/src/eventtimeout.c
    cpukit/rtems/src/intr.c
    cpukit/rtems/src/intrbody.c
    cpukit/rtems/src/intrcatch.c
    cpukit/rtems/src/mp.c
    cpukit/rtems/src/msg.c
    cpukit/rtems/src/msgmp.c
    cpukit/rtems/src/msgqallocate.c
    cpukit/rtems/src/msgqbroadcast.c
    cpukit/rtems/src/msgqcreate.c
    cpukit/rtems/src/msgqdelete.c
    cpukit/rtems/src/msgqflush.c
    cpukit/rtems/src/msgqgetnumberpending.c
    cpukit/rtems/src/msgqident.c
    cpukit/rtems/src/msgqreceive.c
    cpukit/rtems/src/msgqsend.c
    cpukit/rtems/src/msgqsubmit.c
    cpukit/rtems/src/msgqtranslatereturncode.c
    cpukit/rtems/src/msgqurgent.c
    cpukit/rtems/src/part.c
    cpukit/rtems/src/partcreate.c
    cpukit/rtems/src/partdelete.c
    cpukit/rtems/src/partgetbuffer.c
    cpukit/rtems/src/partident.c
    cpukit/rtems/src/partmp.c
    cpukit/rtems/src/partreturnbuffer.c
    cpukit/rtems/src/ratemon.c
    cpukit/rtems/src/ratemoncancel.c
    cpukit/rtems/src/ratemoncreate.c
    cpukit/rtems/src/ratemondelete.c
    cpukit/rtems/src/ratemongetstatus.c
    cpukit/rtems/src/ratemonident.c
    cpukit/rtems/src/ratemonperiod.c
    cpukit/rtems/src/ratemontimeout.c
    cpukit/rtems/src/region.c
    cpukit/rtems/src/regioncreate.c
    cpukit/rtems/src/regiondelete.c
    cpukit/rtems/src/regionextend.c
    cpukit/rtems/src/regiongetsegment.c
    cpukit/rtems/src/regiongetsegmentsize.c
    cpukit/rtems/src/regionident.c
    cpukit/rtems/src/regionmp.c
    cpukit/rtems/src/regionreturnsegment.c
    cpukit/rtems/src/rtclock.c
    cpukit/rtems/src/rtemstimer.c
    cpukit/rtems/src/sem.c
    cpukit/rtems/src/semcreate.c
    cpukit/rtems/src/semdelete.c
    cpukit/rtems/src/semflush.c
    cpukit/rtems/src/semident.c
    cpukit/rtems/src/semmp.c
    cpukit/rtems/src/semobtain.c
    cpukit/rtems/src/semrelease.c
    cpukit/rtems/src/semtranslatereturncode.c
    cpukit/rtems/src/signal.c
    cpukit/rtems/src/signalcatch.c
    cpukit/rtems/src/signalmp.c
    cpukit/rtems/src/signalsend.c
    cpukit/rtems/src/taskcreate.c
    cpukit/rtems/src/taskdelete.c
    cpukit/rtems/src/taskgetnote.c
    cpukit/rtems/src/taskident.c
    cpukit/rtems/src/taskinitusers.c
    cpukit/rtems/src/taskissuspended.c
    cpukit/rtems/src/taskmode.c
    cpukit/rtems/src/taskmp.c
    cpukit/rtems/src/taskrestart.c
    cpukit/rtems/src/taskresume.c
    cpukit/rtems/src/tasks.c
    cpukit/rtems/src/tasksetnote.c
    cpukit/rtems/src/tasksetpriority.c
    cpukit/rtems/src/taskstart.c
    cpukit/rtems/src/tasksuspend.c
    cpukit/rtems/src/taskvariableadd.c
    cpukit/rtems/src/taskvariabledelete.c
    cpukit/rtems/src/taskvariableget.c
    cpukit/rtems/src/taskwakeafter.c
    cpukit/rtems/src/taskwakewhen.c
    cpukit/rtems/src/timercancel.c
    cpukit/rtems/src/timercreate.c
    cpukit/rtems/src/timerdelete.c
    cpukit/rtems/src/timerfireafter.c
    cpukit/rtems/src/timerfirewhen.c
    cpukit/rtems/src/timerident.c
    cpukit/rtems/src/timerreset.c
    cpukit/sapi/Makefile.am
    cpukit/sapi/include/Makefile.am
    cpukit/sapi/include/confdefs.h
    cpukit/sapi/include/rtems/README
    cpukit/sapi/include/rtems/config.h
    cpukit/sapi/include/rtems/extension.h
    cpukit/sapi/include/rtems/fatal.h
    cpukit/sapi/include/rtems/init.h
    cpukit/sapi/include/rtems/io.h
    cpukit/sapi/include/rtems/mptables.h
    cpukit/sapi/include/rtems/sptables.h.in
    cpukit/sapi/inline/Makefile.am
    cpukit/sapi/inline/rtems/extension.inl
    cpukit/sapi/macros/Makefile.am
    cpukit/sapi/macros/rtems/extension.inl
    cpukit/sapi/src/Makefile.am
    cpukit/sapi/src/debug.c
    cpukit/sapi/src/exinit.c
    cpukit/sapi/src/extension.c
    cpukit/sapi/src/fatal.c
    cpukit/sapi/src/io.c
    cpukit/sapi/src/itronapi.c
    cpukit/sapi/src/posixapi.c
    cpukit/sapi/src/rtemsapi.c
    cpukit/score/Makefile.am
    cpukit/score/cpu/Makefile.am
    cpukit/score/cpu/a29k/Makefile.am
    cpukit/score/cpu/a29k/amd.ah
    cpukit/score/cpu/a29k/asm.h
    cpukit/score/cpu/a29k/cpu.c
    cpukit/score/cpu/a29k/cpu_asm.S
    cpukit/score/cpu/a29k/pswmacro.ah
    cpukit/score/cpu/a29k/register.ah
    cpukit/score/cpu/a29k/rtems/score/a29k.h
    cpukit/score/cpu/a29k/rtems/score/cpu.h
    cpukit/score/cpu/a29k/rtems/score/cpu_asm.h
    cpukit/score/cpu/a29k/rtems/score/types.h
    cpukit/score/cpu/a29k/sig.S
    cpukit/score/cpu/hppa1.1/Makefile.am
    cpukit/score/cpu/hppa1.1/cpu.c
    cpukit/score/cpu/hppa1.1/cpu_asm.S
    cpukit/score/cpu/hppa1.1/rtems/score/cpu.h
    cpukit/score/cpu/hppa1.1/rtems/score/cpu_asm.h
    cpukit/score/cpu/hppa1.1/rtems/score/hppa.h
    cpukit/score/cpu/hppa1.1/rtems/score/types.h
    cpukit/score/cpu/i386/Makefile.am
    cpukit/score/cpu/i386/asm.h
    cpukit/score/cpu/i386/cpu.c
    cpukit/score/cpu/i386/cpu_asm.S
    cpukit/score/cpu/i386/rtems/asm.h
    cpukit/score/cpu/i386/rtems/score/cpu.h
    cpukit/score/cpu/i386/rtems/score/i386.h
    cpukit/score/cpu/i386/rtems/score/types.h
    cpukit/score/cpu/i960/Makefile.am
    cpukit/score/cpu/i960/asm.h
    cpukit/score/cpu/i960/cpu.c
    cpukit/score/cpu/i960/cpu_asm.S
    cpukit/score/cpu/i960/rtems/score/cpu.h
    cpukit/score/cpu/i960/rtems/score/i960.h
    cpukit/score/cpu/i960/rtems/score/types.h
    cpukit/score/cpu/m68k/Makefile.am
    cpukit/score/cpu/m68k/asm.h
    cpukit/score/cpu/m68k/cpu.c
    cpukit/score/cpu/m68k/cpu_asm.S
    cpukit/score/cpu/m68k/m68302.h
    cpukit/score/cpu/m68k/m68360.h
    cpukit/score/cpu/m68k/memcpy.c
    cpukit/score/cpu/m68k/qsm.h
    cpukit/score/cpu/m68k/rtems/asm.h
    cpukit/score/cpu/m68k/rtems/m68k/m68302.h
    cpukit/score/cpu/m68k/rtems/m68k/m68360.h
    cpukit/score/cpu/m68k/rtems/m68k/qsm.h
    cpukit/score/cpu/m68k/rtems/m68k/sim.h
    cpukit/score/cpu/m68k/rtems/score/cpu.h
    cpukit/score/cpu/m68k/rtems/score/m68k.h
    cpukit/score/cpu/m68k/rtems/score/types.h
    cpukit/score/cpu/m68k/sim.h
    cpukit/score/cpu/mips/Makefile.am
    cpukit/score/cpu/mips/asm.h
    cpukit/score/cpu/mips/cpu.c
    cpukit/score/cpu/mips/cpu_asm.S
    cpukit/score/cpu/mips/idtcpu.h
    cpukit/score/cpu/mips/iregdef.h
    cpukit/score/cpu/mips/rtems/asm.h
    cpukit/score/cpu/mips/rtems/mips/idtcpu.h
    cpukit/score/cpu/mips/rtems/mips/iregdef.h
    cpukit/score/cpu/mips/rtems/score/cpu.h
    cpukit/score/cpu/mips/rtems/score/mips.h
    cpukit/score/cpu/mips/rtems/score/types.h
    cpukit/score/cpu/mips64orion/Makefile.am
    cpukit/score/cpu/mips64orion/asm.h
    cpukit/score/cpu/mips64orion/cpu.c
    cpukit/score/cpu/mips64orion/cpu_asm.S
    cpukit/score/cpu/mips64orion/cpu_asm.h
    cpukit/score/cpu/mips64orion/idtcpu.h
    cpukit/score/cpu/mips64orion/idtmon.h
    cpukit/score/cpu/mips64orion/iregdef.h
    cpukit/score/cpu/mips64orion/rtems/score/cpu.h
    cpukit/score/cpu/mips64orion/rtems/score/mips64orion.h
    cpukit/score/cpu/mips64orion/rtems/score/types.h
    cpukit/score/cpu/no_cpu/Makefile.am
    cpukit/score/cpu/no_cpu/asm.h
    cpukit/score/cpu/no_cpu/cpu.c
    cpukit/score/cpu/no_cpu/cpu_asm.c
    cpukit/score/cpu/no_cpu/rtems/asm.h
    cpukit/score/cpu/no_cpu/rtems/score/cpu.h
    cpukit/score/cpu/no_cpu/rtems/score/cpu_asm.h
    cpukit/score/cpu/no_cpu/rtems/score/no_cpu.h
    cpukit/score/cpu/no_cpu/rtems/score/types.h
    cpukit/score/cpu/powerpc/Makefile.am
    cpukit/score/cpu/powerpc/asm.h
    cpukit/score/cpu/powerpc/rtems/asm.h
    cpukit/score/cpu/powerpc/rtems/score/ppc.h
    cpukit/score/cpu/powerpc/rtems/score/types.h
    cpukit/score/cpu/sh/Makefile.am
    cpukit/score/cpu/sh/asm.h
    cpukit/score/cpu/sh/cpu.c
    cpukit/score/cpu/sh/rtems/asm.h
    cpukit/score/cpu/sh/rtems/score/cpu.h
    cpukit/score/cpu/sh/rtems/score/sh.h
    cpukit/score/cpu/sh/rtems/score/sh_io.h
    cpukit/score/cpu/sh/rtems/score/types.h
    cpukit/score/cpu/sparc/Makefile.am
    cpukit/score/cpu/sparc/README
    cpukit/score/cpu/sparc/asm.h
    cpukit/score/cpu/sparc/cpu.c
    cpukit/score/cpu/sparc/cpu_asm.S
    cpukit/score/cpu/sparc/rtems/asm.h
    cpukit/score/cpu/sparc/rtems/score/cpu.h
    cpukit/score/cpu/sparc/rtems/score/sparc.h
    cpukit/score/cpu/sparc/rtems/score/types.h
    cpukit/score/cpu/unix/Makefile.am
    cpukit/score/cpu/unix/cpu.c
    cpukit/score/cpu/unix/rtems/score/cpu.h
    cpukit/score/cpu/unix/rtems/score/types.h
    cpukit/score/cpu/unix/rtems/score/unix.h
    cpukit/score/include/Makefile.am
    cpukit/score/include/rtems/debug.h
    cpukit/score/include/rtems/score/address.h
    cpukit/score/include/rtems/score/apiext.h
    cpukit/score/include/rtems/score/bitfield.h
    cpukit/score/include/rtems/score/chain.h
    cpukit/score/include/rtems/score/context.h
    cpukit/score/include/rtems/score/copyrt.h
    cpukit/score/include/rtems/score/coremsg.h
    cpukit/score/include/rtems/score/coremutex.h
    cpukit/score/include/rtems/score/coresem.h
    cpukit/score/include/rtems/score/heap.h
    cpukit/score/include/rtems/score/interr.h
    cpukit/score/include/rtems/score/isr.h
    cpukit/score/include/rtems/score/mpci.h
    cpukit/score/include/rtems/score/mppkt.h
    cpukit/score/include/rtems/score/object.h
    cpukit/score/include/rtems/score/objectmp.h
    cpukit/score/include/rtems/score/priority.h
    cpukit/score/include/rtems/score/stack.h
    cpukit/score/include/rtems/score/states.h
    cpukit/score/include/rtems/score/sysstate.h
    cpukit/score/include/rtems/score/thread.h
    cpukit/score/include/rtems/score/threadmp.h
    cpukit/score/include/rtems/score/threadq.h
    cpukit/score/include/rtems/score/tod.h
    cpukit/score/include/rtems/score/tqdata.h
    cpukit/score/include/rtems/score/userext.h
    cpukit/score/include/rtems/score/watchdog.h
    cpukit/score/include/rtems/score/wkspace.h
    cpukit/score/include/rtems/system.h
    cpukit/score/inline/Makefile.am
    cpukit/score/inline/rtems/score/address.inl
    cpukit/score/inline/rtems/score/chain.inl
    cpukit/score/inline/rtems/score/coremsg.inl
    cpukit/score/inline/rtems/score/coremutex.inl
    cpukit/score/inline/rtems/score/coresem.inl
    cpukit/score/inline/rtems/score/heap.inl
    cpukit/score/inline/rtems/score/isr.inl
    cpukit/score/inline/rtems/score/mppkt.inl
    cpukit/score/inline/rtems/score/object.inl
    cpukit/score/inline/rtems/score/objectmp.inl
    cpukit/score/inline/rtems/score/priority.inl
    cpukit/score/inline/rtems/score/stack.inl
    cpukit/score/inline/rtems/score/states.inl
    cpukit/score/inline/rtems/score/sysstate.inl
    cpukit/score/inline/rtems/score/thread.inl
    cpukit/score/inline/rtems/score/threadmp.inl
    cpukit/score/inline/rtems/score/tod.inl
    cpukit/score/inline/rtems/score/tqdata.inl
    cpukit/score/inline/rtems/score/userext.inl
    cpukit/score/inline/rtems/score/watchdog.inl
    cpukit/score/inline/rtems/score/wkspace.inl
    cpukit/score/macros/Makefile.am
    cpukit/score/macros/README
    cpukit/score/macros/rtems/score/README
    cpukit/score/macros/rtems/score/address.inl
    cpukit/score/macros/rtems/score/chain.inl
    cpukit/score/macros/rtems/score/coremsg.inl
    cpukit/score/macros/rtems/score/coremutex.inl
    cpukit/score/macros/rtems/score/coresem.inl
    cpukit/score/macros/rtems/score/heap.inl
    cpukit/score/macros/rtems/score/isr.inl
    cpukit/score/macros/rtems/score/mppkt.inl
    cpukit/score/macros/rtems/score/object.inl
    cpukit/score/macros/rtems/score/objectmp.inl
    cpukit/score/macros/rtems/score/priority.inl
    cpukit/score/macros/rtems/score/stack.inl
    cpukit/score/macros/rtems/score/states.inl
    cpukit/score/macros/rtems/score/sysstate.inl
    cpukit/score/macros/rtems/score/thread.inl
    cpukit/score/macros/rtems/score/threadmp.inl
    cpukit/score/macros/rtems/score/tod.inl
    cpukit/score/macros/rtems/score/tqdata.inl
    cpukit/score/macros/rtems/score/userext.inl
    cpukit/score/macros/rtems/score/watchdog.inl
    cpukit/score/macros/rtems/score/wkspace.inl
    cpukit/score/src/Makefile.am
    cpukit/score/src/Unlimited.txt
    cpukit/score/src/apiext.c
    cpukit/score/src/chain.c
    cpukit/score/src/coremsg.c
    cpukit/score/src/coremsgbroadcast.c
    cpukit/score/src/coremsgclose.c
    cpukit/score/src/coremsgflush.c
    cpukit/score/src/coremsgflushsupp.c
    cpukit/score/src/coremsgflushwait.c
    cpukit/score/src/coremsginsert.c
    cpukit/score/src/coremsgseize.c
    cpukit/score/src/coremsgsubmit.c
    cpukit/score/src/coremutex.c
    cpukit/score/src/coremutexflush.c
    cpukit/score/src/coremutexseize.c
    cpukit/score/src/coremutexsurrender.c
    cpukit/score/src/coresem.c
    cpukit/score/src/coresemflush.c
    cpukit/score/src/coresemseize.c
    cpukit/score/src/coresemsurrender.c
    cpukit/score/src/coretod.c
    cpukit/score/src/coretodset.c
    cpukit/score/src/coretodtickle.c
    cpukit/score/src/coretodtoseconds.c
    cpukit/score/src/coretodvalidate.c
    cpukit/score/src/heap.c
    cpukit/score/src/heapallocate.c
    cpukit/score/src/heapextend.c
    cpukit/score/src/heapfree.c
    cpukit/score/src/heapsizeofuserarea.c
    cpukit/score/src/heapwalk.c
    cpukit/score/src/interr.c
    cpukit/score/src/isr.c
    cpukit/score/src/mpci.c
    cpukit/score/src/object.c
    cpukit/score/src/objectallocate.c
    cpukit/score/src/objectallocatebyindex.c
    cpukit/score/src/objectclearname.c
    cpukit/score/src/objectcomparenameraw.c
    cpukit/score/src/objectcomparenamestring.c
    cpukit/score/src/objectcopynameraw.c
    cpukit/score/src/objectcopynamestring.c
    cpukit/score/src/objectextendinformation.c
    cpukit/score/src/objectfree.c
    cpukit/score/src/objectget.c
    cpukit/score/src/objectgetbyindex.c
    cpukit/score/src/objectgetnext.c
    cpukit/score/src/objectinitializeinformation.c
    cpukit/score/src/objectmp.c
    cpukit/score/src/objectnametoid.c
    cpukit/score/src/objectshrinkinformation.c
    cpukit/score/src/thread.c
    cpukit/score/src/threadchangepriority.c
    cpukit/score/src/threadclearstate.c
    cpukit/score/src/threadclose.c
    cpukit/score/src/threadcreateidle.c
    cpukit/score/src/threaddelayended.c
    cpukit/score/src/threaddispatch.c
    cpukit/score/src/threadevaluatemode.c
    cpukit/score/src/threadget.c
    cpukit/score/src/threadhandler.c
    cpukit/score/src/threadidlebody.c
    cpukit/score/src/threadinitialize.c
    cpukit/score/src/threadloadenv.c
    cpukit/score/src/threadmp.c
    cpukit/score/src/threadq.c
    cpukit/score/src/threadqdequeue.c
    cpukit/score/src/threadqdequeuefifo.c
    cpukit/score/src/threadqdequeuepriority.c
    cpukit/score/src/threadqenqueue.c
    cpukit/score/src/threadqenqueuefifo.c
    cpukit/score/src/threadqenqueuepriority.c
    cpukit/score/src/threadqextract.c
    cpukit/score/src/threadqextractfifo.c
    cpukit/score/src/threadqextractpriority.c
    cpukit/score/src/threadqextractwithproxy.c
    cpukit/score/src/threadqfirst.c
    cpukit/score/src/threadqfirstfifo.c
    cpukit/score/src/threadqfirstpriority.c
    cpukit/score/src/threadqflush.c
    cpukit/score/src/threadqtimeout.c
    cpukit/score/src/threadready.c
    cpukit/score/src/threadreset.c
    cpukit/score/src/threadresettimeslice.c
    cpukit/score/src/threadrestart.c
    cpukit/score/src/threadresume.c
    cpukit/score/src/threadrotatequeue.c
    cpukit/score/src/threadsetpriority.c
    cpukit/score/src/threadsetstate.c
    cpukit/score/src/threadsettransient.c
    cpukit/score/src/threadstackallocate.c
    cpukit/score/src/threadstackfree.c
    cpukit/score/src/threadstart.c
    cpukit/score/src/threadstartmultitasking.c
    cpukit/score/src/threadsuspend.c
    cpukit/score/src/threadtickletimeslice.c
    cpukit/score/src/threadyieldprocessor.c
    cpukit/score/src/userext.c
    cpukit/score/src/watchdog.c
    cpukit/score/src/watchdogadjust.c
    cpukit/score/src/watchdoginsert.c
    cpukit/score/src/watchdogremove.c
    cpukit/score/src/watchdogtickle.c
    cpukit/score/src/wkspace.c
    cpukit/wrapup/Makefile.am
    cpukit/zlib/doc/rfc1950.txt
    cpukit/zlib/doc/rfc1951.txt
    cpukit/zlib/doc/rfc1952.txt
    doc/BAD.html
    doc/FAQ/FAQ.texi
    doc/FAQ/Makefile
    doc/FAQ/basic.t
    doc/FAQ/bsp.t
    doc/FAQ/concepts.t
    doc/FAQ/debug.t
    doc/FAQ/embeddedinfo.t
    doc/FAQ/endoftime.t
    doc/FAQ/entry
    doc/FAQ/freesw.t
    doc/FAQ/hwdebugaids.t
    doc/FAQ/projects.t
    doc/FAQ/tools.t
    doc/HELP.html
    doc/Make.config
    doc/Makefile
    doc/README
    doc/TODO
    doc/VERSION
    doc/ada_user/Makefile
    doc/ada_user/ada_user.texi
    doc/ada_user/example.texi
    doc/archgrey.gif
    doc/bsp_howto/Makefile
    doc/bsp_howto/adaintr.t
    doc/bsp_howto/analog.t
    doc/bsp_howto/bsp_howto.texi
    doc/bsp_howto/clock.t
    doc/bsp_howto/console.t
    doc/bsp_howto/discrete.t
    doc/bsp_howto/init.t
    doc/bsp_howto/intro.t
    doc/bsp_howto/linkcmds.t
    doc/bsp_howto/makefiles.t
    doc/bsp_howto/nvmem.t
    doc/bsp_howto/rtc.t
    doc/bsp_howto/shmsupp.t
    doc/bsp_howto/support.t
    doc/bsp_howto/target.t
    doc/bsp_howto/timer.t
    doc/common/cpright.texi
    doc/common/dvi.gif
    doc/common/oaronly.jpg
    doc/common/pdf.gif
    doc/common/pdf1.gif
    doc/common/ps.gif
    doc/common/setup.texi
    doc/common/timemac.texi
    doc/common/timetbl.t
    doc/common/timing.t
    doc/common/treedef.tex
    doc/common/up-arrow.gif
    doc/common/wksheets.t
    doc/develenv/Makefile
    doc/develenv/compile.texi
    doc/develenv/develenv.texi
    doc/develenv/direct.texi
    doc/develenv/intro.texi
    doc/develenv/sample.texi
    doc/develenv/utils.texi
    doc/do_docs
    doc/filesystem/Makefile
    doc/filesystem/filesystem.texi
    doc/filesystem/fsrequirements.t
    doc/filesystem/imfs.t
    doc/filesystem/init.t
    doc/filesystem/miniimfs.t
    doc/filesystem/mounting.t
    doc/filesystem/patheval.t
    doc/filesystem/preface.texi
    doc/filesystem/syscalls.t
    doc/filesystem/tftp.t
    doc/gnu_docs/Tool_Doc_Instructions
    doc/gnu_docs/gen_docs
    doc/gnu_docs/gnu_footer.html
    doc/gnu_docs/gnu_header.html
    doc/gnu_docs/index.html
    doc/gnu_docs/mk_install_dir
    doc/gnu_docs/refcard.html
    doc/gnu_docs/rtems_tools_index.html
    doc/index.html
    doc/itron3.0/Makefile
    doc/itron3.0/config.t
    doc/itron3.0/eventflags.t
    doc/itron3.0/fixedblock.t
    doc/itron3.0/gen_all
    doc/itron3.0/gen_section
    doc/itron3.0/gen_status_shell
    doc/itron3.0/interrupt.t
    doc/itron3.0/itron.texi
    doc/itron3.0/mailbox.t
    doc/itron3.0/memorypool.t
    doc/itron3.0/msgbuffer.t
    doc/itron3.0/network.t
    doc/itron3.0/preface.texi
    doc/itron3.0/rendezvous.t
    doc/itron3.0/semaphore.t
    doc/itron3.0/status.t
    doc/itron3.0/task.t
    doc/itron3.0/tasksync.t
    doc/itron3.0/time.t
    doc/networking/Makefile
    doc/networking/PCIreg.eps
    doc/networking/PCIreg.jpg
    doc/networking/PCIreg.pdf
    doc/networking/decdriver.t
    doc/networking/driver.t
    doc/networking/networkapp.t
    doc/networking/networkflow.eps
    doc/networking/networkflow.jpg
    doc/networking/networkflow.pdf
    doc/networking/networkflow.png
    doc/networking/networking.texi
    doc/networking/networktasks.t
    doc/networking/preface.texi
    doc/networking/recvbd.eps
    doc/networking/recvbd.jpg
    doc/networking/recvbd.pdf
    doc/networking/servers.t
    doc/networking/testing.t
    doc/new_chapters/Makefile
    doc/new_chapters/STATUS
    doc/new_chapters/TODO
    doc/new_chapters/adminiface.t
    doc/new_chapters/base.t
    doc/new_chapters/confspace.t
    doc/new_chapters/cpuuse.t
    doc/new_chapters/dumpcontrol.t
    doc/new_chapters/error.t
    doc/new_chapters/eventlog.t
    doc/new_chapters/gen_section
    doc/new_chapters/monitor.t
    doc/new_chapters/new_chapters.texi
    doc/new_chapters/rtmonuse.t
    doc/new_chapters/stackchk.t
    doc/oaronly.jpg
    doc/porting/Makefile
    doc/porting/codetuning.t
    doc/porting/cpuinit.t
    doc/porting/cpumodels.t
    doc/porting/developtools.t
    doc/porting/idlethread.t
    doc/porting/interrupts.t
    doc/porting/miscellaneous.t
    doc/porting/porting.texi
    doc/porting/preface.texi
    doc/porting/prioritybitmap.t
    doc/porting/sourcecode.t
    doc/porting/taskcontext.t
    doc/posix1003.1/Makefile
    doc/posix1003.1/ch01.t
    doc/posix1003.1/ch02.t
    doc/posix1003.1/ch03.t
    doc/posix1003.1/ch04.t
    doc/posix1003.1/ch05.t
    doc/posix1003.1/ch06.t
    doc/posix1003.1/ch07.t
    doc/posix1003.1/ch08.t
    doc/posix1003.1/ch09.t
    doc/posix1003.1/ch10.t
    doc/posix1003.1/ch11.t
    doc/posix1003.1/ch12.t
    doc/posix1003.1/ch13.t
    doc/posix1003.1/ch14.t
    doc/posix1003.1/ch15.t
    doc/posix1003.1/ch16.t
    doc/posix1003.1/ch17.t
    doc/posix1003.1/ch18.t
    doc/posix1003.1/posix1003_1.texi
    doc/posix1003.1/preface.texi
    doc/posix1003.1/summarize
    doc/posix_users/Makefile
    doc/posix_users/cancel.t
    doc/posix_users/clock.t
    doc/posix_users/cond.t
    doc/posix_users/cspecific.t
    doc/posix_users/device.t
    doc/posix_users/files.t
    doc/posix_users/gen_size_report
    doc/posix_users/io.t
    doc/posix_users/key.t
    doc/posix_users/libc.t
    doc/posix_users/libm.t
    doc/posix_users/memorymgmt.t
    doc/posix_users/message.t
    doc/posix_users/mutex.t
    doc/posix_users/posix_users.texi
    doc/posix_users/preface.texi
    doc/posix_users/procenv.t
    doc/posix_users/process.t
    doc/posix_users/sched.t
    doc/posix_users/semaphores.t
    doc/posix_users/signal.t
    doc/posix_users/status.t
    doc/posix_users/systemdb.t
    doc/posix_users/thread.t
    doc/posix_users/timer.t
    doc/relnotes/Makefile
    doc/relnotes/install.texi
    doc/relnotes/intro.texi
    doc/relnotes/probrep.texi
    doc/relnotes/relnotes.texi
    doc/relnotes/status.texi
    doc/rgdb_specs/Makefile
    doc/rgdb_specs/comm.t
    doc/rgdb_specs/conclusion.t
    doc/rgdb_specs/daemon.t
    doc/rgdb_specs/garde.eps
    doc/rgdb_specs/garde.pdf
    doc/rgdb_specs/gdbinternals.t
    doc/rgdb_specs/interfacing.t
    doc/rgdb_specs/intro.t
    doc/rgdb_specs/layers.eps
    doc/rgdb_specs/layers.jpg
    doc/rgdb_specs/layers.pdf
    doc/rgdb_specs/objectives.t
    doc/rgdb_specs/process.eps
    doc/rgdb_specs/process.jpg
    doc/rgdb_specs/process.pdf
    doc/rgdb_specs/revision.t
    doc/rgdb_specs/rgdb_specs.texi
    doc/rgdb_specs/seqbreak.eps
    doc/rgdb_specs/seqbreak.jpg
    doc/rgdb_specs/seqbreak.pdf
    doc/rgdb_specs/seqdetach.eps
    doc/rgdb_specs/seqdetach.jpg
    doc/rgdb_specs/seqdetach.pdf
    doc/rgdb_specs/seqinit.eps
    doc/rgdb_specs/seqinit.jpg
    doc/rgdb_specs/seqinit.pdf
    doc/rtems_footer.html
    doc/rtems_gdb/Makefile
    doc/rtems_gdb/commands.t
    doc/rtems_gdb/example.t
    doc/rtems_gdb/intro.t
    doc/rtems_gdb/rtems_gdb.texi
    doc/rtems_gdb/started.t
    doc/rtems_gdb/swarch.t
    doc/rtems_gdb/trouble.t
    doc/rtems_header.html
    doc/rtems_support.html
    doc/src2html/Makefile
    doc/src2html/RTEMS.test
    doc/started/Makefile
    doc/started/buildc.t
    doc/started/buildrt.t
    doc/started/gdb.t
    doc/started/intro.t
    doc/started/nt.t
    doc/started/pictures/bit_ada.jpg
    doc/started/pictures/bit_ada.vsd
    doc/started/pictures/bit_c.jpg
    doc/started/pictures/bit_c.vsd
    doc/started/pictures/scfile10.jpg
    doc/started/pictures/scfile10.vsd
    doc/started/pictures/scfile11.jpg
    doc/started/pictures/scfile11.vsd
    doc/started/pictures/scfile12.jpg
    doc/started/pictures/scfile12.vsd
    doc/started/pictures/scfile13.jpg
    doc/started/pictures/scfile13.vsd
    doc/started/pictures/scsfile1.jpg
    doc/started/pictures/scsfile1.vsd
    doc/started/pictures/scsfile2.jpg
    doc/started/pictures/scsfile2.vsd
    doc/started/pictures/scsfile3.jpg
    doc/started/pictures/scsfile3.vsd
    doc/started/pictures/scsfile4.jpg
    doc/started/pictures/scsfile4.vsd
    doc/started/pictures/scsfile5.jpg
    doc/started/pictures/scsfile5.vsd
    doc/started/pictures/scsfile6.jpg
    doc/started/pictures/scsfile6.vsd
    doc/started/pictures/scsfile7.jpg
    doc/started/pictures/scsfile7.vsd
    doc/started/pictures/scsfile8.jpg
    doc/started/pictures/scsfile8.vsd
    doc/started/pictures/scsfile9.jpg
    doc/started/pictures/scsfile9.vsd
    doc/started/pictures/sfile12c.jpg
    doc/started/pictures/sfile12c.vsd
    doc/started/require.t
    doc/started/sample.t
    doc/started/started.texi
    doc/started/versions.texi
    doc/started_ada/Makefile
    doc/started_ada/buildada.t
    doc/started_ada/buildrt.t
    doc/started_ada/gdb.t
    doc/started_ada/intro.t
    doc/started_ada/require.t
    doc/started_ada/sample.t
    doc/started_ada/started_ada.texi
    doc/started_ada/versions.texi
    doc/supplements/hppa1_1/Makefile
    doc/supplements/hppa1_1/SIMHPPA_TIMES
    doc/supplements/hppa1_1/bsp.t
    doc/supplements/hppa1_1/callconv.t
    doc/supplements/hppa1_1/cpumodel.t
    doc/supplements/hppa1_1/cputable.t
    doc/supplements/hppa1_1/fatalerr.t
    doc/supplements/hppa1_1/hppa1_1.texi
    doc/supplements/hppa1_1/intr_NOTIMES.t
    doc/supplements/hppa1_1/memmodel.t
    doc/supplements/hppa1_1/preface.texi
    doc/supplements/hppa1_1/timeSIMHPPA.t
    doc/supplements/i386/FORCE386_TIMES
    doc/supplements/i386/Makefile
    doc/supplements/i386/bsp.t
    doc/supplements/i386/callconv.t
    doc/supplements/i386/cpumodel.t
    doc/supplements/i386/cputable.t
    doc/supplements/i386/fatalerr.t
    doc/supplements/i386/i386.texi
    doc/supplements/i386/intr_NOTIMES.t
    doc/supplements/i386/memmodel.t
    doc/supplements/i386/preface.texi
    doc/supplements/i386/timeFORCE386.t
    doc/supplements/i960/CVME961_TIMES
    doc/supplements/i960/Makefile
    doc/supplements/i960/bsp.t
    doc/supplements/i960/callconv.t
    doc/supplements/i960/cpumodel.t
    doc/supplements/i960/cputable.t
    doc/supplements/i960/fatalerr.t
    doc/supplements/i960/i960.texi
    doc/supplements/i960/intr_NOTIMES.t
    doc/supplements/i960/memmodel.t
    doc/supplements/i960/preface.texi
    doc/supplements/i960/timeCVME961.t
    doc/supplements/m68k/MVME136_TIMES
    doc/supplements/m68k/Makefile
    doc/supplements/m68k/bsp.t
    doc/supplements/m68k/callconv.t
    doc/supplements/m68k/cpumodel.t
    doc/supplements/m68k/cputable.t
    doc/supplements/m68k/fatalerr.t
    doc/supplements/m68k/intr_NOTIMES.t
    doc/supplements/m68k/m68k.texi
    doc/supplements/m68k/memmodel.t
    doc/supplements/m68k/preface.texi
    doc/supplements/m68k/timeMVME136.t
    doc/supplements/m68k/timedata.t
    doc/supplements/mips64orion/BSP_TIMES
    doc/supplements/mips64orion/Makefile
    doc/supplements/mips64orion/bsp.t
    doc/supplements/mips64orion/callconv.t
    doc/supplements/mips64orion/cpumodel.t
    doc/supplements/mips64orion/cputable.t
    doc/supplements/mips64orion/fatalerr.t
    doc/supplements/mips64orion/intr_NOTIMES.t
    doc/supplements/mips64orion/memmodel.t
    doc/supplements/mips64orion/mips64orion.texi
    doc/supplements/mips64orion/preface.texi
    doc/supplements/mips64orion/timeBSP.t
    doc/supplements/powerpc/DMV177_TIMES
    doc/supplements/powerpc/Makefile
    doc/supplements/powerpc/PSIM_TIMES
    doc/supplements/powerpc/bsp.t
    doc/supplements/powerpc/callconv.t
    doc/supplements/powerpc/cpumodel.t
    doc/supplements/powerpc/cputable.t
    doc/supplements/powerpc/fatalerr.t
    doc/supplements/powerpc/intr_NOTIMES.t
    doc/supplements/powerpc/memmodel.t
    doc/supplements/powerpc/powerpc.texi
    doc/supplements/powerpc/preface.texi
    doc/supplements/powerpc/timeDMV177.t
    doc/supplements/powerpc/timePSIM.t
    doc/supplements/sh/BSP_TIMES
    doc/supplements/sh/Makefile
    doc/supplements/sh/bsp.t
    doc/supplements/sh/callconv.t
    doc/supplements/sh/cpumodel.t
    doc/supplements/sh/cputable.t
    doc/supplements/sh/fatalerr.t
    doc/supplements/sh/intr_NOTIMES.t
    doc/supplements/sh/memmodel.t
    doc/supplements/sh/preface.texi
    doc/supplements/sh/sh.texi
    doc/supplements/sh/timeBSP.t
    doc/supplements/sparc/ERC32_TIMES
    doc/supplements/sparc/Makefile
    doc/supplements/sparc/bsp.t
    doc/supplements/sparc/callconv.t
    doc/supplements/sparc/cpumodel.t
    doc/supplements/sparc/cputable.t
    doc/supplements/sparc/fatalerr.t
    doc/supplements/sparc/intr_NOTIMES.t
    doc/supplements/sparc/memmodel.t
    doc/supplements/sparc/preface.texi
    doc/supplements/sparc/sparc.texi
    doc/supplements/sparc/timeERC32.t
    doc/supplements/template/BSP_TIMES
    doc/supplements/template/Makefile
    doc/supplements/template/bsp.t
    doc/supplements/template/callconv.t
    doc/supplements/template/cpumodel.t
    doc/supplements/template/cputable.t
    doc/supplements/template/fatalerr.t
    doc/supplements/template/intr_NOTIMES.t
    doc/supplements/template/memmodel.t
    doc/supplements/template/preface.texi
    doc/supplements/template/template.texi
    doc/supplements/template/timeBSP.t
    doc/texinfo/texinfo.tex
    doc/tools/bmenu/Makefile
    doc/tools/bmenu/address.h
    doc/tools/bmenu/address.inl
    doc/tools/bmenu/base.h
    doc/tools/bmenu/chain.c
    doc/tools/bmenu/chain.h
    doc/tools/bmenu/chain.inl
    doc/tools/bmenu/isr.h
    doc/tools/bmenu/main.c
    doc/tools/bmenu/system.h
    doc/tools/pdl2texi/Makefile
    doc/tools/pdl2texi/address.h
    doc/tools/pdl2texi/address.inl
    doc/tools/pdl2texi/base.h
    doc/tools/pdl2texi/chain.c
    doc/tools/pdl2texi/chain.h
    doc/tools/pdl2texi/chain.inl
    doc/tools/pdl2texi/isr.h
    doc/tools/pdl2texi/main.c
    doc/tools/pdl2texi/s.d
    doc/tools/pdl2texi/sample.d
    doc/tools/pdl2texi/system.h
    doc/tools/pdl2texi/test_cases/enum.d
    doc/tools/pdl2texi/test_cases/enumbad.d
    doc/tools/pdl2texi/test_cases/table.d
    doc/tools/src2html/Makefile
    doc/tools/src2html1.4a/Ctags/C.c
    doc/tools/src2html1.4a/Ctags/Makefile
    doc/tools/src2html1.4a/Ctags/ctags.1
    doc/tools/src2html1.4a/Ctags/ctags.c
    doc/tools/src2html1.4a/Ctags/ctags.h
    doc/tools/src2html1.4a/Ctags/fortran.c
    doc/tools/src2html1.4a/Ctags/lisp.c
    doc/tools/src2html1.4a/Ctags/print.c
    doc/tools/src2html1.4a/Ctags/strerror.c
    doc/tools/src2html1.4a/Ctags/tree.c
    doc/tools/src2html1.4a/Ctags/yacc.c
    doc/tools/src2html1.4a/Ctags/z.c
    doc/tools/src2html1.4a/FreeBSD/FreeBSD.hdr
    doc/tools/src2html1.4a/FreeBSD/FreeBSD.s2h
    doc/tools/src2html1.4a/FreeBSD/conf.hdr
    doc/tools/src2html1.4a/FreeBSD/ddb.hdr
    doc/tools/src2html1.4a/FreeBSD/i386.i386.hdr
    doc/tools/src2html1.4a/FreeBSD/i386.include.hdr
    doc/tools/src2html1.4a/FreeBSD/i386.isa.hdr
    doc/tools/src2html1.4a/FreeBSD/i386.stand.hdr
    doc/tools/src2html1.4a/FreeBSD/kern.hdr
    doc/tools/src2html1.4a/FreeBSD/net.hdr
    doc/tools/src2html1.4a/FreeBSD/netinet.hdr
    doc/tools/src2html1.4a/FreeBSD/nfs.hdr
    doc/tools/src2html1.4a/FreeBSD/stand.hdr
    doc/tools/src2html1.4a/FreeBSD/sys.hdr
    doc/tools/src2html1.4a/FreeBSD/ufs.hdr
    doc/tools/src2html1.4a/FreeBSD/vm.hdr
    doc/tools/src2html1.4a/Readme
    doc/tools/src2html1.4a/ctags-emacs/README
    doc/tools/src2html1.4a/ctags-emacs/ctags
    doc/tools/src2html1.4a/ctags-emacs/etags.c-ada-patch
    doc/tools/src2html1.4a/ctags-wr
    doc/tools/src2html1.4a/src2html
    doc/tools/src2html1.4a/src2html.1
    doc/tools/src2html1.4a/src2html.cgi
    doc/tools/texi2www/Makefile
    doc/tools/texi2www/archive/texi2www-960103.tgz
    doc/tools/texi2www/dir-arrow.gif
    doc/tools/texi2www/missing-arrow.gif
    doc/tools/texi2www/next-arrow.gif
    doc/tools/texi2www/prev-arrow.gif
    doc/tools/texi2www/texi2dvi
    doc/tools/texi2www/texi2www
    doc/tools/texi2www/texi2www.texi
    doc/tools/texi2www/up-arrow.gif
    doc/tools/update
    doc/tools/word-replace
    doc/user/Makefile
    doc/user/bsp.t
    doc/user/c_user.texi
    doc/user/clock.t
    doc/user/concepts.t
    doc/user/conf.t
    doc/user/dirstat.texi
    doc/user/dpmem.t
    doc/user/event.t
    doc/user/example.texi
    doc/user/fatal.t
    doc/user/glossary.texi
    doc/user/init.t
    doc/user/intr.t
    doc/user/io.t
    doc/user/mp.t
    doc/user/msg.t
    doc/user/overview.t
    doc/user/part.t
    doc/user/preface.texi
    doc/user/region.t
    doc/user/rtemsarc.gif
    doc/user/rtemsarc.png
    doc/user/rtemspie.eps
    doc/user/rtemspie.gif
    doc/user/rtemspie.pdf
    doc/user/rtemspie.png
    doc/user/rtmon.t
    doc/user/schedule.t
    doc/user/sem.t
    doc/user/signal.t
    doc/user/states.eps
    doc/user/states.gif
    doc/user/states.pdf
    doc/user/states.png
    doc/user/task.t
    doc/user/timer.t
    doc/user/userext.t
    testsuites/Makefile.am
    testsuites/PROBLEMS
    testsuites/README
    testsuites/itrontests/Makefile.am
    testsuites/itrontests/README
    testsuites/itrontests/itronhello/Makefile.am
    testsuites/itrontests/itronhello/init.c
    testsuites/itrontests/itronhello/itronhello.doc
    testsuites/itrontests/itronhello/itronhello.scn
    testsuites/itrontests/itronhello/system.h
    testsuites/itrontests/itronmbf01/Makefile.am
    testsuites/itrontests/itronmbf01/init.c
    testsuites/itrontests/itronmbf01/itronmbf01.doc
    testsuites/itrontests/itronmbf01/itronmbf01.scn
    testsuites/itrontests/itronmbf01/system.h
    testsuites/itrontests/itronmbox01/Makefile.am
    testsuites/itrontests/itronmbox01/init.c
    testsuites/itrontests/itronmbox01/itronmbox01.doc
    testsuites/itrontests/itronmbox01/itronmbox01.scn
    testsuites/itrontests/itronmbox01/system.h
    testsuites/itrontests/itronsem01/Makefile.am
    testsuites/itrontests/itronsem01/init.c
    testsuites/itrontests/itronsem01/itronsem01.doc
    testsuites/itrontests/itronsem01/itronsem01.scn
    testsuites/itrontests/itronsem01/system.h
    testsuites/itrontests/itrontask01/Makefile.am
    testsuites/itrontests/itrontask01/init.c
    testsuites/itrontests/itrontask01/itrontask01.doc
    testsuites/itrontests/itrontask01/itrontask01.scn
    testsuites/itrontests/itrontask01/system.h
    testsuites/itrontests/itrontask01/task1.c
    testsuites/itrontests/itrontask02/Makefile.am
    testsuites/itrontests/itrontask02/dormant.c
    testsuites/itrontests/itrontask02/init.c
    testsuites/itrontests/itrontask02/itrontask02.doc
    testsuites/itrontests/itrontask02/itrontask02.scn
    testsuites/itrontests/itrontask02/system.h
    testsuites/itrontests/itrontask03/Makefile.am
    testsuites/itrontests/itrontask03/init.c
    testsuites/itrontests/itrontask03/itrontask03.doc
    testsuites/itrontests/itrontask03/itrontask03.scn
    testsuites/itrontests/itrontask03/preempt.c
    testsuites/itrontests/itrontask03/system.h
    testsuites/itrontests/itrontask03/task1.c
    testsuites/itrontests/itrontask03/task2.c
    testsuites/itrontests/itrontask03/task3.c
    testsuites/itrontests/itrontask04/Makefile.am
    testsuites/itrontests/itrontask04/init.c
    testsuites/itrontests/itrontask04/itrontask04.doc
    testsuites/itrontests/itrontask04/itrontask04.scn
    testsuites/itrontests/itrontask04/system.h
    testsuites/itrontests/itrontask04/task1.c
    testsuites/itrontests/itrontask04/task2.c
    testsuites/itrontests/itrontask04/task3.c
    testsuites/itrontests/itrontests.am
    testsuites/itrontests/itrontime01/Makefile.am
    testsuites/itrontests/itrontime01/init.c
    testsuites/itrontests/itrontime01/itrontime01.doc
    testsuites/itrontests/itrontime01/itrontime01.scn
    testsuites/itrontests/itrontime01/system.h
    testsuites/libtests/Makefile.am
    testsuites/libtests/README
    testsuites/libtests/cpuuse/Makefile.am
    testsuites/libtests/cpuuse/cpuuse.scn
    testsuites/libtests/cpuuse/init.c
    testsuites/libtests/cpuuse/system.h
    testsuites/libtests/cpuuse/task1.c
    testsuites/libtests/cpuuse/task2.c
    testsuites/libtests/cpuuse/task3.c
    testsuites/libtests/cpuuse/tswitch.c
    testsuites/libtests/libtests.am
    testsuites/libtests/malloctest/Makefile.am
    testsuites/libtests/malloctest/init.c
    testsuites/libtests/malloctest/system.h
    testsuites/libtests/malloctest/task1.c
    testsuites/libtests/monitor/Makefile.am
    testsuites/libtests/monitor/init.c
    testsuites/libtests/monitor/system.h
    testsuites/libtests/putenvtest/Makefile.am
    testsuites/libtests/putenvtest/init.c
    testsuites/libtests/rtems++/Init.cc
    testsuites/libtests/rtems++/Makefile.am
    testsuites/libtests/rtems++/System.h
    testsuites/libtests/rtems++/Task1.cc
    testsuites/libtests/rtems++/Task2.cc
    testsuites/libtests/rtems++/Task3.cc
    testsuites/libtests/rtems++/rtems++.doc
    testsuites/libtests/rtems++/rtems++.scn
    testsuites/libtests/rtmonuse/Makefile.am
    testsuites/libtests/rtmonuse/getall.c
    testsuites/libtests/rtmonuse/init.c
    testsuites/libtests/rtmonuse/rtmonuse.scn
    testsuites/libtests/rtmonuse/system.h
    testsuites/libtests/rtmonuse/task1.c
    testsuites/libtests/stackchk/Makefile.am
    testsuites/libtests/stackchk/blow.c
    testsuites/libtests/stackchk/init.c
    testsuites/libtests/stackchk/stackchk.scn
    testsuites/libtests/stackchk/system.h
    testsuites/libtests/stackchk/task1.c
    testsuites/libtests/termios/Makefile.am
    testsuites/libtests/termios/README
    testsuites/libtests/termios/init.c
    testsuites/mptests/Makefile.am
    testsuites/mptests/README
    testsuites/mptests/mp01/Makefile.am
    testsuites/mptests/mp01/init.c
    testsuites/mptests/mp01/node1/Makefile.am
    testsuites/mptests/mp01/node1/mp01.doc
    testsuites/mptests/mp01/node1/mp01.scn
    testsuites/mptests/mp01/node2/Makefile.am
    testsuites/mptests/mp01/node2/mp01.doc
    testsuites/mptests/mp01/node2/mp01.scn
    testsuites/mptests/mp01/system.h
    testsuites/mptests/mp01/task1.c
    testsuites/mptests/mp02/Makefile.am
    testsuites/mptests/mp02/init.c
    testsuites/mptests/mp02/node1/Makefile.am
    testsuites/mptests/mp02/node1/mp02.doc
    testsuites/mptests/mp02/node1/mp02.scn
    testsuites/mptests/mp02/node2/Makefile.am
    testsuites/mptests/mp02/node2/mp02.doc
    testsuites/mptests/mp02/node2/mp02.scn
    testsuites/mptests/mp02/system.h
    testsuites/mptests/mp02/task1.c
    testsuites/mptests/mp03/Makefile.am
    testsuites/mptests/mp03/delay.c
    testsuites/mptests/mp03/init.c
    testsuites/mptests/mp03/node1/Makefile.am
    testsuites/mptests/mp03/node1/mp03.doc
    testsuites/mptests/mp03/node1/mp03.scn
    testsuites/mptests/mp03/node2/Makefile.am
    testsuites/mptests/mp03/node2/mp03.doc
    testsuites/mptests/mp03/node2/mp03.scn
    testsuites/mptests/mp03/system.h
    testsuites/mptests/mp03/task1.c
    testsuites/mptests/mp04/Makefile.am
    testsuites/mptests/mp04/init.c
    testsuites/mptests/mp04/node1/Makefile.am
    testsuites/mptests/mp04/node1/mp04.doc
    testsuites/mptests/mp04/node1/mp04.scn
    testsuites/mptests/mp04/node2/Makefile.am
    testsuites/mptests/mp04/node2/mp04.doc
    testsuites/mptests/mp04/node2/mp04.scn
    testsuites/mptests/mp04/system.h
    testsuites/mptests/mp04/task1.c
    testsuites/mptests/mp05/Makefile.am
    testsuites/mptests/mp05/asr.c
    testsuites/mptests/mp05/init.c
    testsuites/mptests/mp05/node1/Makefile.am
    testsuites/mptests/mp05/node1/mp05.doc
    testsuites/mptests/mp05/node1/mp05.scn
    testsuites/mptests/mp05/node2/Makefile.am
    testsuites/mptests/mp05/node2/mp05.doc
    testsuites/mptests/mp05/node2/mp05.scn
    testsuites/mptests/mp05/system.h
    testsuites/mptests/mp05/task1.c
    testsuites/mptests/mp06/Makefile.am
    testsuites/mptests/mp06/init.c
    testsuites/mptests/mp06/node1/Makefile.am
    testsuites/mptests/mp06/node1/mp06.doc
    testsuites/mptests/mp06/node1/mp06.scn
    testsuites/mptests/mp06/node2/Makefile.am
    testsuites/mptests/mp06/node2/mp06.doc
    testsuites/mptests/mp06/node2/mp06.scn
    testsuites/mptests/mp06/system.h
    testsuites/mptests/mp06/task1.c
    testsuites/mptests/mp07/Makefile.am
    testsuites/mptests/mp07/init.c
    testsuites/mptests/mp07/node1/Makefile.am
    testsuites/mptests/mp07/node1/mp07.doc
    testsuites/mptests/mp07/node1/mp07.scn
    testsuites/mptests/mp07/node2/Makefile.am
    testsuites/mptests/mp07/node2/mp07.doc
    testsuites/mptests/mp07/node2/mp07.scn
    testsuites/mptests/mp07/system.h
    testsuites/mptests/mp07/task1.c
    testsuites/mptests/mp08/Makefile.am
    testsuites/mptests/mp08/init.c
    testsuites/mptests/mp08/node1/Makefile.am
    testsuites/mptests/mp08/node1/mp08.doc
    testsuites/mptests/mp08/node1/mp08.scn
    testsuites/mptests/mp08/node2/Makefile.am
    testsuites/mptests/mp08/node2/mp08.doc
    testsuites/mptests/mp08/node2/mp08.scn
    testsuites/mptests/mp08/system.h
    testsuites/mptests/mp08/task1.c
    testsuites/mptests/mp09/Makefile.am
    testsuites/mptests/mp09/init.c
    testsuites/mptests/mp09/node1/Makefile.am
    testsuites/mptests/mp09/node1/mp09.doc
    testsuites/mptests/mp09/node1/mp09.scn
    testsuites/mptests/mp09/node2/Makefile.am
    testsuites/mptests/mp09/node2/mp09.doc
    testsuites/mptests/mp09/node2/mp09.scn
    testsuites/mptests/mp09/recvmsg.c
    testsuites/mptests/mp09/sendmsg.c
    testsuites/mptests/mp09/system.h
    testsuites/mptests/mp09/task1.c
    testsuites/mptests/mp10/Makefile.am
    testsuites/mptests/mp10/init.c
    testsuites/mptests/mp10/node1/Makefile.am
    testsuites/mptests/mp10/node1/mp10.doc
    testsuites/mptests/mp10/node1/mp10.scn
    testsuites/mptests/mp10/node2/Makefile.am
    testsuites/mptests/mp10/node2/mp10.doc
    testsuites/mptests/mp10/node2/mp10.scn
    testsuites/mptests/mp10/system.h
    testsuites/mptests/mp10/task1.c
    testsuites/mptests/mp10/task2.c
    testsuites/mptests/mp10/task3.c
    testsuites/mptests/mp11/Makefile.am
    testsuites/mptests/mp11/init.c
    testsuites/mptests/mp11/node1/Makefile.am
    testsuites/mptests/mp11/node1/mp11.doc
    testsuites/mptests/mp11/node1/mp11.scn
    testsuites/mptests/mp11/node2/Makefile.am
    testsuites/mptests/mp11/node2/mp11.doc
    testsuites/mptests/mp11/node2/mp11.scn
    testsuites/mptests/mp11/system.h
    testsuites/mptests/mp12/Makefile.am
    testsuites/mptests/mp12/init.c
    testsuites/mptests/mp12/node1/Makefile.am
    testsuites/mptests/mp12/node1/mp12.doc
    testsuites/mptests/mp12/node1/mp12.scn
    testsuites/mptests/mp12/node2/Makefile.am
    testsuites/mptests/mp12/node2/mp12.doc
    testsuites/mptests/mp12/node2/mp12.scn
    testsuites/mptests/mp12/system.h
    testsuites/mptests/mp13/Makefile.am
    testsuites/mptests/mp13/init.c
    testsuites/mptests/mp13/node1/Makefile.am
    testsuites/mptests/mp13/node1/mp13.doc
    testsuites/mptests/mp13/node1/mp13.scn
    testsuites/mptests/mp13/node2/Makefile.am
    testsuites/mptests/mp13/node2/mp13.doc
    testsuites/mptests/mp13/node2/mp13.scn
    testsuites/mptests/mp13/system.h
    testsuites/mptests/mp13/task1.c
    testsuites/mptests/mp13/task2.c
    testsuites/mptests/mp14/Makefile.am
    testsuites/mptests/mp14/delay.c
    testsuites/mptests/mp14/evtask1.c
    testsuites/mptests/mp14/evtmtask.c
    testsuites/mptests/mp14/exit.c
    testsuites/mptests/mp14/init.c
    testsuites/mptests/mp14/msgtask1.c
    testsuites/mptests/mp14/node1/Makefile.am
    testsuites/mptests/mp14/node1/mp14.doc
    testsuites/mptests/mp14/node1/mp14.scn
    testsuites/mptests/mp14/node2/Makefile.am
    testsuites/mptests/mp14/node2/mp14.doc
    testsuites/mptests/mp14/node2/mp14.scn
    testsuites/mptests/mp14/pttask1.c
    testsuites/mptests/mp14/smtask1.c
    testsuites/mptests/mp14/system.h
    testsuites/mptests/mptests.am
    testsuites/psxtests/Makefile.am
    testsuites/psxtests/include/Makefile.am
    testsuites/psxtests/include/pmacros.h
    testsuites/psxtests/psx01/Makefile.am
    testsuites/psxtests/psx01/init.c
    testsuites/psxtests/psx01/psx01.scn
    testsuites/psxtests/psx01/system.h
    testsuites/psxtests/psx01/task.c
    testsuites/psxtests/psx02/Makefile.am
    testsuites/psxtests/psx02/init.c
    testsuites/psxtests/psx02/psx02.scn
    testsuites/psxtests/psx02/system.h
    testsuites/psxtests/psx02/task.c
    testsuites/psxtests/psx03/Makefile.am
    testsuites/psxtests/psx03/init.c
    testsuites/psxtests/psx03/psx03.scn
    testsuites/psxtests/psx03/system.h
    testsuites/psxtests/psx03/task.c
    testsuites/psxtests/psx04/Makefile.am
    testsuites/psxtests/psx04/init.c
    testsuites/psxtests/psx04/psx04.scn
    testsuites/psxtests/psx04/system.h
    testsuites/psxtests/psx04/task1.c
    testsuites/psxtests/psx04/task2.c
    testsuites/psxtests/psx04/task3.c
    testsuites/psxtests/psx05/Makefile.am
    testsuites/psxtests/psx05/init.c
    testsuites/psxtests/psx05/psx05.scn
    testsuites/psxtests/psx05/system.h
    testsuites/psxtests/psx05/task.c
    testsuites/psxtests/psx05/task2.c
    testsuites/psxtests/psx05/task3.c
    testsuites/psxtests/psx06/Makefile.am
    testsuites/psxtests/psx06/init.c
    testsuites/psxtests/psx06/psx06.scn
    testsuites/psxtests/psx06/system.h
    testsuites/psxtests/psx06/task.c
    testsuites/psxtests/psx06/task2.c
    testsuites/psxtests/psx07/Makefile.am
    testsuites/psxtests/psx07/init.c
    testsuites/psxtests/psx07/psx07.scn
    testsuites/psxtests/psx07/system.h
    testsuites/psxtests/psx07/task.c
    testsuites/psxtests/psx08/Makefile.am
    testsuites/psxtests/psx08/init.c
    testsuites/psxtests/psx08/psx08.scn
    testsuites/psxtests/psx08/system.h
    testsuites/psxtests/psx08/task1.c
    testsuites/psxtests/psx08/task2.c
    testsuites/psxtests/psx08/task3.c
    testsuites/psxtests/psx09/Makefile.am
    testsuites/psxtests/psx09/init.c
    testsuites/psxtests/psx09/psx09.scn
    testsuites/psxtests/psx09/system.h
    testsuites/psxtests/psx10/Makefile.am
    testsuites/psxtests/psx10/init.c
    testsuites/psxtests/psx10/psx10.scn
    testsuites/psxtests/psx10/system.h
    testsuites/psxtests/psx10/task.c
    testsuites/psxtests/psx10/task2.c
    testsuites/psxtests/psx10/task3.c
    testsuites/psxtests/psx11/Makefile.am
    testsuites/psxtests/psx11/init.c
    testsuites/psxtests/psx11/psx11.scn
    testsuites/psxtests/psx11/system.h
    testsuites/psxtests/psx11/task.c
    testsuites/psxtests/psx12/Makefile.am
    testsuites/psxtests/psx12/init.c
    testsuites/psxtests/psx12/psx12.scn
    testsuites/psxtests/psx12/system.h
    testsuites/psxtests/psx12/task.c
    testsuites/psxtests/psx13/Makefile.am
    testsuites/psxtests/psx13/main.c
    testsuites/psxtests/psx13/psx13.scn
    testsuites/psxtests/psx13/test.c
    testsuites/psxtests/psxcancel/Makefile.am
    testsuites/psxtests/psxcancel/init.c
    testsuites/psxtests/psxcancel/psxcancel.scn
    testsuites/psxtests/psxfile01/Makefile.am
    testsuites/psxtests/psxfile01/main.c
    testsuites/psxtests/psxfile01/psxfile01.scn
    testsuites/psxtests/psxfile01/test.c
    testsuites/psxtests/psxfile01/test_cat.c
    testsuites/psxtests/psxfile01/test_extend.c
    testsuites/psxtests/psxfile01/test_write.c
    testsuites/psxtests/psxhdrs/Makefile.am
    testsuites/psxtests/psxhdrs/clock01.c
    testsuites/psxtests/psxhdrs/clock02.c
    testsuites/psxtests/psxhdrs/clock03.c
    testsuites/psxtests/psxhdrs/clock04.c
    testsuites/psxtests/psxhdrs/clock05.c
    testsuites/psxtests/psxhdrs/clock06.c
    testsuites/psxtests/psxhdrs/cond01.c
    testsuites/psxtests/psxhdrs/cond02.c
    testsuites/psxtests/psxhdrs/cond03.c
    testsuites/psxtests/psxhdrs/cond04.c
    testsuites/psxtests/psxhdrs/cond05.c
    testsuites/psxtests/psxhdrs/cond06.c
    testsuites/psxtests/psxhdrs/cond07.c
    testsuites/psxtests/psxhdrs/cond08.c
    testsuites/psxtests/psxhdrs/cond09.c
    testsuites/psxtests/psxhdrs/cond10.c
    testsuites/psxtests/psxhdrs/key01.c
    testsuites/psxtests/psxhdrs/key02.c
    testsuites/psxtests/psxhdrs/key03.c
    testsuites/psxtests/psxhdrs/key04.c
    testsuites/psxtests/psxhdrs/mutex01.c
    testsuites/psxtests/psxhdrs/mutex02.c
    testsuites/psxtests/psxhdrs/mutex03.c
    testsuites/psxtests/psxhdrs/mutex04.c
    testsuites/psxtests/psxhdrs/mutex05.c
    testsuites/psxtests/psxhdrs/mutex06.c
    testsuites/psxtests/psxhdrs/mutex07.c
    testsuites/psxtests/psxhdrs/mutex08.c
    testsuites/psxtests/psxhdrs/mutex09.c
    testsuites/psxtests/psxhdrs/mutex10.c
    testsuites/psxtests/psxhdrs/mutex11.c
    testsuites/psxtests/psxhdrs/mutex12.c
    testsuites/psxtests/psxhdrs/mutex13.c
    testsuites/psxtests/psxhdrs/mutex14.c
    testsuites/psxtests/psxhdrs/mutex15.c
    testsuites/psxtests/psxhdrs/mutex16.c
    testsuites/psxtests/psxhdrs/proc01.c
    testsuites/psxtests/psxhdrs/proc02.c
    testsuites/psxtests/psxhdrs/proc03.c
    testsuites/psxtests/psxhdrs/proc04.c
    testsuites/psxtests/psxhdrs/proc05.c
    testsuites/psxtests/psxhdrs/proc06.c
    testsuites/psxtests/psxhdrs/proc07.c
    testsuites/psxtests/psxhdrs/proc08.c
    testsuites/psxtests/psxhdrs/proc09.c
    testsuites/psxtests/psxhdrs/proc10.c
    testsuites/psxtests/psxhdrs/proc11.c
    testsuites/psxtests/psxhdrs/proc12.c
    testsuites/psxtests/psxhdrs/proc13.c
    testsuites/psxtests/psxhdrs/proc14.c
    testsuites/psxtests/psxhdrs/pthread01.c
    testsuites/psxtests/psxhdrs/pthread02.c
    testsuites/psxtests/psxhdrs/pthread03.c
    testsuites/psxtests/psxhdrs/pthread04.c
    testsuites/psxtests/psxhdrs/pthread05.c
    testsuites/psxtests/psxhdrs/pthread06.c
    testsuites/psxtests/psxhdrs/pthread07.c
    testsuites/psxtests/psxhdrs/pthread08.c
    testsuites/psxtests/psxhdrs/pthread09.c
    testsuites/psxtests/psxhdrs/pthread10.c
    testsuites/psxtests/psxhdrs/pthread11.c
    testsuites/psxtests/psxhdrs/pthread12.c
    testsuites/psxtests/psxhdrs/pthread13.c
    testsuites/psxtests/psxhdrs/pthread14.c
    testsuites/psxtests/psxhdrs/pthread15.c
    testsuites/psxtests/psxhdrs/pthread16.c
    testsuites/psxtests/psxhdrs/pthread17.c
    testsuites/psxtests/psxhdrs/pthread18.c
    testsuites/psxtests/psxhdrs/pthread19.c
    testsuites/psxtests/psxhdrs/pthread20.c
    testsuites/psxtests/psxhdrs/pthread21.c
    testsuites/psxtests/psxhdrs/pthread22.c
    testsuites/psxtests/psxhdrs/pthread23.c
    testsuites/psxtests/psxhdrs/pthread24.c
    testsuites/psxtests/psxhdrs/pthread25.c
    testsuites/psxtests/psxhdrs/pthread26.c
    testsuites/psxtests/psxhdrs/pthread27.c
    testsuites/psxtests/psxhdrs/pthread28.c
    testsuites/psxtests/psxhdrs/pthread29.c
    testsuites/psxtests/psxhdrs/pthread30.c
    testsuites/psxtests/psxhdrs/pthread31.c
    testsuites/psxtests/psxhdrs/pthread32.c
    testsuites/psxtests/psxhdrs/pthread33.c
    testsuites/psxtests/psxhdrs/pthread34.c
    testsuites/psxtests/psxhdrs/pthread35.c
    testsuites/psxtests/psxhdrs/pthread36.c
    testsuites/psxtests/psxhdrs/sched01.c
    testsuites/psxtests/psxhdrs/sched02.c
    testsuites/psxtests/psxhdrs/sched03.c
    testsuites/psxtests/psxhdrs/sched04.c
    testsuites/psxtests/psxhdrs/sched05.c
    testsuites/psxtests/psxhdrs/sched06.c
    testsuites/psxtests/psxhdrs/sched07.c
    testsuites/psxtests/psxhdrs/sched08.c
    testsuites/psxtests/psxhdrs/signal01.c
    testsuites/psxtests/psxhdrs/signal02.c
    testsuites/psxtests/psxhdrs/signal03.c
    testsuites/psxtests/psxhdrs/signal04.c
    testsuites/psxtests/psxhdrs/signal05.c
    testsuites/psxtests/psxhdrs/signal06.c
    testsuites/psxtests/psxhdrs/signal07.c
    testsuites/psxtests/psxhdrs/signal08.c
    testsuites/psxtests/psxhdrs/signal09.c
    testsuites/psxtests/psxhdrs/signal10.c
    testsuites/psxtests/psxhdrs/signal11.c
    testsuites/psxtests/psxhdrs/signal12.c
    testsuites/psxtests/psxhdrs/signal13.c
    testsuites/psxtests/psxhdrs/signal14.c
    testsuites/psxtests/psxhdrs/signal15.c
    testsuites/psxtests/psxhdrs/signal16.c
    testsuites/psxtests/psxhdrs/signal17.c
    testsuites/psxtests/psxhdrs/signal18.c
    testsuites/psxtests/psxhdrs/signal19.c
    testsuites/psxtests/psxhdrs/signal20.c
    testsuites/psxtests/psxhdrs/signal21.c
    testsuites/psxtests/psxhdrs/signal22.c
    testsuites/psxtests/psxhdrs/time01.c
    testsuites/psxtests/psxhdrs/time02.c
    testsuites/psxtests/psxhdrs/time03.c
    testsuites/psxtests/psxhdrs/time04.c
    testsuites/psxtests/psxhdrs/time05.c
    testsuites/psxtests/psxhdrs/time06.c
    testsuites/psxtests/psxhdrs/time07.c
    testsuites/psxtests/psxhdrs/time08.c
    testsuites/psxtests/psxhdrs/time09.c
    testsuites/psxtests/psxhdrs/time10.c
    testsuites/psxtests/psxhdrs/time11.c
    testsuites/psxtests/psxhdrs/time12.c
    testsuites/psxtests/psxhdrs/time13.c
    testsuites/psxtests/psxhdrs/timer01.c
    testsuites/psxtests/psxhdrs/timer02.c
    testsuites/psxtests/psxhdrs/timer03.c
    testsuites/psxtests/psxhdrs/timer04.c
    testsuites/psxtests/psxhdrs/timer05.c
    testsuites/psxtests/psxhdrs/timer06.c
    testsuites/psxtests/psxmount/Makefile.am
    testsuites/psxtests/psxmount/main.c
    testsuites/psxtests/psxmount/psxmount.scn
    testsuites/psxtests/psxmount/test.c
    testsuites/psxtests/psxmsgq01/Makefile.am
    testsuites/psxtests/psxmsgq01/init.c
    testsuites/psxtests/psxmsgq01/psxmsgq01.scn
    testsuites/psxtests/psxmsgq01/system.h
    testsuites/psxtests/psxreaddir/Makefile.am
    testsuites/psxtests/psxreaddir/main.c
    testsuites/psxtests/psxreaddir/psxreaddir.scn
    testsuites/psxtests/psxreaddir/test.c
    testsuites/psxtests/psxsem01/Makefile.am
    testsuites/psxtests/psxsem01/init.c
    testsuites/psxtests/psxsem01/psxsem01.scn
    testsuites/psxtests/psxsem01/system.h
    testsuites/psxtests/psxstat/Makefile.am
    testsuites/psxtests/psxstat/main.c
    testsuites/psxtests/psxstat/psxstat.scn
    testsuites/psxtests/psxstat/test.c
    testsuites/psxtests/psxtests.am
    testsuites/psxtests/psxtime/Makefile.am
    testsuites/psxtests/psxtime/main.c
    testsuites/psxtests/psxtime/psxtime.scn
    testsuites/psxtests/psxtime/test.c
    testsuites/psxtests/psxtimer/Makefile.am
    testsuites/psxtests/psxtimer/psxtimer.c
    testsuites/psxtests/psxtimer/psxtimer.scn
    testsuites/psxtests/psxtimer/system.h
    testsuites/samples/Makefile.am
    testsuites/samples/README
    testsuites/samples/base_mp/Makefile.am
    testsuites/samples/base_mp/apptask.c
    testsuites/samples/base_mp/init.c
    testsuites/samples/base_mp/node1/Makefile.am
    testsuites/samples/base_mp/node1/base_mp.doc
    testsuites/samples/base_mp/node1/base_mp.scn
    testsuites/samples/base_mp/node2/Makefile.am
    testsuites/samples/base_mp/node2/base_mp.doc
    testsuites/samples/base_mp/node2/base_mp.scn
    testsuites/samples/base_mp/system.h
    testsuites/samples/base_sp/Makefile.am
    testsuites/samples/base_sp/apptask.c
    testsuites/samples/base_sp/base_sp.doc
    testsuites/samples/base_sp/base_sp.scn
    testsuites/samples/base_sp/init.c
    testsuites/samples/base_sp/system.h
    testsuites/samples/cdtest/Makefile.am
    testsuites/samples/cdtest/cdtest.scn
    testsuites/samples/cdtest/init.c
    testsuites/samples/cdtest/main.cc
    testsuites/samples/cdtest/system.h
    testsuites/samples/hello/Makefile.am
    testsuites/samples/hello/hello.doc
    testsuites/samples/hello/hello.scn
    testsuites/samples/hello/init.c
    testsuites/samples/hello/system.h
    testsuites/samples/minimum/Makefile.am
    testsuites/samples/minimum/init.c
    testsuites/samples/minimum/minimum.doc
    testsuites/samples/minimum/minimum.scn
    testsuites/samples/paranoia/Makefile.am
    testsuites/samples/paranoia/init.c
    testsuites/samples/paranoia/paranoia.c
    testsuites/samples/paranoia/paranoia.doc
    testsuites/samples/paranoia/system.h
    testsuites/samples/sample.am
    testsuites/samples/ticker/Makefile.am
    testsuites/samples/ticker/init.c
    testsuites/samples/ticker/system.h
    testsuites/samples/ticker/tasks.c
    testsuites/samples/ticker/ticker.doc
    testsuites/samples/ticker/ticker.scn
    testsuites/samples/unlimited/Makefile.am
    testsuites/samples/unlimited/init.c
    testsuites/samples/unlimited/system.h
    testsuites/samples/unlimited/test1.c
    testsuites/samples/unlimited/test2.c
    testsuites/samples/unlimited/test3.c
    testsuites/samples/unlimited/unlimited.doc
    testsuites/samples/unlimited/unlimited.scn
    testsuites/sptests/Makefile.am
    testsuites/sptests/README
    testsuites/sptests/sp01/Makefile.am
    testsuites/sptests/sp01/init.c
    testsuites/sptests/sp01/sp01.doc
    testsuites/sptests/sp01/sp01.scn
    testsuites/sptests/sp01/system.h
    testsuites/sptests/sp01/task1.c
    testsuites/sptests/sp02/Makefile.am
    testsuites/sptests/sp02/init.c
    testsuites/sptests/sp02/preempt.c
    testsuites/sptests/sp02/sp02.doc
    testsuites/sptests/sp02/sp02.scn
    testsuites/sptests/sp02/system.h
    testsuites/sptests/sp02/task1.c
    testsuites/sptests/sp02/task2.c
    testsuites/sptests/sp02/task3.c
    testsuites/sptests/sp03/Makefile.am
    testsuites/sptests/sp03/init.c
    testsuites/sptests/sp03/sp03.doc
    testsuites/sptests/sp03/sp03.scn
    testsuites/sptests/sp03/system.h
    testsuites/sptests/sp03/task1.c
    testsuites/sptests/sp03/task2.c
    testsuites/sptests/sp04/Makefile.am
    testsuites/sptests/sp04/init.c
    testsuites/sptests/sp04/sp04.doc
    testsuites/sptests/sp04/sp04.scn
    testsuites/sptests/sp04/system.h
    testsuites/sptests/sp04/task1.c
    testsuites/sptests/sp04/task2.c
    testsuites/sptests/sp04/task3.c
    testsuites/sptests/sp04/tswitch.c
    testsuites/sptests/sp05/Makefile.am
    testsuites/sptests/sp05/init.c
    testsuites/sptests/sp05/sp05.doc
    testsuites/sptests/sp05/sp05.scn
    testsuites/sptests/sp05/system.h
    testsuites/sptests/sp05/task1.c
    testsuites/sptests/sp05/task2.c
    testsuites/sptests/sp05/task3.c
    testsuites/sptests/sp06/Makefile.am
    testsuites/sptests/sp06/init.c
    testsuites/sptests/sp06/sp06.doc
    testsuites/sptests/sp06/sp06.scn
    testsuites/sptests/sp06/system.h
    testsuites/sptests/sp06/task1.c
    testsuites/sptests/sp06/task2.c
    testsuites/sptests/sp06/task3.c
    testsuites/sptests/sp07/Makefile.am
    testsuites/sptests/sp07/init.c
    testsuites/sptests/sp07/sp07.doc
    testsuites/sptests/sp07/sp07.scn
    testsuites/sptests/sp07/system.h
    testsuites/sptests/sp07/task1.c
    testsuites/sptests/sp07/task2.c
    testsuites/sptests/sp07/task3.c
    testsuites/sptests/sp07/task4.c
    testsuites/sptests/sp07/taskexit.c
    testsuites/sptests/sp07/tcreate.c
    testsuites/sptests/sp07/tdelete.c
    testsuites/sptests/sp07/trestart.c
    testsuites/sptests/sp07/tstart.c
    testsuites/sptests/sp08/Makefile.am
    testsuites/sptests/sp08/init.c
    testsuites/sptests/sp08/sp08.doc
    testsuites/sptests/sp08/sp08.scn
    testsuites/sptests/sp08/system.h
    testsuites/sptests/sp08/task1.c
    testsuites/sptests/sp09/Makefile.am
    testsuites/sptests/sp09/delay.c
    testsuites/sptests/sp09/init.c
    testsuites/sptests/sp09/isr.c
    testsuites/sptests/sp09/screen01.c
    testsuites/sptests/sp09/screen02.c
    testsuites/sptests/sp09/screen03.c
    testsuites/sptests/sp09/screen04.c
    testsuites/sptests/sp09/screen05.c
    testsuites/sptests/sp09/screen06.c
    testsuites/sptests/sp09/screen07.c
    testsuites/sptests/sp09/screen08.c
    testsuites/sptests/sp09/screen09.c
    testsuites/sptests/sp09/screen10.c
    testsuites/sptests/sp09/screen11.c
    testsuites/sptests/sp09/screen12.c
    testsuites/sptests/sp09/screen13.c
    testsuites/sptests/sp09/screen14.c
    testsuites/sptests/sp09/sp09.doc
    testsuites/sptests/sp09/sp09.scn
    testsuites/sptests/sp09/system.h
    testsuites/sptests/sp09/task1.c
    testsuites/sptests/sp09/task2.c
    testsuites/sptests/sp09/task3.c
    testsuites/sptests/sp09/task4.c
    testsuites/sptests/sp11/Makefile.am
    testsuites/sptests/sp11/init.c
    testsuites/sptests/sp11/sp11.doc
    testsuites/sptests/sp11/sp11.scn
    testsuites/sptests/sp11/system.h
    testsuites/sptests/sp11/task1.c
    testsuites/sptests/sp11/task2.c
    testsuites/sptests/sp11/timer.c
    testsuites/sptests/sp12/Makefile.am
    testsuites/sptests/sp12/init.c
    testsuites/sptests/sp12/pridrv.c
    testsuites/sptests/sp12/pritask.c
    testsuites/sptests/sp12/sp12.doc
    testsuites/sptests/sp12/sp12.scn
    testsuites/sptests/sp12/system.h
    testsuites/sptests/sp12/task1.c
    testsuites/sptests/sp12/task2.c
    testsuites/sptests/sp12/task3.c
    testsuites/sptests/sp12/task4.c
    testsuites/sptests/sp12/task5.c
    testsuites/sptests/sp13/Makefile.am
    testsuites/sptests/sp13/fillbuff.c
    testsuites/sptests/sp13/init.c
    testsuites/sptests/sp13/putbuff.c
    testsuites/sptests/sp13/sp13.doc
    testsuites/sptests/sp13/sp13.scn
    testsuites/sptests/sp13/system.h
    testsuites/sptests/sp13/task1.c
    testsuites/sptests/sp13/task2.c
    testsuites/sptests/sp13/task3.c
    testsuites/sptests/sp14/Makefile.am
    testsuites/sptests/sp14/asr.c
    testsuites/sptests/sp14/init.c
    testsuites/sptests/sp14/sp14.doc
    testsuites/sptests/sp14/sp14.scn
    testsuites/sptests/sp14/system.h
    testsuites/sptests/sp14/task1.c
    testsuites/sptests/sp14/task2.c
    testsuites/sptests/sp15/Makefile.am
    testsuites/sptests/sp15/init.c
    testsuites/sptests/sp15/sp15.doc
    testsuites/sptests/sp15/sp15.scn
    testsuites/sptests/sp15/system.h
    testsuites/sptests/sp15/task1.c
    testsuites/sptests/sp16/Makefile.am
    testsuites/sptests/sp16/init.c
    testsuites/sptests/sp16/sp16.doc
    testsuites/sptests/sp16/sp16.scn
    testsuites/sptests/sp16/system.h
    testsuites/sptests/sp16/task1.c
    testsuites/sptests/sp16/task2.c
    testsuites/sptests/sp16/task3.c
    testsuites/sptests/sp16/task4.c
    testsuites/sptests/sp16/task5.c
    testsuites/sptests/sp17/Makefile.am
    testsuites/sptests/sp17/asr.c
    testsuites/sptests/sp17/init.c
    testsuites/sptests/sp17/sp17.doc
    testsuites/sptests/sp17/sp17.scn
    testsuites/sptests/sp17/system.h
    testsuites/sptests/sp17/task1.c
    testsuites/sptests/sp17/task2.c
    testsuites/sptests/sp19/Makefile.am
    testsuites/sptests/sp19/first.c
    testsuites/sptests/sp19/fptask.c
    testsuites/sptests/sp19/fptest.h
    testsuites/sptests/sp19/init.c
    testsuites/sptests/sp19/inttest.h
    testsuites/sptests/sp19/sp19.doc
    testsuites/sptests/sp19/sp19.scn
    testsuites/sptests/sp19/system.h
    testsuites/sptests/sp19/task1.c
    testsuites/sptests/sp20/Makefile.am
    testsuites/sptests/sp20/getall.c
    testsuites/sptests/sp20/init.c
    testsuites/sptests/sp20/sp20.doc
    testsuites/sptests/sp20/sp20.scn
    testsuites/sptests/sp20/system.h
    testsuites/sptests/sp20/task1.c
    testsuites/sptests/sp21/Makefile.am
    testsuites/sptests/sp21/init.c
    testsuites/sptests/sp21/sp21.doc
    testsuites/sptests/sp21/sp21.scn
    testsuites/sptests/sp21/system.h
    testsuites/sptests/sp21/task1.c
    testsuites/sptests/sp22/Makefile.am
    testsuites/sptests/sp22/delay.c
    testsuites/sptests/sp22/init.c
    testsuites/sptests/sp22/prtime.c
    testsuites/sptests/sp22/sp22.doc
    testsuites/sptests/sp22/sp22.scn
    testsuites/sptests/sp22/system.h
    testsuites/sptests/sp22/task1.c
    testsuites/sptests/sp23/Makefile.am
    testsuites/sptests/sp23/init.c
    testsuites/sptests/sp23/sp23.doc
    testsuites/sptests/sp23/sp23.scn
    testsuites/sptests/sp23/system.h
    testsuites/sptests/sp23/task1.c
    testsuites/sptests/sp24/Makefile.am
    testsuites/sptests/sp24/init.c
    testsuites/sptests/sp24/resume.c
    testsuites/sptests/sp24/sp24.doc
    testsuites/sptests/sp24/sp24.scn
    testsuites/sptests/sp24/system.h
    testsuites/sptests/sp24/task1.c
    testsuites/sptests/sp25/Makefile.am
    testsuites/sptests/sp25/init.c
    testsuites/sptests/sp25/sp25.doc
    testsuites/sptests/sp25/sp25.scn
    testsuites/sptests/sp25/system.h
    testsuites/sptests/sp25/task1.c
    testsuites/sptests/sp26/Makefile.am
    testsuites/sptests/sp26/init.c
    testsuites/sptests/sp26/sp26.doc
    testsuites/sptests/sp26/sp26.scn
    testsuites/sptests/sp26/system.h
    testsuites/sptests/sp26/task1.c
    testsuites/sptests/sp27/Makefile.am
    testsuites/sptests/sp27/init.c
    testsuites/sptests/sp27/sp27.doc
    testsuites/sptests/sp27/sp27.scn
    testsuites/sptests/sp28/Makefile.am
    testsuites/sptests/sp28/init.c
    testsuites/sptests/sp28/sp28.doc
    testsuites/sptests/sp28/sp28.scn
    testsuites/sptests/sp29/Makefile.am
    testsuites/sptests/sp29/init.c
    testsuites/sptests/sp29/sp29.doc
    testsuites/sptests/sp29/sp29.scn
    testsuites/sptests/spfatal/Makefile.am
    testsuites/sptests/spfatal/README
    testsuites/sptests/spfatal/fatal.c
    testsuites/sptests/spfatal/init.c
    testsuites/sptests/spfatal/puterr.c
    testsuites/sptests/spfatal/spfatal.doc
    testsuites/sptests/spfatal/spfatal.scn
    testsuites/sptests/spfatal/system.h
    testsuites/sptests/spfatal/task1.c
    testsuites/sptests/spsize/Makefile.am
    testsuites/sptests/spsize/getint.c
    testsuites/sptests/spsize/init.c
    testsuites/sptests/spsize/size.c
    testsuites/sptests/spsize/size.scn
    testsuites/sptests/spsize/system.h
    testsuites/sptests/sptests.am
    testsuites/support/Makefile.am
    testsuites/support/include/tmacros.h
    testsuites/tmitrontests/Makefile.am
    testsuites/tmitrontests/README
    testsuites/tmitrontests/include/Makefile.am
    testsuites/tmitrontests/include/timesys.h
    testsuites/tmitrontests/tmitronsem01/Makefile.am
    testsuites/tmitrontests/tmitronsem01/init.c
    testsuites/tmitrontests/tmitronsem01/system.h
    testsuites/tmitrontests/tmitronsem01/tmitronsem01.doc
    testsuites/tmitrontests/tmitrontests.am
    testsuites/tmtests/Makefile.am
    testsuites/tmtests/README
    testsuites/tmtests/include/Makefile.am
    testsuites/tmtests/include/timesys.h
    testsuites/tmtests/tm01/Makefile.am
    testsuites/tmtests/tm01/system.h
    testsuites/tmtests/tm01/task1.c
    testsuites/tmtests/tm01/tm01.doc
    testsuites/tmtests/tm02/Makefile.am
    testsuites/tmtests/tm02/system.h
    testsuites/tmtests/tm02/task1.c
    testsuites/tmtests/tm02/tm02.doc
    testsuites/tmtests/tm03/Makefile.am
    testsuites/tmtests/tm03/system.h
    testsuites/tmtests/tm03/task1.c
    testsuites/tmtests/tm03/tm03.doc
    testsuites/tmtests/tm04/Makefile.am
    testsuites/tmtests/tm04/system.h
    testsuites/tmtests/tm04/task1.c
    testsuites/tmtests/tm04/tm04.doc
    testsuites/tmtests/tm05/Makefile.am
    testsuites/tmtests/tm05/system.h
    testsuites/tmtests/tm05/task1.c
    testsuites/tmtests/tm05/tm05.doc
    testsuites/tmtests/tm06/Makefile.am
    testsuites/tmtests/tm06/system.h
    testsuites/tmtests/tm06/task1.c
    testsuites/tmtests/tm06/tm06.doc
    testsuites/tmtests/tm07/Makefile.am
    testsuites/tmtests/tm07/system.h
    testsuites/tmtests/tm07/task1.c
    testsuites/tmtests/tm07/tm07.doc
    testsuites/tmtests/tm08/Makefile.am
    testsuites/tmtests/tm08/system.h
    testsuites/tmtests/tm08/task1.c
    testsuites/tmtests/tm08/tm08.doc
    testsuites/tmtests/tm09/Makefile.am
    testsuites/tmtests/tm09/system.h
    testsuites/tmtests/tm09/task1.c
    testsuites/tmtests/tm09/tm09.doc
    testsuites/tmtests/tm10/Makefile.am
    testsuites/tmtests/tm10/system.h
    testsuites/tmtests/tm10/task1.c
    testsuites/tmtests/tm10/tm10.doc
    testsuites/tmtests/tm11/Makefile.am
    testsuites/tmtests/tm11/system.h
    testsuites/tmtests/tm11/task1.c
    testsuites/tmtests/tm11/tm11.doc
    testsuites/tmtests/tm12/Makefile.am
    testsuites/tmtests/tm12/system.h
    testsuites/tmtests/tm12/task1.c
    testsuites/tmtests/tm12/tm12.doc
    testsuites/tmtests/tm13/Makefile.am
    testsuites/tmtests/tm13/system.h
    testsuites/tmtests/tm13/task1.c
    testsuites/tmtests/tm13/tm13.doc
    testsuites/tmtests/tm14/Makefile.am
    testsuites/tmtests/tm14/system.h
    testsuites/tmtests/tm14/task1.c
    testsuites/tmtests/tm14/tm14.doc
    testsuites/tmtests/tm15/Makefile.am
    testsuites/tmtests/tm15/system.h
    testsuites/tmtests/tm15/task1.c
    testsuites/tmtests/tm15/tm15.doc
    testsuites/tmtests/tm16/Makefile.am
    testsuites/tmtests/tm16/system.h
    testsuites/tmtests/tm16/task1.c
    testsuites/tmtests/tm16/tm16.doc
    testsuites/tmtests/tm17/Makefile.am
    testsuites/tmtests/tm17/system.h
    testsuites/tmtests/tm17/task1.c
    testsuites/tmtests/tm17/tm17.doc
    testsuites/tmtests/tm18/Makefile.am
    testsuites/tmtests/tm18/system.h
    testsuites/tmtests/tm18/task1.c
    testsuites/tmtests/tm18/tm18.doc
    testsuites/tmtests/tm19/Makefile.am
    testsuites/tmtests/tm19/system.h
    testsuites/tmtests/tm19/task1.c
    testsuites/tmtests/tm19/tm19.doc
    testsuites/tmtests/tm20/Makefile.am
    testsuites/tmtests/tm20/system.h
    testsuites/tmtests/tm20/task1.c
    testsuites/tmtests/tm20/tm20.doc
    testsuites/tmtests/tm21/Makefile.am
    testsuites/tmtests/tm21/system.h
    testsuites/tmtests/tm21/task1.c
    testsuites/tmtests/tm21/tm21.doc
    testsuites/tmtests/tm22/Makefile.am
    testsuites/tmtests/tm22/system.h
    testsuites/tmtests/tm22/task1.c
    testsuites/tmtests/tm22/tm22.doc
    testsuites/tmtests/tm23/Makefile.am
    testsuites/tmtests/tm23/system.h
    testsuites/tmtests/tm23/task1.c
    testsuites/tmtests/tm23/tm23.doc
    testsuites/tmtests/tm24/Makefile.am
    testsuites/tmtests/tm24/system.h
    testsuites/tmtests/tm24/task1.c
    testsuites/tmtests/tm24/tm24.doc
    testsuites/tmtests/tm25/Makefile.am
    testsuites/tmtests/tm25/system.h
    testsuites/tmtests/tm25/task1.c
    testsuites/tmtests/tm25/tm25.doc
    testsuites/tmtests/tm26/Makefile.am
    testsuites/tmtests/tm26/fptest.h
    testsuites/tmtests/tm26/system.h
    testsuites/tmtests/tm26/task1.c
    testsuites/tmtests/tm26/tm26.doc
    testsuites/tmtests/tm27/Makefile.am
    testsuites/tmtests/tm27/system.h
    testsuites/tmtests/tm27/task1.c
    testsuites/tmtests/tm27/tm27.doc
    testsuites/tmtests/tm28/Makefile.am
    testsuites/tmtests/tm28/system.h
    testsuites/tmtests/tm28/task1.c
    testsuites/tmtests/tm28/tm28.doc
    testsuites/tmtests/tm29/Makefile.am
    testsuites/tmtests/tm29/system.h
    testsuites/tmtests/tm29/task1.c
    testsuites/tmtests/tm29/tm29.doc
    testsuites/tmtests/tmck/Makefile.am
    testsuites/tmtests/tmck/system.h
    testsuites/tmtests/tmck/task1.c
    testsuites/tmtests/tmck/tmck.doc
    testsuites/tmtests/tmoverhd/Makefile.am
    testsuites/tmtests/tmoverhd/dumrtems.h
    testsuites/tmtests/tmoverhd/empty.c
    testsuites/tmtests/tmoverhd/system.h
    testsuites/tmtests/tmoverhd/testtask.c
    testsuites/tmtests/tmoverhd/tmoverhd.doc
    testsuites/tmtests/tmtests.am
    testsuites/tools/Makefile.am
    testsuites/tools/generic/Makefile.am
    testsuites/tools/generic/difftest.in
    testsuites/tools/generic/sorttimes.in
2000-02-11 15:54:48 +00:00
Joel Sherrill
562e7ed1ed Increased block size to 128 and added comments based on feedback from
Java folks including Oscar Martinez de la Torre <omt@wm.estec.esa.nl>.
2000-02-11 15:54:47 +00:00
Joel Sherrill
35ece2ecb2 Patch from Eric Norum <eric@cls.usask.ca> based on working with
Bob Wisdon <bobwis@ascweb.co.uk> and Chris Johns <ccj@acm.org>
to resolve a random network lockup problem.

    ckinit.c:
        Occasional network lockups have been noted when the PIT has a higher
        interrupt request level than the CPM.  The SCC1 bit in the CISR is set
        even though the SCC1 interrupt handler is not active.  This blocks
        interrupts from SCC1 (and all other CPM sources) and locks up the
        system.  It has not been determined whether the error is within the
        68360 or in the RTEMS interrupt support assembler code.  The solution,
        for now, is to set both PIT and CPM interrupt request levels to the same
        value (4).

    network.c:
        Set CPM transmitter buffer pointer (_tbptr) to beginning of frame
        before restarting transmitter.  Don't retire transmitter buffer
        descriptors belonging to the restarted frame.
2000-02-11 15:21:40 +00:00
Joel Sherrill
1249edfa3a Fixed typos introduced in last modification. Spotted by
Erwin Rol <erwin@muffin.org>.
2000-02-11 14:12:03 +00:00
Joel Sherrill
fb196c3c72 changed version to 4.5.0-beta1a 2000-02-08 22:35:00 +00:00
Joel Sherrill
70810dcd89 Patches rtems-rc-20000204-0.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that contains:

* Removes remaining (now illegal) references to $(SRC) from a couple of
  Makefile.ams
* Removes duplicate AC_CONFIG_SUBDIRS macro from c/configure.in
* Moves ENABLE_LIBCDIR into RTEMS_PROG_C[C|XX]_FOR_TARGET (hides LIBCDIR
  from most configure scripts, i.e. LIBCDIR becomes less visible)
* Adds RTEMS_PROG_C[C|XX]_FOR_TARGET and RTEMS_CANONICALIZE_TOOLS to
  libbsp/*/configure.ins (A minor bug in previous implementations, which
  only has an impact when switching to GNU/Cygnus canonicalization)
* Cleans up several bogus comments.
* Removes MKLIB
* Switches the version number to 4.5.0 (for testing version number
  handling)
2000-02-08 22:33:25 +00:00
Joel Sherrill
a976681e47 changed version to 4.5.0-beta1 2000-02-08 19:00:58 +00:00
Joel Sherrill
e06d5aed9a Fixed typo. 2000-02-08 18:38:00 +00:00
Joel Sherrill
70d27f9c89 Updated. 2000-02-08 18:36:21 +00:00
Joel Sherrill
a9d04b1cfa Patch from Eric Norum <eric@cls.usask.ca> to remove race conditions
when setting up receive buffer descriptors and when unmasking interrupts.
2000-02-08 18:26:40 +00:00
Joel Sherrill
b33ab2b2b3 Patch from David Fiddes <D.J.Fiddes@hw.ac.uk> to match his Cygwin
for RTEMS toolkit.
2000-02-08 15:24:16 +00:00
Joel Sherrill
c5206d0843 Updated version numbers. 2000-02-08 14:01:31 +00:00
Joel Sherrill
ee3c9e5eb1 Removed references to INSTALL_VARIANT. 2000-02-08 14:00:45 +00:00
Joel Sherrill
857761b134 Removed obsolete files from list. 2000-02-07 13:56:43 +00:00
Joel Sherrill
95d90725e9 Obsolete files. Removed per recommendation from Ralf Corsepius
<corsepiu@faw.uni-ulm.de>.
2000-02-04 19:25:57 +00:00
Joel Sherrill
bf2447953c Incorrect error status returned. Noted by Andrew Klossner
<andrew@pogo.wv.tek.com>.
2000-02-04 16:32:38 +00:00
Joel Sherrill
edb2176cd5 Incorrect error status returned. Noted by Andrew Klossner
<andrew@pogo.wv.tek.com>.
2000-02-04 16:09:38 +00:00
Joel Sherrill
5da4d24392 changed version to 20000204 2000-02-04 14:58:17 +00:00
Joel Sherrill
3eb64109ad changed version to 20000204 2000-02-04 14:01:57 +00:00
Joel Sherrill
9d457f5a56 changed version to 20000118a 2000-02-04 14:00:43 +00:00
Joel Sherrill
b452a4023c Changed behavior to match that expected by EPICS test code. Reported by
Eric Norum <eric@cls.usask.ca>.
2000-02-03 22:20:41 +00:00
Joel Sherrill
4bf1801d0d Patches rtems-rc-20000118-7.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that contains the automake files for libnetworking plus a couple of
minor fixes.  [Now only one unused/unsupported Makefile.in remains
(./c/src/lib/libbsp/hppa1.1/pxfl/Makefile.in).]

    To apply:
        patch -p1 < rtems-rc-20000118-7.diff
        /bin/sh rtems-rc-20000118-7.rm
        /bin/sh rtems-rc-20000118-7.add
        ./bootstrap

    Notes:
    * I have tested this one by building all BSPs for m68k, powerpc, sh and
      unix with toolchains built since last weekend.
    * I did not touch libnetworking's directory layout.
2000-02-03 13:21:38 +00:00
Joel Sherrill
1382cea3b1 Fixed spelling errors. 2000-02-03 13:18:21 +00:00
Joel Sherrill
399432faac Patch rtems-rc-20000118-6.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that contains:

    The workarounds related to the issues with
    ppc/helas403 (triggers a nasty bug in automake-2.14) and mcp750.cfg
    (Which is basically broken)

    To apply:
        patch -p1 < rtems-rc-20000118-6.diff
        ./bootstrap

    Note:
        * Though this patch is small, ./bootstrap is absolutely necessary.
        * Now your CVS source tree is identical to my local CVS.
2000-02-02 15:26:41 +00:00
Joel Sherrill
847dbbe6c7 Patches rtems-rc-20000118-5.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that contains:

    * The fix for the gen68360/network/Makefile.am
    * automatically set permissions to 755 to scripts/buildall and
      scripts-ada/buildall (I remembered a trick to achieve this :).
    * automake support for libbsp/* and libcpu/* (Attn: This part will
      finally break old-style configuration for all non-public cpus)

    NOTES:
    * This patch has only been tested for a random selection of BSPs (I
      haven't rebuilt all toolchains yet).
    * This patch is against rtem-cvs as of this morning (MET).

    To apply:
        patch -p1 <rtems-rc-20000118-5.diff
        cvs rm -f ./c/src/lib/libbsp/Makefile.in
        cvs rm -f ./c/src/lib/libbsp/shmdr/Makefile.in
        cvs rm -f ./c/src/lib/libcpu/Makefile.in
        cvs add ./c/src/lib/libbsp/Makefile.am
        cvs add ./c/src/lib/libbsp/shmdr/Makefile.am
        cvs add ./c/src/lib/libcpu/Makefile.am
        ./bootstrap
2000-02-01 13:41:54 +00:00
Joel Sherrill
8505e9b387 Removed references to non-existent include files. 2000-01-31 22:34:11 +00:00
Joel Sherrill
543452de5a Changed versions of newlib patch. 2000-01-31 20:48:14 +00:00
Joel Sherrill
819c7da851 Spelling corrected. 2000-01-31 19:28:39 +00:00
Joel Sherrill
bb18b95612 Spelling corrected. 2000-01-31 19:28:18 +00:00
Joel Sherrill
4e36a2f133 Patches rtems-rc-20000118-3.diff and rtems-rc-20000118-4.diff from
Ralf Corsepius <corsepiu@faw.uni-ulm.de> that contain:

    * Modifications, (minor) corrections, cleanups to most existing
      Makefile.ams
    * Adds automake support to all remaining BSPs which have not yet been
      converted to automake.
    * Makefile.am for all remaining wrapup/Makefile.ams
2000-01-31 15:27:02 +00:00
Joel Sherrill
8fbdf07b62 Patch rtems-rc-20000118-2.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that contains cosmetical changes to the Makefile.ams below tests (removes
old, now invalid comments from these Makefile.ams).
2000-01-31 15:22:23 +00:00
Joel Sherrill
d7269fbaec Ralf Corsepius <corsepiu@faw.uni-ulm.de> caught some files in CVS
that should not have been.
2000-01-31 15:18:38 +00:00
Joel Sherrill
4c46630639 Patch rtems-rc-20000118-1.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that contains:

  * cleanups to configuration files
  * A reworked gccnewlib.spec.in: I have reformated it for enhanced
    readability and added more rtems-base packages. It now should be free of
    any installation conflicts (If there still remain some, they should be
    regarded as bugs).
  * A fix to the bin2boot RTEMS_BSP issue (make RTEMS_BSP="pc386 pc486"
    now works).
  * removes libbsp/bare/wrapup
  * Further cleanups
2000-01-31 15:15:10 +00:00
Joel Sherrill
d2bc265b66 Successfully built some RPMs. There is still a lot of work to do. 2000-01-31 14:47:03 +00:00
Joel Sherrill
8030d8a7ca Updated versions. 2000-01-31 14:46:38 +00:00
Joel Sherrill
0261887260 Modifications from Ralf to be more like other custom files. There
is no way to build this target.
2000-01-31 14:46:23 +00:00
Joel Sherrill
2fabda6ea1 Modification to properly support BSP aliases (pc[456]86). 2000-01-31 14:45:43 +00:00
Joel Sherrill
71aeab4de4 Suggested modification from Rosimildo da Silva <rdasilva@connecttel.com>
to make the BSP boot on netboot.
2000-01-31 14:45:27 +00:00
Joel Sherrill
49440a6e87 Added AC_SUBST(RTEMS_BSP) so the makefiles properly honor the
BSP alias on the tools.
2000-01-31 14:43:38 +00:00
Joel Sherrill
8be7befaf4 BSP now links although this change is untested. 2000-01-31 14:42:18 +00:00
Joel Sherrill
c01ba672eb Patch from John M. Mills <jmills@tga.com> to include more
information on hardware settings.
2000-01-28 15:27:58 +00:00
Joel Sherrill
9789cb8981 Put Ada scripts in group gnatrtems. 2000-01-28 00:02:09 +00:00
Joel Sherrill
42ec72d35c Removed gnat and made final cleanup. 2000-01-27 23:49:44 +00:00
Joel Sherrill
f82fee97bb Patch rtems-rc-20000118-0.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that converts the a29k to automake.

    This patch contains
    * An initial merger of the libcpu/a29k stuff you sent yesterday. AFAIS,
      most code inside them seems to be empty stubs. One file even contains a
      function called mips_*** which might indicate that this part might
      contain mips code or the code the initial porter used as template for
      porting. Unfortunately, I don't know anything about the a29k so I can't
      comment on the details.
    * A dummy bsp_specs to libbsp/29k/portsw
    * An update to the automake files related to the a29k.

    Note:
    * This patch is completely untested, because I don't have a toolchain
      for it.
    * The files in libcpu/a29k include bsp.h => The libbsp vs. libcpu-issue
      hits again.
2000-01-27 23:48:50 +00:00
Joel Sherrill
7150605481 GNAT/RTEMS RPMs have built for the binutils/gnat/gcc combination
and appear to be close for gdb.
2000-01-27 23:48:28 +00:00
Joel Sherrill
1b2b923432 Patch to fix typo from Ralf Corsepius <corsepiu@faw.uni-ulm.de>. 2000-01-27 17:06:49 +00:00
Joel Sherrill
e26ce9342d Added note from Ian Lance Taylor <ian@zembu.com>. 2000-01-27 14:40:00 +00:00
Joel Sherrill
318f591241 Added after report from Quality Quorum <qqi@world.std.com> that
pc686.cfg was not present.
2000-01-27 14:37:17 +00:00
Joel Sherrill
0610a988e3 First attempt at debugging. 2000-01-26 20:50:23 +00:00
Joel Sherrill
64ab2e9eeb First cut at adding RPM scripts for building GNAT/RTEMS RPMs. 2000-01-26 19:56:54 +00:00
Joel Sherrill
a1f89b42a8 No longer incorrectly references mips. 2000-01-26 14:22:34 +00:00
Joel Sherrill
21677c0e66 Patch rtems-rc-20000118-0.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that converts the a29k to automake.

    This patch contains
    * An initial merger of the libcpu/a29k stuff you sent yesterday. AFAIS,
      most code inside them seems to be empty stubs. One file even contains a
      function called mips_*** which might indicate that this part might
      contain mips code or the code the initial porter used as template for
      porting. Unfortunately, I don't know anything about the a29k so I can't
      comment on the details.
    * A dummy bsp_specs to libbsp/29k/portsw
    * An update to the automake files related to the a29k.

    Note:
    * This patch is completely untested, because I don't have a toolchain
      for it.
    * The files in libcpu/a29k include bsp.h => The libbsp vs. libcpu-issue
      hits again.
2000-01-26 14:20:08 +00:00
Joel Sherrill
5eac93c7cc Now binutils, gcc, and gdb build into a "base" package that is shared
by all targets and one or more target specific RPMs.  This significantly
reduces the conflicts between the RPMs whether installing one or multiple
targets.
2000-01-25 19:47:32 +00:00
Joel Sherrill
9ce6414850 Attempting to split binutils and gcc into base/shared and CPU specific
packages.
2000-01-24 23:50:28 +00:00
Joel Sherrill
0c602f0474 Patch from David Fiddes <D.J@fiddes.surfaid.org> which adds basic
Cygwin support to the RPM scripts.  The patch from David did not
apply cleanly and Joel ended up making all the modifications
plus some it should have included for consistency by hand.  His comments:

    I've included a diff against the last (19991203) snapshot RPM scripts that
    adds what I think is required for Cygwin support. Basically all this boils
    down to is adding EXE extension support. I've added the AC_EXEEXT rule to
    conifgure.in (requires a valid 'cc' to work - this is not available in the
    standard Cygwin distro). Each of the *.spec.in have @exe_ext@ includes in
    them for each program that results in an EXE. The only odity here is that
    the chill driver program is a shell script and thus does not require .exe to
    be added... The mk*.in have all been updated to process the new exe_ext
    rule.
2000-01-23 19:20:02 +00:00
Joel Sherrill
8d37343a5d Directive rtems_task_variable_get() added by Eric Norum. 2000-01-23 19:07:02 +00:00
Joel Sherrill
b5a31d4479 Added rtems_task_variable_get from Eric Norum. 2000-01-23 19:06:09 +00:00
Joel Sherrill
a690050805 Updated to reflect changing to void * on task variables by
Eric Norum <eric@cls.usask.ca>.
2000-01-23 18:59:17 +00:00
Joel Sherrill
41b27b94b8 Wrong BSP referenced. 2000-01-23 18:29:45 +00:00
Joel Sherrill
f13b1c4e4a Removing unused file accidentally left in CVS. Discovered by
Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
2000-01-23 18:22:02 +00:00
Joel Sherrill
d7f33012cf Documentation to reflect patch from Eric Norum <eric@cls.usask.ca> to
the network initialization enhancement request by Jake Janovetz
<janovetz@tempest.ece.uiuc.edu>.
2000-01-21 15:15:53 +00:00
Joel Sherrill
4a9b897304 Patch from Eric Norum <eric@cls.usask.ca> at the request of Jake
Janovetz <janovetz@tempest.ece.uiuc.edu> to return a status from
network initialization rather than panic'ing.  It changes a bunch
of rtems_panics to printfs and returns a status from
rtems_bsdnet_initialize_network().
2000-01-21 15:11:40 +00:00
Joel Sherrill
c941a980cc Patch from Eric Norum <eric@cls.usask.ca> to implement this:
I'd like to propose a change to RTEMS task variables that I think would
    make them more useful.  I think that it is early enough in their
    existence to still make changes to their API.

    1) Change type from `int' to `void *'.
    2) Add extra argument to task_variable_add -- if non-NULL, a pointer to
    a `destructor' function to be called when the task exits.  This function
    would be called with that task's value of the task variable as its
    argument.  In many cases, the `dtor' function could be `free'.

    rtems_status_code rtems_task_variable_add (
      rtems_id tid, void **ptr, void (*dtor)(void *));
    rtems_status_code rtems_task_variable_delete (rtems_id tid, void **ptr);

    This would be all we'd need to cleanly and efficiently support C++
    per-thread exception information without dragging in all that POSIX API
    stuff.
2000-01-21 15:07:55 +00:00
Joel Sherrill
e570c7617d Patch from Eric Norum <eric@cls.usask.ca> to remove warnings. 2000-01-21 14:49:31 +00:00
Joel Sherrill
b9478fc658 Patch from Eric Norum <eric@cls.usask.ca>:
Some excellent sleuthing by Bob Wisdom <bobwis@ascweb.co.uk> revealed
    that an empty mbuf at the end of a packet chain would cause the `retire'
    function to blow up.  Moving the line of code which bumps the transmit
    buffer descriptor pointer fixes the problem.  Some additional cleanup of
    the sendpacket function was also completed.
2000-01-21 01:47:22 +00:00
Joel Sherrill
54b99a25ae changed version to 20000118a 2000-01-19 19:39:41 +00:00
Joel Sherrill
1c62aa218b changed version to 20000118 2000-01-18 16:06:15 +00:00
Joel Sherrill
1bbcbd922e changed version to 20000114 2000-01-14 22:33:02 +00:00
Joel Sherrill
f8e2a94792 Updated to reflect final test output. 2000-01-14 19:26:23 +00:00
Joel Sherrill
ff70333657 Updated screen to reflect final test output. 2000-01-14 19:26:05 +00:00
Joel Sherrill
94a51f8bba Added -U__STRICT_ANSI__ to remove MANY warnings since the BSD code
is not strict ANSI.
2000-01-14 18:50:19 +00:00
Joel Sherrill
e49ebbfa1d Removed unused variable warning. 2000-01-14 18:37:59 +00:00
Joel Sherrill
4d1af2095e Removed no prototype of kill() warning. 2000-01-14 18:37:30 +00:00
Joel Sherrill
318e23baae Updated versions. 2000-01-14 17:41:57 +00:00
Joel Sherrill
1cb2f89a82 Updated list of targets to build. 2000-01-14 17:41:45 +00:00
Joel Sherrill
20eb69db13 Now ignores minimum and does not run it. 2000-01-14 17:41:20 +00:00
Joel Sherrill
512a536570 Now using Makefile.am to generate this file. 2000-01-14 17:40:49 +00:00
Joel Sherrill
95f5adbffd Warning corrections per feedback from Emmanuel Raguet <raguet@crf.canon.fr>. 2000-01-14 15:34:47 +00:00
Joel Sherrill
752badac5a Removed warning. 2000-01-14 14:55:37 +00:00
Joel Sherrill
c819ea440d Removed numerous warnings. 2000-01-14 14:44:11 +00:00
Joel Sherrill
58909199a2 Updated files missed in earlier batch from Eric Norum. 2000-01-13 22:11:35 +00:00
Joel Sherrill
49fa9bc005 Fixed warnings. 2000-01-13 22:08:29 +00:00
Joel Sherrill
4c3ab84636 Patch rtems-rc-20000104-17.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that addresses the librdbg/rpcgen related problems:

    Changes:
        * All rpcgen generated files are now kept inside of the source tree
        * Fix librdbg/configure to correctly detect presence of rpcgen and awk
        * Use rpcgen -m to generated remdeb_svc.c
        * Remove msgout/_msgout from awk.svc
        * minor cleanups to librdbg/configure.in

    ATTENTION --- IMPORTANT:

        * With keeping rpc-generated files pre-build inside of the source tree,
          you as the packager of RTEMS have to ensure that timestamps are
          correctly set up: The generated files must not be older than the *.x
          files.
        * This is extraordinarily important when
            - putting the package on read-only media
            - after checking out from CVS
            - after modifications to the *.x files
        * If one of the *.x files is modified you have to either
            - build for i386/pc386 and powerpc/mcp750
            - or to invoke the same rpcgen calls as the
              librdbg/src/<cpu>/<bsp>/Makefile.am do manually
              before checking-in the files to CVS.

    Proposal:

    We could add something to bootstrap for touching the rpcgen-generated
    sources and/or to manually regenerate them.

    NOTE FROM JOEL:

    Ralf proposed modifying bootstrap to handle rpcgen.  I think this
    is the best solution as it is something already done in the
    snapshot procedure.
2000-01-13 21:07:22 +00:00
Joel Sherrill
b8c9883755 All m68k BSPs now build with new ELF style linkcmds. 2000-01-13 20:45:07 +00:00
Joel Sherrill
11944b9bc3 POSIX message queues now include complete functionality including
blocking sends when the queue is full.  The SuperCore was enhanced
to support blocking on send.  The existing POSIX API was debugged
and numerous test cases were added to psxmsgq01 by Jennifer Averett.
SuperCore enhancements and resulting modifications to other APIs
were done by Joel.

There is one significant point of interpretation for the POSIX API.
What happens to threads already blocked on a message queue when the
mode of that same message queue is changed from blocking to non-blocking?
We decided to unblock all waiting tasks with an EAGAIN error just
as if a non-blocking version of the same operation had returned
unsatisfied.  This case is not discussed in the POSIX standard and
other implementations may have chosen differently.
2000-01-13 19:32:50 +00:00
Joel Sherrill
3e7a0fd4e3 Added test case for broadcast to queue with messages pending. 2000-01-13 19:27:33 +00:00
Joel Sherrill
85d62357bb Changed error checking macros for POSIX. 2000-01-13 19:26:38 +00:00
Joel Sherrill
53fb837afc POSIX message queues now include complete functionality including
blocking sends when the queue is full.  The SuperCore was enhanced
to support blocking on send.  The existing POSIX API was debugged
and numerous test cases were added to psxmsgq01 by Jennifer Averett.
SuperCore enhancements and resulting modifications to other APIs
were done by Joel.

There is one significant point of interpretation for the POSIX API.
What happens to threads already blocked on a message queue when the
mode of that same message queue is changed from blocking to non-blocking?
We decided to unblock all waiting tasks with an EAGAIN error just
as if a non-blocking version of the same operation had returned
unsatisfied.  This case is not discussed in the POSIX standard and
other implementations may have chosen differently.
2000-01-13 19:25:15 +00:00
Joel Sherrill
ee4ddd8361 Missed removing this file in an earlier commit. This is removed
because of the conversion to automake and replaced by a Makefile.am.
2000-01-13 19:23:59 +00:00
Joel Sherrill
2cef9771fb Added POSIX interpretation subsection and updated status.
The message queue manager chapter needs to be updated to reflect
completion of the implementation.
2000-01-13 19:20:17 +00:00
Jennifer Averett
9c1c778d56 + Added comments 2000-01-13 18:32:38 +00:00
Jennifer Averett
d65c376845 + Added and yellow line tested _CORE_message_queue_Flush_waiting_threads
and _CORE_message_queue_Insert_message for posix message queues.
+ Yellow line tested new source
2000-01-13 18:32:09 +00:00
Jennifer Averett
e7d76dc8a9 Added comment. 2000-01-13 18:23:42 +00:00
Jennifer Averett
d78c6fe3d3 + Comment cleanup 2000-01-13 18:22:32 +00:00
Jennifer Averett
661ff9a7f6 Removed referance to rtems error.
Added correct include file.
2000-01-13 18:22:09 +00:00
Jennifer Averett
b0461cd4b4 Added comment to indicate this path does not occur. 2000-01-13 17:13:12 +00:00
Jennifer Averett
0724b658a7 Added start and end herald. 2000-01-13 17:01:35 +00:00
Joel Sherrill
9b2c969369 Made sweep of changes to get all BSPs to the same point on the linkcmds
and memory layout.  Next step is to share the same bsp_pretasking_hook.
2000-01-13 15:07:03 +00:00
Joel Sherrill
c0ebf023b7 New patch from Eric Norum plus some minor mods by Joel. 2000-01-13 15:06:24 +00:00
Joel Sherrill
e60d75dfbe Fixed spacing. 2000-01-13 14:28:10 +00:00
Joel Sherrill
bd9e482a35 Made _clear_end a "PROVIDE." 2000-01-13 14:05:11 +00:00
Jennifer Averett
ea2c1d6301 + Added code for waiting send
+ Yellow lined tested routine with Posix message queue test (01)
2000-01-12 20:22:04 +00:00
Jennifer Averett
e38cb52d2d Debugged and yellow line tested routines. 2000-01-12 18:47:22 +00:00
Jennifer Averett
68b0569430 + Modified return codes
+ Added messsage size check
+ Debugged and yellowed out routine
2000-01-12 18:46:54 +00:00
Jennifer Averett
bcbc50a81c + Added signal processing.
+ Yellow line tested source.
2000-01-12 18:44:19 +00:00
Jennifer Averett
352d01e0d3 + Modified to correct return codes.
+ Removed extra flag attribute from message queue structure.
+ Yellow-lined all posix message queue routines.
2000-01-12 18:43:21 +00:00
Jennifer Averett
70329c80ea + Changed call from core flush to core close routine. This flushes waiting
queues as well as the messages.
2000-01-12 18:41:14 +00:00
Jennifer Averett
399ba0690c + Removed name validation code (this was already done in nametoid. 2000-01-12 18:40:18 +00:00
Joel Sherrill
c1d2cc9ee7 Patch rtems-rc-20000104-16.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that converts the libbsp/i386 subdirectory to full automake.
2000-01-12 17:58:34 +00:00
Joel Sherrill
b2b4835718 Eric Norum <eric@cls.usask.ca> submitted linker script and bsp_specs
for the gen68360 that let it work with ELF and C++ exceptions.  This
was used as the basis for changes to EVERY m68k bsp_specs and linkcmds.
Before this modification is over, the layout of the starting stack,
heap, and workspace will likely be modified for every m68k BSP. Then
they will all be very similar.
2000-01-12 16:38:57 +00:00
Joel Sherrill
69537ca9ec Patch rtems-rc-20000104-16.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that converts the libbsp/i386 subdirectory to full automake.
2000-01-12 16:38:56 +00:00
Joel Sherrill
1e1941129e Called symbol table ".nm" not .num like every other BSP. 2000-01-12 16:08:57 +00:00
Joel Sherrill
737a5992a3 Patch rtems-rc-20000104-15.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that fixes the following problems:

  1. Removing bogus ';' in some configure.in (cosmetical fix)
  2. Moves GAS_CODE16 checks to libbsp/i386/*/configure.in (essential fix)

  #2 was responsible for the gcc/binutils-2.9.5 choking while building for
  the pc386.
2000-01-12 16:05:58 +00:00
Joel Sherrill
76c2b3546c File removed as it was not being used. 2000-01-11 19:09:24 +00:00
Joel Sherrill
0dd1d44582 Removed old hack of using Configuration Table entry ticks_per_timeslice
being set to 0 to indicate that there should be no Clock Tick.  This
was used by the Timing Tests to avoid clock tick overhead perturbing
execution times.  Now the Timing Tests simply leave the Clock Tick
Driver out of the Device Driver Table.
2000-01-11 17:34:20 +00:00
Joel Sherrill
bdb289988a Patch from Emmanuel Raguet <raguet@crf.canon.fr> to correct macro
expansion.  These macros were modified to correct warnings and
obviously needed more parentheses to expand correctly.
2000-01-11 16:41:57 +00:00
Joel Sherrill
75582835c7 Fixed spacing. 2000-01-11 15:43:16 +00:00
Joel Sherrill
e0c01614d9 This test was enhanced to test for the case in sigtimedwait() where it
must deal with a pending process oriented signal.  Prior to the addition
of this testcase, sigtimedwait() did not return properly when a process
oriented signal was pending.  The problem was reported by Wayne
Bullaughey <wayneb@cacdsp.com>.
2000-01-11 15:43:00 +00:00
Joel Sherrill
4fa5eaee52 This code did not return properly when a process oriented signal
was pending.  Reported by Wayne Bullaughey <wayneb@cacdsp.com>.
2000-01-11 15:42:05 +00:00
Joel Sherrill
86c9eb0e28 Bug fix from Wayne Bullaughey <wayneb@cacdsp.com> to use the complement
of the mask when disabling the interrupt.
2000-01-11 14:57:41 +00:00
Joel Sherrill
0f59d63f27 Now automake generated. 2000-01-10 21:38:43 +00:00
Joel Sherrill
710f76a831 Added mpc6xx/timer/Makefile. 2000-01-10 21:37:57 +00:00
Joel Sherrill
01ab701910 Accidentally deleted. 2000-01-10 21:36:34 +00:00
Joel Sherrill
19642e2cab Removed definition of USHRT_MAX to remove lots of redefinition warnings. 2000-01-10 21:22:23 +00:00
Joel Sherrill
6d3ab0ffdc Added pc486 and pc586 as aliases of pc386 with proper cpu flags. 2000-01-10 20:56:35 +00:00
Joel Sherrill
119204d80f Removed warning by changing %eax -> %ax as source of move to segment
registers.
2000-01-10 20:40:41 +00:00
Joel Sherrill
c084f11df8 Added pc486 and pc586 to list. 2000-01-10 20:38:04 +00:00
Joel Sherrill
f9bcb58da3 Corrected compilation problem in lgdt instruction. 2000-01-10 20:12:11 +00:00
Joel Sherrill
f4d21dde83 Added include of <bsp/irq.h> per Jay Kulpinski <jskulpin@eng01.gdds.com>. 2000-01-10 19:07:40 +00:00
Joel Sherrill
aa1d76ed8d Missed cleanup from Ralf Corsepius. 2000-01-10 18:56:10 +00:00
Joel Sherrill
70af0ea116 Don't look at the object information structure for threads/tasks
for APIs that are not configured.  This resulted in weird behavior
when ITRON was disabled on some targets.
2000-01-10 18:47:58 +00:00
Joel Sherrill
f983d571ab Patch rtems-rc-20000104-14.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which fixes some PowerPC specific bugs.
2000-01-10 18:16:59 +00:00
Joel Sherrill
89703c313a Patch from Jay Kulpinski <jskulpin@eng01.gdds.com> to make sure
RTEMS_TM27 is defined before the bsp.h is included.
2000-01-10 18:16:22 +00:00
Joel Sherrill
362ec23ed7 Patch rtems-rc-20000104-12.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which converts the PowerPC BSPs to configuration and more automake.

    * Besides adding partial automake support, rsp converting all powerpc
      BSPs to make them compliant to the new configuration scheme, this patch
      attempts to fix several configuration bugs in powerpc related Makefiles.
2000-01-10 18:10:59 +00:00
Joel Sherrill
f9b48de90e Removed reference to Radstone PPCN. 2000-01-10 18:07:51 +00:00
Joel Sherrill
23527262bd Fixed comment. 2000-01-10 18:07:15 +00:00
Joel Sherrill
94a86c40e2 Per suggestions of Eric Valette <valette@crf.canon.fr> and Jay
Kulpinski <jskulpin@eng01.gdds.com>, the bsp_specs now defines
USE_ENHANCED_INTR_API and powerpc/shared/include/bsp.h uses that
to enable its tm27 support.
2000-01-10 15:18:20 +00:00
Joel Sherrill
6e7b6cab8d Fixed unterminated comment spotted by eagle eye Ralf Corsepius
<corsepiu@faw.uni-ulm.de>.
2000-01-10 15:03:28 +00:00
Joel Sherrill
bc2f04f8a8 Patch rtems-rc-20000104-13.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which does the following:

  * some cleanups, fixes, addtions to the libbsp automake transition
    patches
  * The missing Automake transistion patches all libcpu/<cpu>/<variant>/*
    previously not yet been converted to automake (libcpu/powerpc,
    libcpu/hppa1.1, libcpu/mips64orion, libcpu/sparc)

  => With this patch, libcpu/*/* is under full automake control.

  NOTES:
  * This patch is tested by building for random set of bsps affected by
    this patch, but not tested for all BSPs.
  * The parts of this patch related to libcpu/powerpc fix many small bugs
    inside of those Makefiles.
  * Have a look into libcpu/powerpc/mpc6xx/, which is in rather bad shape,
    IMO. Obviously most subdirectories seem to be build but are not included
    into libcpu.a by wrapup/Makefile. Addtionally, no actual BSP uses this
    cpu-variant subdirectory. Furthermore libcpu/powerpc/mpc6xx has a
    different directory layout than all other powerpc/<variant>/
    directories.

    Joel's note:  I agree but the issue is that there is a conflict between
    including timer or clock in libcpu/XXX/wrapup/Makefile.* and letting
    a BSP specifically decide to pick it up.  There is no clear solution
    to this at the moment.
2000-01-10 14:50:45 +00:00
Joel Sherrill
5fa147949d Patch rtems-rc-20000104-11.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that converts the i386 directory to automake.

NOTE: Ralf is unable to build any i386 BSPs.  This was true before and
after this patch and appears (to Joel) to be a tool issue unrelated since
others can build i386 BSPs.
2000-01-10 14:31:16 +00:00
Joel Sherrill
7068e2465b Patch rtems-rc-20000104-10.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that converts the m68k directory to automake.

    NOTE: This one is fully tested by building *all* bsps with
        ../../rtems-rc-20000104/configure \
            --target=m68k-rtems \
            --prefix=/tmp/rtems \
            --enable-cxx \
            --disable-posix \
            --enable-rdbg \
            --disable-networking \
            --enable-maintainer-mode \
            --enable-multiprocessing \
            --disable-tests
       make
2000-01-10 14:29:44 +00:00
Joel Sherrill
53ab4823e0 Patch rtems-rc-20000104-9.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that converts the hppa1.1 directory to automake.

    NOTE:
        * Due to not having a toolchain (gcc refuses to build) this patch is
          untested.

        * I omited/deactivated the pxfl subdirectory, because I don't
          understand how it supposed to work.

    Joel's note: It was right to ignore the pxfl directory.  It should be
    removed one the BSPs are moved outside the tree.  This was an old hack.
2000-01-10 14:23:56 +00:00
Joel Sherrill
4200321a63 Patch rtems-rc-20000104-7.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that converts the a29k directory to automake.

NOTE: This port is not based on the GNU tools so no one can test it.
2000-01-10 14:17:28 +00:00
Joel Sherrill
1597ab4a9d Patch rtems-rc-20000104-8.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that converts the a29k directory to automake.

NOTE: This port is not based on the GNU tools so no one can test it.
2000-01-10 14:17:27 +00:00
Joel Sherrill
59909bf4a0 Patch rtems-rc-20000104-6.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that converts the i960 directory to automake.

    The same kind of libbsp configuration as for the mips64orion, now for
    the i960.

    In addition to libbsp configuration this patch also contains two fixes
    for cvme961.cfg and rxgen960.cfg, which contained non-functional
    make-exes. (Now both bsps probably have the same issues with linking c++
    applications as the gensh2 has, but this is a different open issue not
    tried to be solved now).

    The rxgen961 also seems to have problems with its start file, because
    linking apps fails due to not finding start.o. (Note that
    libbsp/i960/rxgen960 lacks a start subdirectory!). I leave solving this
    issue to you :)
2000-01-10 14:09:12 +00:00
Joel Sherrill
d0a8b4b880 Patch rtems-rc-20000104-4.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that converts the mips64orion directory to automake.

Ralf's Note: This patch demonstrates another kind of supporting the new
style of configuration, which avoids having to port all Makefile.ins to
automake, but to keep using most old style Makefile.ins.
2000-01-10 14:07:00 +00:00
Joel Sherrill
82f1f6dd8d Patch rtems-rc-20000104-6.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that converts the mips64orion directory to automake.

Ralf's Note: This patch demonstrates another kind of supporting the new
style of configuration, which avoids having to port all Makefile.ins to
automake, but to keep using most old style Makefile.ins.
2000-01-10 14:06:59 +00:00
Joel Sherrill
0cbfa283b9 Patch rtems-rc-20000104-4.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that converts the no_cpu directory to automake.
2000-01-10 14:04:50 +00:00
Joel Sherrill
1e562da69e Patch rtems-rc-20000104-5.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that converts the no_cpu directory to automake.
2000-01-10 14:04:49 +00:00
Joel Sherrill
49e05f4131 Patch rtems-rc-20000104-4.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that converts the unix directory to automake.

Ralf's note:  Please check c/src/lib/libbsp/unix/posix/startup/Makefile.am.
I am not sure if it is correct.
2000-01-10 14:03:32 +00:00
Joel Sherrill
1072609587 Patch rtems-rc-20000104-3.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that converts the sparc directory to automake.

Ralf's note:  The implementation of libbsp/sparc/* gives a nearly minimal
example of the new configuration scheme.
2000-01-10 13:59:35 +00:00
Joel Sherrill
94608578a2 Patch rtems-rc-20000104-2.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that converts nearly all of libbsp/sh to automake.  Comments follow:

    1. Almost full automake support for the libbsp/sh/ subdirectories
       (exception libbsp/sh/gensh*/wrapup/*)
    2. Fixes for libbsp/bare/*
    3. Updates to libbsp/* configuration which supports old (autoconf/deep
       configuration) and new (automake/flat/cascaded configuration) style
       configuration of libbsp/<cpu>/*
2000-01-10 13:56:35 +00:00
Joel Sherrill
338f1dc186 Patch from Eric Valette <valette@crf.canon.fr> that makes sure the
interrupt code works on "old buggy MCP750 boards".  The symptom was
that there was no ethernet PCI IRQ at all.
2000-01-10 13:26:00 +00:00
Joel Sherrill
d273d78ae6 Renaming mcp750 to motorola_shared since that is the basis for both
the mvme2307 and mcp750 BSPs.  In addition, it can support many
Motorola PowerPC based VME and PCI boards.
2000-01-07 20:51:56 +00:00
Joel Sherrill
1d54d3b5af Renaming mcp750 to motorola_shared since that is the basis for both
the mvme2307 and mcp750 BSPs.  In addition, it can support many
Motorola PowerPC based VME and PCI boards.
2000-01-07 20:39:45 +00:00
Joel Sherrill
35d9acb36e Patch from John M. Mills <jmills@tga.com> to correct the baseline
serial drivers used in the 'gensh2' BSP for the Hitachi sh7045 CPU.
2000-01-07 18:52:14 +00:00
Joel Sherrill
09e0df6766 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> that corrects a
patch from Emmanuel Raguet <raguet@crf.canon.fr>.  Emmanuel's patch
was against the Makefile.in's generated from the Makefile.am's
patched in this file.
2000-01-07 14:54:59 +00:00
Joel Sherrill
c3538f33cc Patch from Emmanuel Raguet <raguet@crf.canon.fr> which corrects the following
problems:

  - unclosed comment in pc386/start/start16.S
  - bad #endif in pc386/startup/ldseg.S
2000-01-07 14:52:48 +00:00
Joel Sherrill
0ff37e6866 Patch rtems-rc-20000104-0.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which is described below:

    This one is a (minor) patch in preparation of the upcoming patches. It
    actually is an excerpt of the upcoming patches and therefore is
    completely untested in this standalone form, but I don't expect it to
    break something.

    The essential changes in this patch are:
        * An update to rtems-polish.sh (Now can also be run in subdirectories)
        * A bug-fix for the libcpu/powerpc (A directory was missing from
          SUBDIRS in a Makefile.am)
        * An update to gensh2.cfg.
        * Cleanups/Enhancements to configuration files

    To apply:
        cd <srcdir>
        patch -p0 < rtems-rc-20000104-0.diff
        cvs rm -f c/src/lib/libbsp/Makefile.am.new
2000-01-07 14:47:02 +00:00
Joel Sherrill
98c875a15b Initialize the attributes structure. Random data was causing the test
to fail sporadically.
2000-01-06 22:44:27 +00:00
Joel Sherrill
89184f94db Corrected spacing. 2000-01-06 15:31:24 +00:00
Joel Sherrill
bd177b7bea Fixed comment. 2000-01-06 15:20:53 +00:00
Joel Sherrill
aaac6d6d68 changed version to 20000104 2000-01-05 23:01:25 +00:00
Joel Sherrill
0312d81f38 Fixed comment thanks to John M. Mills <jmills@tga.com>. 2000-01-05 23:01:05 +00:00
Joel Sherrill
86217271e1 changed version to 20000104 2000-01-05 22:44:14 +00:00
Joel Sherrill
ef03d0e386 changed version to 20000104 2000-01-05 22:23:45 +00:00
Joel Sherrill
5870ac5567 Added support for simple binary semaphores in addition to the high
power binary/mutex style semaphores already supported by RTEMS.  This
was done at the request of Eric Norum <eric@cls.usask.ca> in support
of his effort to port EPICS to RTEMS.  This change consisted of
changing the nesting_allowed boolean into a lock_nesting_behavior
enumerated value as well as allowing the core mutex object to optionally
support ensuring that the holder of a binary semaphore released it.
Finally, a more subtle enhancement was to allow the non-holder to release
a priority inheritance/ceiling mutex and still allow the holding task
to return to its original priority.
2000-01-05 22:19:21 +00:00
Joel Sherrill
5283cc823d Updated to reflect a time that had previously been left out due to
an array sizing coding error.
2000-01-05 22:15:47 +00:00
Joel Sherrill
27f096634a Screen updated since test runs. 2000-01-05 22:15:16 +00:00
Joel Sherrill
4bcbf89c16 Was not actually installing the test. 2000-01-05 22:14:42 +00:00
Joel Sherrill
28adcfd9ec Added message priority parameter returned by core support routine. 2000-01-05 22:14:09 +00:00
Joel Sherrill
c0d405ca01 Added new message priority parameter as returned by core support routine. 2000-01-05 22:13:15 +00:00
Joel Sherrill
fc20c5398b Increased stack space. 2000-01-05 22:09:36 +00:00
Joel Sherrill
f49aaf18b8 Updated to reflect change in object class numbering due to ITRON API
addition.
2000-01-05 22:06:30 +00:00
Joel Sherrill
280c4ca921 Corrected test and screen to reflect implementation working. 2000-01-05 22:03:44 +00:00
Joel Sherrill
5cffd6406b Changed screen to reflect change in object class numbers with ITRON
addition.
2000-01-05 22:03:27 +00:00
Joel Sherrill
3a8b95e207 Spacing corrected. 2000-01-05 21:32:57 +00:00
Joel Sherrill
54a5ee75d4 Corrected so header message is printed. 2000-01-05 20:51:45 +00:00
Joel Sherrill
66fe6be6cd patch from Eric Norum <eric@cls.usask.ca> as follows:
At the request of kjoutwater@west.raytheon.com I'm submitting the
    following patch.

    c/src/lib/libbsp/m68k/gen68360/console/console.c
        Allow console baud rate to be set by debugger/downloader.

    c/src/lib/libbsp/m68k/gen68360/startup/init68360.c
        Add support for generic 68360 with static RAM.
2000-01-05 18:40:20 +00:00
Joel Sherrill
6940545972 Patch from Eric Norum <eric@cls.usask.ca> as follows:
At the request of kjoutwater@west.raytheon.com I'm submitting the
    following patch.

    c/src/lib/libbsp/m68k/gen68360/console/console.c
        Allow console baud rate to be set by debugger/downloader.

    c/src/lib/libbsp/m68k/gen68360/startup/init68360.c
        Add support for generic 68360 with static RAM.
2000-01-05 18:40:14 +00:00
Joel Sherrill
db6ec79e6c Fixed recursive release for mutexes with nesting allowed. 2000-01-05 18:30:09 +00:00
Joel Sherrill
f388d36d84 Now print strings -- not error numbers. 2000-01-05 18:17:01 +00:00
Jennifer Averett
99e7ab890b + Added tests for open, close, unlink, and send. 2000-01-05 17:21:12 +00:00
Jennifer Averett
b302d527c7 + Added return priority from message seize.
+ Changed priority to be based off of min and max int.
2000-01-05 17:20:07 +00:00
Jennifer Averett
466b8882ce Added the recording of the submit type. 2000-01-05 17:18:51 +00:00
Jennifer Averett
58243b42f5 + Added return of the message priority. 2000-01-05 17:18:08 +00:00
Jennifer Averett
65800393f6 Added priority conversion between POSIX and core. 2000-01-05 17:16:48 +00:00
Jennifer Averett
c5858efa68 Added priority conversion between POSIX and core priorities. 2000-01-05 17:16:02 +00:00
Jennifer Averett
3ebd4c1254 + Changed priority to the POSIX priority type.
+ Added priority validation
+ Changed to call correct core routine.
+ Added priority conversion
+ Resolved return type problems.
2000-01-05 17:13:50 +00:00
Jennifer Averett
fcd0c90630 + Added check for reading from a write only queue.
+ Added ability to return message priority from the core.
2000-01-05 17:11:36 +00:00
Jennifer Averett
cecd206a65 + Added check for name greater than PATH_MAX. 2000-01-05 17:09:36 +00:00
Jennifer Averett
e015106f68 + Changed to resonable default values for maxmsg and msgsize.
+ Added oflag tracking.
2000-01-05 17:08:56 +00:00
Jennifer Averett
f602eebd64 Added mqueuetranslatereturncode.c. 2000-01-05 17:07:52 +00:00
Jennifer Averett
864ac98aa7 Added routines to translate to and from the core message queue return codes. 2000-01-05 17:06:45 +00:00
Joel Sherrill
0eded827e1 Fixed typos. 2000-01-04 23:36:52 +00:00
Joel Sherrill
ea6af4f25d Updated dates and miscellaneous. 2000-01-04 23:33:46 +00:00
Joel Sherrill
c25e00ca52 Added timer manager. 2000-01-04 23:33:04 +00:00
Joel Sherrill
ed09d6fcf5 Improved clean stanza. 2000-01-04 23:32:51 +00:00
Joel Sherrill
590eb87d7e Added this file to contain an example program. 2000-01-04 17:08:16 +00:00
Joel Sherrill
bfded728ec Fixed warnings. 2000-01-04 14:16:00 +00:00
Joel Sherrill
36155ebb04 Removed warning. 2000-01-04 14:03:38 +00:00
Joel Sherrill
a148f561c2 Removed warnings. 2000-01-04 14:00:38 +00:00
Joel Sherrill
1dfc188ef5 Removed unitialized variable warning. 2000-01-04 13:58:47 +00:00
Joel Sherrill
afe8c1b6c0 Added shared version of this file. 2000-01-04 13:49:05 +00:00
Joel Sherrill
7b0ff0086f Made to compile again. 2000-01-04 13:48:48 +00:00
Joel Sherrill
393be8ec37 Fixed path to shared/include/coverhd.h. 2000-01-03 20:43:29 +00:00
Joel Sherrill
6bc66ab04f Added new URL. 2000-01-03 19:08:14 +00:00
Joel Sherrill
0173ab87ab Comments added and some messages translated from Polish. 2000-01-03 18:28:36 +00:00
Joel Sherrill
0af1b73f3c Patch from Eric Norum <eric@cls.usask.ca>:
In another attempt to get C++ exceptions working on the gen68360 target
    I tried building for the m68k-elf target.  All the tools built and
    installed properly as did all of RTEMS.  No applications would run,
    though -- not even hello.exe!

    It turns out the problem was in the linker script.  The alignment was in
    the wrong place.

    Here's a patch.  Exceptions still don't work, but at least I can get
    some things working with the ELF format now.
2000-01-03 17:27:06 +00:00
Joel Sherrill
110136ade4 Updated times. 2000-01-03 16:53:07 +00:00
Joel Sherrill
e065e8ae8b Increased stack size to 4K per Eric Norum. 2000-01-03 16:52:50 +00:00
Joel Sherrill
205d56453f Patch from John Mills <jmills@tga.com> to correct some cut and paste
errors.
2000-01-03 16:44:04 +00:00
Joel Sherrill
6b7cf9fef8 Patch rtems-rc-19991203-12.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to added the bin2boot_SOURCES warning.
2000-01-03 15:39:06 +00:00
Joel Sherrill
b84176b49d Do not explicitly list pieces from libcpu used. 2000-01-03 15:36:18 +00:00
Joel Sherrill
32f19fb3ae Share align_h.S from ppc403. VPATH was not picking it up. Discovered
and reported by Ralf Corsepius <corsepiu@faw.uni-ulm.de> on the mpc505.
2000-01-03 14:38:47 +00:00
Joel Sherrill
e07b6868b3 Added tm27 stuff. 2000-01-03 14:14:37 +00:00
Joel Sherrill
db94167039 Added define to trip items that are private to tm27 in bsp.h. 2000-01-03 14:14:24 +00:00
Joel Sherrill
95273a610f Combination of coverhd.h cleanup and MVME23xx/MCP750 patch from Eric Valette
<valette@crf.canon.fr> and Jay Kulpinski <jskulpin@eng01.gdds.com>.
2000-01-03 14:06:42 +00:00
Joel Sherrill
d5c4681e57 Use shared coverhd.h. 2000-01-03 14:04:22 +00:00
Joel Sherrill
203859574c Increased minimum stack size so all tests will run. 2000-01-03 14:01:02 +00:00
Jennifer Averett
6eb3e68012 + Tests added for mq_open, mq_close, and mq_unlink 1999-12-23 22:12:15 +00:00
Jennifer Averett
2e97c01e38 + Added routine to remove from namespace. 1999-12-23 22:11:01 +00:00
Jennifer Averett
afebb3fa2a + Added check for name greater than PATH_MAX 1999-12-23 22:10:13 +00:00
Jennifer Averett
7fbef78639 + Debugged. 1999-12-23 22:09:36 +00:00
Jennifer Averett
8f12d069bf + Filled in routine. 1999-12-23 22:08:43 +00:00
Jennifer Averett
96d4aea551 + Initial debug 1999-12-23 22:07:43 +00:00
Jennifer Averett
d4548d19b4 + Made work
+ Added checks for valid attribute maxmsg and msgsize
+ Added check for ENAMETOOLONG
1999-12-23 22:07:11 +00:00
Jennifer Averett
e1786ee363 + Fixed errno response to match the POSIX manual. 1999-12-23 22:05:25 +00:00
Joel Sherrill
2116e33c8e Reverted the delay logic. 1999-12-21 20:29:57 +00:00
Joel Sherrill
ed46b47fab Moved PPC_Set_decrementer() and PPC_Get_timebase_register() to
old_exception_processing tree.
1999-12-21 20:29:40 +00:00
Joel Sherrill
56018097d4 Now use coverhd.h out of the libbsp/shared directory. 1999-12-21 20:28:13 +00:00
Joel Sherrill
0d6f0b4e56 Now use shared coverhd.h 1999-12-21 20:10:04 +00:00
Joel Sherrill
5d807b5710 New files. 1999-12-21 17:06:31 +00:00
Joel Sherrill
a3ba9f9886 New file. 1999-12-21 17:05:15 +00:00
Joel Sherrill
8437abd4f0 Removed as part of moving this driver to libchip. 1999-12-21 16:56:31 +00:00
Joel Sherrill
400c55255d Removing Makefile.in and adding Makefile.am. These were missed in conversion
to automake by Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
1999-12-21 16:20:38 +00:00
Joel Sherrill
fb16fed75a Patch rtems-rc-19991203-10.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which fixes a couple of bugs in RTEMS's old style Makefile.ins, which
apparently were introduced by moving the start directories and not
having adapted the Makefile.ins.

    To apply:

        patch -p1 < rtems-rc-19991203-10.diff
1999-12-21 15:25:05 +00:00
Joel Sherrill
9ba1f0a79e Patch rtems-rc-19991203-9.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which  ontains all what was left over from the other patches (Primarily
minor configuration cleanups).

    To apply:
        patch -p1 < rtems-rc-19991203-9.diff
        ./bootstrap
1999-12-21 15:04:48 +00:00
Joel Sherrill
369ef189b2 Patch rtems-rc-19991203-7.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which does minor cleanup  for Makefile.ams below mptests, which only
removes some bogus comments from the Makefile.ams.

To apply:
  patch -p1 < rtems-rc-19991203-8.diff
  ./bootstrap
1999-12-21 15:00:49 +00:00
Joel Sherrill
35d7b15cb0 Patch rtems-rc-19991203-7.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which adds partial automake support to libcpu/<cpu>/*.

    Until now I have only implemented full automake support for the sh (my
    demonstration example :) and the i386 (inevitiable for structural
    reasons of this subdirectory). For all other cpus only their toplevel
    directories (exception: powerpc), include subdirectories and a few
    selected subdirectories have been converted to automake.
    I did this on purpose, because add automake support to each subdirectory
    requires individual adaptations which to be tested individually.

    Additionally the weirdnesses of the powerpc subdirectories hit again,
    esp. some powerpc cpu-models

    * install files to $(PROJECT_INCLUDE)/<cpu-model>/ while others install
      them to  $(PROJECT_INCLUDE)/
    * the scheme used to configure libcpu/powerpc/ is difficult to implement
      using automake, therefore this subdirectory still is configured by
      autoconf (The one out of an unlimited set selection scheme hits again
      :), though powerpc/*/* subdirectories already apply automake.

    The patch also reveils structural weaknesses in RTEMS:

    E.g. There seem to exist at least 5 different general schemes:

    * Not using libcpu at all (eg. i960)
    * Strictly tree-style a libcpu/<cpu-variant>/* (eg. m68k, sh)
    * Flat libcpu directory layout with cpu-variants merged into sources or
      not destinguishing cpu-variants (i386)
    * Not supporting variants with deep source tree (sparc, hppa, mips64orion)
    * Woven directory structure with shared directories (powerpc)

    I regret having to say this, but from my POV this means, that there
    doesn't exist a general implementation scheme for libcpu at all.

    To apply:

        rm -rf ./c/src/lib/libcpu/i386/wrapup
        rm -rf ./c/src/lib/libcpu/mips64orion/include
        rm -rf ./c/src/lib/libcpu/powerpc/ppc403/include
        patch -p1 < rtems-rc-19991203-7.diff
        ./bootstrap
1999-12-21 14:41:43 +00:00
Joel Sherrill
5bce35ba29 Made prototype of ChapReceiveSuccess and ChapReceiveFailure match. 1999-12-21 14:37:31 +00:00
Joel Sherrill
0fe4834611 Patch rtems-rc-19991203-7.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which adds partial automake support to libcpu/<cpu>/*.

    Until now I have only implemented full automake support for the sh (my
    demonstration example :) and the i386 (inevitiable for structural
    reasons of this subdirectory). For all other cpus only their toplevel
    directories (exception: powerpc), include subdirectories and a few
    selected subdirectories have been converted to automake.
    I did this on purpose, because add automake support to each subdirectory
    requires individual adaptations which to be tested individually.

    Additionally the weirdnesses of the powerpc subdirectories hit again,
    esp. some powerpc cpu-models

    * install files to $(PROJECT_INCLUDE)/<cpu-model>/ while others install
      them to  $(PROJECT_INCLUDE)/
    * the scheme used to configure libcpu/powerpc/ is difficult to implement
      using automake, therefore this subdirectory still is configured by
      autoconf (The one out of an unlimited set selection scheme hits again
      :), though powerpc/*/* subdirectories already apply automake.

    The patch also reveils structural weaknesses in RTEMS:

    E.g. There seem to exist at least 5 different general schemes:

    * Not using libcpu at all (eg. i960)
    * Strictly tree-style a libcpu/<cpu-variant>/* (eg. m68k, sh)
    * Flat libcpu directory layout with cpu-variants merged into sources or
      not destinguishing cpu-variants (i386)
    * Not supporting variants with deep source tree (sparc, hppa, mips64orion)
    * Woven directory structure with shared directories (powerpc)

    I regret having to say this, but from my POV this means, that there
    doesn't exist a general implementation scheme for libcpu at all.

    To apply:

        rm -rf ./c/src/lib/libcpu/i386/wrapup
        rm -rf ./c/src/lib/libcpu/mips64orion/include
        rm -rf ./c/src/lib/libcpu/powerpc/ppc403/include
        patch -p1 < rtems-rc-19991203-7.diff
        ./bootstrap
1999-12-21 14:34:30 +00:00
Joel Sherrill
db3e01084a Patch rtems-rc-19991203-6.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which fixes a nasty dependency bug in optman/Makefile.am. Those
directories have been build twice before, i.e. re-running make after
having built rtems before, was rebuilding the files in optman/
directories.

    To apply:
        patch -p1 < rtems-rc-19991203-6.diff
        ./bootstrap
1999-12-21 14:32:00 +00:00
Joel Sherrill
8b9128277d Patch rtems-rc-19991203-5.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which cleans up and merges some Hitachi SH-2 modifications from
John Mills <jmills@tga.com>.
1999-12-21 14:27:52 +00:00
Joel Sherrill
3ad7602ef2 Modifications to avoid having the size of the Buffer_addresses array
too small when OPERATION_COUNT is less than 10.
1999-12-20 15:21:31 +00:00
Joel Sherrill
947c27aaad Spelling error corrected. 1999-12-16 14:30:34 +00:00
Joel Sherrill
f09ac26862 More warnings removed after email with Emmanuel Raguet. 1999-12-14 13:30:50 +00:00
Joel Sherrill
e8918ec371 Patch from Eric Norum <eric@cls.usask.ca> to change to gen68360 clock handling.
I got tired of having strange clock rates (e.g. #define
    CONFIGURE_MICROSECONDS_PER_TICK 52489) and drifting times-of-day with
    the gen68360 BSP so I changed the way the programmable-interval clock
    interrupt works.  The new version will have some jitter in the intervals
    between individual calls to the rtems_clock_tick routine, but the
    long-term average will match the CONFIGURE_MICROSECONDS_PER_TICK
1999-12-13 22:12:03 +00:00
Joel Sherrill
c629812c01 Removed warnings. 1999-12-13 22:10:45 +00:00
Joel Sherrill
da8ae79b3e Warning removal patch from Philip A. Prindeville <philipp@zembu.com>. 1999-12-13 21:21:31 +00:00
Joel Sherrill
1c98d28cb7 Patch rtems-19991203.sh2.diff from John M. Mills <jmills@tga.com> which
fixes some problems:

    I found the problem which prevented opening 'dev/sci1' (the default
    console) with the 'gensh2' (sh7045) BSP. Both SCI ports were being
    initialized against the same minor device number: '0'. When I tried to
    open minor-device '1', it naturally crashed. Fixing that one value in the
    'sci_device[]' array solved the problem and allowed 'hello.exe' to run.
1999-12-13 20:35:09 +00:00
Joel Sherrill
1d5039fe81 *** empty log message *** 1999-12-13 20:30:53 +00:00
Joel Sherrill
f9669ce59e Patch from Silverio Diquigiovanni <silverio.di@qem.it> to correct
TPC values.  Reviewed by Ralf Corsepius <corsepiu@faw.uni-ulm.de>
who originally submitted the file.
1999-12-13 20:06:27 +00:00
Joel Sherrill
fc0b91c5d5 Patch from Eric Norum <eric@cls.usask.ca> to make the NTP handler a little
more flexible about the error status returned from a timeout.
1999-12-13 19:20:38 +00:00
Joel Sherrill
5dae90a524 Patch rtems-rc-19991203-3.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which adds automake support to libbsp/bare.
1999-12-13 17:37:25 +00:00
Joel Sherrill
6b79a071de Patch from Jepsen Hans Peter <hans_peter_jepsen@Danfoss.com> to
use correct ifdef conditional (__GNUC__ not __GCC__).
1999-12-13 17:22:18 +00:00
Joel Sherrill
809f445197 Correction from Eric Norum for timeout in TFTP driver following bug
report by Nick.SIMON@syntegra.bt.co.uk:

TFTP uses UDP and UDP packets are prime targets for getting dropped when
the network gets busy.  I want the number of retries quite large in my
application. I see that PACKET_REPLY_MILLISECONDS is, in fact, not
being used.
1999-12-13 17:03:37 +00:00
Joel Sherrill
9537e5ec77 Patch from Eric Norum <eric@cls.usask.ca> to provide more network
functionality.  This puts RTEMS in near compliance with the network
functionality defined in the first draft of the EL/IX API.  Comments
follow:

    With the attached changes to the libnetworking/libc/Makefile.in, RTEMS
    provides all the functions listed in section 4.14 of the EL/IX document
    except:
        socketpair
        if_nametoindex
        if_indextoname
        if_nameindex
        if_freenameindex

    Some of the routines which get information from files may be of limited
    use unless an application sets up the files somehow (TFTP/untar from
    host, etc.), but at least RTEMS is pretty much fully buzzword compliant
    with the networking section of the EL/IX API.
1999-12-13 16:29:01 +00:00
Joel Sherrill
38b81b5d29 Patch from Emmanuel Raguet <raguet@crf.canon.fr> to correct some problems
in the dec21140 driver.  Comments follow:

    I have tried to use bootp with the dec21140 driver
    and I had problems. I have found them
         - Ethernet address must be known in Attach step
           (read from the board)
         - Endian problem for Ethernet address storage.

    Now it is solved and I can use bootp to obtain
    the network configuration of the target.
1999-12-13 16:25:03 +00:00
Joel Sherrill
4bdebdfe38 Patch rtems-rc-19991203-4.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>"""
which is an adaptation of a patch from Ian Lance Taylor plus a few
other changes that should significantly speed up building librtemsall.a.
1999-12-13 16:16:44 +00:00
Joel Sherrill
ad0c286463 Patch rtems-rc-19991203-3.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which adds automake support to libbsp/bare.
1999-12-13 16:02:57 +00:00
Joel Sherrill
fa178d4926 Patch rtems-rc-19991203-3.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which adds automake support to libbsp/bare.
1999-12-13 15:57:41 +00:00
Joel Sherrill
d16faa2e60 Patch rtems-rc-19991203-2.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to correct the missing part of the mcp750 patch.
1999-12-13 15:54:23 +00:00
Joel Sherrill
7d91d722ba First attempt at adding simple binary semaphore in addition to the current
"mutex" and counting semaphore.  This is at the request of Eric Norum
and his EPICS porting effort.
1999-12-13 15:29:20 +00:00
Joel Sherrill
e906798937 Corrected order of output. 1999-12-13 14:50:09 +00:00
Joel Sherrill
d9230ea9c0 Added RTEMS_IO_ERROR. 1999-12-13 14:49:38 +00:00
Joel Sherrill
49be66d2cf Now builds and installs properly. 1999-12-13 14:48:58 +00:00
Joel Sherrill
000a9a9784 Patch rtems-rc-19991203-1.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to generalize librdbg for all i386 BSPs.  His comments:

  The patch below generalizes librdbg for all i386 bsps. It is not a
  complete rewrite, but a minimal invasive attempt to generalization.

  To apply:

    mv c/src/librdbg/src/i386/pc386 c/src/librdbg/src/i386/any
    patch -p1 < patches-rc-19991203-1.diff
    ./bootstrap
1999-12-13 14:48:17 +00:00
Joel Sherrill
39e6bbe1aa Patch patches-rc-19991203-1.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which makes i386 code available for all BSPs not just pc386.  This is correct
since the code is really general to all i386 BSPs now.
1999-12-06 13:44:56 +00:00
Joel Sherrill
cfa1851911 changed version to 19991203 1999-12-03 17:39:54 +00:00
Joel Sherrill
c30972f7e3 changed version to 19991203 1999-12-03 17:00:25 +00:00
Joel Sherrill
da4ad63531 changed version to 19991203 1999-12-03 16:01:01 +00:00
Joel Sherrill
a548c8a5f2 New file. 1999-12-03 16:00:51 +00:00
Joel Sherrill
76c356f365 Patch from Aleksey (Quality Quorum <qqi@world.std.com>) to change the
delay loop in this BSP.  Here is his response to a question about
the patch:

    Yes, or that other machine has a different chipset with different
    timing requirements on enabling Gate 20. I am strongly suspecting
    that it may some how related to the video card I am using (on my
    old P-75 target it was plain PCI VGA, on my new one it is Diamond Stealth
    3D 2000).
1999-12-03 15:46:17 +00:00
Joel Sherrill
1e4a7d413d Modem example driver for ppp by Tomasz Domin <dot@comarch.pl> of ComArch SA.
This was used on a mpc823 based system.
1999-12-03 15:44:28 +00:00
Joel Sherrill
a1efd7a98a Made to compile on other CPU families. 1999-12-03 14:48:27 +00:00
Joel Sherrill
ae252c92f9 Added dec21140 to Makefile.am. 1999-12-03 14:27:54 +00:00
Joel Sherrill
eb17041fbb Removed warnings. 1999-12-03 14:01:11 +00:00
Joel Sherrill
ad9a21ad84 New file. 1999-12-03 13:53:01 +00:00
Joel Sherrill
a0a6f67fe7 Added more timing information. 1999-12-03 13:48:53 +00:00
Joel Sherrill
5707fe9b41 New file based on information from <valette@crf.canon.fr>. 1999-12-03 13:46:13 +00:00
Joel Sherrill
5a8203085e Modification from Emmanuel Raguet <raguet@crf.canon.fr> to merge the
dec21140 drivers from the i386/pc386 and powerpc/mcp750 (all Motorola
PowerPC boards) and move the network driver to libchip.  This driver
should work on all PCI based uses of this chip.
1999-12-03 13:42:34 +00:00
Joel Sherrill
fc81cc9933 Patch rtems-rc-19991123-rc-3.diff from Ralf Corsepius
<corsepiu@faw.uni-ulm.de>:

    The patch below provides
      * automake support for score/cpu/powerpc
      * The hack to propagate values from *.cfg to automake configuration
      * A fix for librdbg/powerpc/mcp750/Makefile.am (Was completely corrupted
        before)
      * Fixes some files which apparently where missing in
        rtems-rc-19991123-rc-2.diff
      * some minor configuration related patches

    To apply:

      rm -rf ./c/src/exec/score/cpu/powerpc/wrap
      patch -p1 < rtems-rc-19991123-rc-3.diff

    Attention:
      c/src/exec/score/cpu/[configure.in|aclocal.m4|configure] should be
      removed after applying the patch.

Modifications had been made to the score/cpu/powerpc directory after
the snapshot this was based on.  In particular, the mpc750 and
other_cpu directories had been renamed to new_exception_processing
and old_exception_processing.  After this patch was applied, modifications
were made to account for this.
1999-12-03 13:31:56 +00:00
Joel Sherrill
4090ebe85c Patch rtems-rc-19991123-rc-3.diff from Ralf Corsepius
<corsepiu@faw.uni-ulm.de>:

    The patch below provides
      * automake support for score/cpu/powerpc
      * The hack to propagate values from *.cfg to automake configuration
      * A fix for librdbg/powerpc/mcp750/Makefile.am (Was completely corrupted
        before)
      * Fixes some files which apparently where missing in
        rtems-rc-19991123-rc-2.diff
      * some minor configuration related patches

    To apply:

      rm -rf ./c/src/exec/score/cpu/powerpc/wrap
      patch -p1 < rtems-rc-19991123-rc-3.diff

    Attention:
      c/src/exec/score/cpu/[configure.in|aclocal.m4|configure] should be
      removed after applying the patch.

Modifications had been made to the score/cpu/powerpc directory after
the snapshot this was based on.  In particular, the mpc750 and
other_cpu directories had been renamed to new_exception_processing
and old_exception_processing.  After this patch was applied, modifications
were made to account for this.
1999-12-03 13:25:00 +00:00
Joel Sherrill
5ea0bd37ed Patch from Rosimildo DaSilva <rdasilva@connecttel.com> for Cygwin
to consistently use $(EXEEXT).
1999-12-03 13:14:08 +00:00
Joel Sherrill
4328345602 Patch rtems-rc-19991123-rc-2.diff from Ralf Corsepius
<corsepiu@faw.uni-ulm.de>:

    The patch below provides
      * automake support for score/cpu/powerpc
      * The hack to propagate values from *.cfg to automake configuration
      * A fix for librdbg/powerpc/mcp750/Makefile.am (Was completely corrupted
        before)
      * Fixes some files which apparently where missing in
        rtems-rc-19991123-rc-2.diff
      * some minor configuration related patches

    To apply:

      rm -rf ./c/src/exec/score/cpu/powerpc/wrap
      patch -p1 < rtems-rc-19991123-rc-3.diff

    Attention:
      c/src/exec/score/cpu/[configure.in|aclocal.m4|configure] should be
      removed after applying the patch.
1999-12-02 17:45:14 +00:00
Joel Sherrill
e492f910f2 Jennifer added initial test code. Conditional'ed out until she has
the opportunity to work with it.
1999-12-02 17:34:50 +00:00
Joel Sherrill
3a9605429c Merged of mcp750 and mvme2307 BSP by Eric Valette <valette@crf.canon.fr>.
As part of this effort, the mpc750 libcpu code is now shared with the
ppc6xx.
1999-12-02 14:58:38 +00:00
Joel Sherrill
acc25eec35 Merged of mcp750 and mvme2307 BSP by Eric Valette <valette@crf.canon.fr>.
As part of this effort, the mpc750 libcpu code is now shared with the
ppc6xx.
1999-12-02 14:31:19 +00:00
Joel Sherrill
4cf56006c7 Merged of mcp750 and mvme2307 BSP by Eric Valette <valette@crf.canon.fr>.
As part of this effort, the mpc750 libcpu code is now shared with the
ppc6xx.
1999-12-02 14:10:14 +00:00
Joel Sherrill
e4ab88fde5 Merged of mcp750 and mvme2307 BSP by Eric Valette <valette@crf.canon.fr>.
As part of this effort, the mpc750 libcpu code is now shared with the
ppc6xx.
1999-12-02 14:00:01 +00:00
Joel Sherrill
5554279677 Merged of mcp750 and mvme2307 BSP by Eric Valette <valette@crf.canon.fr>.
As part of this effort, the mpc750 libcpu code is now shared with the
ppc6xx.
1999-12-02 13:54:30 +00:00
Joel Sherrill
5d3da15b83 Removed debugging printfs. 1999-12-01 16:00:38 +00:00
Joel Sherrill
017061c561 Patch from Eric Norum <eric@cls.usask.ca> to fix a spot in the tftp file
system table from when the rtems_filesystem_operations_table structure changed
and the initializer in libnetworking/lib/tftpDriver.c did not get
updated.
1999-12-01 15:54:17 +00:00
Joel Sherrill
955a9ba74c Patch rtems-rc-19991123-rc-2.diff from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> which implements automake support for some
    score/cpu/<RTEMS_CPU> subdirectories and fixes a few minor configuration
    bugs.


    To apply:

        rm -rf c/src/exec/score/cpu/a29k/wrap
        rm -rf c/src/exec/score/cpu/hppa1.1/wrap
        rm -rf c/src/exec/score/cpu/i386/wrap
        rm -rf c/src/exec/score/cpu/mips64orion/wrap
        rm -rf c/src/exec/score/cpu/no_cpu/wrap
        patch -p1 < rtems-rc-19991123-rc-2.diff.gz

    Notes:

    * I don't see a possiblity to convert the powerpc subdirectory in its
      current layout to automake the time being.

    * Besides the fact that this subdirectory is not in single-tree building
      layout, the actual showstopper is the ifeq $(RTEMS_CPU_MODEL),mpc750)
      gmake-conditional in powerpc/Makefile.in, which automake (correctly)
      refuses to handle.

    * The problem is *not* specific to the powerpc. Other CPUs basically
      have similar problems (SH:sh7032 vs sh7045, SPARC: erc32.h in
      score/cpu/sparc), but have been lucky to get around real issues (cf.
      configuration files below score/cpu/sh/).

    * From a configuration focused POV this problem boils down to a
      file/subdirectory selection problem:
         ppc: 1 or others
         sh: 1 out of 2
         sparc: 1 out of 1
      Automake's means to implement such behavior is using conditionals to be
      evaluated at configuration-time. The old configuration scheme however
      used make-time conditionals. The SH port was lucky to get around this
      issue because it applies a selection from a limited set of possible
      selections, the powerpc however applies a selection from an unlimited
      set, based on data not being available at configuration time.

    * Currently I only see two general solutions:
       1) make RTEMS_CPU_MODEL available at configuration time, ie. replace
          make-time configuration by configuration-time configuration
       2) Perform the selection at build-time, i.e. always install all files,
          but use #ifdef #else #endif in source files. This is what the m68k has
          exploited at other locations inside of the source-tree.

    => This directory is the last one remaining not using automake below the
       whole exec/ hierarchy.
1999-12-01 15:05:26 +00:00
Joel Sherrill
1972b1e760 Patch rtems-rc-19991123-rc-2.diff from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> which implements automake support for some
    score/cpu/<RTEMS_CPU> subdirectories and fixes a few minor configuration
    bugs.


    To apply:

        rm -rf c/src/exec/score/cpu/a29k/wrap
        rm -rf c/src/exec/score/cpu/hppa1.1/wrap
        rm -rf c/src/exec/score/cpu/i386/wrap
        rm -rf c/src/exec/score/cpu/mips64orion/wrap
        rm -rf c/src/exec/score/cpu/no_cpu/wrap
        patch -p1 < rtems-rc-19991123-rc-2.diff.gz

    Notes:

    * I don't see a possiblity to convert the powerpc subdirectory in its
      current layout to automake the time being.

    * Besides the fact that this subdirectory is not in single-tree building
      layout, the actual showstopper is the ifeq $(RTEMS_CPU_MODEL),mpc750)
      gmake-conditional in powerpc/Makefile.in, which automake (correctly)
      refuses to handle.

    * The problem is *not* specific to the powerpc. Other CPUs basically
      have similar problems (SH:sh7032 vs sh7045, SPARC: erc32.h in
      score/cpu/sparc), but have been lucky to get around real issues (cf.
      configuration files below score/cpu/sh/).

    * From a configuration focused POV this problem boils down to a
      file/subdirectory selection problem:
         ppc: 1 or others
         sh: 1 out of 2
         sparc: 1 out of 1
      Automake's means to implement such behavior is using conditionals to be
      evaluated at configuration-time. The old configuration scheme however
      used make-time conditionals. The SH port was lucky to get around this
      issue because it applies a selection from a limited set of possible
      selections, the powerpc however applies a selection from an unlimited
      set, based on data not being available at configuration time.

    * Currently I only see two general solutions:
       1) make RTEMS_CPU_MODEL available at configuration time, ie. replace
          make-time configuration by configuration-time configuration
       2) Perform the selection at build-time, i.e. always install all files,
          but use #ifdef #else #endif in source files. This is what the m68k has
          exploited at other locations inside of the source-tree.

    => This directory is the last one remaining not using automake below the
       whole exec/ hierarchy.
1999-12-01 14:46:02 +00:00
Joel Sherrill
76561407a5 Patch rtems-rc-19991123-rc-2.diff from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> which implements automake support for some
    score/cpu/<RTEMS_CPU> subdirectories and fixes a few minor configuration
    bugs.


    To apply:

        rm -rf c/src/exec/score/cpu/a29k/wrap
        rm -rf c/src/exec/score/cpu/hppa1.1/wrap
        rm -rf c/src/exec/score/cpu/i386/wrap
        rm -rf c/src/exec/score/cpu/mips64orion/wrap
        rm -rf c/src/exec/score/cpu/no_cpu/wrap
        patch -p1 < rtems-rc-19991123-rc-2.diff.gz

    Notes:

    * I don't see a possiblity to convert the powerpc subdirectory in its
      current layout to automake the time being.

    * Besides the fact that this subdirectory is not in single-tree building
      layout, the actual showstopper is the ifeq $(RTEMS_CPU_MODEL),mpc750)
      gmake-conditional in powerpc/Makefile.in, which automake (correctly)
      refuses to handle.

    * The problem is *not* specific to the powerpc. Other CPUs basically
      have similar problems (SH:sh7032 vs sh7045, SPARC: erc32.h in
      score/cpu/sparc), but have been lucky to get around real issues (cf.
      configuration files below score/cpu/sh/).

    * From a configuration focused POV this problem boils down to a
      file/subdirectory selection problem:
         ppc: 1 or others
         sh: 1 out of 2
         sparc: 1 out of 1
      Automake's means to implement such behavior is using conditionals to be
      evaluated at configuration-time. The old configuration scheme however
      used make-time conditionals. The SH port was lucky to get around this
      issue because it applies a selection from a limited set of possible
      selections, the powerpc however applies a selection from an unlimited
      set, based on data not being available at configuration time.

    * Currently I only see two general solutions:
       1) make RTEMS_CPU_MODEL available at configuration time, ie. replace
          make-time configuration by configuration-time configuration
       2) Perform the selection at build-time, i.e. always install all files,
          but use #ifdef #else #endif in source files. This is what the m68k has
          exploited at other locations inside of the source-tree.

    => This directory is the last one remaining not using automake below the
       whole exec/ hierarchy.
1999-12-01 14:31:36 +00:00
Joel Sherrill
7dd4054e86 Patch rtems-rc-19991123-rc-1.diff from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> which implements automake support for some
score/cpu/<RTEMS_CPU> subdirectories and fixes a few minor configuration
bugs.

    To apply:

    rm -rf c/src/exec/score/cpu/i960/wrap
    rm -rf c/src/exec/score/cpu/m68k/wrap
    rm -rf c/src/exec/score/cpu/sh/wrap
    rm -rf c/src/exec/score/cpu/sparc/wrap
    rm -rf c/src/exec/score/cpu/unix/wrap
    patch -p1 < rtems-rc-19991123-rc-1.diff
    ./bootstrap

    Known bugs:

    * "make debug|profile" in c/src/src/score/cpu/<RTEMS_CPU/Makefile does
      not handle recursion to subdirectories correctly (recurses too often).
      However, this issue is hardly visible and should be tolerable for the
      moment.
1999-12-01 14:27:58 +00:00
Joel Sherrill
ccf8925b45 Patch rtems-rc-19991123-rc-1.diff from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> which implements automake support for some
score/cpu/<RTEMS_CPU> subdirectories and fixes a few minor configuration
bugs.

    To apply:

    rm -rf c/src/exec/score/cpu/i960/wrap
    rm -rf c/src/exec/score/cpu/m68k/wrap
    rm -rf c/src/exec/score/cpu/sh/wrap
    rm -rf c/src/exec/score/cpu/sparc/wrap
    rm -rf c/src/exec/score/cpu/unix/wrap
    patch -p1 < rtems-rc-19991123-rc-1.diff
    ./bootstrap

    Known bugs:

    * "make debug|profile" in c/src/src/score/cpu/<RTEMS_CPU/Makefile does
      not handle recursion to subdirectories correctly (recurses too often).
      However, this issue is hardly visible and should be tolerable for the
      moment.
1999-12-01 14:22:12 +00:00
Joel Sherrill
4a3757f71d Patch rtems-rc-19991123-rc-1.diff from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> which implements automake support for some
score/cpu/<RTEMS_CPU> subdirectories and fixes a few minor configuration
bugs.

    To apply:

    rm -rf c/src/exec/score/cpu/i960/wrap
    rm -rf c/src/exec/score/cpu/m68k/wrap
    rm -rf c/src/exec/score/cpu/sh/wrap
    rm -rf c/src/exec/score/cpu/sparc/wrap
    rm -rf c/src/exec/score/cpu/unix/wrap
    patch -p1 < rtems-rc-19991123-rc-1.diff
    ./bootstrap

    Known bugs:

    * "make debug|profile" in c/src/src/score/cpu/<RTEMS_CPU/Makefile does
      not handle recursion to subdirectories correctly (recurses too often).
      However, this issue is hardly visible and should be tolerable for the
      moment.
1999-12-01 14:12:58 +00:00
Joel Sherrill
4288153455 Added missing files from PPP port. 1999-11-30 22:14:28 +00:00
Joel Sherrill
d0950adfd6 Added port of ppp-2.3.5 from Tomasz Domin <dot@comarch.pl> of ComArch SA.
Tomasz only tested this on the mpc823.

The official site for the original source for this PPP implementation is:

ftp://cs.anu.edu.au/pub/software/ppp

NOTE:  As of 11/30/1999, the current version of this source is 2.3.10.
1999-11-30 22:12:50 +00:00
Joel Sherrill
48bfd99257 Renamed shm.h to shm_driver.h to avoid conflicts with POSIX shm.h.
Renamed file shmsupp/intr.c in some BSPs to shmsupp/cause_intr.c to
avoid conflict with rtems/src/intr.c (Classic API Interrupt Manager).
1999-11-30 19:58:02 +00:00
Joel Sherrill
1563d8cc7d Removed duplicate definition of rtems_filesystem_umask. 1999-11-30 16:52:21 +00:00
Joel Sherrill
1591a1aa87 Uncommitted remains of a previous patch from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> which converted fiels to automake.
1999-11-30 14:43:46 +00:00
Joel Sherrill
116e54ad16 Uncommitted remains of a previous patch from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> which converted fiels to automake.
1999-11-30 14:03:29 +00:00
Joel Sherrill
79f2e19f86 Split from console.c to eliminate dependencies. 1999-11-30 13:58:59 +00:00
Joel Sherrill
96344c8639 Patch rtems-rc-19991123-rc-0.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which (among other things) converted the mptests to automake.

    SUB_DIRS was used instead of SUBDIRS in some Makefile.ins
    (apparently a leftover from moving the start* directories)

    Addtional major bugs:
    * psxtests/include was empty (incomplete psxtests changes).
    * bogus handling of *.scn in itrontests (screens/sptests vs.
      screens/itrontests installation dirs)

    In addition I have added a few more changes (I couldn't resist)
    * automake support for itrontests
    * OPERATION_COUNT support in tmitrontests/
    * automake support for tmitrontests
    * automake suppport for mptests
    * Some (minor) corrections to several configure.in/Makefile.ams

    => c/src/tests/ is completly under automake control, now.
    => we could start to sort out the structural issues with c/src/tests
      (tests/support, stubdr, tools, get "make dist" working)
1999-11-30 13:49:04 +00:00
Joel Sherrill
e4b25c4839 Corrected so they would compile with POSIX disabled. 1999-11-30 13:46:28 +00:00
Joel Sherrill
af5f522b20 Clarified. 1999-11-29 16:07:04 +00:00
Joel Sherrill
4e91749281 Clarified status of mkfifo(). 1999-11-29 16:06:10 +00:00
Joel Sherrill
1d9a2fc5ab Patch rtems-rc-19991123-rc-0.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which (among other things) converted the mptests to automake.

    SUB_DIRS was used instead of SUBDIRS in some Makefile.ins
    (apparently a leftover from moving the start* directories)

    Addtional major bugs:
    * psxtests/include was empty (incomplete psxtests changes).
    * bogus handling of *.scn in itrontests (screens/sptests vs.
      screens/itrontests installation dirs)

    In addition I have added a few more changes (I couldn't resist)
    * automake support for itrontests
    * OPERATION_COUNT support in tmitrontests/
    * automake support for tmitrontests
    * automake suppport for mptests
    * Some (minor) corrections to several configure.in/Makefile.ams

    => c/src/tests/ is completly under automake control, now.
    => we could start to sort out the structural issues with c/src/tests
      (tests/support, stubdr, tools, get "make dist" working)
1999-11-29 15:45:11 +00:00
Joel Sherrill
64f55e7c32 Made sure POSIX would build with MP enabled. 1999-11-29 15:40:38 +00:00
Joel Sherrill
61581a1a82 Updated. 1999-11-29 15:11:20 +00:00
Joel Sherrill
421fae41f8 Removed bad descriptions of mount() and umount(). Added shell of an
accurate description.
1999-11-29 15:11:15 +00:00
Joel Sherrill
3dfe0b279e Fixed spacing. 1999-11-29 15:10:30 +00:00
Joel Sherrill
0894d35d3a Added chapter of list of routines provided by libm. 1999-11-24 19:03:06 +00:00
Joel Sherrill
b4957ebb9d New file. 1999-11-24 18:42:55 +00:00
Joel Sherrill
ccaeafd295 Added routines included by C library. 1999-11-24 18:42:44 +00:00
Joel Sherrill
f6b0196e08 Added information on RTEMS Time/Date Representatin. 1999-11-24 18:22:33 +00:00
Joel Sherrill
c4ea5efc61 Patch rtems-rc-19991123-rc-0.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which (among other things) converted the mptests to automake.
1999-11-24 14:19:26 +00:00
Joel Sherrill
e73014b9cc Added sem_timedwait to bullet list at front of chapter. 1999-11-23 19:39:19 +00:00
Joel Sherrill
3dddcce3f9 Added descriptions for bullet list and routine section headings. 1999-11-23 19:38:35 +00:00
Joel Sherrill
fbc54061c7 changed version to 19991123-rc 1999-11-23 17:12:29 +00:00
Joel Sherrill
ccf00b6a16 Added Timer Manager Chapter. 1999-11-23 17:07:40 +00:00
Joel Sherrill
95460cc616 Fixed line too long. 1999-11-23 17:07:33 +00:00
Joel Sherrill
5ab0ad6f2c New file. 1999-11-23 17:05:19 +00:00
Joel Sherrill
63bdbbdc95 Readding files mistakenly removed. 1999-11-23 16:02:26 +00:00
Joel Sherrill
49da88cc99 Patch rtems-rc-19991117-16.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
* the PACKHEX etc problem
  * prevents the *.rels being removed inside the build-tree
  * a typo which only shows for when MP is activated
  * Alters some custom/*cfg files
1999-11-23 15:53:09 +00:00
Joel Sherrill
748cdca99f Readding Makefile.in's accidentally removed. 1999-11-23 15:48:26 +00:00
Joel Sherrill
3772e2c14a *** empty log message *** 1999-11-23 14:54:42 +00:00
Joel Sherrill
a1bcc6e944 Moved pmacros.h to include not support/include. 1999-11-23 14:20:41 +00:00
Joel Sherrill
f26a3ab5d0 Patch rtems-rc-19991117-15.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to convert the tests/support directory from Makefile.in to Makefile.am.
1999-11-23 14:16:15 +00:00
Joel Sherrill
23e3f642e4 Missed in previous automake conversion patches from Ralf Corsepius
<corsepiu@faw.uni-ulm.de>.
1999-11-23 14:10:05 +00:00
Joel Sherrill
9f4868cea9 Miscellaneous patches from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that are part of the Makefile.am conversion effort but were missed
in the previous commits.
1999-11-23 13:57:02 +00:00
Joel Sherrill
d5b004b6e3 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to convert the libmisc directory from Makefile.in to Makefile.am.
1999-11-23 13:52:59 +00:00
Joel Sherrill
fd170023c5 Added clock06.c to the compile list. 1999-11-23 13:45:45 +00:00
Joel Sherrill
a23cad6aa0 Files only used by psxfile01, so moved there. 1999-11-23 13:43:34 +00:00
Joel Sherrill
4b9cc0aef1 Test psxfile02 unused and removed. 1999-11-23 13:41:18 +00:00
Joel Sherrill
62fffe594a Unused and removed. 1999-11-23 13:40:26 +00:00
Joel Sherrill
c94eb25b5c Patch rtems-rc-19991117-14.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to convert the psxtests directory from Makefile.in to Makefile.am.
1999-11-23 13:39:29 +00:00
Joel Sherrill
4c285524e4 Patch rtems-rc-19991117-12.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to convert the libtests directory from Makefile.in to Makefile.am.
1999-11-23 13:36:18 +00:00
Joel Sherrill
e5a76ee505 Patch rtems-rc-19991117-13.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to convert the libtests directory from Makefile.in to Makefile.am.
1999-11-23 13:35:45 +00:00
Joel Sherrill
6e9ad6ced3 Patch rtems-rc-19991117-12.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to convert the tmtests directory from Makefile.in to Makefile.am.
1999-11-23 13:32:07 +00:00
Joel Sherrill
fba12eb6ff Patch rtems-rc-19991117-11.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to convert the libc directory to automake and "dozens of
small fixes for Makefile.ins/configure.ins below c/src/lib."
1999-11-23 13:29:04 +00:00
Joel Sherrill
b0ab1d747b Added projects chapter to FAQ. 1999-11-23 13:23:18 +00:00
Joel Sherrill
7e642bab20 Patch rtems-rc-19991117-9.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to convert the libc directory to automake and "dozens of
small fixes for Makefile.ins/configure.ins below c/src/lib."
1999-11-22 19:27:13 +00:00
Joel Sherrill
de759c54f5 Patch rtems-rc-19991117-8.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to fix some minor bugs in the conversion to automake.
1999-11-22 19:23:10 +00:00
Joel Sherrill
e31c63e5a8 Patch rtems-rc-19991117-7.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to convert the sample tests to automake.
1999-11-22 19:21:38 +00:00
Joel Sherrill
5fe4a10911 Converted to automake. 1999-11-22 19:08:23 +00:00
Joel Sherrill
e188c95d96 Now replaced by an automake file. 1999-11-22 19:03:32 +00:00
Joel Sherrill
484bd0e5d4 Corrected. 1999-11-22 19:02:53 +00:00
Joel Sherrill
b8cda5a65b Added ifndef around build_time so pmacros.h and tmacros.h could be included
by the same application.
1999-11-22 19:02:35 +00:00
Joel Sherrill
7dbb0bd230 tmitrontests directory listed twice. 1999-11-22 19:02:05 +00:00
Jennifer Averett
101e9b0af9 Fixed dispatching and cleaned up code. 1999-11-22 16:14:00 +00:00
Jennifer Averett
cb3c171847 + Corrected enable/disable of dispatch.
+ Cleaned up code.
1999-11-22 16:13:22 +00:00
Jennifer Averett
2545646beb + Updated comments.
+ Corrected enable/disable of dispatch.
1999-11-22 16:12:19 +00:00
Jennifer Averett
94f81bbd8b + Corrected bug in error check. 1999-11-22 16:11:35 +00:00
Jennifer Averett
2c3af4c5da + Added description of routine to comment. 1999-11-22 16:10:25 +00:00
Jennifer Averett
0ca4fc83a4 + Corrected error processing code. 1999-11-22 16:09:55 +00:00
Jennifer Averett
f85409cf9c + Added checks for NULL and NULL string names (for sem_open & sem_unlink). 1999-11-22 16:08:53 +00:00
Jennifer Averett
0ebf569402 + Cleaned up comments. 1999-11-22 16:07:02 +00:00
Jennifer Averett
24f6608c94 + Corrected error messages.
+ Added tests for sem_open, sem_close, and sem_unlink.
+ Yellow lined sem_open, sem_close, sem_unlink,
  _POSIX_Semaphore_Delete, _POSIX_Semaphore_Name_to_id,
  and _POSIX_Semaphore_Create_support. Except for MP, pshared
  OBJECT_REMOTE, and out of memory paths.
1999-11-22 16:05:09 +00:00
Joel Sherrill
b41a0d197c RTEMS RPM basically working. 1999-11-22 14:30:41 +00:00
Joel Sherrill
28cc1728df Removed need for START_BASE. 1999-11-22 14:28:36 +00:00
Joel Sherrill
650526857e Added ifndef around build_time macro so tmacros.h and pmacros.h
can be included from the same file.
1999-11-22 14:28:19 +00:00
Joel Sherrill
6b910bd2d2 Use PGM consistently. 1999-11-22 14:27:04 +00:00
Joel Sherrill
c99d395a32 Made it agree on PGM versus PGM/PGMS. 1999-11-22 14:26:36 +00:00
Joel Sherrill
b7912a89de Changed name of W, X, and Y macros for fields in the Clock
Synthesizer Control Register to remove use of single letter names.
1999-11-22 14:25:01 +00:00
Joel Sherrill
561e4ff697 Adding files missed by earlier merger of SH-2. 1999-11-22 14:03:16 +00:00
Joel Sherrill
875fbdbb49 Added files missed by previous merger of SH-2 port. 1999-11-22 13:48:10 +00:00
Joel Sherrill
b22a19e1e7 Adding files not added as part of merger of SH2 port. 1999-11-22 13:46:50 +00:00
Joel Sherrill
27ea47c11f Removed unneeded directory. 1999-11-22 13:45:55 +00:00
Joel Sherrill
9608320702 Patch rtems-rc-19991117-4.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
.. a major configuration cleanup
    ... major enhancement of automake support.

    ... and it contains a *major*  breakthough:

    Automake support for libchip and libmisc *LEAF* directories.

    To implement this I have used several nasty tricks
        * The basical trick is to wrap an old Makefile.in's contents into a
          Makefile.am and still continue to use (i.e include) the old
          *.cfg files.

        * Replaced each INSTALL_IF_CHANGE and INSTALL_VARIANT with make
          dependencies
        * Add a gnu-make ifdef AUTOMAKE to main.cfg to avoid conflicts between
          automake and RTEMS make rules
        * Replaced each install:: and preinstall:: rule with make dependencies
        * Replaced SUB_DIRS with SUBDIRS in all Makefile.ins (Automake
          convention)
        * Removed each manually added autoconf substitution which automake
          performs automatically.

    This is not yet full automake support, because using the temporary
    installation directory, preinstallation in general and building variants
    are in contradiction to automake's basic working principles ...

    ... the new Makefile.ams work still somewhat clumsy
    ... nevertheless they work (quite well).

    WARNING:

    At first glance this patch is small, but
        * it affects the whole configuration system.
        * it opens the road to introducing automake to all Makefile.ins
          currently not being under automake control.

    JOEL> Does this remove or add any files?

    Both, all Makefile.ins below libchip and libmisc get replaced with
    Makefile.ams.
1999-11-22 13:41:11 +00:00
Joel Sherrill
75f2b0b0ef Small patch (rtems-rc-19991117-5.diff) from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> to correct the constraints on the
inline assembly language macro for sh_disable_interrupt.
1999-11-22 13:12:48 +00:00
Joel Sherrill
d2a05e767b Renaming all BSP specific startXXX directories to use the same name (start). 1999-11-19 16:40:40 +00:00
Joel Sherrill
9c0385aaa9 Renaming all BSP specific startXXX directories to use the same name (start). 1999-11-19 16:22:09 +00:00
Joel Sherrill
149f3f9642 Moved startsis to start. 1999-11-19 16:06:32 +00:00
Joel Sherrill
97c465c223 Minor cleanup to reduce the code space. 1999-11-18 21:30:12 +00:00
Joel Sherrill
4a238002e7 Patch from "John M. Mills" <jmills@tga.com> with subsequent cleanup from
Ralf Corsepius <corsepiu@faw.uni-ulm.de> that adds initial Hitachi SH-2
support to RTEMS.  Ralf's comments are:

    Changes:
    ------
    1. SH-Port:
    * Many files renamed.
    * CONSOLE_DEVNAME  and MHZ defines removed from libcpu.
    * console.c moved to libbsp/sh/shared, build in libbsp/sh/<BSP>/console
      applying VPATH.
    * CONSOLE_DEVNAME made BSP-specific, replacement is defined in bsp.h
    * MHZ define replaced with HZ (extendent resolution) in custom/*.cfg
    * -DHZ=HZ  used in bspstart.c, only
    * Makefile variable HZ used in bsp-dependent directories only.

    2. SH1-Port
    * clock-driver rewritten to provide better resolution for odd CPU
      frequencies. This driver is only partially tested on hardware, ie.
      sightly experimental, but I don't expect severe problems with it.
    * Polling SCI-driver added. This driver is experimental and completly
      untested yet. Therefore it is not yet used for the console (/dev/console
      is still pointing to /dev/null, cf. gensh1/bsp.h).
    * minor changes to the timer driver
    * SH1 specific delay()/CPU_delay() now is implemented as a function

    3. SH2-Port
    * Merged
    * IMO, the code is still in its infancy. Therefore I have interspersed
      comments (FIXME) it for items which I think John should look after.
    * sci and console drivers partially rewritten and extended (John, I hope
      you don't mind).
    * Copyright notices are not yet adapted
1999-11-18 21:22:58 +00:00
Joel Sherrill
5503d75c00 Corrected to include extra arguments for simulators on sparc
and powerpc targets.
1999-11-18 20:41:13 +00:00
Joel Sherrill
ea72a6c16c Corrected to remove references to non-existent subpackages. 1999-11-18 20:40:23 +00:00
Joel Sherrill
1479c223de Added code to set extra configure arguments for sparc and powerpc targets
such that the simulator is enabled.

Also corrected a typo which prevented the simulator files from being
included in the file list.
1999-11-18 20:38:27 +00:00
Joel Sherrill
97d7eaf83a Added ";;" to correct syntactical error. 1999-11-18 20:37:29 +00:00
Jennifer Averett
c38f5f162f Added EINVAL for passing a NULL pointer in. 1999-11-18 19:55:28 +00:00
Jennifer Averett
8c5cc6b250 Added test code for named semaphores and moved to use of directive_failed
family of macros to produce better checks and diagnostic messages.
1999-11-18 19:51:13 +00:00
Jennifer Averett
23168f53d0 Started to added POSIX message queue test code. 1999-11-18 19:50:45 +00:00
Jennifer Averett
105d787200 Added routine to remove an object from the namespace. It just clears
its name in the name_table.  This was required by the POSIX semaphore
and message queue managers which support a concept of open, close, and
unlink.  The object becomes "invisible" to further opens following an
unlink but all open sessions remain active until they are closed.  This
requires that the removal of an object ID be separate from the removal
of its name.
1999-11-18 19:50:15 +00:00
Jennifer Averett
17879f4750 + Debuged to the point that you could open, unlink and close a semaphore.
but all paths have not been checked, yet.
1999-11-18 19:43:13 +00:00
Jennifer Averett
c9ae846b0e Added a routine to remove a semaphore name from its namespace. 1999-11-18 19:41:34 +00:00
Joel Sherrill
f811c8e2a2 Removed IT_COUNT since it was not used. 1999-11-18 17:05:44 +00:00
Joel Sherrill
dd9c6e0d50 Patch rtems-rc-19991117-0.diff.gz from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> which corrects some configuration
problems and cleans up a few Makefile.in's.
1999-11-18 14:06:48 +00:00
Joel Sherrill
b7852c27b1 Patch rtems-rc-19991105-3.diff.gz from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> which turns OPERATION_COUNT into a configure
time option.
1999-11-18 13:58:02 +00:00
Jennifer Averett
40fe60a3cb Comment added. 1999-11-17 20:44:13 +00:00
Joel Sherrill
4ea3e14ce6 changed version to 19991117 1999-11-17 18:59:02 +00:00
Joel Sherrill
e172d36cee changed version to 19991117 1999-11-17 18:42:21 +00:00
Joel Sherrill
5f577302b4 Removed reference to Jennifer. 1999-11-17 18:39:07 +00:00
Joel Sherrill
08311cc3a9 Updated copyright notice. 1999-11-17 17:51:34 +00:00
Joel Sherrill
20f54e96e3 Removed as part of patch rtems-rc-19991105-1.diff.gz from Ralf Corsepius
<corsepiu@faw.uni-ulm.de>.
1999-11-17 17:48:25 +00:00
Joel Sherrill
39827cc0de Now allows override of base address via -Ttext command to linker. 1999-11-17 17:31:51 +00:00
Jennifer Averett
d2b8d742be + Updated copyright information. 1999-11-17 16:58:04 +00:00
Jennifer Averett
9d9a3dd8d3 + Updated copyright information. 1999-11-17 16:47:58 +00:00
Joel Sherrill
ce8cd34e34 New date. 1999-11-17 15:52:26 +00:00
Joel Sherrill
368d9a3463 changed version to 19991117 1999-11-17 15:51:39 +00:00
Joel Sherrill
23d9392f69 New file documenting the on board monitor (PPCBUG) configuration used
to be able to boot the archives located in powerpc-rtems/c/mcp750/bin.
This information was provided by Eric Valette <valette@crf.canon.fr>
1999-11-17 15:42:18 +00:00
Joel Sherrill
0d523caf97 Patch rtems-rc-19991105-2.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
His comments follow:

  This is a minor enhancement to shgen, which should not have any
  side-effects.
1999-11-17 15:36:57 +00:00
Joel Sherrill
2d8a4ed0d6 Conditionally take out the offensive pragma pack when on RTEMS in addition
to UnixWare (UW).
1999-11-17 15:32:30 +00:00
Joel Sherrill
4ccd0203a2 New shell of a test for ITRON Mailbox Manager. 1999-11-17 15:24:32 +00:00
Joel Sherrill
5e96e91757 Updated Mailbox Manager submitted and split into multiple files. 1999-11-17 15:24:11 +00:00
Joel Sherrill
c730be8f61 Corrected spacing. 1999-11-17 15:04:32 +00:00
Joel Sherrill
8a33a48bca Correctd name of document produced for consistency. 1999-11-17 15:04:26 +00:00
Joel Sherrill
2eda969b73 Updated to reflect Mailbox Manager submission. 1999-11-17 15:03:55 +00:00
Joel Sherrill
1c10acc7f3 Update from Andrew D. McDowell <amcdowel@cs.uah.edu> with modifications
by Joel and Jennifer based on experience merging the other managers
and cleaning them up.  No test code is available at this point.
1999-11-17 14:56:18 +00:00
Joel Sherrill
0545e15c16 Fixed screen. 1999-11-16 22:57:58 +00:00
Joel Sherrill
0b0441afd8 Added TERMINAL_IDENTIFICATION pieces. 1999-11-16 22:57:32 +00:00
Joel Sherrill
38d65f80d5 Fixed alignment problem on _endtext. 1999-11-16 22:56:53 +00:00
Joel Sherrill
aad726ebd4 Moved task_variable pointer to basic shared part of TCB instead of
RTEMS API extension to avoid problems when the extension is freed.
Eventually the task variable switch extension should become part
of the core context switch and the Ada tcb self implemented in
terms of it.
1999-11-16 22:56:38 +00:00
Joel Sherrill
987445baf4 Added proper nesting level for dispatch disable check. 1999-11-16 22:55:11 +00:00
Joel Sherrill
96c2db619f Added code so if dispatching level is specified to be -1, then no
check is performed.  This is needed in some timer service routines
since they are called from multiple disable levels.
1999-11-16 22:51:47 +00:00
Joel Sherrill
cea3304914 Corrected nesting level on dispatching verification. 1999-11-16 22:51:06 +00:00
Joel Sherrill
0beded61bc Corrected disable dispatch nesting count checks. 1999-11-16 22:50:08 +00:00
Jennifer Averett
4efe2b7a5d Added check to return passed if task is not suspended. 1999-11-16 22:47:23 +00:00
Jennifer Averett
0fa51b5b0a Added code to catch the error of suspend count exceding the counter value. 1999-11-16 22:46:55 +00:00
Jennifer Averett
9181246072 Fixed bug. 1999-11-16 22:45:51 +00:00
Jennifer Averett
18c315533b Added handler for fsync. For the memfile it is the same as the data sync. 1999-11-16 22:45:33 +00:00
Joel Sherrill
d2bfbaf2b1 Fixed spacing. 1999-11-16 21:56:45 +00:00
Joel Sherrill
a47e653a2c Changed name of document generated. 1999-11-16 21:56:31 +00:00
Joel Sherrill
8ea517843a Added ITRON 3.0 API User's Guide. 1999-11-16 21:53:59 +00:00
Joel Sherrill
46139bf3ab Fixed typo. 1999-11-16 21:53:35 +00:00
Joel Sherrill
00b335e247 Corrected status. 1999-11-16 21:46:16 +00:00
Joel Sherrill
ca7d922c8e Fixed typo. 1999-11-16 21:32:09 +00:00
Jennifer Averett
9c7867b64c Inserted output from the erc32 run into the output file. 1999-11-16 21:30:41 +00:00
Joel Sherrill
7fe5ff380e Use miniIMFS like hello from samples. 1999-11-16 21:15:03 +00:00
Joel Sherrill
a470c0eeff Increased stack space because message buffers are on the stack. 1999-11-16 21:10:48 +00:00
Jennifer Averett
22542b6ba7 Removed leading space from output. 1999-11-16 20:50:36 +00:00
Jennifer Averett
f89df68270 Added comment indicating that dup is known to be broken. 1999-11-16 20:50:07 +00:00
Jennifer Averett
47c77059a0 Added data to the log file so it matches the real output. 1999-11-16 20:49:18 +00:00
Jennifer Averett
ac0ba84277 Added comment to log file indicating that task order is not
critical.
1999-11-16 20:48:48 +00:00
Jennifer Averett
36072c8a5d Added test case of rsm_tsk and frsm_tsk on a task not suspended.
This should result in nothing happening, but an E_OK result.
1999-11-16 20:47:30 +00:00
Joel Sherrill
3db81880fe Fixed spacing. 1999-11-16 20:22:25 +00:00
Joel Sherrill
1573ec8aed New file. 1999-11-16 20:02:43 +00:00
Joel Sherrill
0660b4f892 Changed copyright date to 1999. 1999-11-16 19:50:56 +00:00
Joel Sherrill
086a898af2 Added copyright. 1999-11-16 19:47:37 +00:00
Joel Sherrill
3135649340 Changed release date. 1999-11-16 19:43:14 +00:00
Joel Sherrill
8f9efcb994 Added status chapter. 1999-11-16 19:41:31 +00:00
Joel Sherrill
71689d441e Added reference to rtems_get_class, rtems_get_node, and rtems_get_index
so users know they are part of the public API.
1999-11-16 18:40:25 +00:00
Joel Sherrill
dc2b3376dd Added task variable services. 1999-11-16 18:28:20 +00:00
Joel Sherrill
1dbf307fd6 Added categorized list of constants in confdefs.h. 1999-11-16 18:28:06 +00:00
Joel Sherrill
90378e483f Added BSP_MAXIMUM_OPERATION_COUNT and BSP_ITERATION_COUNT
which allow the BSP to override the default number of objects
that will be created in the timing tests.  This is useful for
reducing memory consumption on small targets.  The BSP_ITERATION_COUNT
can be used to reduce the number of repititions in some of the
tests.  This is useful for extremely slow targets (we haven't seen
any slow enough to justify modifying this one yet though. :)
1999-11-16 16:23:26 +00:00
Joel Sherrill
4b960e5f29 Added code to the macros which checked directive status to also
check that the _Thread_Dispatch_disable_level is set to the
proper value (0 99% of the time).  This automatic check significantly
reduces the chance of mismatching disable/enable dispatch pairs
while doing internal RTEMS work.
1999-11-16 16:21:00 +00:00
Joel Sherrill
72d4b1d96d Use the miniIMFS to reduce code space. 1999-11-16 16:19:06 +00:00
Joel Sherrill
a20190a408 Added test cases for uname(). 1999-11-16 16:15:05 +00:00
Joel Sherrill
65a38bcab7 Web server uses the POSIX API. Therefor, it must be disabled when the
POSIX API is disabled.
1999-11-16 16:14:37 +00:00
Joel Sherrill
ce18601a7d Removed start subdirectory and distributed contents to the appropriate
places under the libbsp tree.
1999-11-16 16:13:26 +00:00
Joel Sherrill
0cb7cb9e7c Added comments. 1999-11-16 16:10:39 +00:00
Joel Sherrill
d3fdf45917 Now use _Thread_Reset(). 1999-11-16 16:09:50 +00:00
Joel Sherrill
88cb6b22ab Added threadreset.c. 1999-11-16 16:08:10 +00:00
Joel Sherrill
f6d082148b Added prototype for _Thread_Reset() and numerous comments. 1999-11-16 16:07:52 +00:00
Joel Sherrill
c09454282b Only check for System V IPC if multiprocessing is enabled. The unix
port only uses System V IPC for shared memory and semaphores to
communicate between nodes in a multiprocessor configuration.  If you
disable multiprocessing, then this code should be unused.  Thus systems
like Cygwin which are POSIX but do not support System V IPC should
not work.
1999-11-16 16:07:17 +00:00
Joel Sherrill
f4b76ab569 Fixed so can be included multiple times in the executive source. 1999-11-16 16:04:51 +00:00
Joel Sherrill
31473b7107 Works now.
Removed times() since the version in the C Library support code is
fine.
1999-11-16 16:03:21 +00:00
Joel Sherrill
165fe39ff2 Return a reasonable error other than ENOSYS. 1999-11-16 16:01:54 +00:00
Joel Sherrill
7fec3b7a36 Added call to _Watchdog_Remove to remove the sporadic timer. It was
being reinserted onto the ticks chain.
1999-11-16 16:01:32 +00:00
Joel Sherrill
2c0e896e9c Moved utsname from "build for now" (unimplemented files) to the main
list of C_PIECES since it is now implemented.
1999-11-16 16:00:11 +00:00
Joel Sherrill
d280ce18b8 Comment fixed when adding prototype for
_ITRON_Message_buffer_Translate_core_message_buffer_return_code.
1999-11-16 15:58:21 +00:00
Joel Sherrill
bd462d1146 New file. 1999-11-16 15:52:49 +00:00
Joel Sherrill
d6c8352925 Patch rtems-rc-19991105-1.diff.gz from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> which does the following:

    This is the configuration cleanup patch:

    Main changes:
      * TARGET_ARCH removed
      * target.cfg.in moved to c/make/target.cfg.in (Only configured once for
        all BSPs of a target)
      * BARE_XXX variables appended to bsp.cfg.in
      * autogen renamed to bootstrap
      * removed stray variables from make/custom/*.cfg

    To apply:
        cd <source-tree>
        rm c/src/make/target.cfg.in
        cp autogen bootstrap
        mkdir c/make
        cp make/target.cfg.in c/make/target.cfg.in
        rm make/target.cfg.in
        rm autogen
        patch -p1 < rtems-rc-19991105-1.diff
1999-11-16 15:48:11 +00:00
Jennifer Averett
fa3346f509 Modified file to match seen output. 1999-11-16 15:41:58 +00:00
Jennifer Averett
f9879915b9 Modified output file to match seen output. Added comment to all ino
values that they may change slightly on a processor basis.
1999-11-16 15:41:29 +00:00
Jennifer Averett
e9b00d7628 Removed compiler warning. 1999-11-16 15:40:40 +00:00
Jennifer Averett
d37aa4442a Changed asserts to tmmacros. 1999-11-16 15:39:08 +00:00
Jennifer Averett
2d82857db3 Updated scn file to match new output. Left out unemplemented
parts as a reminder to fix when these routines became implemented.
1999-11-16 15:38:44 +00:00
Jennifer Averett
4761995134 + Changed ID to 1. ( Compilation error introduced by modifications. ) 1999-11-16 15:33:10 +00:00
Jennifer Averett
1da9f4bdff Modified scan file to match. 1999-11-16 15:30:04 +00:00
Joel Sherrill
817031fa5c New file. 1999-11-16 15:28:03 +00:00
Joel Sherrill
c7016198fa Added. 1999-11-16 15:27:52 +00:00
Joel Sherrill
b88691c30f Source and destination arguments to strncpy were swapped. This mistake
was made in the conversion of bcopy() to strncpy().
1999-11-16 15:26:29 +00:00
Joel Sherrill
c276c87111 Added itron tests. 1999-11-16 15:24:30 +00:00
Jennifer Averett
3fb7b70be2 Changed to call tmmacros instead of assert. 1999-11-16 14:39:56 +00:00
Joel Sherrill
56e61bb8e1 Patch rtems-rc-19991105-0.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
This is the gdb.spec.in fix patch:

        * install infos gzip-ed
        * add gdb to group rtems
1999-11-16 14:24:50 +00:00
Joel Sherrill
ac656f2dc4 Moved start code from lib/start to libbsp. 1999-11-16 14:15:56 +00:00
Joel Sherrill
25f705eebf Moved start code from lib/start to libbsp. 1999-11-16 13:55:35 +00:00
Joel Sherrill
1d04e1673e Moved start code from lib/start to libbsp. 1999-11-16 13:45:51 +00:00
Joel Sherrill
7f93f772d8 Committed modifications from ITRON Task and Task Dependendent Synchronization
Working Group.  Included are tests.
1999-11-16 13:37:49 +00:00
Joel Sherrill
a7d988a53e Minor changes since new Makefile. 1999-11-16 13:37:25 +00:00
Joel Sherrill
14dbf50aa2 Added start subdirectory. 1999-11-16 13:34:41 +00:00
Joel Sherrill
1bcdb3f6ec Committed modifications from ITRON Task and Task Dependendent Synchronization
Working Group.  Included are tests.
1999-11-16 13:31:13 +00:00
Joel Sherrill
80fd69998a Removed nanosleep() since it is now in its own file. 1999-11-15 22:19:51 +00:00
Jennifer Averett
40aac293b7 Returned third parameter for a NULL name to the objects open call. 1999-11-15 21:37:56 +00:00
Jennifer Averett
2578970553 + Fixed files to consistantly use a case of the location after calls
to ITRON_Task_Get.
+ Modified to consistantly call _ITRON_return_errorno with E_OK.
+ Optimized the code to not disable dispatch prior to checking input values.
1999-11-15 21:35:14 +00:00
Jennifer Averett
1ae60eb4e6 + Modified to use new Thread_Reset routine instead of the restart method. 1999-11-15 21:31:28 +00:00
Jennifer Averett
e672263c39 Fixed verificaiton checks to call correct macro if dispatch is disabled. 1999-11-15 21:28:21 +00:00
Jennifer Averett
06380cfeac + Added check that a task could be sent to a dormant state
then sta_tsk used to restart the task to its initial state.
+ Added calls to ref_tsk to yellow paths for suspended and
  ready but not running tasks.
+ Fixed output file to correctly state test name
+ Added priority of preempt to the header file.  Allows ref_tsk verification.
1999-11-15 21:25:53 +00:00
Jennifer Averett
0f88857a3a + Changed preempt routine into two dummy tasks one that is in dormant
state and one that is in non-dormant state.
+ Increased the priority of the Init task to force the dummy tasks to
  run first.
+ Added calls to ref_tsk to verify the state of the dummy tasks and
  test ref_tsk.
1999-11-15 21:19:58 +00:00
Joel Sherrill
cb193710f4 Added paragraph describing SUSP. 1999-11-15 21:04:01 +00:00
Joel Sherrill
9da09940e4 Split ITRON Message Buffer Manager into multiple files. 1999-11-15 17:15:58 +00:00
Joel Sherrill
fb27af7637 Split ITRON semaphore manager into multiple files. 1999-11-15 16:39:01 +00:00
Joel Sherrill
afb11f80e6 + Modified calls to use TSK_SLF for calls to self.
+ Modified calls to use the task id macro for calls to the PREEMPT task.
1999-11-12 22:00:10 +00:00
Joel Sherrill
624d7ca497 + Added comments on paths tested. 1999-11-12 21:27:42 +00:00
Joel Sherrill
e8c902cd41 + Added check for priority over 256.
+ Modified output to correctly state the error.
1999-11-12 21:26:54 +00:00
Joel Sherrill
8ed3125de3 Added comments for path's tested. 1999-11-12 21:24:56 +00:00
Joel Sherrill
d8f3f65be0 + Changed validation of the_thread to validation of location.
+  Modified correct return path to call _ITRON_return_errorno( E_OK ) instead
   of enabling dispatching and returning E_OK.
1999-11-12 21:23:34 +00:00
Joel Sherrill
2979c288bb + Changed validation of the_thread to validation of location.
+  Removed error path that should never happen.
1999-11-12 21:21:09 +00:00
Joel Sherrill
3971537bd2 + Changed validation of the_thread to validation of location. 1999-11-12 21:20:04 +00:00
Joel Sherrill
037a7b16a1 + Moved error checks to before the disable dispatch where possible. 1999-11-12 21:18:36 +00:00
Joel Sherrill
0c5ab52207 Added comment about the E_CTX error condition (Implementation dependent). 1999-11-12 21:16:45 +00:00
Joel Sherrill
c257429f61 + Moved error checks to before the dispatch disable where possible.
+  Modified correct return path to call _ITRON_return_errorno( E_OK ) instead
   of enabling dispatching and returning E_OK.
1999-11-12 21:15:12 +00:00
Joel Sherrill
2183b65b81 + Modified correct return path to call _ITRON_return_errorno( E_OK ) instead
of enabling dispatching and returning E_OK.
+  Changed validation of the_thread to validation of location.
+  Set correct error code when dormant state.
+  Fixed comment.
1999-11-12 21:13:52 +00:00
Joel Sherrill
ea6bfcbe1e + Modified correct return path to call _ITRON_return_errorno( E_OK ) instead
of enabling dispatching and returning E_OK.
+  Changed validation of the_thread to validation of location.
1999-11-12 21:12:27 +00:00
Joel Sherrill
6af8143502 Corrected so now actually indexes into the allocation block. 1999-11-12 15:54:48 +00:00
Joel Sherrill
1925ec9be4 Corrected remaining references to struct rtems_task_variable_t since
it is now typedef'ed.
1999-11-12 15:54:07 +00:00
Joel Sherrill
a8d72dea01 Removed unnecessary 3rd parameter. 1999-11-12 15:53:29 +00:00
Joel Sherrill
6bd132e549 New file. 1999-11-12 15:37:09 +00:00
Joel Sherrill
95bb279973 Used typedef so all "struct rtems_task_variable_t" uses are now
just "rtems_task_variable_t".
1999-11-12 14:54:13 +00:00
Joel Sherrill
884b460d64 Added per-task variable data stucture (rtems_task_variable_t),
task_variables field to API extension, and two directives
(rtems_task_variable_add and rtems_task_variable_delete).
1999-11-12 14:52:36 +00:00
Joel Sherrill
f477165695 Test name changed to reflect placement after merger. 1999-11-12 14:51:03 +00:00
Joel Sherrill
ec0b5ce5d7 Test name changed to reflect placement after merger.
Changed output to reflect what was actually being tested.
1999-11-12 14:50:42 +00:00
Joel Sherrill
3136f5c917 Test name changed to reflect placement after merger.
Increased stack space.
1999-11-12 14:49:47 +00:00
Joel Sherrill
5aa5560746 Added per task variables based on patch from Eric Norum <eric@cls.usask.ca>.
After being submitted, this support was rewritten to be inside the
executive rather than layered on top of it using an extension.
1999-11-12 14:38:19 +00:00
Joel Sherrill
3c49a508aa Cleaned up style. 1999-11-12 14:15:50 +00:00
Joel Sherrill
3ad17f56e0 Removed redundant line. 1999-11-12 13:46:04 +00:00
Joel Sherrill
e972ff03d4 Merged message buffer code from CS595 projects. 1999-11-12 13:46:03 +00:00
Joel Sherrill
6977b3886a Enabled after merging message buffer code. 1999-11-12 13:45:39 +00:00
Joel Sherrill
f9078d1da0 Added comment block and removed include of deleted file. 1999-11-12 13:22:31 +00:00
Joel Sherrill
33bbd74680 Added information about the NTP servier field and included a copy
of the C definition of the configuration structure.
1999-11-11 02:51:31 +00:00
Joel Sherrill
d102810ea0 Updated. 1999-11-11 02:39:12 +00:00
Joel Sherrill
dc83752971 Screen updated. 1999-11-11 02:23:26 +00:00
Joel Sherrill
458d4e6652 Added new test sp28 to test the task variable directives. 1999-11-11 02:23:04 +00:00
Joel Sherrill
713b2eac2f General cleanup. Test documentation improved. The message buffer test
prints a message instead of actually testing since the message buffer
implementation is not in yet.
1999-11-10 22:15:42 +00:00
Joel Sherrill
59d1127f13 Corrected to account for the way memory is divided up in
_Object_Extend_information.  This change is a side-effect of the
change made to that file to fix an alignment problem.
1999-11-10 22:14:26 +00:00
Joel Sherrill
7d29dc7f61 Added line to make sure HAS_ITRON_API is defined in Makefile. 1999-11-10 22:13:42 +00:00
Joel Sherrill
72719d29fc Added call to _Thread_Enable_dispatch() and did some cleanup. 1999-11-10 20:37:01 +00:00
Joel Sherrill
74db82a343 rtems_semaphore_flush test from Eric Norum <eric@cls.usask.ca>. 1999-11-10 20:36:25 +00:00
Joel Sherrill
cbccd37599 Patch from Eric Norum <eric@cls.usask.ca> which includes:
Patches against 1105 snapshot to add NTP server support to network
    configuration/BOOTP.
1999-11-10 14:31:11 +00:00
Joel Sherrill
442d047832 Combination of committing some new files which had been overlooked
and adding code which installed screens for itron tests.
1999-11-10 14:19:55 +00:00
Joel Sherrill
eb02f47b12 Committed modifications from ITRON Task and Task Dependendent Synchronization
Working Group.  Included are tests.
1999-11-10 13:48:27 +00:00
Joel Sherrill
dcc1f6b666 Added support for ITRON tests. 1999-11-10 13:45:54 +00:00
Joel Sherrill
a5f5acadde Updated to include more documentation from CS595. 1999-11-10 13:38:34 +00:00
Joel Sherrill
aff08f541b Better formatting. 1999-11-10 13:21:33 +00:00
Joel Sherrill
bab5ba4446 Added more tasking tests. 1999-11-09 23:28:04 +00:00
Joel Sherrill
e099180999 Merged tests from Task group. 1999-11-09 23:27:05 +00:00
Joel Sherrill
3d67661f9d Added nesting count for suspend/resume. 1999-11-09 23:10:48 +00:00
Joel Sherrill
70e9af9233 Changed B, H, and W variables to BVar, HVar, and WVar to avoid conflicts
with ITRON 3.0 data types regardless of how dumb it is to name
types with a simple letter.
1999-11-09 22:45:35 +00:00
Joel Sherrill
e18ba7f0f6 Commented out single letter type names since they conflict with
numerous other uses of the same variable.
1999-11-09 22:25:55 +00:00
Joel Sherrill
c73b8ac27f This patch adds the basic framework for the ITRON 3.0 API implementation
for RTEMS.
1999-11-09 22:18:43 +00:00
Joel Sherrill
c8cad18820 Removed. 1999-11-09 22:16:16 +00:00
Joel Sherrill
ad502d182a Renamed classes to avoid single letter class names. 1999-11-09 22:14:21 +00:00
Joel Sherrill
352c9b2035 This patch adds the basic framework for the ITRON 3.0 API implementation
for RTEMS.
1999-11-09 22:07:23 +00:00
Joel Sherrill
1007c3c8ba Fixed warning where initialized default POSIX API structure did
have have semaphores and message queue fields.
1999-11-09 19:54:40 +00:00
Joel Sherrill
bd0b378838 Removed unused variable warning. 1999-11-09 19:45:23 +00:00
Joel Sherrill
1baa05972e Converted from DOS to UNIX filemode. 1999-11-09 16:40:44 +00:00
Joel Sherrill
aebc7aa507 Corrected lines that were too long. 1999-11-09 16:23:29 +00:00
Joel Sherrill
6457fae2c4 Fixed formatting error. 1999-11-09 16:23:20 +00:00
Joel Sherrill
668200808b Corrected manual name. 1999-11-09 16:23:10 +00:00
Joel Sherrill
15c8c37457 Integrated into main tree. 1999-11-09 16:22:36 +00:00
Joel Sherrill
b671c6a25f Update from Jennifer. 1999-11-09 15:49:45 +00:00
Joel Sherrill
d55af6dd1d Now using libchip instead of local precursor to libchip. Untested. 1999-11-09 15:38:47 +00:00
Joel Sherrill
53b184719a Removed reaching "up and over" to install BSP header files. 1999-11-09 13:40:57 +00:00
Joel Sherrill
b440e57bdb Added imfs_unixstub.c to satisfy linker problems on UNIX port. 1999-11-09 13:40:30 +00:00
Joel Sherrill
3fb8909aae sem_close was accidentally lost in the split. 1999-11-09 13:39:42 +00:00
Joel Sherrill
a8df60b31d New test for POSIX Message Queues added. 1999-11-09 13:38:00 +00:00
Joel Sherrill
27eb3ecf3c New files. 1999-11-09 13:36:26 +00:00
Joel Sherrill
41d2eaca38 Added more status information. 1999-11-09 04:31:26 +00:00
Joel Sherrill
a0af97d2bf Patch from Eric Norum <eric@cls.usask.ca> to add NTP BOOTP support because
EPICS needs a synchronized time-of-day clock.  This patch is the changes
needed to get NTP server information from a BOOTP server.

This patch also adds NTP server information to the network configuration
structure, too.
1999-11-09 03:43:47 +00:00
Joel Sherrill
84bf329159 Added #define to make this file exactly like its siblings in mpc821
and mpc860 directories.
1999-11-09 03:37:40 +00:00
Joel Sherrill
78facc4915 Removed "up and over" into libbsp/.../include. 1999-11-09 02:50:26 +00:00
Joel Sherrill
9af31a6e92 Moved include files to hppa1.1 subdirectory and put their sources
in the include directory.
1999-11-09 02:32:37 +00:00
Joel Sherrill
bb11d7e540 Removed runway directory and moved contents to include. 1999-11-09 02:31:37 +00:00
Joel Sherrill
3869b5332f Added Status chapter. 1999-11-09 02:04:33 +00:00
Joel Sherrill
b8a0aad138 Corrected flaws which prevented formatting with texi2pdf since it
is stricter on node names.
1999-11-09 02:04:01 +00:00
Jennifer Averett
f758f8102a Correctly set and called handlers table for the link. 1999-11-05 22:26:12 +00:00
Jennifer Averett
089ad91deb Fixed comment 1999-11-05 22:25:16 +00:00
Jennifer Averett
7f6a07504e Moved imfs set handlers prototype to the imfs.h file. 1999-11-05 22:24:56 +00:00
Joel Sherrill
f26592f553 changed version to 19991105 1999-11-05 21:21:05 +00:00
Joel Sherrill
bf2cf8e60c New file. Added as part of adding a formal API to this object. 1999-11-05 21:20:30 +00:00
Joel Sherrill
378fe02519 New file. 1999-11-05 21:11:09 +00:00
Joel Sherrill
94b357c2b3 Unmount was failing as a side-effect of splitting the rmnod handler
and not handling every case properly.
1999-11-05 21:10:54 +00:00
Joel Sherrill
6c85bdda73 Removed. 1999-11-05 19:40:48 +00:00
Joel Sherrill
e639b998f5 Added this file as a way to build RPMs for CPUs that would only
successfully build C/C++ and not all of the other languages
included in late model egcs/gcc releases.
1999-11-05 19:40:42 +00:00
Joel Sherrill
1c55d2e868 Split unistd.c file into sysconf.c and sleep.c. 1999-11-05 19:38:37 +00:00
Joel Sherrill
7edb9281a2 Following comments from Eric Norum <eric@cls.usask.ca>, a fairly
substantial upgrade of newlibc.c occurred.  Now the user extension
data area is used rather than notepads and as many routines as possible
were split into other files further reducing the minimum footprint
of an RTEMS executable.
1999-11-05 19:02:03 +00:00
Joel Sherrill
0fab6dded8 Patch from Eric Valette <valette@crf.canon.fr> so this will build
independently of a BSP.
1999-11-05 17:49:56 +00:00
Joel Sherrill
968f774296 Fixed typo. 1999-11-05 17:45:55 +00:00
Joel Sherrill
458bd343e2 This is another pass at making sure that nothing outside the BSP
unnecessarily uses any variables defined by the BSP.  On this
sweep, use of BSP_Configuration and Cpu_table was eliminated.

A significant part of this modification was the addition of
macros to access fields in the RTEMS configuration structures.

This is necessary to strengthen the division between the BSP independent
parts of RTEMS and the BSPs themselves.  This started after
comments and analysis by Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
1999-11-05 16:44:02 +00:00
Joel Sherrill
707f5c710e Eliminated references to stack checker related #defines. 1999-11-05 15:47:47 +00:00
Joel Sherrill
f817b0283c The files in libcpu should not be directly dependent on any BSP. In
particular, using bsp.h, or getting information from the BSP which
should properly be obtained from RTEMS is forbidden.  This is
necessary to strengthen the division between the BSP independent
parts of RTEMS and the BSPs themselves.  This started after
comments and analysis by Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
The changes primarily eliminated the need to include bsp.h and
peeking at BSP_Configuration.  The use of Cpu_table in each
BSP needs to be eliminated.
1999-11-04 18:05:09 +00:00
Joel Sherrill
d5704c67a0 Added first stab at mkgnatnewlib. 1999-11-04 13:18:23 +00:00
Joel Sherrill
2b2ab1c070 Renamed POSIX_Thread_cancel_run to _POSIX_Thread_cancel_run since RTEMS
internal symbols are supposed to have leading underscores.
1999-11-03 12:51:09 +00:00
Joel Sherrill
86ed4f09d7 Added CONFIGURE_USE_MINIIMFS_AS_BASE_FILESYSTEM as a configuration
parameter.
1999-11-03 12:48:41 +00:00
Joel Sherrill
2b295183f3 Added prototype of _POSIX_Semaphore_Delete to avoid warnings. 1999-11-03 12:47:16 +00:00
Joel Sherrill
0a3946f6e7 Added prototype of POSIX_Thread_cancel_run to avoid warnings. 1999-11-03 12:46:58 +00:00
Joel Sherrill
d76608e048 Typo fixed by Ralf Corsepius <corsepiu@faw.uni-ulm.de>. 1999-11-03 12:46:29 +00:00
Joel Sherrill
7cc8d6c3b1 Split core mutex and semaphore handlers into separate files. 1999-11-02 21:48:15 +00:00
Joel Sherrill
82cb78d84c Split core message queue and watchdog handler objects into separate files. 1999-11-02 21:45:15 +00:00
Joel Sherrill
93b4e6ef7e Split Heap and Time of Day Handlers. 1999-11-02 21:05:17 +00:00
Joel Sherrill
dfbfa2b029 Split threadq.c into multiple files. 1999-11-02 20:36:11 +00:00
Joel Sherrill
b568ccb745 The object memfile.o was being included in the miniIMFS even though it
should not have been.  This required that IMFS_rmnod be split into
three separate (per file type) routines to avoid dependencies.
In the end, a miniIMFS application is 6K smaller than one using the
full IMFS.
1999-11-02 20:20:13 +00:00
Joel Sherrill
317a5b52b5 Split object.c into multiple files. 1999-11-02 19:43:52 +00:00
Joel Sherrill
811fae12e9 Split types.s into individual files. 1999-11-02 19:24:38 +00:00
Joel Sherrill
07e07437c4 Final tuning required to drop out POSIX timers. 1999-11-02 19:11:16 +00:00
Joel Sherrill
6800397962 *** empty log message *** 1999-11-02 19:04:51 +00:00
Joel Sherrill
db7f70a327 Split cancel.c into multiple files. 1999-11-02 18:47:06 +00:00
Joel Sherrill
43ed93524d Missed these in the initial split up. 1999-11-02 18:46:30 +00:00
Joel Sherrill
63edcf242a Split key.c into multiple files. 1999-11-02 18:40:30 +00:00
Joel Sherrill
cec0371ec5 Wrong routine was initially cut into this file. 1999-11-02 18:39:52 +00:00
Joel Sherrill
9f95a19a57 Split time.c into multiple files. 1999-11-02 18:35:52 +00:00
Joel Sherrill
98dca75bf3 Split condition variables into multiple files. 1999-11-02 18:25:26 +00:00
Joel Sherrill
799c767d31 Split the POSIX semaphore manager into multiple files. 1999-11-02 18:00:15 +00:00
Joel Sherrill
ee979cdd95 Split some more stuff out of psignal.c. 1999-11-02 17:36:20 +00:00
Joel Sherrill
96c041c42b Split mutex.c into multiple files. 1999-11-02 17:19:23 +00:00
Joel Sherrill
8a5f2ca04d Split mqueue into multiple files. 1999-11-02 17:18:58 +00:00
Joel Sherrill
b95e303fca Removed warnings. 1999-11-02 17:14:40 +00:00
Joel Sherrill
4dc89814e1 Split mqueue.c into a variety of files. 1999-11-02 17:00:35 +00:00
Joel Sherrill
4c1b914ed8 Minor changes to make the screen match a bit better. 1999-11-02 16:39:44 +00:00
Joel Sherrill
78edd4446b Minor fixes to make screen match a bit better. 1999-11-02 16:38:19 +00:00
Joel Sherrill
3251b55cc0 Added more proper checking of F_GETFL and F_SETFL.
Disabled test of F_DUPFD since it does not work.

Added comment to indicate that seekdir(NULL) was being called.
1999-11-02 16:29:56 +00:00
Joel Sherrill
5f2566b5e2 Fixed F_SETFL to properly convert between internal
libio flags and external fcntl.h style flags.
1999-11-02 16:27:53 +00:00
Joel Sherrill
063e4950f4 Added support for configuring base filesystem. First attempt at
a full mount table at initialization.  This is the wrong place
to mount filesystems 2-n since no device drivers are initialized
yet.
1999-11-02 16:27:05 +00:00
Joel Sherrill
a504ced35b Install imfs.h so base filesystem can be configured or IMFS mounted
by an application.
1999-11-02 16:25:48 +00:00
Joel Sherrill
19b74f3175 Check for NULL being passed in. 1999-11-02 16:25:05 +00:00
Joel Sherrill
3fb2a8daf7 Fixed typo where memfile_handlers set twice and directory_handlers
was not set.
1999-11-02 16:23:50 +00:00
Joel Sherrill
ac8adcf06f Properly initialize location variable. 1999-11-02 16:22:58 +00:00
Joel Sherrill
f5a1fe913b Fixed typo. 1999-11-02 16:07:13 +00:00
Joel Sherrill
ee9d8d528c Clean up /opt/rtems in case junk is installed in the wrong place.
This has been seen on some machine configurations.
1999-11-02 16:07:06 +00:00
Joel Sherrill
c42bd4525f Split console_reserve_resources into its own file to reduce dependencies.
Still need to move debug io routines out.
1999-11-02 16:05:41 +00:00
Joel Sherrill
5d36b344ae Fixed bug which resulted in misaligned object control structures
being allocated.  This bug manifested itself on the SPARC
since it uses ldd/std in its context save/restore routines.
1999-11-02 16:01:52 +00:00
Joel Sherrill
32441ab768 Added a comment to indicate that if a task blocked on a priority
based thread queue were to be reinserted based on its new priority,
this is where the logic would go.
1999-11-02 16:00:37 +00:00
Joel Sherrill
2cd54440b1 Added code to allocate by index. This is the object ID style used
by ITRON.

Corrected spacing.
1999-11-02 15:58:39 +00:00
Joel Sherrill
8f0529f65a Added maximum count detection logic. 1999-11-02 15:58:09 +00:00
Joel Sherrill
9693fdac75 Added support for message priority as required by POSIX. 1999-11-02 15:57:58 +00:00
Joel Sherrill
af10d3ef5d Corrected spacing. 1999-11-02 15:57:43 +00:00
Joel Sherrill
3f421dab80 Added message queues and semaphores. 1999-11-02 15:56:10 +00:00
Joel Sherrill
be0fc09935 Added CONFIGURE_MAXIMUM_POSIX_MESSAGE_QUEUES and
CONFIGURE_MAXIMUM_POSIX_SEMAPHORES.
1999-11-02 15:55:34 +00:00
Joel Sherrill
861e94d98a Added comment to make sure Classic API priority to Core priority
is added in the future.
1999-11-02 15:35:58 +00:00
Joel Sherrill
3ba754e136 Added comments for _RTEMS_tasks_Create_extension,
_RTEMS_tasks_Start_extension, _RTEMS_tasks_Delete_extension, and
_RTEMS_tasks_Switch_extension.
1999-11-02 15:34:40 +00:00
Joel Sherrill
b970c48963 Added a case to support the core semaphore error returned when the
maximum semaphore count is exceeded.
1999-11-02 15:33:14 +00:00
Joel Sherrill
d80188eb6f Added code to utilize the maximum_count attribute of core semaphores
and initialize it to a value that would keep it from every being
a problem.
1999-11-02 15:30:20 +00:00
Joel Sherrill
fd882eed44 Now much closer to working. 1999-11-02 15:29:47 +00:00
Joel Sherrill
26c828fe47 Added assert in case _Objects_Get_information fails since this
should NEVER occur.
1999-11-02 15:29:04 +00:00
Joel Sherrill
2b95c07bda Commented out lines causing warning. 1999-11-02 15:28:02 +00:00
Joel Sherrill
733a24873f Added #define for SEM_FAILED. 1999-11-02 15:27:38 +00:00
Joel Sherrill
9d3a44be9c Added include of <sys/siginfo.h>. 1999-11-02 15:27:20 +00:00
Joel Sherrill
f2422aa069 Added message queues and semaphores. 1999-11-02 15:26:46 +00:00
Joel Sherrill
a49a7f3d87 Backed out change that increased the minimum stack size since it
was unnecessary.  The real fix was an alignment error in the
object extend memory allocation scheme.
1999-11-02 15:22:00 +00:00
Joel Sherrill
f59df6b2ba Modified to use minimum stack size and reserve the necessary amount
of space in the workspace.
1999-11-02 15:19:43 +00:00
Joel Sherrill
dee8a5174f Corrected wildcard to pickup CPU model dependent library pieces. 1999-11-01 21:34:04 +00:00
Joel Sherrill
43f7a90fc2 Enabled configuring mini or full IMFS. 1999-11-01 20:58:23 +00:00
Joel Sherrill
0910a25152 Added name to id support routine. 1999-11-01 20:31:25 +00:00
Joel Sherrill
2e3e40770b Increased stack space for all initialization tasks in tmtests. 1999-11-01 20:21:17 +00:00
Joel Sherrill
5fe6b21a11 Increased stack space of a task. 1999-11-01 20:14:35 +00:00
Joel Sherrill
328aa64cc0 Increased stack space of task 2. 1999-11-01 20:11:24 +00:00
Joel Sherrill
4443984a4c Increased stack space for a task. 1999-11-01 20:08:05 +00:00
Joel Sherrill
c42e6c72eb Increased stack space for task 1. 1999-11-01 20:06:02 +00:00
Joel Sherrill
89b6397249 Removed routines that had already been separated into their own files. 1999-11-01 18:02:44 +00:00
Joel Sherrill
c61218e85b Removed HAS_MP=no and commented out HAS_NETWORKING=no. 1999-11-01 13:15:26 +00:00
Joel Sherrill
92f699993f Removed all references to shared memory driver as it is not supported
yet on the mvme2307.
1999-11-01 13:08:35 +00:00
Joel Sherrill
a2504f7dc6 Removed shmsupp directory as it is not really implemented. 1999-11-01 13:07:56 +00:00
Joel Sherrill
4c9d61e8be MVME2307 does not really include MP support. 1999-11-01 13:07:22 +00:00
Jennifer Averett
4a07d2b866 Moved the rmnod callback from the operations table to the handler table. 1999-10-29 15:19:13 +00:00
Jennifer Averett
4bde80720f Joel added a table of mount entry requests to be processed during
initialization.
1999-10-29 14:28:39 +00:00
Joel Sherrill
a8efb8fea0 Changed version timestamp. 1999-10-28 19:51:23 +00:00
Joel Sherrill
49ea76dc35 Added information to fstat handler. 1999-10-28 19:42:14 +00:00
Joel Sherrill
08dc4bd600 Reformatted. 1999-10-28 19:42:05 +00:00
Joel Sherrill
dcb931554c Cleaned up spacing on function prototypes. 1999-10-28 19:29:49 +00:00
Joel Sherrill
d3fc9e9dc3 Added lstat(). 1999-10-28 19:25:46 +00:00
Joel Sherrill
75e3651a0c Added shell of chapters on implementation of miniIMFS and TFTP client
filesystems.  Moved system call chapter to before filesystem
implementation requirements.
1999-10-28 18:30:47 +00:00
Joel Sherrill
b502b0d1b1 changed version to 19991028 1999-10-28 17:44:08 +00:00
Joel Sherrill
7046cddb1b Patch rtems-rc-19991011-3.diff from Ralf Corsepius. 1999-10-28 16:01:41 +00:00
Joel Sherrill
e90c5a1e76 changed version to 19991028 1999-10-28 15:30:55 +00:00
Joel Sherrill
5c104e08bb New test added - psxcancel. This is just a shell for now. 1999-10-28 15:12:10 +00:00
Joel Sherrill
b8d9f41f4a Added include of <sys/select.h> in attempt to remove compilation warning. 1999-10-28 14:59:35 +00:00
Joel Sherrill
be22768407 Added use of __rtems__ rather than LINUX for RTEMS configuration. 1999-10-28 14:50:43 +00:00
Joel Sherrill
bb43e0797f More changes. 1999-10-28 14:07:54 +00:00
Joel Sherrill
c8b35b1b9b Notes on what to do when merging a BSP. 1999-10-28 13:36:26 +00:00
Joel Sherrill
45544f0d01 Patch from Aleksey (Quality Quorum <qqi@world.std.com>) to
increase ease of application configuration of the pc386 BSP.  This
patch allows switching the printk console to a serial port and
overriding bsp_start by making it a weak alias.
1999-10-27 20:50:57 +00:00
Joel Sherrill
e4487b6cd8 Modified to properly descend into the dummy directory. 1999-10-27 20:21:33 +00:00
Joel Sherrill
0f75a13ce8 Fixed typo. 1999-10-27 20:09:39 +00:00
Joel Sherrill
b07e06a1bc New files from Ralf Corsepius <corsepiu@faw.uni-ulm.de> which
are a dummy for linking programs together when you are primarily
concerned with tricking another package into building.

This may grow into something which could help link programs on
the command line by having a default start sequence.
1999-10-27 19:35:36 +00:00
Joel Sherrill
3abbfdb40f Added $(EXEEXT) in attempt to help Cygwin install process. 1999-10-27 19:27:05 +00:00
Joel Sherrill
10eb06e80d Updated. 1999-10-27 19:25:43 +00:00
Joel Sherrill
226ea52ba8 Updated to be more like cvme961.cfg. 1999-10-27 19:24:26 +00:00
Joel Sherrill
4b42e2003a Latest version from Ralf Corsepius <corsepiu@faw.uni-ulm.de> which
splits gcc, gcj, chill, f77 and objc into separate rpms..
1999-10-27 19:07:56 +00:00
Joel Sherrill
2bdc1e985f Last cleanup to attempt to link. 1999-10-27 18:54:14 +00:00
Joel Sherrill
ae7325bdc8 rxgen960 now compiles -- may not link. 1999-10-27 17:25:53 +00:00
Joel Sherrill
2ea8df3beb Added CVS Ids and a basic header. More header cleanup needed. 1999-10-27 16:27:34 +00:00
Joel Sherrill
f08a559655 Removed systbl.S save_systbl.c. They were unnecessary. 1999-10-27 16:26:00 +00:00
Joel Sherrill
8ac421361f Removed sctns.S. This file was obviously the output of the compiler. 1999-10-27 16:21:49 +00:00
Joel Sherrill
919822f961 Replaced Makefile.in's with modified copies of cvme961 to get
autoconf/automake changes.
1999-10-27 16:19:24 +00:00
Joel Sherrill
d73a8649ed Moved timerisr.s to timerisr.S per GNU conventions. 1999-10-27 15:58:26 +00:00
Joel Sherrill
ce644256cf Moved systbl.s to systbl.S per GNU conventions. 1999-10-27 15:57:20 +00:00
Joel Sherrill
5ee66dae7b Moved sctns.s to sctns.S per GNU conventions. 1999-10-27 15:57:19 +00:00
Joel Sherrill
bf71be9e87 Moved rxgen_romld.s to rxgen_romld.S per GNU conventions. 1999-10-27 15:57:17 +00:00
Joel Sherrill
478c4b80c8 Moved ihandler.s to ihandler.S per GNU conventions. 1999-10-27 15:57:16 +00:00
Joel Sherrill
49b8c26e40 Moved asmstub.s to asmstub.S per GNU conventions. 1999-10-27 15:57:15 +00:00
Joel Sherrill
eb7f0f220a Moved asmfault.s to asmfault.S per GNU conventions. 1999-10-27 15:57:14 +00:00
Joel Sherrill
702c5f5b42 The rxgen960 BSP and i960 RPM support was submitted by Mark Bronson
<mark@ramix.com> of RAMIX.
1999-10-27 15:29:18 +00:00
Joel Sherrill
090b1c371b First attempt at icluding Eric Valette and Emmanuel Raguet. 1999-10-27 15:11:37 +00:00
Joel Sherrill
3f4b575df0 Warnings removed. Still don't know what to do about the pragma
pack warnings in uemf.h.
1999-10-27 13:58:58 +00:00
Joel Sherrill
c1cdaa0ce8 Patch from Emmanuel Raguet <raguet@crf.canon.fr> and Eric Valette
<valette@crf.canon.fr> to add a port of the GoAhead web server
(httpd) to the RTEMS build tree.  They have successfully used
this BSP on i386/pc386 and PowerPC/mcp750.

Mark and Joel spoke with Nick Berliner <nickb@goahead.com> on
26 Oct 1999 about this port and got verbal approval to include
it in RTEMS distributions.
1999-10-27 12:50:33 +00:00
Joel Sherrill
79991746da New files created by split of old imfs_handlers.c. 1999-10-26 21:51:20 +00:00
Joel Sherrill
2fe47fff06 Added include of libio.h so this would compile when posix is disabled. 1999-10-26 21:51:07 +00:00
Joel Sherrill
7ee88c1695 Split console_reserve_resources to separate file to reduce
code size.
1999-10-26 20:30:20 +00:00
Joel Sherrill
657e1bf66b Added initial cut at miniIMFS which leaves out memfile and directory
readdir support.  The next step is to add a mount table and configure
either the miniIMFS or the full IMFS at the application level.
1999-10-26 20:17:13 +00:00
Joel Sherrill
e54a7d33d2 Patch from Gerwin Pfab <pb@schenk.isar.de> to leave dispatching
disabled on exit to ISR Thread dispatching.  This allows a
context switch to finish under high high interrupt rates.
1999-10-26 16:22:55 +00:00
Jennifer Averett
10c1befe7e Added information on the evaluate and evaluate for make routines.
Added details on how generic code starts the pathevaluation process.
1999-10-26 15:42:10 +00:00
Joel Sherrill
66a8c6f708 Patch from Emmanuel Raguet <raguet@crf.canon.fr> to fix a small bug where
the receive buffer size was 16 bytes too small.
1999-10-26 15:21:01 +00:00
Jennifer Averett
704f3a8c45 Corrected spacing problem. 1999-10-26 14:53:49 +00:00
Joel Sherrill
9a986282df Increased minimum stack size to ensure that there are no problems
running the network stack.
1999-10-26 14:39:57 +00:00
Joel Sherrill
cb50837d9d Patch from Emmanuel Raguet <raguet@crf.canon.fr> to add missing file
reference to the Makefile.
1999-10-26 14:29:53 +00:00
Joel Sherrill
65a60cd427 Removed all references to HOST_ARCH including the file gcc.cfg.in. All
host programs are now compiled with automake generated rules.  This was
done after discussions with Ralf Corsepius and Eric Norum.
1999-10-26 14:22:55 +00:00
Joel Sherrill
2782e69ff0 idir=/opt/tmp/opt/rtems
rdir=/opt/rtems

cd $idir
find . -type f | while read file
do
  if [ ! -f ${file} ] ; then
     echo ${file} missing
  fi
done
1999-10-26 12:39:24 +00:00
Joel Sherrill
a94521ccc7 cat /tmp/j | while read f
do
  rpm -qi $f 2>&1 | grep -v "is not ins"
done
1999-10-26 12:37:14 +00:00
Joel Sherrill
5f78061bdf Removing automatically generated files. 1999-10-26 12:31:48 +00:00
Joel Sherrill
1da921e1e0 Removed generated file. 1999-10-26 12:31:00 +00:00
Joel Sherrill
511a12c672 New versions for gcc and patch. 1999-10-26 12:29:36 +00:00
Joel Sherrill
dd04e32a80 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to move
c/src/lib/libmisc to c/src/libmisc.
1999-10-26 02:58:06 +00:00
Joel Sherrill
3f06778ed8 cat /tmp/j | while read f
do
  rpm -qi $f 2>&1 | grep -v "is not ins"
done
1999-10-26 02:49:21 +00:00
Joel Sherrill
3330ecb836 Patch rtems-rc-19991011-0.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
fixes a minor configuration bug.
1999-10-26 02:45:04 +00:00
Joel Sherrill
85cb0e5f33 Regenerated 1999-10-26 02:35:51 +00:00
Joel Sherrill
2ca64b55ea New ideas on test incorporated. 1999-10-26 02:32:47 +00:00
Joel Sherrill
99826740e2 Modifications from Erik Ivanenko <erik.ivanenko@utoronto.ca> to add
proper Multiboot signature to pc386 BSP.  This enables Grub to
recognize the image.
1999-10-26 01:35:36 +00:00
Joel Sherrill
f70598c7b7 Patch from Erik Ivanenko <erik.ivanenko@utoronto.ca> to fix some
reported bugs in the start code.
1999-10-26 01:34:42 +00:00
Joel Sherrill
3a0a97a544 Fixed line too long problems. 1999-10-25 19:48:42 +00:00
Joel Sherrill
7ef86b39e9 Updated copyright year and corrected image path. 1999-10-25 19:48:07 +00:00
Joel Sherrill
c8c14c43ea Updated copyright year. 1999-10-25 19:47:48 +00:00
Joel Sherrill
213c518bd1 Patch generated from scripts-19991025-0.tar.gz from
Ralf Corsepius <corsepiu@faw.uni-ulm.de>:

  Most significant changes:

    * Names for rpms changed again
    * gccnewlib.rpm split into 3 rpms, one for chill, gcj, gcc (includes
      c/c++/f77/objc), simultaneously built from a common *.spec.
    * small patches with major impact to gcc and newlib (Those fixes
      mentioned to Ian, ie. libobjc/libchill are built, multilibing works)
    * gcc patch against gcc-2.95.2 (Should also apply to gcc-2.95.1 without
      major problems)
    * Buildroot removed from */*spec.in
    * New: rpm Group: "rtems" (rpm -q -g rtems reports all RTEMS packages)
1999-10-25 19:35:56 +00:00
Joel Sherrill
c302d7a390 Regnenerated following update from Ralf. 1999-10-25 19:33:54 +00:00
Joel Sherrill
9ec462aa50 Fixing many lines that are too long to format cleanly. 1999-10-25 18:02:33 +00:00
Jennifer Averett
86437ec02a Added descriptions of the mount table entry elements. 1999-10-25 17:42:51 +00:00
Charles Phillips
6a27e0829a Modified url references to be dynamic links. 1999-10-25 17:42:49 +00:00
Charles Phillips
c3cc0eee6a Added definition of DDD. Modified url references to be
dynamic links.
1999-10-25 17:41:56 +00:00
Jennifer Averett
c3ffd24476 + Filled in information on IMFS_freenod and IMFS_freenodinfo
+ Filled in information on the imfs_fsunmount and imfs_unmount methods.
1999-10-25 17:41:33 +00:00
Jennifer Averett
55f5c1ea88 + Cleaned up lines that were too long.
+ Removed subheading File - This is not valid for the callback descriptions.
+ Filled in information on freenod
1999-10-25 17:41:03 +00:00
Joel Sherrill
ee0702ef5e Fixing many lines that are too long to format cleanly. 1999-10-25 17:37:19 +00:00
Jennifer Averett
0d01c94b24 Added information on how the directory is stored for future referance
during a mount.
1999-10-25 17:33:01 +00:00
Joel Sherrill
5a69fe3be0 Formatting improvements. 1999-10-25 16:36:50 +00:00
Joel Sherrill
90d02e9973 Enabled Ada95 interrupt support chapter and reformatted a
bunch of stuff to avoid line wrappings.
1999-10-25 16:32:13 +00:00
Joel Sherrill
8379ada798 Patch from Eric Norum <eric@cls.usask.ca> to address the following problem
report from Philip A. Prindeville <philipp@zembu.com>:

        I was working on a device driver for a certain ethernet chipset that
    occassionally wraps in its buffer, and causes a resulting mbuf chain
    with only a few dozen bytes in the first mbuf of the chain.

        I wouldn't have thought this would be a problem, until I ran some
    stress tests that flooded the ethernet receiver with packets and
    started to get panics here:

       250
       251          if (m->m_pkthdr.len < sizeof(struct ip))
       252                  goto tooshort;
       253
       254  #ifdef  DIAGNOSTIC
       255          if (m->m_len < sizeof(struct ip))
       256                  panic("ipintr mbuf too short");
       257  #endif
       258
       259          if (m->m_len < sizeof (struct ip) &&
       260              (m = m_pullup(m, sizeof (struct ip))) == 0) {
       261                  ipstat.ips_toosmall++;
       262                  return;
       263          }
       264          ip = mtod(m, struct ip *);

    and the panic was at line 256.  But if I #undef'd DIAGNOSTICS,
    then the m_pullup() at line 260 does the right thing and the packet
    ends up being processed just fine.

    So I started wondering, (a) why was the test checking for
    something that apparently wasn't a fatal condition but rather
    one that is subsequently recovered from a couple of lines later
    and (b) why panic as a diagnostic "aid" from a recoverable
    condition rather than just (say) log a message to the console?

    All of this seems overly severe for no reason that is readily
    apparent to me.
1999-10-25 16:09:45 +00:00
Joel Sherrill
b6c868e445 Patch from Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
to initialize the pthread cancellation fields.  This is a patch to
_POSIX_Threads_Create_extension that fixes the problem.
1999-10-25 16:05:34 +00:00
Joel Sherrill
4e69f5b79e Added notes for new test. 1999-10-25 15:55:58 +00:00
Charles Phillips
c58674c527 Made html links browsable. 1999-10-25 14:57:37 +00:00
Joel Sherrill
3eb75db389 tch from Eric Valette <valette@crf.canon.fr> and Emmanuel Raguet
<raguet@crf.canon.fr> to fix bugs and make the mcp750 boot
RTEMS running the GoAhead web server.
1999-10-25 14:52:19 +00:00
Charles Phillips
bf61f22585 Made urls browsable links. 1999-10-25 14:52:07 +00:00
Charles Phillips
4af77b033e Made html urls browsable links. 1999-10-25 14:51:32 +00:00
Charles Phillips
9cc603ff09 Made html urls browable links. Updated the reference to the
U.S. Army Missile Command to show the merger with the Aviation
Command
1999-10-25 14:48:15 +00:00
Joel Sherrill
1e57186135 Patch from Eric Valette <valette@crf.canon.fr> and Emmanuel Raguet
<raguet@crf.canon.fr> to use a local variable.
1999-10-25 14:46:56 +00:00
Jennifer Averett
04df848c65 Added code to correctly free any allocated space during the evaluation
process.
1999-10-25 14:23:03 +00:00
Joel Sherrill
72d3f610f4 Merged scripts-19991022-0 changes from Ralf. 1999-10-25 14:15:09 +00:00
Joel Sherrill
43d3a8ecec Changed to use interrupt driven console. 1999-10-25 14:14:36 +00:00
Joel Sherrill
1232196a7b Added sp26 which tests the rtems_task_is_suspended directive. 1999-10-25 14:14:07 +00:00
Joel Sherrill
9060699364 Modified to ease comparison of screen to target output. 1999-10-25 14:13:14 +00:00
Joel Sherrill
482960380d Modified to reflect test change where reinitialize mutex test case was
removed.
1999-10-25 14:11:12 +00:00
Joel Sherrill
524767cbfe Removed reinitialize mutex test case to reflect earlier code change in
the executive.
1999-10-25 14:10:38 +00:00
Joel Sherrill
c774a07e88 Changed leading spaces to periods to ease comparing test output. 1999-10-25 14:09:46 +00:00
Joel Sherrill
538db54642 Modified to produce correct output with new version of sis. 1999-10-25 14:09:13 +00:00
Joel Sherrill
461caa5c06 Swapped SO_SNDWAKEUP and SO_RCVWAKEUP in many places since they were
backwards.
1999-10-25 13:45:10 +00:00
Joel Sherrill
666e377ba8 Changed version number. 1999-10-25 12:29:38 +00:00
Joel Sherrill
61a4d8116a Removed warning. 1999-10-21 19:36:29 +00:00
Joel Sherrill
ac5a9bf122 Now builds RPM without complete source. Each target is only 15K. 1999-10-21 19:25:19 +00:00
Joel Sherrill
7063e223dc Made the RTEMS version get substituted properly even though it is
not right yet.

Now can specify rpm_build_root via setup.
1999-10-21 17:22:02 +00:00
Joel Sherrill
f4a5803e44 Now can specify rpm_build_root via setup.
Changed package name so generated RPM would have a nicer name.
1999-10-21 17:21:05 +00:00
Joel Sherrill
d013d05f92 Increased stack size of initialization thread. 1999-10-21 16:48:06 +00:00
Joel Sherrill
e7264f070e Added rtems_semaphore_flush directive. 1999-10-21 16:44:24 +00:00
Joel Sherrill
9583f6eacc Renamed CONFIGURE_POSIX_INIT_TASK_STACK_SIZE to
CONFIGURE_POSIX_INIT_THREAD_STACK_SIZE because in POSIX they are threads.
1999-10-21 16:41:59 +00:00
Joel Sherrill
812f440589 Fixed core dump caused when output parameter (otimer) was NULL. 1999-10-21 16:38:49 +00:00
Joel Sherrill
3953765718 Added sh-rtemself and m68k-rtemself. 1999-10-21 16:15:54 +00:00
Joel Sherrill
43e7d103a0 Changes from Ralf with script-19991021-0. He fixed the %files
issue and has mkbspspec in a better state.  user.cfg is now
gone.

There are some miscellaneous changes to buildall done by Joel
to clean up the build process.
1999-10-21 15:59:54 +00:00
Joel Sherrill
8f2cf93145 Added Semaphore_Flush. 1999-10-21 14:49:24 +00:00
Joel Sherrill
98e6eb8ddd Shipping this all to Ralf. 1999-10-21 05:07:17 +00:00
Joel Sherrill
e39431b75f Added prototype for rtems_task_is_suspended at request of
Eric Norum.
1999-10-20 20:33:02 +00:00
Joel Sherrill
2f23359df0 Moved stuff to rtems subdirectory and made sure the system still
functioned.
1999-10-20 20:23:18 +00:00
Joel Sherrill
6e608c4373 Moved stuff to rtems subdirectory and made sure the system still
functioned.

Merged Ralf's changes into gccnewlib.spec.in.
1999-10-20 20:23:16 +00:00
Joel Sherrill
e171450667 New file. 1999-10-20 20:22:13 +00:00
Joel Sherrill
431c35dccb Miscellaneous improvements and cleanups committed so I can merge
Ralf's end of day version.
1999-10-20 19:59:01 +00:00
Joel Sherrill
c429ec8049 Moved rtems specific files into here. 1999-10-20 19:54:55 +00:00
Joel Sherrill
0f242f5f9a Moving things to an rtems subdirectory like the other tools. 1999-10-20 19:54:36 +00:00
Joel Sherrill
d35e532bb3 New file. 1999-10-20 19:51:57 +00:00
Joel Sherrill
e46cd61162 Added RPM release numbers. 1999-10-20 16:57:50 +00:00
Joel Sherrill
e4b4a7713f Generated files removed. 1999-10-20 16:23:32 +00:00
Joel Sherrill
c5fc4a0b1e Obsoleted. 1999-10-20 16:15:20 +00:00
Joel Sherrill
bde7346108 Obsoleted as they were distributed to subdirectories. 1999-10-20 16:14:54 +00:00
Joel Sherrill
8ace612ede Made this more binutils like. :) 1999-10-20 15:55:45 +00:00
Joel Sherrill
1f339c247f New file. 1999-10-20 15:50:27 +00:00
Joel Sherrill
c4d1d41caf New files. 1999-10-20 15:50:13 +00:00
Joel Sherrill
180501501e Adding the infrastructure for gdb. 1999-10-20 15:49:13 +00:00
Joel Sherrill
36b6704eab Corrected typo. 1999-10-20 15:31:15 +00:00
Joel Sherrill
5f7b1180c0 Restored joel's changes after merging old version from Ralf. 1999-10-20 15:29:35 +00:00
Joel Sherrill
10629f7435 New version from Ralf. 1999-10-20 15:29:12 +00:00
Joel Sherrill
1410dc36c7 Committing changes before Ralf's changed. 1999-10-20 15:21:11 +00:00
Joel Sherrill
7815d96560 Left to build overnight. 1999-10-19 22:27:13 +00:00
Joel Sherrill
c937033eaf Made it easier to change version numbers. 1999-10-19 22:10:08 +00:00
Joel Sherrill
38118d35ec Now easier to modify version numbers in scripts. 1999-10-19 22:07:21 +00:00
Joel Sherrill
ab25407ccc Easier to insert tool version number. 1999-10-19 22:02:39 +00:00
Joel Sherrill
c5b8d6d332 Making sparc-rtems rpms available. 1999-10-18 21:40:05 +00:00
Joel Sherrill
8c5e54b1af Working on being able to cut RPMs. It now appears that the process
is working mostly for sparc at least.

There is one major problem -- the current process generates a unique
source file per RPM when in fact all of the source files are nearly
the same -- it is only the spec part of the rpm which differs.
The new file mkbinutils_subpackage_version is an attempt to
address this.  It does part of the job right -- one source file
produces multiple binary RPMs.  BUT the end user can not produce
the resulting RPMS themselves from SRPMS unless they also
build all targets.
1999-10-18 19:10:03 +00:00
Joel Sherrill
18408afbc7 Ralf Corsepius (corsepiu@faw.uni-ulm.de) submitted these scripts to
help build RPMs.
1999-10-15 14:11:02 +00:00
Joel Sherrill
de0711ecbe Reorganized a lot per Jennifer's suggestions. 1999-10-13 19:48:17 +00:00
Joel Sherrill
22cbb9ce6b Updated copyright date. 1999-10-13 19:47:55 +00:00
Joel Sherrill
51d6d9ecfb More manuals and a little reorganization. 1999-10-13 17:31:47 +00:00
Joel Sherrill
fb02e4c4d6 First commit of miscellaneous tools and documentation for a procedure
that can be used to produce an online bookshelf of the GNU tools.
1999-10-13 17:30:50 +00:00
Joel Sherrill
7441fe2c5b Made many changes to turn the outline into something more like a manual
and less like a collection of notes.
1999-10-12 21:54:40 +00:00
Joel Sherrill
482ffbb27d Dispersed. 1999-10-12 21:52:11 +00:00
Joel Sherrill
87c2f9ce99 Dispersed. 1999-10-12 21:44:38 +00:00
Joel Sherrill
360e9844e8 Dispersed. 1999-10-12 21:36:46 +00:00
Joel Sherrill
a0e265bff4 New file. 1999-10-12 20:41:30 +00:00
Joel Sherrill
a6883c4eb9 Spacing. 1999-10-12 20:22:27 +00:00
Joel Sherrill
51435fc7c5 Split null handlers table to own file and renamed.
Renamed IMFS handler tables to include IMFS prefix.
1999-10-12 19:26:37 +00:00
Joel Sherrill
dd0f32614c Added rtems_filesystem_freenode() macro and added calls at appropriate
places to make sure memory allocated for filesystem specifif nodes
gets freed.
1999-10-12 19:10:46 +00:00
Joel Sherrill
e2116f9003 Fixed spacing. 1999-10-12 19:09:27 +00:00
Joel Sherrill
578a415014 Corrected mistakes in the IMFS file handlers table and added the missing
routine imfs_fcntl.c
1999-10-12 19:08:55 +00:00
Joel Sherrill
d71fcabaa6 Added call to freenod to let each filesystem free its own internal
node used to manage file access.
1999-10-12 18:44:40 +00:00
Joel Sherrill
cb5056b387 Changed bcopy to strncpy to stick to ANSI/ISO routines. 1999-10-12 18:44:05 +00:00
Joel Sherrill
2b9f1f5d9a Fixed random cut and paste problem. 1999-10-11 21:47:19 +00:00
Joel Sherrill
2ec1156373 Added files generated by index process to clean stanza. 1999-10-11 21:33:42 +00:00
Joel Sherrill
7ff8051558 Changed link for bad PDF files to BAD.html. 1999-10-11 21:30:43 +00:00
Joel Sherrill
039c2c7cea Changed version information. 1999-10-11 21:30:08 +00:00
Joel Sherrill
fffdecae07 Changed release information. 1999-10-11 21:29:56 +00:00
Joel Sherrill
681e7d5492 New files. 1999-10-11 21:29:44 +00:00
Joel Sherrill
7345b9037f New file. 1999-10-11 21:29:17 +00:00
Joel Sherrill
92abaa00ce Corrected spacing. 1999-10-11 21:25:42 +00:00
Joel Sherrill
09d378103e Added support for @appendix and @preface. 1999-10-11 21:25:21 +00:00
Joel Sherrill
387ebcef03 Corrected bullet with @bullet. 1999-10-11 21:25:07 +00:00
Joel Sherrill
7479042a59 Generated concept and function index entries. 1999-10-11 21:24:38 +00:00
Joel Sherrill
94bc52c36c Added descriptions. 1999-10-11 21:08:33 +00:00
Joel Sherrill
652991d7aa Updated to incldue descriptions and reformatted to wrap lines better. 1999-10-11 20:58:54 +00:00
Joel Sherrill
a7a33cc38e Added descriptions of routines to section headings. 1999-10-11 20:45:18 +00:00
Joel Sherrill
a518cc11e1 Added descriptions. 1999-10-11 20:24:37 +00:00
Joel Sherrill
ffce9b39ea More cleanup. 1999-10-11 20:10:03 +00:00
Joel Sherrill
c021a74cff Enabled index generation. 1999-10-11 20:09:34 +00:00
Joel Sherrill
f96d62caff Cleaned up to install dvi, use native texi2dvi, etc.. 1999-10-11 20:00:09 +00:00
Joel Sherrill
4f1afc4620 Added filesystem design guide and scaling directives for the images. 1999-10-11 19:57:16 +00:00
Joel Sherrill
a24aed4236 Added filesystem design guide. 1999-10-11 19:56:50 +00:00
Joel Sherrill
1e28cc90ae Install all of the gif's in the common directory. 1999-10-11 19:56:31 +00:00
Joel Sherrill
ea7e861817 Changed install point and cleaned up. 1999-10-11 19:56:12 +00:00
Joel Sherrill
3d7e924068 Now build. 1999-10-11 19:51:56 +00:00
Joel Sherrill
d4e2e54b7a Added enough to let script find that this does not have descriptions. 1999-10-11 19:45:41 +00:00
Joel Sherrill
24dab099c7 changed version to 19991011 1999-10-11 19:16:47 +00:00
Joel Sherrill
e10b88b026 Make sure directories are made before installing and install html,
pdf, ps, and dvi into the html directory so they all can be browsed.
1999-10-11 19:12:04 +00:00
Joel Sherrill
af31f3a50b changed version to 19991011 1999-10-11 19:04:19 +00:00
Joel Sherrill
169502ea55 Turned on concept and function name indexing. 1999-10-11 19:03:05 +00:00
Joel Sherrill
0de83594a6 Fixed variable reference for RTEMS-RELEASE. 1999-10-11 18:42:09 +00:00
Joel Sherrill
c1b12e6a41 Moved RTEMS error and association from libmisc to libc support to
avoid cyclic dependencies generated when moving packages to the
top level.
1999-10-11 18:31:48 +00:00
Joel Sherrill
aba4025032 Removed targets and configurations that are no longer functional
and not likely to become so.  Comments on each configuration
are below.

  + Force CPU386 - This BSP was developed as part of the initial
    port of RTEMS to the i386.  This board has been unavailable
    for a long time now.

  + GO32 - This BSP and some CPU code supported djgpp v1.x.  This
    version is now quite old.  No one has stepped forward to
    update the code to v2.x which may be technically impossible
    anyway.  More importantly, go32 has been superceded by the pc386 BSP.
1999-10-11 16:12:05 +00:00
Joel Sherrill
78ffe896ec Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
Removed all go32 configuration tests.

  This patch also comments out some special treatment for Cygwin from
  *.m4 macros. According to reports from David Fiddes. these should
  not be necessary anymore.
1999-10-11 15:50:20 +00:00
Joel Sherrill
87fad5c200 Added as part of moving librdbg to its own top level package. This was
done as part of a patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
1999-10-11 15:39:24 +00:00
Joel Sherrill
45269dc902 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to move librdbg
to its own top level package.
1999-10-11 15:34:26 +00:00
Joel Sherrill
8ab864601e Switched to the C++ front end to gcc to link. This still did not
work.
1999-10-11 15:30:49 +00:00
Joel Sherrill
f58f0b45fc Now compiles for coff and elf. 1999-10-11 15:28:04 +00:00
Joel Sherrill
3fd73d16ee Added file system guide.
Corrected link to supplements.
1999-10-11 15:23:42 +00:00
Joel Sherrill
37fb1c8160 Cleanup. 1999-10-11 14:53:30 +00:00
Joel Sherrill
196b3c901a First cut at complete document under CVS and texinfo. 1999-10-11 13:50:27 +00:00
Joel Sherrill
daf1622edd New files. 1999-10-11 13:50:13 +00:00
Joel Sherrill
44e43e7628 Added filesystem implementation notes chapter. 1999-10-08 19:37:01 +00:00
Joel Sherrill
29ed4d593f Added lifecycle chapter. 1999-10-08 18:59:37 +00:00
Joel Sherrill
ee6284c7f3 First cut at merging. 1999-10-08 18:53:20 +00:00
Joel Sherrill
7779ace4bf Another couple of chapters formatting under texinfo. 1999-10-08 18:36:08 +00:00
Joel Sherrill
4d77134923 Added initial version of 3 other chapters. 1999-10-08 18:26:28 +00:00
Joel Sherrill
0486ca5fac Renamed path_eval to patheval 1999-10-08 18:25:04 +00:00
Joel Sherrill
9bc1e52a88 Base versions cut from old document. 1999-10-08 18:11:53 +00:00
Joel Sherrill
0fa66f2af6 Finished initial conversion to texinfo. 1999-10-08 18:11:31 +00:00
Joel Sherrill
64080007c0 Added applayering but did not finish it. 1999-10-07 22:39:16 +00:00
Joel Sherrill
ebd21dc2e2 Filled in descriptions for required fields in CPU Configuration Table. 1999-10-07 22:32:44 +00:00
Joel Sherrill
df4edf29fe Added Base File System chapter. Builds completely. 1999-10-07 22:31:00 +00:00
Joel Sherrill
aa083e49ea Built with preface for info. 1999-10-07 22:07:50 +00:00
Joel Sherrill
0b81ea1827 Remove $(PROJECT).pdf not *.pdf. We were accidentally removing the
pdf version of figures.

Added convert stanza to generate pdf's from eps of figures.
1999-10-07 18:24:16 +00:00
Joel Sherrill
754e4446ab Enhanced to support @email{} as supported in texi2html in texinfo 4.0.
This way we maintain compatibility but continue to use the better,
more flexible tool.
1999-10-07 18:23:40 +00:00
Joel Sherrill
4fa74d8e02 Remove $(PROJECT).pdf not *.pdf. We were accidentally removing the
pdf version of figures.
1999-10-07 18:22:58 +00:00
Joel Sherrill
dd265c056b Remove $(PROJECT).pdf not *.pdf. We were accidentally removing the
pdf version of figures.

Disabled building of pdf for both the C and Ada Getting Started manuals
because texi2pdf can not handle the construct:

@set URL http://www.rtems.com
@uref{@value{URL},@value{URL}}

It will be reenabled as soon as this problem is fixed.
1999-10-07 18:22:24 +00:00
Joel Sherrill
edc15e3bb3 Switched back to jpg for networkflow because netscape 4.71 for linux
did not display the png properly.
1999-10-07 18:20:43 +00:00
Joel Sherrill
0749353c8b Regenerated. 1999-10-07 18:20:02 +00:00
Joel Sherrill
fa8c6edb63 Enabled table of contents generation so the left hand side of the PDF
viewer can have section headings.
1999-10-07 18:17:36 +00:00
Joel Sherrill
154f0a3744 Now includes figures. 1999-10-07 18:16:13 +00:00
Joel Sherrill
f1219351df Updated. 1999-10-07 18:15:48 +00:00
Joel Sherrill
d840f8af53 COpy the images to the html install point.
Added stanza to generate pdf files from eps ones.
1999-10-07 18:15:17 +00:00
Joel Sherrill
90929cb463 Copy figures from user guide directory so they can be included in the
generated document.

User $(PROJECT) instead of ada_user
1999-10-07 18:12:33 +00:00
Joel Sherrill
6b5787c35e Remove $(PROJECT).pdf not *.pdf. We were accidentally removing the
pdf version of figures.
1999-10-07 18:11:23 +00:00
Joel Sherrill
f4a0cc9362 Added Porting Guide to documentation set. 1999-10-07 18:10:09 +00:00
Joel Sherrill
8c5b92f688 Enabled building pdf. 1999-10-07 18:09:40 +00:00
Joel Sherrill
a31810384f Changed install point to /usr1/rtems/tmp. 1999-10-07 18:09:31 +00:00
Joel Sherrill
0a91511fb9 Renamed and generated pdf. 1999-10-07 18:08:16 +00:00
Joel Sherrill
235be7f045 New file -- converted from networkflow.eps 1999-10-07 17:04:19 +00:00
Joel Sherrill
643ecabbb8 New files. 1999-10-07 16:52:16 +00:00
Joel Sherrill
4a4efb5fde New directive added -- rtems_task_is_suspended. 1999-10-07 16:26:31 +00:00
Joel Sherrill
5ad8673727 Added rtems_task_is_suspended. 1999-10-07 16:26:13 +00:00
Joel Sherrill
b9e4815374 Cleaned up use of $(PROJECT) instead of hard-coding c_user.
Added rule to convert rtemspie.eps to .pdf.
1999-10-07 16:25:58 +00:00
Joel Sherrill
1e3e81fdb6 Added Is_Suspended method. 1999-10-07 16:17:41 +00:00
Joel Sherrill
4267b4bfd5 Removed targets and configurations that are no longer functional
and not likely to become so.  Comments on each configuration
are below.

  + Force CPU386 - This BSP was developed as part of the initial
    port of RTEMS to the i386.  This board has been unavailable
    for a long time now.

  + GO32 - This BSP and some CPU code supported djgpp v1.x.  This
    version is now quite old.  No one has stepped forward to
    update the code to v2.x which may be technically impossible
    anyway.  More importantly, go32 has been superceded by the pc386 BSP.
1999-10-06 21:15:21 +00:00
Joel Sherrill
ddaa60fd86 New file. 1999-10-06 21:08:14 +00:00
Joel Sherrill
1f350ef94d Removed aclocal.m4 generated from aclocal macros 1999-10-06 20:54:06 +00:00
Joel Sherrill
54eccb1ae9 Removed configure generated from configure.in 1999-10-06 20:52:34 +00:00
Joel Sherrill
1b8212423d Modified to avoid conflicts on definitions of malloc. newlib 1.8.2
now prototypes the malloc family in stdlib.h.  This causes conflicts
with the way the network stack overrides the definitions of malloc.
As best I (being Joel) can tell, commenting stdlib.h out keeps the
files compiling and referencing the desired malloc/free but results
in more warnings.
1999-10-06 20:37:26 +00:00
Joel Sherrill
3adc848dbe Modified to explicitly list all files as part of C_PIECES. 1999-10-06 20:34:55 +00:00
Joel Sherrill
d597bfb20d Added Porting Guide. 1999-10-06 20:08:49 +00:00
Joel Sherrill
54951241af Added portability write up from paper from France in 1997 as starting
point for portability discussion.
1999-10-06 20:08:34 +00:00
Joel Sherrill
9d7b376649 Added copyrights and CVS Ids. 1999-10-06 19:54:41 +00:00
Joel Sherrill
f84490b190 Now builds with full links. 1999-10-06 19:54:04 +00:00
Joel Sherrill
23ba9e5a1b Now builds successfully. 1999-10-06 19:46:14 +00:00
Joel Sherrill
4dbc38cba3 Renamed preface.t to preface.texi since it has no automatically
generated information.  Also added CVS Id and Copyright notice.
1999-10-06 19:44:09 +00:00
Joel Sherrill
33cd2d43a1 New manual. First version to CVS. Just starting to see if it builds. 1999-10-06 19:36:28 +00:00
Joel Sherrill
b9fcbd0fc8 Added $(LINK_LIBS) to linking gcc command so paranoia would link. 1999-10-06 18:09:11 +00:00
Joel Sherrill
252930563d Corrected build order so it was not as dependent on the mpc750 check. 1999-10-06 18:07:56 +00:00
Joel Sherrill
add0545d82 Added sections as required by C++ and ELF. 1999-10-06 18:05:39 +00:00
Joel Sherrill
01c36de4f2 Added more sections and made minor modifications to let the linkcmds
work with m68k-elf on late model versions of binutils (990901+)
without overlapping or missing section errors.
1999-10-06 18:04:34 +00:00
Joel Sherrill
f5e5de9f11 Added convert stanza to generate pdf version of figures from eps. 1999-10-06 17:59:56 +00:00
Joel Sherrill
a446d4554d Disabled building PDF by default. 1999-10-06 17:59:37 +00:00
Joel Sherrill
13fb3051d7 Enabled images. They appear to work ok for PostScript but not as well
for PDF -- at least according to ghostview.
1999-10-06 17:50:07 +00:00
Joel Sherrill
defc332baf Enabled images. Works pretty well for PostScript. Ghostview does
not like the generated pdf but who knows what that really means.
1999-10-06 17:48:01 +00:00
Joel Sherrill
74c2266de5 Renamed seq_init.jpg to seqinit.jpg. 1999-10-06 17:03:35 +00:00
Joel Sherrill
d26e89a2e7 Renamed seq_init.eps to seqinit.eps. 1999-10-06 17:03:34 +00:00
Joel Sherrill
0c78233ff5 Renamed seq_detach.jpg to seqdetach.jpg. 1999-10-06 17:03:33 +00:00
Joel Sherrill
b40b8ba6fe Renamed seq_detach.eps to seqdetach.eps. 1999-10-06 17:03:32 +00:00
Joel Sherrill
81ec57b96d Renamed seq_break.jpg to seqbreak.jpg. 1999-10-06 17:03:31 +00:00
Joel Sherrill
5967becca3 Renamed seq_break.eps to seqbreak.eps. 1999-10-06 17:03:30 +00:00
Joel Sherrill
30cd82f8d9 Renamed seg_init to seq_init. 1999-10-06 17:00:29 +00:00
Joel Sherrill
3a81fa153e Renamed networking figure to networkflow and added PCIreg.pdf. 1999-10-06 16:55:23 +00:00
Joel Sherrill
7a1a68c45e Turned this image back off because it works for PS but not PDF. 1999-10-06 16:52:17 +00:00
Joel Sherrill
5a09589f8b Changing names to avoid the name of the document. 1999-10-06 16:39:51 +00:00
Joel Sherrill
dbba80a9fb Enabled PCI register figure and renamed them to avoid _ in name to avoid
tool problems.
1999-10-06 16:38:02 +00:00
Joel Sherrill
5d2f192276 Added multiple formats of the image so we can use the @image command. 1999-10-06 15:52:32 +00:00
Joel Sherrill
e070a9db4b Corrected a typo. 1999-10-06 15:52:13 +00:00
Joel Sherrill
e01c706bcd Fixed spelling error (FAMILLY --> FAMILY). 1999-10-06 13:41:30 +00:00
Joel Sherrill
235d9e0ed0 Invalid value used for baud rate per bug report from
Jay Kulpinski <jskulpin@eng01.gdds.com>.
1999-10-05 20:59:53 +00:00
Joel Sherrill
2ccdc399fd Removed targets and configurations that are no longer functional
and not likely to become so.  Comments on each configuration
are below.

  + Force CPU386 - This BSP was developed as part of the initial
    port of RTEMS to the i386.  This board has been unavailable
    for a long time now.

  + GO32 - This BSP and some CPU code supported djgpp v1.x.  This
    version is now quite old.  No one has stepped forward to
    update the code to v2.x which may be technically impossible
    anyway.  More importantly, go32 has been superceded by the pc386 BSP.
1999-10-05 19:22:15 +00:00
Joel Sherrill
7a81160421 Removed ifdef on go32. 1999-10-05 19:21:54 +00:00
Joel Sherrill
8dd127620b Removed go32 ifdefs 1999-10-05 19:21:34 +00:00
Joel Sherrill
8eb0f64e44 Added comment with CVS Id. 1999-10-05 19:21:14 +00:00
Joel Sherrill
25ce07e07d Changed bra.s to bra.l to remove error with new version of binutils. 1999-10-05 19:20:27 +00:00
Joel Sherrill
649bcbc124 Changed bra.s to bra.l to correct compilation error triggered by new
version of binutils.
1999-10-05 19:19:13 +00:00
Joel Sherrill
74f3d8fc92 Corrected so sections did not overlap with new version of binutils. 1999-10-05 19:18:14 +00:00
Joel Sherrill
fce982a8c4 Corrected comment. 1999-10-05 19:17:45 +00:00
Joel Sherrill
952b3a2bd5 Added Jay Kulpinski (jskulpin@eng01.gdds.com) for mvme2307 BSP submission. 1999-10-05 19:16:59 +00:00
Joel Sherrill
30f7ff91fc Removed targets and configurations that are no longer functional
and not likely to become so.  Comments on each configuration
are below.

  + Force CPU386 - This BSP was developed as part of the initial
    port of RTEMS to the i386.  This board has been unavailable
    for a long time now.

  + GO32 - This BSP and some CPU code supported djgpp v1.x.  This
    version is now quite old.  No one has stepped forward to
    update the code to v2.x which may be technically impossible
    anyway.  More importantly, go32 has been superceded by the pc386 BSP.
1999-10-05 19:11:57 +00:00
Joel Sherrill
0439dba0ec Removed targets and configurations that are no longer functional
and not likely to become so.  Comments on each configuration
are below.

  + Force CPU386 - This BSP was developed as part of the initial
    port of RTEMS to the i386.  This board has been unavailable
    for a long time now.

  + GO32 - This BSP and some CPU code supported djgpp v1.x.  This
    version is now quite old.  No one has stepped forward to
    update the code to v2.x which may be technically impossible
    anyway.  More importantly, go32 has been superceded by the pc386 BSP.
1999-10-05 19:03:38 +00:00
Joel Sherrill
977623bbb1 Removed targets and configurations that are no longer functional
and not likely to become so.  Comments on each configuration
are below.

  + Force CPU386 - This BSP was developed as part of the initial
    port of RTEMS to the i386.  This board has been unavailable
    for a long time now.

  + GO32 - This BSP and some CPU code supported djgpp v1.x.  This
    version is now quite old.  No one has stepped forward to
    update the code to v2.x which may be technically impossible
    anyway.  More importantly, go32 has been superceded by the pc386 BSP.
1999-10-05 18:39:56 +00:00
Joel Sherrill
b22feedc31 Modified to remove reference to Force CPU386. Actually this was a misnamed
conditional that should have been fixed long ago.
1999-10-05 18:38:04 +00:00
Joel Sherrill
7c9cca11a0 Modified to remove error for overlapping sections now that
gnu.linkonce* sections are included.
1999-10-05 18:34:15 +00:00
Joel Sherrill
0139484fbd Patch from Wayne Bullaughey <wayne@wmi.com>. Comments follow:
I'm working on code to mount my host based file system on the base file
  system (imfs) and have a suggestion for a change to eval.c in the
  c/src/lib/libc directory of the 8/20/1999 snapshot.  The current version
  does not test the result value returned from the evalpath callback (line 47)
  in the case where follow_link is true.  Attached is my suggested change.
  Without this test the node_type callback may be called after evalpath
  failed.  node_type could set the type to some value other then
  RTEMS_FILESYSTEM_HARD_LINK or RTEMS_FILESYSTEM_SYM_LINK but it seems cleaner
  to add the check on result.
1999-10-05 16:34:20 +00:00
Joel Sherrill
6d81ea35e6 Removed targets and configurations that are no longer functional
and not likely to become so.  Comments on each configuration
are below.

  + Force CPU386 - This BSP was developed as part of the initial
    port of RTEMS to the i386.  This board has been unavailable
    for a long time now.

  + GO32 - This BSP and some CPU code supported djgpp v1.x.  This
    version is now quite old.  No one has stepped forward to
    update the code to v2.x which may be technically impossible
    anyway.  More importantly, go32 has been superceded by the pc386 BSP.
1999-10-05 14:20:12 +00:00
Joel Sherrill
1f0a2b89f8 Added wrapup directory. 1999-10-05 14:06:06 +00:00
Joel Sherrill
17978a10c2 Minor corrections to get mvme2307 to compile. 1999-10-05 14:05:30 +00:00
Joel Sherrill
133dcd92c9 Patch from Eric Valette <valette@crf.canon.fr> with two small
fixes related to GDB over TCP/IP debug.
1999-10-05 14:02:57 +00:00
Joel Sherrill
4075af6f55 Regenerated. 1999-10-05 13:49:54 +00:00
Joel Sherrill
d83c39dc36 Bug report and fix from Jay Kulpinski <jskulpin@eng01.gdds.com> where
sigemptyset(&old_mask) needed to be added on glibc2 systems.  Ian
Lance Taylor pointed out that sigemptyset() is portable so Joel removed
all conditionals around calls to sigemptyset().
1999-10-05 13:08:41 +00:00
Joel Sherrill
19ca7978a6 Motorola MVME2307 BSP submitted by Jay Kulpinski <jskulpin@eng01.gdds.com>.
No modifications made.
1999-10-04 20:41:28 +00:00
Joel Sherrill
92b211a4ca The fiels isatty.c and creat.c were copied from newlib/libc/posix to
avoid conflicts.
1999-10-04 19:51:29 +00:00
Joel Sherrill
7d96321834 Modifications necessary to support testing of exitting a pthread from
Charles-Antione Gauthier <charles.gauthier@iit.nrc.ca>.
1999-10-04 19:41:34 +00:00
Joel Sherrill
811804fec8 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to make fix bug
where wrapup left pieces out of the librtemsall.a.
1999-10-04 19:15:14 +00:00
Joel Sherrill
0efa9f01f8 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to make fix bug
where wrapup left pieces out of the librtemsall.a.
1999-10-04 18:53:31 +00:00
Joel Sherrill
cc63e08130 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to make libnetworking
a top level more independently configured package.
1999-10-04 18:40:53 +00:00
Joel Sherrill
5a83ba24bd Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
The patch below actuallly consists of two patches:
1) moving librpc to c/src/librpc similar to what has been done to librtems++
2) reworked configure scripts, many safety and dependency checks added to
aclocal/*.m4 macros + configuration fixes.

To apply:

mkdir c/src/librpc
mkdir c/src/librpc/src
cp c/src/lib/librpc/*.c c/src/librpc/src
cp c/src/lib/librpc/Makefile.in c/src/librpc/src
mkdir c/src/librpc/include
mkdir c/src/librpc/include/rpc
cp c/src/lib/include/rpc/* c/src/librpc/include/rpc
patch -p1 < ../rtems-rc-19990820-7.diff
rm -rf c/src/lib/librpc
rm -rf c/src/lib/include/rpc
./autogen

The additional checks in aclocal/*m4 macros add rather restrictive, sometimes
unnecessarily restrictive constraints on the sequence of how macros can be
used in a configure.in script. Adding them has let my problems with some more
complicated configuration options vanish. Apparently some macros had not been
in the required order .

----

Now I still get some linking errors for some cpus and bsps, esp when linking
cdtest, but also at other locations:

e.g. this happens for mips64orion/p4600:

# make[5]: Entering directory
`/lfs/poseidon/users/rtems/src/multi/build/mips64orion-rtems/c/p4600/tests/samples/hello'

/opt/rtems/bin/mips64orion-rtems-gcc --pipe -B../../../../../../p4600/lib/
-specs bsp_specs -qrtems -DP4000 -DCPU_R4000 -DP3_DIAG -D_R4000 -D__mips=3
-mcpu=4600 -G0   -I../../../../../../p4600/lib/include/networking  -g -Wall
-ansi -fasm  -O4 -fomit-frame-pointer     -o o-p4600/hello.exe
o-p4600/init.o ../../../../../../p4600/lib/no-dpmem.rel
../../../../../../p4600/lib/no-event.rel
../../../../../../p4600/lib/no-msg.rel ../../../../../../p4600/lib/no-mp.rel
../../../../../../p4600/lib/no-part.rel
../../../../../../p4600/lib/no-signal.rel
../../../../../../p4600/lib/no-timer.rel
../../../../../../p4600/lib/no-rtmon.rel
/opt/rtems/mips64orion-rtems/lib/libc.a(dtoa.o): In function `_dtoa_r':
/opt/hermes/embedded/build/build-mips64orion-tools/mips64orion-rtems/newlib/libc/stdlib/../../../../../src/newlib/libc/stdlib/dtoa.c:348: relocation truncated to fit: R_MIPS_LITERAL no symbol
/opt/hermes/embedded/build/build-mips64orion-tools/mips64orion-rtems/newlib/libc/stdlib/../../../../../src/newlib/libc/stdlib/dtoa.c:348: relocation truncated to fit: R_MIPS_LITERAL no symbol
/opt/hermes/embedded/build/build-mips64orion-tools/mips64orion-rtems/newlib/libc/stdlib/../../../../../src/newlib/libc/stdlib/dtoa.c:348: relocation truncated to fit: R_MIPS_LITERAL no symbol
collect2: ld returned 1 exit status

# mips64orion-rtems-gcc -v
Reading specs from /opt/rtems/lib/gcc-lib/mips64orion-rtems/2.95.1/specs
gcc version 2.95.1 19990816 (release)

# mips64orion-rtems-ld -v
GNU ld version 2.9.5 (with BFD 2.9.5)
1999-10-04 18:33:17 +00:00
Joel Sherrill
b62a92c804 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
The patch below actuallly consists of two patches:
1) moving librpc to c/src/librpc similar to what has been done to librtems++
2) reworked configure scripts, many safety and dependency checks added to
aclocal/*.m4 macros + configuration fixes.

To apply:

mkdir c/src/librpc
mkdir c/src/librpc/src
cp c/src/lib/librpc/*.c c/src/librpc/src
cp c/src/lib/librpc/Makefile.in c/src/librpc/src
mkdir c/src/librpc/include
mkdir c/src/librpc/include/rpc
cp c/src/lib/include/rpc/* c/src/librpc/include/rpc
patch -p1 < ../rtems-rc-19990820-7.diff
rm -rf c/src/lib/librpc
rm -rf c/src/lib/include/rpc
./autogen

The additional checks in aclocal/*m4 macros add rather restrictive, sometimes
unnecessarily restrictive constraints on the sequence of how macros can be
used in a configure.in script. Adding them has let my problems with some more
complicated configuration options vanish. Apparently some macros had not been
in the required order .

----

Now I still get some linking errors for some cpus and bsps, esp when linking
cdtest, but also at other locations:

e.g. this happens for mips64orion/p4600:

# make[5]: Entering directory
`/lfs/poseidon/users/rtems/src/multi/build/mips64orion-rtems/c/p4600/tests/samples/hello'

/opt/rtems/bin/mips64orion-rtems-gcc --pipe -B../../../../../../p4600/lib/
-specs bsp_specs -qrtems -DP4000 -DCPU_R4000 -DP3_DIAG -D_R4000 -D__mips=3
-mcpu=4600 -G0   -I../../../../../../p4600/lib/include/networking  -g -Wall
-ansi -fasm  -O4 -fomit-frame-pointer     -o o-p4600/hello.exe
o-p4600/init.o ../../../../../../p4600/lib/no-dpmem.rel
../../../../../../p4600/lib/no-event.rel
../../../../../../p4600/lib/no-msg.rel ../../../../../../p4600/lib/no-mp.rel
../../../../../../p4600/lib/no-part.rel
../../../../../../p4600/lib/no-signal.rel
../../../../../../p4600/lib/no-timer.rel
../../../../../../p4600/lib/no-rtmon.rel
/opt/rtems/mips64orion-rtems/lib/libc.a(dtoa.o): In function `_dtoa_r':
/opt/hermes/embedded/build/build-mips64orion-tools/mips64orion-rtems/newlib/libc/stdlib/../../../../../src/newlib/libc/stdlib/dtoa.c:348: relocation truncated to fit: R_MIPS_LITERAL no symbol
/opt/hermes/embedded/build/build-mips64orion-tools/mips64orion-rtems/newlib/libc/stdlib/../../../../../src/newlib/libc/stdlib/dtoa.c:348: relocation truncated to fit: R_MIPS_LITERAL no symbol
/opt/hermes/embedded/build/build-mips64orion-tools/mips64orion-rtems/newlib/libc/stdlib/../../../../../src/newlib/libc/stdlib/dtoa.c:348: relocation truncated to fit: R_MIPS_LITERAL no symbol
collect2: ld returned 1 exit status

# mips64orion-rtems-gcc -v
Reading specs from /opt/rtems/lib/gcc-lib/mips64orion-rtems/2.95.1/specs
gcc version 2.95.1 19990816 (release)

# mips64orion-rtems-ld -v
GNU ld version 2.9.5 (with BFD 2.9.5)
1999-10-04 18:20:14 +00:00
Joel Sherrill
4f021c01cc Removed Makefile.in generated from Makefile.am 1999-10-04 17:33:23 +00:00
Joel Sherrill
3ac8e5900d This file was not updated in a recent patch from Ralf Corsepius. 1999-10-04 16:58:20 +00:00
Joel Sherrill
95ba459981 Removed excep.c 1999-10-04 16:34:11 +00:00
Joel Sherrill
4451badfbf Removed. 1999-10-04 16:28:34 +00:00
Joel Sherrill
b7c712e308 Removed empty file. 1999-10-04 16:19:21 +00:00
Joel Sherrill
e50e3eff35 New test for getenv/putenv added by Joel. 1999-10-04 13:54:25 +00:00
Joel Sherrill
6fca2f5568 Patch from Eric Norum <eric@cls.usask.ca>. Comments follow:
The old system would panic when the loopback interface was included as
    part of the network initialation structures.  With the printf you get an
    message, but the interface is still properly initialized.
1999-10-04 13:51:22 +00:00
Joel Sherrill
cb6208444b Patch from Eric Norum <eric@cls.usask.ca> to ensure the console
initialization is only done once.
1999-10-04 13:47:31 +00:00
Joel Sherrill
67d0f4e1eb Modified to setup environment pointer on all BSPs. This results
in getenv/putenv working all the time without special assistance
from the BSP.
1999-10-04 13:43:46 +00:00
Joel Sherrill
936f288915 Setup environment pointer for getenv/putenv. Patch from Eric Norum
<eric@cls.usask.ca>.
1999-10-04 13:42:45 +00:00
Joel Sherrill
473b4e58d0 Regenerated. 1999-10-04 13:30:15 +00:00
Joel Sherrill
9888de34c3 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to fix bug report
from Eric Norum <eric@cls.usask.ca>.  This patch was rtems-19990820-0-diff
from Ralf.

    FYI: In parallel to the transition to automake, RTEMS is on a transition
    from make-time configuration to per-bsp and per-bsp configuration at
    configuration-time. Due to this several changes to configuration files
    have been added and might have broken something that has been working
    previously. Most noticeable behavioral change is that you now are required
    to use @RTEMS_BSP@ instead of $(RTEMS_BSP) inside of any Makefile.ins
    which are configured or build as part of the source-tree.

    > It used to be that only RTEMS_MAKEFILE_PATH had to be set.  Why is this
    > no longer sufficient?

    It should still be working, if it doesn't, it has to be considered to be
    broken and should be fixed.

    I am not sure, but I assume you are using Makefile.inc - In this case, you
    have found a bug in Makefile.inc.in which should be worked-around by the
    patch below. If my assumption is wrong, I would need more details ...
1999-10-04 13:16:50 +00:00
Joel Sherrill
0c7aab8d9f Changed rtems_isr_level to rtems_interrupt_level per Chris Johns'
<ccj@acm.org> suggestion.
1999-10-01 18:05:42 +00:00
Joel Sherrill
ed11cadf05 Numerous minor changes required to transition to the latest version
of texinfo and TeX.  This version of the tools can produce PDF with
figures included.
1999-10-01 17:44:06 +00:00
Joel Sherrill
a25f7028cb Clarified catch and disable per suggestion from Chris Johns <ccj@acm.org>. 1999-10-01 17:42:44 +00:00
Joel Sherrill
b406ad206f Added return 0 to pollWrite and InterruptWrite examples. Chris
Johns <ccj@acm.org> suggested this.
1999-10-01 17:35:36 +00:00
Joel Sherrill
3cad291962 Addition of more functionality by Eric Norum to support GNU readline. 1999-10-01 15:55:30 +00:00
Joel Sherrill
6b7a6d9840 changed version to 19990930 1999-09-30 14:21:03 +00:00
Joel Sherrill
cd177de297 changed version to 19990930 1999-09-30 14:11:32 +00:00
Joel Sherrill
06f98e7dc9 changed version to 19990930 1999-09-30 13:23:00 +00:00
Joel Sherrill
5a658489aa changed version to 19990909 1999-09-09 21:59:38 +00:00
Joel Sherrill
a24c2808e5 Applied patch rtems-rc-19990820-6.diff.gz from
Ralf Corsepius <corsepiu@faw.uni-ulm.de> which converted many
Makefile.in's to Makefile.am's.  This added a lot of files.
1999-09-09 21:22:36 +00:00
Joel Sherrill
e1d8abbe28 Applied patch rtems-rc-19990820-6.diff.gz from
Ralf Corsepius <corsepiu@faw.uni-ulm.de> which converted many
Makefile.in's to Makefile.am's.  This added a lot of files.
1999-09-07 13:45:03 +00:00
Joel Sherrill
c935c5f9db Removed by patch rtems-rc-19990820-6.diff.gz from
Ralf Corsepius <corsepiu@faw.uni-ulm.de> which converted many
Makefile.in's to Makefile.am's.
1999-09-07 12:55:28 +00:00
Joel Sherrill
6688a0d852 Missing file from Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
added.
1999-09-02 18:23:32 +00:00
Joel Sherrill
9396d1e43b Cleaned up to move conditional to C files -- not Makefile. 1999-09-02 18:12:57 +00:00
Joel Sherrill
9d709f59bd Added BSP chapter to FAQ. 1999-09-02 14:10:22 +00:00
Joel Sherrill
d9c2e9f507 Link fixed for CPU Supplements. Reported by Jose Vasconcellos
<josev@utstar.com>.
1999-08-30 22:01:14 +00:00
Joel Sherrill
a71938283c Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to move
c/src/lib/librtems++ and c/src/lib/include/rtems++ to
their own package librtems++ at the top of the tree.

    To apply:

        mkdir c/src/librtems++
        cp c/src/lib/librtems++/README c/src/librtems++
        mkdir c/src/librtems++/src
        cp c/src/lib/librtems++/*.cc c/src/librtems++/src
        cp c/src/lib/librtems++/Makefile.in c/src/librtems++/src
        mkdir c/src/librtems++/include
        mkdir c/src/librtems++/include/rtems++
        cp c/src/lib/include/rtems++/*.h c/src/librtems++/include/rtems++
        patch -p1 <rtems-rc-19990802-5.diff
        rm -rf c/src/lib/librtems++
        rm -rf c/src/lib/include/rtems++
        ./autogen

    Attention:
        * The procedure above copies the files first, then patches them
          and finally removes the old files afterwards. This has been done
          to enable you to copy the files in CVS to preserve their history.
1999-08-30 18:38:26 +00:00
Joel Sherrill
6cc786f96b Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
Somehow a nasty bug has made it in sh/start.S ("|", instead of "!", to
  begin an asm comment).

  I have no idea how this could remain undiscovered for so long (It is in
  rtems-4.0.0, too!), however upgrading to binutils from sourceware's CVS
  sh-rtems-as chokes on this bug. => I guess, either binutils changed its
  conventions or an obvious bug in as has been fixed.
1999-08-30 18:07:45 +00:00
Joel Sherrill
260b0c2155 Patch from Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca> to add
support for return codes from POSIX threads that do an implicit exit
by returning from the bottom of the main function.
1999-08-30 18:05:48 +00:00
Joel Sherrill
f724a870c6 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
This patch addresses a few configuration issues and removes some
    duplicate configuration files.

    Background:
    * some files used in AC_INIT were not unique enough and can lead to
      problems if a user plays with configure scripts.
    * the Makefile templates are independent of the target/cpu and bsp, so
      the bsp dependent versions (c/src/make/Templates) are removed.

    To apply:
        patch -p1 < rtems-rc-19990820-3.diff
        rm -f c/src/make/Templates
        ./autogen

    ATTENTION: This patch removes several files and one directory :)
1999-08-30 16:25:54 +00:00
Joel Sherrill
473741bb07 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
1. Addition of maintainer-mode dependencies on config.status and
       aclocal.m4 for autoconf toplevel Makefile.ins. These rules are taken
       over from automake generated Makefile.ins, i.e. they are contained in
       any automake generated toplevel Makefile.in. Having this patch in is at
       least a great releaf for me when working on RTEMS configuration :)

    2. Automated support for #1 in acpolish

    3. Some minor "beautifications" on Makefile.ins resulting from running
       acpolish.

    FYI: This patch has been generated by running
    tools/update/rtems-polish.sh -ac on the source tree and manually editing
    the resulting patch afterwards to work around a problem with acpolish,
    which still corrupts one Makefile.in - WARNING: Be careful with running
    acpolish!
1999-08-30 15:37:30 +00:00
Joel Sherrill
e49d7c3df2 Removed definition of NO_IMPLICIT_EXTERN_C since it is supposed to be
in the compiler not in the header file.
1999-08-30 15:02:20 +00:00
Joel Sherrill
7c2243e352 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
The patch below actually consists of 3 patches:

        1. Addition of maintainer-mode dependencies on config.status and
           aclocal.m4 for autoconf toplevel Makefile.ins. These rules are taken
           over from automake generated Makefile.ins, i.e. they are contained in
           any automake generated toplevel Makefile.in. Having this patch in is
           at least a great releaf for me when working on RTEMS configuration :)

        2. Automated support for #1 in acpolish

        3. Some minor "beautifications" on Makefile.ins resulting from
           running acpolish.

    FYI: This patch has been generated by running
    tools/update/rtems-polish.sh -ac on the source tree and manually editing
    the resulting patch afterwards to work around a problem with acpolish,
    which still corrupts one Makefile.in - WARNING: Be careful with running
    acpolish!

    I expect this patch not to have any influence on normal users, unless
    they use --enable-maintainer-mode, thus merging it should be rather
    harmless.
1999-08-30 14:28:39 +00:00
Joel Sherrill
a60a7bbd29 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
The patch below actually consists of 3 patches:

        1. Addition of maintainer-mode dependencies on config.status and
           aclocal.m4 for autoconf toplevel Makefile.ins. These rules are taken
           over from automake generated Makefile.ins, i.e. they are contained in
           any automake generated toplevel Makefile.in. Having this patch in is
           at least a great releaf for me when working on RTEMS configuration :)

        2. Automated support for #1 in acpolish

        3. Some minor "beautifications" on Makefile.ins resulting from
           running acpolish.

    FYI: This patch has been generated by running
    tools/update/rtems-polish.sh -ac on the source tree and manually editing
    the resulting patch afterwards to work around a problem with acpolish,
    which still corrupts one Makefile.in - WARNING: Be careful with running
    acpolish!

    I expect this patch not to have any influence on normal users, unless
    they use --enable-maintainer-mode, thus merging it should be rather
    harmless.
1999-08-30 14:16:07 +00:00
Joel Sherrill
d392168a49 Typo causing compilation failure spotted by Ralf Corsepius and
fixed by Joel.
1999-08-26 21:14:20 +00:00
Joel Sherrill
638154c6bf Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
This one is a minor fix for the librdg-Makefiles for mcp750, mostly an
  adaptation to the Makefiles used for the i386.
1999-08-26 20:59:52 +00:00
Joel Sherrill
e0c6f431b6 Comment cleanup from Eric Norum <eric@cls.usask.ca>. 1999-08-26 20:52:40 +00:00
Joel Sherrill
72f9937b62 Removed need for use of separate include/networking directory. 1999-08-23 18:48:07 +00:00
Joel Sherrill
48abdc31fd Patch from Eric Norum <eric@cls.usask.ca> to readd the behavior where
the minor number indicated the port number to try.
1999-08-23 14:58:16 +00:00
Joel Sherrill
da0349ca88 changed version to 19990820 1999-08-20 19:31:52 +00:00
Joel Sherrill
b290217a6b Updated version numbers. 1999-08-20 19:31:47 +00:00
Joel Sherrill
ec66a419a3 Now formats. 1999-08-20 19:31:35 +00:00
Joel Sherrill
9884d3e577 changed version to 19990820 1999-08-20 18:33:37 +00:00
Joel Sherrill
71f16a4499 Support for MPC505 from Sergei Organov <osv@Javad.RU>. His patch was
against 3.6.0 so was painful to merge.  It should be OK but there
is no guarantee and there are no BSPs in the tree to exercise it.
1999-08-19 22:07:00 +00:00
Joel Sherrill
96284fd815 Support for MPC505 from Sergei Organov <osv@Javad.RU>. His patch was
against 3.6.0 so was painful to merge.  It should be OK but there
is no guarantee and there are no BSPs in the tree to exercise it.
1999-08-19 21:47:51 +00:00
Joel Sherrill
3b568bd557 Fixed Gunter Magin's email address in 3 places. 1999-08-19 21:31:58 +00:00
Joel Sherrill
1b97fe7633 Added comment explaining what this file is. 1999-08-19 20:52:06 +00:00
Joel Sherrill
d11a35c827 Crossgcc FAQ entry 1999-08-19 20:51:14 +00:00
Joel Sherrill
d7792ac9ed More corrections form Gunter Magin. 1999-08-19 20:12:23 +00:00
Joel Sherrill
54789c463d Added Eric Norum's ftp site for BDM m68k. 1999-08-19 15:36:06 +00:00
Joel Sherrill
03be71eca5 Changed Chris Johns' email address 1999-08-19 14:56:22 +00:00
Joel Sherrill
219e638f8b Added info in NT MPC8xx BDM 1999-08-19 14:55:22 +00:00
Joel Sherrill
01e6a05bd8 Added some more. 1999-08-18 21:04:59 +00:00
Joel Sherrill
b8080380d1 Reran and replaced screen after report from Gerwin Pfab <pb@schenk.isar.de>. 1999-08-18 20:59:36 +00:00
Joel Sherrill
4efe75eb08 New file. 1999-08-18 20:06:36 +00:00
Joel Sherrill
fc766ef51e Added section on malloc reentrancy. 1999-08-18 20:04:43 +00:00
Joel Sherrill
f2180e0f05 Patch from Jimen Ching <jimen@adtech-inc.com>:
Please take a look at this new patch.  It contains a cleaner implementation
of the reset operation.  These patches are against 4.0.0.  But the files
did not change from the 3.6.0 release.  Also, the cpu.h patch below still
applies.  I.e. instead of using i960ca_PRCB, use i960_PRCB.

Explanation:

        The previous patch removed the use of the reset instruction,
        because it always fails.  But this was due to the fact that
        some of the registers were corrupted by the re-init procedure.
        The new patches save and restore those registers when a re-init
        is done.
1999-08-18 20:00:05 +00:00
Joel Sherrill
e8367362ca Slightly cleaner way to switch on the CPU model. 1999-08-18 19:57:40 +00:00
Joel Sherrill
6fc973e39b Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
Here is another fix, which addresses a few more or less severe bugs in
    configuration and unix/posix:

    * Configuration fix: c/src/lib/configure.in didn't handle RDBG correctly

    * Configuration fix: make depend was non-functional in
      c/src/lib/libc/Makefile.in
    * Configuration fix: stray comment removed from aclocal/target.m4

    * RTEMS fix: termios support for unix/posix now uses the host's headers
      only (was completely broken).
    - Don't install RTEMS's newlib sys/termios.h for unix (sys/termios.h
      apparently is a newlib specific header)
    - To be able to compile RTEMS's  termios.c with glibc2.1, glibc-2.1
      needs __USE_MISC, which is a private define from gcc's features.h, being
      defined only when _BSD_SOURCE of _SVID_SOURCE is defined.  RTEMS's
      termios apparently implements BSD, thus -D_BSD_SOURCE was added to
      Linux-posix.cfg.
    - Conflicting definitions for  __USE_MISC and _BSD_SOURCE inside of
      RTEMS codes removed due to definition of _BSD_SOURCE on the toplevel.

    This fix has been tested with linux/posix (primary glibc2.1 native),
    linux/posix (secondary libc5 native), sh/gensh1, i386/pc386 and a couple
    of other bsp's/CPU.

    To apply:

        cd <srcdir>
        patch -p1 < rtems-rc-19990709-9.diff

    and
        aclocal -I aclocal && automake && autoconf
        cd c/src/lib; autoconf

    or
        ./autogen
1999-08-18 16:49:52 +00:00
Joel Sherrill
ea562ee977 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
After upgrading my linux box to the brand new SuSE 6.2 release, which is
    glibc-2.1 based, I came across a bug in RTEMS - IIRC, I even warned you
    about it about 1/2 a year ago, but nothing has been done since then :-.

    The *.m4 macros to check for SYSV/IPC are broken for linux/glibc2.1,
    because they assume that linux always defines union semun, which isn't
    true anymore for glibc2.1 (the manpage for semctl states _X_OPEN
    specifies it this way). Therefore I have tried to implement a more
    general approach for handling SYSV for unix/posix which checks for
    presence of struct semun, instead of trying  to evaluate OS specific
    preprocessor symbols.

    This approach is a bit adventureous, because I only tested it with
    linux/glibc2.1 and linux/libc5, but not under other Unix variants RTEMS
    supports. I am quite confident it will work on other hosts, too, but who
    knows :-.

    [FYI: I think this might also is the cause of some problems with RedHat
    6.X / Mandrake linux recently reported on the rtems list -- rtems-4.0.0
    can not be build for posix on any glibc2.1 based host]

    Furthermore the patch below contains a couple of minor fixes and
    configuration cleanups, which IMO should be applied before releasing a
    new snapshot.

    To apply this patch:

        cd <source-tree>
        patch -p1 < rtems-rc-19990709-8.diff
        ./autogen
1999-08-12 18:22:17 +00:00
Joel Sherrill
8aefe83224 Patch from Tony R. Ambardar <tonya@ece.ubc.ca>:
I'm attaching a big patch for the ts_386ex BSP which adds and includes
    the following:

    1) Conversion to ELF format + minor code cleanups + documentation.

    2) An Ada95 binding to FreeBSD sockets, based on Samuel Tardieu's
       adasockets-0.1.3 package. This includes some sample applications.

    3) Some Ada and C interfaces to add serial-port debugging to
       programs. Comes with examples, too; the Ada one shows how
       transparent adding the support can be. Note that Rosimildo sent me
       the original C code.

    The network stuff is not BSP specific, and could be added to your Ada
    code collection. The debugging stuff is specific to the i386. Right
    now, everything sits in my "tools" directory.
1999-08-11 23:58:16 +00:00
Joel Sherrill
1d4048b236 Patch from Tony R. Ambardar <tonya@ece.ubc.ca>:
I'm attaching a big patch for the ts_386ex BSP which adds and includes
    the following:

    1) Conversion to ELF format + minor code cleanups + documentation.

    2) An Ada95 binding to FreeBSD sockets, based on Samuel Tardieu's
       adasockets-0.1.3 package. This includes some sample applications.

    3) Some Ada and C interfaces to add serial-port debugging to
       programs. Comes with examples, too; the Ada one shows how
       transparent adding the support can be. Note that Rosimildo sent me
       the original C code.

    The network stuff is not BSP specific, and could be added to your Ada
    code collection. The debugging stuff is specific to the i386. Right
    now, everything sits in my "tools" directory.
1999-08-11 23:45:57 +00:00
Joel Sherrill
91e9ab87e1 Final update from Santanu Mitra <smitra@cs.uah.edu>, T.N.S. Prasad
<ptelukun@cs.uah.edu>, and Wei He <whe@cs.uah.edu> on the Fixed
Block and Memory Pool Managers.
1999-08-11 21:14:16 +00:00
Joel Sherrill
be5df8de05 Added ts_i386ex 1999-08-10 21:19:26 +00:00
Joel Sherrill
1775dad530 Last minute patch to change the signal type for ASM_PROG_VECTOR from
Eric Valette <valette@crf.canon.fr>.
1999-08-10 18:10:23 +00:00
Joel Sherrill
cef2fb5fda Last minute cleanup patch to close comment from Eric Valette
<valette@crf.canon.fr>.
1999-08-10 18:08:56 +00:00
Joel Sherrill
981b99faf2 Patch from Eric Valette <valette@crf.canon.fr> and Emmanuel Raguet
<raguet@crf.canon.fr>:

    - the dec21140 driver code has been hardened (various bug fixed) Emmanuel,
    - bug in the mcp750 init code have been fixed (interrupt stack/initial
      stack initialization), BSS correctly cleared (Eric V)
    - remote debugging over TCP/IP is nearly complete (berakpoints,
      backtrace, variables,...) (Eric V),
    - exception handling code has also been improved in order to fully
      support RDBG requirements (Eric V),
1999-08-10 16:41:44 +00:00
Joel Sherrill
908436c1ec New configuration files added by patch from
Ralf Corsepius <corsepiu@faw.uni-ulm.de>".
1999-08-10 15:38:09 +00:00
Joel Sherrill
01be59d939 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to correct a minor
problem with the HAS_MP patch and regenerated files.
1999-08-10 15:08:58 +00:00
Joel Sherrill
e1929ce8e3 Added define at request of Jason Merrill. 1999-08-10 15:03:12 +00:00
Joel Sherrill
2fe7208306 Added NO_IMPLICIT_EXTERN_C at suggestion of Jason Merrill. 1999-08-10 15:02:23 +00:00
Joel Sherrill
3a8915e6ee Patch rtems-rc-19990709-6-diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
applied.  This modified many Makefiles and custom files and makes many more
settings (network, multiprocessing, etc) gnerated by autoconf.
1999-08-06 17:55:25 +00:00
Joel Sherrill
22544db9d8 Typo -- removed blank line at top of file. 1999-08-06 16:56:16 +00:00
Joel Sherrill
f42fb02e1d Patch from Jiri Gaisler <jgais@ws.estec.esa.nl> to fix remote gdb use:
I just released erc32ccs-2.0.6 which includes some fixes and the
    Ada-self optimisation. Remote debugging of Ada programs did not
    work due to a conflict between monior and rtems trap handlers.
    I have attached a modified gnatsupp.c that makes remote debugging
    possible again.
1999-08-06 16:00:32 +00:00
Joel Sherrill
a92280e02d Now supports C++ global constructors and exceptions. 1999-08-05 22:37:17 +00:00
Joel Sherrill
1c92f8a8a8 changed version to 19990805 1999-08-05 18:48:05 +00:00
Joel Sherrill
a1c70a2a0c Fixed typo on report from Tony R. Ambardar <tonya@ece.ubc.ca>. 1999-08-05 18:02:15 +00:00
Joel Sherrill
783e8322d3 Patch from Eric Valette <valette@crf.canon.fr> to fix interrupt
initialization typo and make i8259s_cache only accessed from C.
1999-08-03 13:52:59 +00:00
Joel Sherrill
26eff5c295 Fix By Joel based on suggestion from Ian Lance Taylor <ian@airs.com>
to fix problem reported by Ralf Corsepius <corsepiu@faw.uni-ulm.de>.

   Date: Fri, 30 Jul 1999 14:53:20 -0500 (CDT)
   From: <joel@oarcorp.com>

   it is used like this in i386ex/start/start.S

                       /* set up same values in cache */
       start.S:      movw    $0xFFFB, SYM(i8259s_cache)

   I am heading out the door.  Any other ideas what could have tripped this?

   This instruction appears in a .code16 section.  In a .code16 section,
   current versions of gas assume that all addresses are 16 bits unless
   told otherwise.

   If you change the line to
       addr32   movw $0xFFFB, SYM(i8259s_cache)
   then you will get a 32 bit address reference.

   You may want to use addr32 only when NEW_GAS is defined.
1999-08-02 20:26:57 +00:00
Joel Sherrill
60ee6da7ad Updated DDD section after comments from Jiri. 1999-08-02 16:38:28 +00:00
Joel Sherrill
ae2ddb8103 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
The patch below fixes a nasty bug in acpolish, which has broken many
    Makefile.ins below c/src/tests/

    APPLYING THE PATCH:
        patch -p1 < rtems-rc-19990709-5.diff

    The essential part of this patch is the diff-fragment for acpolish
    contained in this patch. Ie. if any of the other diffs do not apply,
    make sure that the acpolish diff was applied correctly and then run
        cd <srcdir>
        tools/update/rtems-polish.sh -ac
1999-08-02 15:40:27 +00:00
Joel Sherrill
fdb37e81ec New file from Ralf Corsepius <corsepiu@faw.uni-ulm.de> missed being added
in a previous patch.
1999-08-02 15:33:26 +00:00
Joel Sherrill
ac384b98f5 Added more sections to pick up all of the new C++ sections. 1999-08-02 15:25:24 +00:00
Joel Sherrill
bd5278665f Now correctly does deep copy. 1999-08-02 15:24:57 +00:00
Joel Sherrill
a3c8bdabdb Update from Andrew McDowell <drew@getaway.net>. DOS CR/LF, etc fixed
by Joel.
1999-08-02 13:55:39 +00:00
Joel Sherrill
1896a650fc Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
The main topic is replacing the hard-coded values for HAS_MP and
  HAS_RDBG in custom/*.cfg with per-bsp configuration-time autoconf checks
  (This is the patch I had mentioned before earlier this week).

  CHANGES

  * HAS_MP removed from custom/*.cfg, replaced with configuration time
    autoconf check
  * HAS_RDBG removed from custom/*.cfg, replaced with configuration-time
    autoconf check
  * NEW: c/src/make/bsp.cfg.in, takes configuration-time checked per-bsp
    values (i.e. HAS_MP, HAS_RDBG), gets installed as
    $(prefix)/<bsp>/make/bsp.cfg
  * NEW: default.cfg includes bsp.cfg - this change is backward
    compatible.
  * IMPORT_SRC: apply VPATH instead for ts_386ex/i386ex subdirectory
    Makefile.ins
  * HACK: a bug in acpolish mis-handles addtions to makefile variables
    which are enclosed in gmake conditionals:
    c/src/lib/libbsp/m68k/ods68302/start302/Makefile.in
  * Apply inline_dir, HAS_MP and HAS_RDBG for avoiding configuration of
    unneeded subdirectories in various configure.in files.
  * Several minor changes in Makefile.ins and configure.ins, wrt. to the
    order of including *.cfg and defining Makefile variables

  APPLYING THE PATCH:

      patch -p1 < rtems-rc-19990709-4.diff
      ./autogen
1999-07-30 17:52:50 +00:00
Joel Sherrill
aa9eb94058 Fixed typos. 1999-07-30 17:28:11 +00:00
Joel Sherrill
a2cc7b7fb4 Corrected typo and added correct conditional compilation on RTEMS_POSIX_API. 1999-07-30 17:18:39 +00:00
Joel Sherrill
6805640ec7 Patch from Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
to correct a typo CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES was actually
typed in as CPU_CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES.
1999-07-29 23:01:15 +00:00
Joel Sherrill
760777db72 Added section on ddd. 1999-07-29 22:54:10 +00:00
Joel Sherrill
c985385813 Added some more information on BDM debuggers. 1999-07-29 22:48:19 +00:00
Joel Sherrill
14e62e1a1a Added information on David Fiddes site. 1999-07-29 22:48:04 +00:00
Joel Sherrill
e112b63097 Patch to remove rcs-clean.in as it is unused from Ralf Corsepius
<corsepiu@faw.uni-ulm.de>.
1999-07-28 18:04:52 +00:00
Joel Sherrill
f94e76ba02 Fix after this report from Peter Pointner <pr@schenk.isar.de>:
Problem: a posix thread which is created by

      pthread_attr_init(&tattr);
      pthread_attr_setinheritsched(&tattr, PTHREAD_EXPLICIT_SCHED);
      pthread_attr_setschedpolicy(&tattr, SCHED_RR);
      pthread_create(&th, &tattr, func, arg);

    has a first timeslice of 2^32 ticks (changing a running thread to
    SCHED_RR id ok).

    I use RTEMS-4.0.0. I am not sure if the problem exists in the current CVS
    head revision. If it's not fixed, the patch at the end should do it.

Peter


--- pthreadcreate.c.orig        Wed Jul 28 14:45:58 1999
+++ pthreadcreate.c     Wed Jul 28 15:06:09 1999
@@ -199,6 +199,10 @@
   api->schedpolicy = schedpolicy;
   api->schedparam  = schedparam;

+  if ( schedpolicy == SCHED_RR ) {
+    the_thread->cpu_time_budget = _Thread_Ticks_per_timeslice;
+  }
+
   /*
    *  This insures we evaluate the process-wide signals pending when we
    *  first run.
1999-07-28 18:03:20 +00:00
Joel Sherrill
f28dfb368c Added information on using objcopy to produce IEEE-695 format. 1999-07-28 17:29:54 +00:00
Joel Sherrill
f82c98bbb5 Missed adding file from Eric Valette <valette@crf.canon.fr>.
This file is necessary because the bootloader is compiled with different
options than the basic C library.
1999-07-28 16:14:57 +00:00
Joel Sherrill
c32555cb27 Patch from Jay Kulpinski <jskulpin@eng01.gdds.com> to correct
definitions of CONSOLE_USE_POLLED to be !CONSOLE_USE_INTERRUPTS
instead of ~CONSOLE_USE_INTERRUPTS.
1999-07-27 15:20:36 +00:00
Joel Sherrill
54f440d311 Patch from Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>.
to address m68k-rtemself for the MVME167.

    Here is the rtems patch I promissed you a long time ago to enable ELF
    with m68k. The target name I selected is m68k-rtemself. It preserves the
    m68k-rtems COFF target, and is parterned after the other ELF/COFF dual
    targets.

    The mvme167.cfg file causes the -qelf flag to be used during compilation
    if the name of the compiler contains rtemself. This flag is used in the
    bsp_specs file to select the elflinkcmds file rather than the linkcmds
    file. The former is for ELF, the latter for COFF.

    Some patches are required to the mc68040 FPSP code. Some of the
    assembler files contain instructions that were rejected by the
    m68k-rtemself-as assembler.  This is a minor bug in the m68k ELF
    assembler, I think.
1999-07-26 22:11:02 +00:00
Joel Sherrill
220ad7de67 Patch fixing typo from Eric Valette <valette@crf.canon.fr> on bug report
from Jay Kulpinski <jskulpin@eng01.gdds.com>.
1999-07-26 21:38:08 +00:00
Joel Sherrill
38bfb0db72 Patch from Eric Valette <valette@crf.canon.fr> based on a tremendous
bug report from David Decotigny <David.Decotigny@irisa.fr>:

  During the last few days, I've been back working on RTEMS. Let me
  remind you that RTEMS didn't boot on our (old) Dell P90 machines (ref:
  PC 590) : we could only get a reboot out of them.

  1/ The symptoms
  ---------------

  Hopefully, the problem was rather deterministic. The stack couldn't be
  written correctly : issueing one or more "push" would always push '0'
  onto the stack. The way to solve this was to issue a "pop", such as
  "pushl eax ; popl eax". After this "pop", the stack would be writeable
  again.

  BUT, it will be writable for 8 consecutive "push"s. After these 8
  "push"s, the other "push"s are wrong again, and a blank push/pop is
  needed.

  Considering that the L1 cache lines of this pentium are 32 bytes long,
  and that 8 long int are 32 bytes long too, it came to us that there
  was a problem with the cache.

  Actually, the bug of the push could be shown through memory accesses
  directly : writing on an not-in-cache mem location would put 0 until
  this mem location is accessed through a single "read". Then, the whole
  cache line would be right again.

  2/ The consequences
  -------------------

  Of course, that was the first thing that we've been able to observe ;)
  RTEMS could not boot. Actually, when a "call" pushed 0 onto the stack,
  the ret could only lead to raise an exception a bit later. Since, in
  the early stage, the Interrupt vector points to 0, averything couldn't
  get worse : triple fault + reboot.

  3/ Explanation
  --------------

  This cache mechanism corruption only appeared after load_segment()
  returned (through a jump). Investigating a bit further shows that this
  appears /sometimes/ during the PICs initialization.

  "Sometimes" proved to be "When writing something with the 4th bit of
  %al set". That is "when writing 0x28 or 0xff" for example. Clearing
  this bit would just make the things work right.

  Actually, this isn't a bug in the proper PIC initialization (which is
  quite academic). It came from the "delay" routine, which theoretically
  does nothing but writing to an "inexistant" port (0xed), in order to
  lose some time.

  BUT, in the special case of our Dell P90, it appears that this 0xed
  port does something cruel with the cache mechanism when its 4th bit
  (aka bit 3 or 0x8) is set.

  I didn't investigate this non-standard behaviour of the P90 any
  further : I don't know if this is documented, or if it is just another
  (known ?) bug of the early Pentiums. Just notice that we have 5 such
  machines, and it has the same effect on the cache mechanism.

----------------------------------------------------------------------
1999-07-26 21:35:15 +00:00
Joel Sherrill
29e68b7584 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
This patch is an addition to "The big-patch"

  CHANGES:
  * FIX: c/Makefile.am: bogus comment which changed the behavior of
    c/Makefile.am removed
  * FIX: make/custom/ts_i386ex.cfg did not set HAS_NETWORKING correctly
    (Me thinks it might have been me who added this bogus setting :-).

  * NEW: removing make targets get, protos, debug_install, profile_install

  * NEW: replacing clobber with distclean
  * NEW: Reimplement distclean and clean as reverse depth first make
    targets (adaptation to automake's behavior)
  * NEW: removing RCS_CLEAN from make distclean (tools/build/rcs_clean is
    still in - remove it?)
  * NEW: "$(RM) Makefile" added to make distclean (adaptation to
    automake's behavior)
  * NEW: "$(RM) config.cache config.log" to CLOBBER_ADDITIONS in
    [lib|exec|tests]/Makefile.in (adaptation to automake's behavior)
  * NEW: "$(CLEAN_PROTOS)" removed (Not used anywhere)
  * NEW: binpatch.c moved from i386 bsp tools to tools/build (AFAIS,
    binpatch is not specific to the pc386 BSP at all)
  * NEW: AC_EXEEXT added to all configure scripts which contain AC_PROG_CC
    (Cygwin support)

  * NEW/Experimental: An experimental implementation of temporary
    installation tree support in libbsp/i386/pc386/tools/Makefile.am, based
    on dependency tracking with make, instead of applying INSTALL_CHANGE.


  REMARK:
  * This patch is small in size, but changes the behavior of "make
    clean|distclean|clobber" basically.
  * This patch does not alter building/compiling RTEMS, ie. there should
    be no need to rerun all "make all" building tests.

  KNOWN BUGS:
  * make RTEMS_BSP="..." distclean in c/ runs "make distclean" in BSPs
    subdirectories passed through RTEMS_BSP and in "c/." only, but does not
    descend into other BSP subdirectories previously configured with
    different settings of make RTEMS_BSP="...".
    => Workaround: always use the same setting of RTEMS_BSP when working
    inside the build-tree.

  * "make [distclean|clean]" do not clean subdirectories, which have been
    configured at configuration time, but  which are not used due to
    make-time configuration (e.g. macros/networking/rdgb subdirectories).
    This will problem will vanish by itself when migrating from make-time to
    configuration-time configuration

  APPLYING THE PATCH

      mv c/src/lib/libbsp/i386/pc386/tools/binpatch.c tools/build
      patch -p1 < rtems-rc-19990709-2.diff
      autogen
1999-07-26 21:26:44 +00:00
Joel Sherrill
08b5f55b6f Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
A bug in acpolish made it into rtems-rc-19990709-0.diff, which
    unfortunately affects all Makefile.ins:

    * The maintainer mode conditional was erroniously applied to the
      dependencies of "Makefile".

    In case you already checked in rtems-rc-19990709-0.diff to CVS you have
    to check in all Makefile.ins again after applying the patch below :).

    Please apply the patch below as follows:

        patch -p1 < rtems-rc-19990709-1.diff
        tools/update/rtems-polish.sh -ac

    Note: There is no need to rerun your tests if you have used
    --enable-maintainer-mode to configure RTEMS, because this patch converts
    all Makefile.ins to the same settings as used for
    --enable-maintainer-mode.
1999-07-26 20:31:49 +00:00
Joel Sherrill
eb299afca2 This is part of a major patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to move RTEMS more to automake/autoconf and GNU compliance.

    Finally, here they are: the "big-patch" patches - merged into one big
    patch (~1.5MB).

    Sorry for the delay, but testing took much more time than I had expected
    - esp. reworking the acpolish script triggered many more tiny issues
    than I had expected (cf. below).

    At least, now you've got something to spend your weekend with :-.


    WARNINGS:
    * I've gone a little (??) further than I had announced before.
    * Several directories have been moved.
    * Several files have been added and removed
    * I have tested it with many BSPs/CPUs and a variety of permutiations of
    configuration flags, but not with all.
    * Most parts of the patch are automatically generated, however there are
    many tiny manual modifications.

    APPLYING THE PATCH:

    ./autogen -c
    mkdir tools
    mv c/src/exec/score/tools tools/cpu
    mv c/build-tools tools/build
    mv c/update-tools tools/update
    patch -p1 -E < rtems-rc-19990709-0.diff
    ./autogen

    If the patch doesn't apply to rtems-cvs, I would suggest that you should
    try to apply it brute-force and then to run tools/update/rtems-polish.sh
    -ac -am afterwards. A recursive diff between rtems-19990709 + patch and
    rtems-cvs + patch then should report only a few dozen significant
    changes to configuration files which need to be merged manually (IIRC, I
    did not change any source files).

    *** Attention: There are files to be removed, moved, copied and added
    in/to CVS!

    NEWS/CHANGES:
    1. Configuration takes place in 3 stages: 1. per host (toplevel
    configure script), 2. per target (c/configure), 3. per bsp
    c/src/configure automatically triggered from ./configure and
    c/Makefile.am.
    2. Building of subdirectory c/ takes place in c/$(target_alias) for
    cross-targets in c/ for native targets
    3. Building of subdirectory c/src takes place in c/${target_alias}/<bsp>
    for cross-targets, c/<bsp> for native targets
    4. c/build-tools moved to tools/build
    5. c/src/exec/score/cpu/tools moved to tools/cpu (=cpu-tools split out)
    6. c/update-tools moved to tools/update
    7. New subdirectory c/src/make, handles files from make/ on a per BSP
    basis
    8. Maintainer mode support: Ie. if configuring with
    --enable-maintainer-mode disabled (the default), then tracking of many
    dependencies will be disabled in Makefiles. Esp. many dependencies for
    auto* generated files will be switched off in Makefiles. Ie. if not
    using "--enable-maintainer-mode" many auto* generated files will not be
    updated automatically, i.e. normal users should not be required to have
    auto* tools anymore (untested).
    9. Independent configuration scripts for / (toplevel), tools/build,
    tools/cpu, tools/update, c/, c/src/, c/src/exec, c/src/lib, c/src/tests,
    c/src/make
    10. Automake support for all directories above and besides c/src
    11. "preinstall" now is implemented as depth-first recursive make target

    12. host compiled tools (exception bsp-tools) are accessed in location
    in the build tree instead of inside the build-tree when building RTEMS.
    13. RTEMS_ROOT and PROJECT_ROOT now point to directories inside the
    build-tree - many tiny changes as consequence from this.
    14. --with-cross-host support removed (offically announced obsolete by
    cygnus)
    15. Changing the order of building libraries below c/src/lib/
    16. Former toplevel configure script broken into aclocal/*.m4 macros
    17. Newlib now detected by configure macros, RTEMS_HAS_NEWLIB removed
    from *cfg.
    18. sptables.h now generated by autoconf
    19. Rules for "mkinstalldirs temporary installation tree" moved from
    c/Makefile to subdirectories.
    20. Cpu-tools do not get installed.
    21. FIX: Use ACLOCAL_AMFLAGS instead of ACLOCAL = -I ... in Makefile.ams
    which are in directories with own configure scripts.
    22. Hardcoding BSP names into libbsp/.../tools to avoid RTEMS_BSP get
    overridden from the environment.
    22. FIX: Handling of MP_PIECES in various Makefiles
    23. FIX: Removing "::" rules from some Makefile.ins
    24. FIX: File permission chaos: (-m 444 and -m 555 vs. -m 644 and -m
    755) - Now all include files use -m 644.
    25. Removed many gnumake-conditionals in Makefile.ins - Partially
    replaced with automake-conditional, partially replaced with
    conditionalized Makefile variables (... _yes_V)
    26. Massively reworked acpolish: acpolish now parses Makefile.ins and
    interprets parts of the Makefile.ins.
    27. FIX: Some $(wildcard $(srcdir)/*.h) macros removed / replaced with
    explicit lists of files in Makefile.ins.
    28. FIX: Replacing MKLIB with RANLIB in Makefile.ins
    29. HACK: Add preinstallation for pc386 specific
    $(PROJECT_RELEASE)/BootImgs directory

    ... many more details, I can't recall


    KNOWN BUGS:
    1. make [debug|profile]_install do not do what they are promissing.
    "make [debug|profile] install" does what "make [debug|profile]_install"
    has been doing. Proposal: remove [debug|profile]_install
    2. Dependencies between temporary installation tree and source tree are
    not yet handled correctly.
    3. Dependencies between temporary installation tree and source tree are
    handled ineffencently (Using INSTALL_CHANGE instead of make
    dependencies)
    4. RTEMS_ROOT, PROJECT_ROOT, top_builddir, RTEMS_TOPdir now are
    redundant.
    5. The new configure scripts still are in their infancy. They contain
    redundant checks and might still contain bugs, too.
    6. RTEMS autoconf Makefile.ins use a mixture of configuration
    information gathered in c/$(target_alias)/<bsp>/make and of information
    collected from their configure scripts.
    7. make dist is not fully functional
    8. Subdirectory host-/build-/target- configure options (--target,
    --host, --build) do not conform to Cygnus/GNU conventions.
    9. Some RTEMS autoconf Makefile.in's makefile targets are not supported
    in automake Makefile.ams/ins (e.g. get, clobber).
    10. Some automake standard targets are not propagated from toplevel and
    c/Makefile.am to autoconf subdirectories (eg. make dist).
    11. rpcgen generated files are not part of the source-tree (Automake
    conventions favor supplying generated files inside the source-tree,
    however there is no support for rpcgen generated files in automake, cf.
    yacc/lex support in automake).
    12. RTEMS_HAS_RDBG handling is flaky. make/*.cfg use RTEMS_HAS_RDBG per
    CPU, while librdb's sources can only be built per BSP. Raises the more
    general question whether librdbg located correctly in the source-tree.
    13. All make/*cfg files are configured per cpu, currently there is no
    location to store per-bsp configuration information --> bsp.cfg, per
    aconfig.h?
    14. "make install" without having run "make all" beforehand does not
    work.
    15. handling of --enable-multiprocessing seems to be broken in
    make/custom/*
    16. Makefile.ins still exploit many gmake features.
    17. File permisson chaos on libraries (no explict -m for
    libraries/rels/etc).
    18. mcp750 Makefiles are broken (Note: I *do* mean buggy - I am not
    talking about "not-conforming to  conventions", here :-).
    19. Dependencies between configure scripts are not handled, eg. aborting
    "make RTEMS_BSP=<bsp>" can leave the build-tree in an unusable state.
    20. "make clean" does not delete <build-tree>/<bsp>. This is intentional
    for now, because rerunning "make" after "make clean" requires an
    explicit "make preinstall" afterwards now. This should be done
    automatically, but doesn't work in this case for now. To work around
    this problem <build-tree>/<bsp> is kept during "make clean" for now
    (HACK).

    TODO:
    1. split out host-compiled bsp-tools
    2. Use Cygnus/GNU standards for cross-compiling target-subdir
    (CC=CC_FOR_TARGET .. configure --host=${target_alias}
    --build=`config.guess'}), to be added to toplevel configure script after
    splitting out bsp-tools.
    3. Exploit per cpu support directory (c/src/<cpu>)- Splitting out
    per-cpu libraries - Are there any?
    4. Further automake support
    5. Converting subdirectories into standalone / self-contained
    subdirectories (Esp. moving their headers to the same common root as
    their sources, eg. mv lib/include/rtems++
    lib/librtems++/include/rtems++) - This is the main obstacle which
    prevents moving further towards automake.
    6. Propagating values from *.cfg into Makefiles instead of propagating
    them at make time via Makefile-fragments (i.e. try to avoid using
    *.cfg).
    7. Testing on cygwin host (I *do* expect cygwin specific problems).
    8. The ARCH in o-$(ARCH)-$(VARIANT) build-subdirectories is not needed
    anymore.

    GENERAL ISSUES:
    1. Temporary installation tree -- Ian and I seem to disagree basically.
    Though I think that I understand his argumentation, I do not share it.
    IMO, his way of using the buildtree is mis-using the build-tree, relying
    on an inofficial feature of RTEMS's current implementation, which
    doesn't even work correctly in the current build-tree, though it
    attempts hard to do so. From my very POV, it unnecessarily complicates
    the structures of the source- and build-trees. It is not supported by
    automake (No automatic generation for the necessary rules) and
    complicates the transition to automake significantly (Generating the
    rules with an enhanced version of acpolish could be possible).
    As Ian correctly pointed out, here a management decision is needed -
    though I don't see the need to draw this decision in short terms.

    2. preinstallation generally is a sure means to spoil the structure of
    the source tree, IMHO (No ranting intended, I am completly serious about
    this one). eg. through tree dependencies. The worst problem related to
    this I have found in the meantime is bsp_specs. bsp_specs is part of
    libbsp, ie. there is *no* way to build *any* part of the source tree
    *without* having a BSP *preinstalled*.
    Note: This issue is related to issue 1., but is not identical - The
    difference is the change of the order make rules have to be triggered.
    While preinstallation triggers rules spread all over the source tree
    before a "make all" can be run, a temporary installation tree could also
    be installed by post "make all" hooks (all-local:, to be run after make
    all in a directory is completed) if the directories' dependencies would
    be a tree,

    3. Stuctural dependencies between subdirectories.
    4. Depth of the source tree (Prevents multilibbing and introduces many
    unnecessary configure scripts).
    5. per cpu vs. per bsp configuration (There are no real per-cpu parts
    yets :-).
    6. automake does not support $makefiles in AC_OUTPUT. Unlike before, we
    now should try to avoid RTEMS_CHECK_MAKEFILE and to hard-code as much
    paths to Makefiles as possible.
    7. General redesign of the source tree
    8. Main installation point - Changing it to ${prefix}/${target_alias}. ?

    Besides item 8. (which is a must, IMHO), as far as I see most of them
    can not be solved soon and will remain issues in the mid- to long-term
    :-.

    REMARKS:

    * You (as the maintainer) should always use --enable-maintainer-mode
    when building RTEMS to ensure that maintainer mode generated files (esp.
    those in c/src/make) will be updated when make/* files have changed.
    * Use @RTEMS_BSP@ in Makefile.ins and Makefile.ams below c/src/,
    $(RTEMS_BSP) or ${RTEMS_BSP} will be overridden from environment
    variables when using make RTEMS_BSP="....".
    * c/src/make is a temporary cludge until configuration issues are
    solved. At the moment it is configured per bsp, but contains
    per-target/cpu info only. Its main purpose now is to circumvent
    modifying make/*.cfg files, because I consider make/* to be frozen for
    backward compatibilty.
    * This patch should only affect configuration files. At least I do not
    remember having touched any source files.

    * To build the bare bsp you now need to mention it in --enable-rtemsbsp.

    Example: building gensh1 and sh1/bare simultaneously:
    ../rtems-rc-19990709-1/configure --target=sh-rtems \
    --enable-rtemsbsp="bare gensh1" \
    --prefix=/tmp/rtems \
    --enable-bare-cpu-cflags='-DMHZ=20 -m1
    -DCPU_CONSOLE_DEVNAME=\"/dev/null\"' \
    --enable-bare-cpu-model=sh7032 \
    --enable-maintainer-mode \
    --enable-cxx
    make
    make install

    * The next steps in development would be to split out bsp-tools and then
    to change to Cygnus/GNU canonicalization conventions for building the c/
    subdirectory afterwards (i.e. many standard AC_*.m4 macros could be used
    instead of customized versions)

    FINAL REMARK:
    The issues mentioned in the lists above sound much worser than the
    situation actually is. Most of them are not specific to this patch, but
    are also valid for the snapshot. I just wrote down what I came across
    when working on the patch over the last few weeks.

    I wouldn't be too surprised if you don't like the patch at the current
    point in development. I am willing to discuss details and problems, I
    also have no problem if you would post-pone applying this patch to times
    after 4.1, but rejecting it as a whole for all times would be a false
    management decision, IMHO.

    Therefore I would suggest that you, if your time constaints allow it,
    should at least play a little while with this patch to understand what
    is going on and  before drawing a decision on how to handle this
    proposal. I know this patch is neither perfect nor complete, but I
    consider it to be a major breakthrough.  Don't be anxious because of the
    size of the patch, the core of the patch is rather small, the size is
    mainly the side effect of some systematic cleanups inside the Makefiles
    (result of acpolish).

    Feel free to ask if you encounter problems, if you don't understand
    something or if you meet bugs - I am far from being perfect and am
    prepared to answer them.

    Ralf.

    --
    Ralf Corsepius
    Forschungsinstitut fuer Anwendungsorientierte Wissensverarbeitung (FAW)
    Helmholtzstr. 16, 89081 Ulm, Germany     Tel: +49/731/501-8690
    mailto:corsepiu@faw.uni-ulm.de           FAX: +49/731/501-999
    http://www.faw.uni-ulm.de
1999-07-26 20:20:22 +00:00
Joel Sherrill
83f62bfcb3 This is part of a major patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to move RTEMS more to automake/autoconf and GNU compliance.

    Finally, here they are: the "big-patch" patches - merged into one big
    patch (~1.5MB).

    Sorry for the delay, but testing took much more time than I had expected
    - esp. reworking the acpolish script triggered many more tiny issues
    than I had expected (cf. below).

    At least, now you've got something to spend your weekend with :-.


    WARNINGS:
    * I've gone a little  ??) further than I had announced before.
    * Several directories have been moved.
    * Several files have been added and removed
    * I have tested it with many BSPs/CPUs and a variety of permutiations of
    configuration flags, but not with all.
    * Most parts of the patch are automatically generated, however there are
    many tiny manual modifications.

    APPLYING THE PATCH:

    ./autogen -c
    mkdir tools
    mv c/src/exec/score/tools tools/cpu
    mv c/build-tools tools/build
    mv c/update-tools tools/update
    patch -p1 -E < rtems-rc-19990709-0.diff
    ./autogen

    If the patch doesn't apply to rtems-cvs, I would suggest that you should
    try to apply it brute-force and then to run tools/update/rtems-polish.sh
    -ac -am afterwards. A recursive diff between rtems-19990709 + patch and
    rtems-cvs + patch then should report only a few dozen significant
    changes to configuration files which need to be merged manually (IIRC, I
    did not change any source files).

    *** Attention: There are files to be removed, moved, copied and added
    in/to CVS!

    NEWS/CHANGES:
    1. Configuration takes place in 3 stages: 1. per host (toplevel
    configure script), 2. per target (c/configure), 3. per bsp
    c/src/configure automatically triggered from ./configure and
    c/Makefile.am.
    2. Building of subdirectory c/ takes place in c/$(target_alias) for
    cross-targets in c/ for native targets
    3. Building of subdirectory c/src takes place in c/${target_alias}/<bsp>
    for cross-targets, c/<bsp> for native targets
    4. c/build-tools moved to tools/build
    5. c/src/exec/score/cpu/tools moved to tools/cpu (=cpu-tools split out)
    6. c/update-tools moved to tools/update
    7. New subdirectory c/src/make, handles files from make/ on a per BSP
    basis
    8. Maintainer mode support: Ie. if configuring with
    --enable-maintainer-mode disabled (the default), then tracking of many
    dependencies will be disabled in Makefiles. Esp. many dependencies for
    auto* generated files will be switched off in Makefiles. Ie. if not
    using "--enable-maintainer-mode" many auto* generated files will not be
    updated automatically, i.e. normal users should not be required to have
    auto* tools anymore (untested).
    9. Independent configuration scripts for / (toplevel), tools/build,
    tools/cpu, tools/update, c/, c/src/, c/src/exec, c/src/lib, c/src/tests,
    c/src/make
    10. Automake support for all directories above and besides c/src
    11. "preinstall" now is implemented as depth-first recursive make target

    12. host compiled tools (exception bsp-tools) are accessed in location
    in the build tree instead of inside the build-tree when building RTEMS.
    13. RTEMS_ROOT and PROJECT_ROOT now point to directories inside the
    build-tree - many tiny changes as consequence from this.
    14. --with-cross-host support removed (offically announced obsolete by
    cygnus)
    15. Changing the order of building libraries below c/src/lib/
    16. Former toplevel configure script broken into aclocal/*.m4 macros
    17. Newlib now detected by configure macros, RTEMS_HAS_NEWLIB removed
    from *cfg.
    18. sptables.h now generated by autoconf
    19. Rules for "mkinstalldirs temporary installation tree" moved from
    c/Makefile to subdirectories.
    20. Cpu-tools do not get installed.
    21. FIX: Use ACLOCAL_AMFLAGS instead of ACLOCAL = -I ... in Makefile.ams
    which are in directories with own configure scripts.
    22. Hardcoding BSP names into libbsp/.../tools to avoid RTEMS_BSP get
    overridden from the environment.
    22. FIX: Handling of MP_PIECES in various Makefiles
    23. FIX: Removing "::" rules from some Makefile.ins
    24. FIX: File permission chaos: (-m 444 and -m 555 vs. -m 644 and -m
    755) - Now all include files use -m 644.
    25. Removed many gnumake-conditionals in Makefile.ins - Partially
    replaced with automake-conditional, partially replaced with
    conditionalized Makefile variables (... _yes_V)
    26. Massively reworked acpolish: acpolish now parses Makefile.ins and
    interprets parts of the Makefile.ins.
    27. FIX: Some $(wildcard $(srcdir)/*.h) macros removed / replaced with
    explicit lists of files in Makefile.ins.
    28. FIX: Replacing MKLIB with RANLIB in Makefile.ins
    29. HACK: Add preinstallation for pc386 specific
    $(PROJECT_RELEASE)/BootImgs directory

    ... many more details, I can't recall


    KNOWN BUGS:
    1. make [debug|profile]_install do not do what they are promissing.
    "make [debug|profile] install" does what "make [debug|profile]_install"
    has been doing. Proposal: remove [debug|profile]_install
    2. Dependencies between temporary installation tree and source tree are
    not yet handled correctly.
    3. Dependencies between temporary installation tree and source tree are
    handled ineffencently (Using INSTALL_CHANGE instead of make
    dependencies)
    4. RTEMS_ROOT, PROJECT_ROOT, top_builddir, RTEMS_TOPdir now are
    redundant.
    5. The new configure scripts still are in their infancy. They contain
    redundant checks and might still contain bugs, too.
    6. RTEMS autoconf Makefile.ins use a mixture of configuration
    information gathered in c/$(target_alias)/<bsp>/make and of information
    collected from their configure scripts.
    7. make dist is not fully functional
    8. Subdirectory host-/build-/target- configure options (--target,
    --host, --build) do not conform to Cygnus/GNU conventions.
    9. Some RTEMS autoconf Makefile.in's makefile targets are not supported
    in automake Makefile.ams/ins (e.g. get, clobber).
    10. Some automake standard targets are not propagated from toplevel and
    c/Makefile.am to autoconf subdirectories (eg. make dist).
    11. rpcgen generated files are not part of the source-tree (Automake
    conventions favor supplying generated files inside the source-tree,
    however there is no support for rpcgen generated files in automake, cf.
    yacc/lex support in automake).
    12. RTEMS_HAS_RDBG handling is flaky. make/*.cfg use RTEMS_HAS_RDBG per
    CPU, while librdb's sources can only be built per BSP. Raises the more
    general question whether librdbg located correctly in the source-tree.
    13. All make/*cfg files are configured per cpu, currently there is no
    location to store per-bsp configuration information --> bsp.cfg, per
    aconfig.h?
    14. "make install" without having run "make all" beforehand does not
    work.
    15. handling of --enable-multiprocessing seems to be broken in
    make/custom/*
    16. Makefile.ins still exploit many gmake features.
    17. File permisson chaos on libraries (no explict -m for
    libraries/rels/etc).
    18. mcp750 Makefiles are broken (Note: I *do* mean buggy - I am not
    talking about "not-conforming to  conventions", here :-).
    19. Dependencies between configure scripts are not handled, eg. aborting
    "make RTEMS_BSP=<bsp>" can leave the build-tree in an unusable state.
    20. "make clean" does not delete <build-tree>/<bsp>. This is intentional
    for now, because rerunning "make" after "make clean" requires an
    explicit "make preinstall" afterwards now. This should be done
    automatically, but doesn't work in this case for now. To work around
    this problem <build-tree>/<bsp> is kept during "make clean" for now
    (HACK).

    TODO:
    1. split out host-compiled bsp-tools
    2. Use Cygnus/GNU standards for cross-compiling target-subdir
    (CC=CC_FOR_TARGET .. configure --host=${target_alias}
    --build=`config.guess'}), to be added to toplevel configure script after
    splitting out bsp-tools.
    3. Exploit per cpu support directory (c/src/<cpu>)- Splitting out
    per-cpu libraries - Are there any?
    4. Further automake support
    5. Converting subdirectories into standalone / self-contained
    subdirectories (Esp. moving their headers to the same common root as
    their sources, eg. mv lib/include/rtems++
    lib/librtems++/include/rtems++) - This is the main obstacle which
    prevents moving further towards automake.
    6. Propagating values from *.cfg into Makefiles instead of propagating
    them at make time via Makefile-fragments (i.e. try to avoid using
    *.cfg).
    7. Testing on cygwin host (I *do* expect cygwin specific problems).
    8. The ARCH in o-$(ARCH)-$(VARIANT) build-subdirectories is not needed
    anymore.

    GENERAL ISSUES:
    1. Temporary installation tree -- Ian and I seem to disagree basically.
    Though I think that I understand his argumentation, I do not share it.
    IMO, his way of using the buildtree is mis-using the build-tree, relying
    on an inofficial feature of RTEMS's current implementation, which
    doesn't even work correctly in the current build-tree, though it
    attempts hard to do so. From my very POV, it unnecessarily complicates
    the structures of the source- and build-trees. It is not supported by
    automake (No automatic generation for the necessary rules) and
    complicates the transition to automake significantly (Generating the
    rules with an enhanced version of acpolish could be possible).
    As Ian correctly pointed out, here a management decision is needed -
    though I don't see the need to draw this decision in short terms.

    2. preinstallation generally is a sure means to spoil the structure of
    the source tree, IMHO (No ranting intended, I am completly serious about
    this one). eg. through tree dependencies. The worst problem related to
    this I have found in the meantime is bsp_specs. bsp_specs is part of
    libbsp, ie. there is *no* way to build *any* part of the source tree
    *without* having a BSP *preinstalled*.
    Note: This issue is related to issue 1., but is not identical - The
    difference is the change of the order make rules have to be triggered.
    While preinstallation triggers rules spread all over the source tree
    before a "make all" can be run, a temporary installation tree could also
    be installed by post "make all" hooks (all-local:, to be run after make
    all in a directory is completed) if the directories' dependencies would
    be a tree,

    3. Stuctural dependencies between subdirectories.
    4. Depth of the source tree (Prevents multilibbing and introduces many
    unnecessary configure scripts).
    5. per cpu vs. per bsp configuration (There are no real per-cpu parts
    yets :-).
    6. automake does not support $makefiles in AC_OUTPUT. Unlike before, we
    now should try to avoid RTEMS_CHECK_MAKEFILE and to hard-code as much
    paths to Makefiles as possible.
    7. General redesign of the source tree
    8. Main installation point - Changing it to ${prefix}/${target_alias}. ?

    Besides item 8. (which is a must, IMHO), as far as I see most of them
    can not be solved soon and will remain issues in the mid- to long-term
    :-.

    REMARKS:

    * You (as the maintainer) should always use --enable-maintainer-mode
    when building RTEMS to ensure that maintainer mode generated files (esp.
    those in c/src/make) will be updated when make/* files have changed.
    * Use @RTEMS_BSP@ in Makefile.ins and Makefile.ams below c/src/,
    $(RTEMS_BSP) or ${RTEMS_BSP} will be overridden from environment
    variables when using make RTEMS_BSP="....".
    * c/src/make is a temporary cludge until configuration issues are
    solved. At the moment it is configured per bsp, but contains
    per-target/cpu info only. Its main purpose now is to circumvent
    modifying make/*.cfg files, because I consider make/* to be frozen for
    backward compatibilty.
    * This patch should only affect configuration files. At least I do not
    remember having touched any source files.

    * To build the bare bsp you now need to mention it in --enable-rtemsbsp.

    Example: building gensh1 and sh1/bare simultaneously:
    ../rtems-rc-19990709-1/configure --target=sh-rtems \
    --enable-rtemsbsp="bare gensh1" \
    --prefix=/tmp/rtems \
    --enable-bare-cpu-cflags='-DMHZ=20 -m1
    -DCPU_CONSOLE_DEVNAME=\"/dev/null\"' \
    --enable-bare-cpu-model=sh7032 \
    --enable-maintainer-mode \
    --enable-cxx
    make
    make install

    * The next steps in development would be to split out bsp-tools and then
    to change to Cygnus/GNU canonicalization conventions for building the c/
    subdirectory afterwards (i.e. many standard AC_*.m4 macros could be used
    instead of customized versions)

    FINAL REMARK:
    The issues mentioned in the lists above sound much worser than the
    situation actually is. Most of them are not specific to this patch, but
    are also valid for the snapshot. I just wrote down what I came across
    when working on the patch over the last few weeks.

    I wouldn't be too surprised if you don't like the patch at the current
    point in development. I am willing to discuss details and problems, I
    also have no problem if you would post-pone applying this patch to times
    after 4.1, but rejecting it as a whole for all times would be a false
    management decision, IMHO.

    Therefore I would suggest that you, if your time constaints allow it,
    should at least play a little while with this patch to understand what
    is going on and  before drawing a decision on how to handle this
    proposal. I know this patch is neither perfect nor complete, but I
    consider it to be a major breakthrough.  Don't be anxious because of the
    size of the patch, the core of the patch is rather small, the size is
    mainly the side effect of some systematic cleanups inside the Makefiles
    (result of acpolish).

    Feel free to ask if you encounter problems, if you don't understand
    something or if you meet bugs - I am far from being perfect and am
    prepared to answer them.

    Ralf.

    --
    Ralf Corsepius
    Forschungsinstitut fuer Anwendungsorientierte Wissensverarbeitung (FAW)
    Helmholtzstr. 16, 89081 Ulm, Germany     Tel: +49/731/501-8690
    mailto:corsepiu@faw.uni-ulm.de           FAX: +49/731/501-999
    http://www.faw.uni-ulm.de
1999-07-26 20:19:49 +00:00
Joel Sherrill
6693a68ffa This is part of a major patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to move RTEMS more to automake/autoconf and GNU compliance.

    Finally, here they are: the "big-patch" patches - merged into one big
    patch (~1.5MB).

    Sorry for the delay, but testing took much more time than I had expected
    - esp. reworking the acpolish script triggered many more tiny issues
    than I had expected (cf. below).

    At least, now you've got something to spend your weekend with :-.


    WARNINGS:
    * I've gone a little (??) further than I had announced before.
    * Several directories have been moved.
    * Several files have been added and removed
    * I have tested it with many BSPs/CPUs and a variety of permutiations of
    configuration flags, but not with all.
    * Most parts of the patch are automatically generated, however there are
    many tiny manual modifications.

    APPLYING THE PATCH:

    ./autogen -c
    mkdir tools
    mv c/src/exec/score/tools tools/cpu
    mv c/build-tools tools/build
    mv c/update-tools tools/update
    patch -p1 -E < rtems-rc-19990709-0.diff
    ./autogen

    If the patch doesn't apply to rtems-cvs, I would suggest that you should
    try to apply it brute-force and then to run tools/update/rtems-polish.sh
    -ac -am afterwards. A recursive diff between rtems-19990709 + patch and
    rtems-cvs + patch then should report only a few dozen significant
    changes to configuration files which need to be merged manually (IIRC, I
    did not change any source files).

    *** Attention: There are files to be removed, moved, copied and added
    in/to CVS!

    NEWS/CHANGES:
    1. Configuration takes place in 3 stages: 1. per host (toplevel
    configure script), 2. per target (c/configure), 3. per bsp
    c/src/configure automatically triggered from ./configure and
    c/Makefile.am.
    2. Building of subdirectory c/ takes place in c/$(target_alias) for
    cross-targets in c/ for native targets
    3. Building of subdirectory c/src takes place in c/${target_alias}/<bsp>
    for cross-targets, c/<bsp> for native targets
    4. c/build-tools moved to tools/build
    5. c/src/exec/score/cpu/tools moved to tools/cpu (=cpu-tools split out)
    6. c/update-tools moved to tools/update
    7. New subdirectory c/src/make, handles files from make/ on a per BSP
    basis
    8. Maintainer mode support: Ie. if configuring with
    --enable-maintainer-mode disabled (the default), then tracking of many
    dependencies will be disabled in Makefiles. Esp. many dependencies for
    auto* generated files will be switched off in Makefiles. Ie. if not
    using "--enable-maintainer-mode" many auto* generated files will not be
    updated automatically, i.e. normal users should not be required to have
    auto* tools anymore (untested).
    9. Independent configuration scripts for / (toplevel), tools/build,
    tools/cpu, tools/update, c/, c/src/, c/src/exec, c/src/lib, c/src/tests,
    c/src/make
    10. Automake support for all directories above and besides c/src
    11. "preinstall" now is implemented as depth-first recursive make target

    12. host compiled tools (exception bsp-tools) are accessed in location
    in the build tree instead of inside the build-tree when building RTEMS.
    13. RTEMS_ROOT and PROJECT_ROOT now point to directories inside the
    build-tree - many tiny changes as consequence from this.
    14. --with-cross-host support removed (offically announced obsolete by
    cygnus)
    15. Changing the order of building libraries below c/src/lib/
    16. Former toplevel configure script broken into aclocal/*.m4 macros
    17. Newlib now detected by configure macros, RTEMS_HAS_NEWLIB removed
    from *cfg.
    18. sptables.h now generated by autoconf
    19. Rules for "mkinstalldirs temporary installation tree" moved from
    c/Makefile to subdirectories.
    20. Cpu-tools do not get installed.
    21. FIX: Use ACLOCAL_AMFLAGS instead of ACLOCAL = -I ... in Makefile.ams
    which are in directories with own configure scripts.
    22. Hardcoding BSP names into libbsp/.../tools to avoid RTEMS_BSP get
    overridden from the environment.
    22. FIX: Handling of MP_PIECES in various Makefiles
    23. FIX: Removing "::" rules from some Makefile.ins
    24. FIX: File permission chaos: (-m 444 and -m 555 vs. -m 644 and -m
    755) - Now all include files use -m 644.
    25. Removed many gnumake-conditionals in Makefile.ins - Partially
    replaced with automake-conditional, partially replaced with
    conditionalized Makefile variables (... _yes_V)
    26. Massively reworked acpolish: acpolish now parses Makefile.ins and
    interprets parts of the Makefile.ins.
    27. FIX: Some $(wildcard $(srcdir)/*.h) macros removed / replaced with
    explicit lists of files in Makefile.ins.
    28. FIX: Replacing MKLIB with RANLIB in Makefile.ins
    29. HACK: Add preinstallation for pc386 specific
    $(PROJECT_RELEASE)/BootImgs directory

    ... many more details, I can't recall


    KNOWN BUGS:
    1. make [debug|profile]_install do not do what they are promissing.
    "make [debug|profile] install" does what "make [debug|profile]_install"
    has been doing. Proposal: remove [debug|profile]_install
    2. Dependencies between temporary installation tree and source tree are
    not yet handled correctly.
    3. Dependencies between temporary installation tree and source tree are
    handled ineffencently (Using INSTALL_CHANGE instead of make
    dependencies)
    4. RTEMS_ROOT, PROJECT_ROOT, top_builddir, RTEMS_TOPdir now are
    redundant.
    5. The new configure scripts still are in their infancy. They contain
    redundant checks and might still contain bugs, too.
    6. RTEMS autoconf Makefile.ins use a mixture of configuration
    information gathered in c/$(target_alias)/<bsp>/make and of information
    collected from their configure scripts.
    7. make dist is not fully functional
    8. Subdirectory host-/build-/target- configure options (--target,
    --host, --build) do not conform to Cygnus/GNU conventions.
    9. Some RTEMS autoconf Makefile.in's makefile targets are not supported
    in automake Makefile.ams/ins (e.g. get, clobber).
    10. Some automake standard targets are not propagated from toplevel and
    c/Makefile.am to autoconf subdirectories (eg. make dist).
    11. rpcgen generated files are not part of the source-tree (Automake
    conventions favor supplying generated files inside the source-tree,
    however there is no support for rpcgen generated files in automake, cf.
    yacc/lex support in automake).
    12. RTEMS_HAS_RDBG handling is flaky. make/*.cfg use RTEMS_HAS_RDBG per
    CPU, while librdb's sources can only be built per BSP. Raises the more
    general question whether librdbg located correctly in the source-tree.
    13. All make/*cfg files are configured per cpu, currently there is no
    location to store per-bsp configuration information --> bsp.cfg, per
    aconfig.h?
    14. "make install" without having run "make all" beforehand does not
    work.
    15. handling of --enable-multiprocessing seems to be broken in
    make/custom/*
    16. Makefile.ins still exploit many gmake features.
    17. File permisson chaos on libraries (no explict -m for
    libraries/rels/etc).
    18. mcp750 Makefiles are broken (Note: I *do* mean buggy - I am not
    talking about "not-conforming to  conventions", here :-).
    19. Dependencies between configure scripts are not handled, eg. aborting
    "make RTEMS_BSP=<bsp>" can leave the build-tree in an unusable state.
    20. "make clean" does not delete <build-tree>/<bsp>. This is intentional
    for now, because rerunning "make" after "make clean" requires an
    explicit "make preinstall" afterwards now. This should be done
    automatically, but doesn't work in this case for now. To work around
    this problem <build-tree>/<bsp> is kept during "make clean" for now
    (HACK).

    TODO:
    1. split out host-compiled bsp-tools
    2. Use Cygnus/GNU standards for cross-compiling target-subdir
    (CC=CC_FOR_TARGET .. configure --host=${target_alias}
    --build=`config.guess'}), to be added to toplevel configure script after
    splitting out bsp-tools.
    3. Exploit per cpu support directory (c/src/<cpu>)- Splitting out
    per-cpu libraries - Are there any?
    4. Further automake support
    5. Converting subdirectories into standalone / self-contained
    subdirectories (Esp. moving their headers to the same common root as
    their sources, eg. mv lib/include/rtems++
    lib/librtems++/include/rtems++) - This is the main obstacle which
    prevents moving further towards automake.
    6. Propagating values from *.cfg into Makefiles instead of propagating
    them at make time via Makefile-fragments (i.e. try to avoid using
    *.cfg).
    7. Testing on cygwin host (I *do* expect cygwin specific problems).
    8. The ARCH in o-$(ARCH)-$(VARIANT) build-subdirectories is not needed
    anymore.

    GENERAL ISSUES:
    1. Temporary installation tree -- Ian and I seem to disagree basically.
    Though I think that I understand his argumentation, I do not share it.
    IMO, his way of using the buildtree is mis-using the build-tree, relying
    on an inofficial feature of RTEMS's current implementation, which
    doesn't even work correctly in the current build-tree, though it
    attempts hard to do so. From my very POV, it unnecessarily complicates
    the structures of the source- and build-trees. It is not supported by
    automake (No automatic generation for the necessary rules) and
    complicates the transition to automake significantly (Generating the
    rules with an enhanced version of acpolish could be possible).
    As Ian correctly pointed out, here a management decision is needed -
    though I don't see the need to draw this decision in short terms.

    2. preinstallation generally is a sure means to spoil the structure of
    the source tree, IMHO (No ranting intended, I am completly serious about
    this one). eg. through tree dependencies. The worst problem related to
    this I have found in the meantime is bsp_specs. bsp_specs is part of
    libbsp, ie. there is *no* way to build *any* part of the source tree
    *without* having a BSP *preinstalled*.
    Note: This issue is related to issue 1., but is not identical - The
    difference is the change of the order make rules have to be triggered.
    While preinstallation triggers rules spread all over the source tree
    before a "make all" can be run, a temporary installation tree could also
    be installed by post "make all" hooks (all-local:, to be run after make
    all in a directory is completed) if the directories' dependencies would
    be a tree,

    3. Stuctural dependencies between subdirectories.
    4. Depth of the source tree (Prevents multilibbing and introduces many
    unnecessary configure scripts).
    5. per cpu vs. per bsp configuration (There are no real per-cpu parts
    yets :-).
    6. automake does not support $makefiles in AC_OUTPUT. Unlike before, we
    now should try to avoid RTEMS_CHECK_MAKEFILE and to hard-code as much
    paths to Makefiles as possible.
    7. General redesign of the source tree
    8. Main installation point - Changing it to ${prefix}/${target_alias}. ?

    Besides item 8. (which is a must, IMHO), as far as I see most of them
    can not be solved soon and will remain issues in the mid- to long-term
    :-.

    REMARKS:

    * You (as the maintainer) should always use --enable-maintainer-mode
    when building RTEMS to ensure that maintainer mode generated files (esp.
    those in c/src/make) will be updated when make/* files have changed.
    * Use @RTEMS_BSP@ in Makefile.ins and Makefile.ams below c/src/,
    $(RTEMS_BSP) or ${RTEMS_BSP} will be overridden from environment
    variables when using make RTEMS_BSP="....".
    * c/src/make is a temporary cludge until configuration issues are
    solved. At the moment it is configured per bsp, but contains
    per-target/cpu info only. Its main purpose now is to circumvent
    modifying make/*.cfg files, because I consider make/* to be frozen for
    backward compatibilty.
    * This patch should only affect configuration files. At least I do not
    remember having touched any source files.

    * To build the bare bsp you now need to mention it in --enable-rtemsbsp.

    Example: building gensh1 and sh1/bare simultaneously:
    ../rtems-rc-19990709-1/configure --target=sh-rtems \
    --enable-rtemsbsp="bare gensh1" \
    --prefix=/tmp/rtems \
    --enable-bare-cpu-cflags='-DMHZ=20 -m1
    -DCPU_CONSOLE_DEVNAME=\"/dev/null\"' \
    --enable-bare-cpu-model=sh7032 \
    --enable-maintainer-mode \
    --enable-cxx
    make
    make install

    * The next steps in development would be to split out bsp-tools and then
    to change to Cygnus/GNU canonicalization conventions for building the c/
    subdirectory afterwards (i.e. many standard AC_*.m4 macros could be used
    instead of customized versions)

    FINAL REMARK:
    The issues mentioned in the lists above sound much worser than the
    situation actually is. Most of them are not specific to this patch, but
    are also valid for the snapshot. I just wrote down what I came across
    when working on the patch over the last few weeks.

    I wouldn't be too surprised if you don't like the patch at the current
    point in development. I am willing to discuss details and problems, I
    also have no problem if you would post-pone applying this patch to times
    after 4.1, but rejecting it as a whole for all times would be a false
    management decision, IMHO.

    Therefore I would suggest that you, if your time constaints allow it,
    should at least play a little while with this patch to understand what
    is going on and  before drawing a decision on how to handle this
    proposal. I know this patch is neither perfect nor complete, but I
    consider it to be a major breakthrough.  Don't be anxious because of the
    size of the patch, the core of the patch is rather small, the size is
    mainly the side effect of some systematic cleanups inside the Makefiles
    (result of acpolish).

    Feel free to ask if you encounter problems, if you don't understand
    something or if you meet bugs - I am far from being perfect and am
    prepared to answer them.

    Ralf.

    --
    Ralf Corsepius
    Forschungsinstitut fuer Anwendungsorientierte Wissensverarbeitung (FAW)
    Helmholtzstr. 16, 89081 Ulm, Germany     Tel: +49/731/501-8690
    mailto:corsepiu@faw.uni-ulm.de           FAX: +49/731/501-999
    http://www.faw.uni-ulm.de
1999-07-26 20:00:37 +00:00
Joel Sherrill
b0ac03f4dd Moved to top level directory per patch rtems-rc-19990709-0.diff.gz
from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
1999-07-23 20:01:41 +00:00
Joel Sherrill
e5dafccb09 Tools moved to top-level directory per patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>. 1999-07-23 19:59:26 +00:00
Joel Sherrill
1f42090624 Patch to ease building MCP750 BSP. 1999-07-23 19:33:28 +00:00
Joel Sherrill
00d11bb7df Added shell of information on resources for embedded information. 1999-07-15 15:58:17 +00:00
Joel Sherrill
b44cfb988a Corrections from Chris Johns <ccj@acm.org>. 1999-07-15 15:57:33 +00:00
Joel Sherrill
70b8f3ed6d Added information on hardware to aid in debugging. Primarily this is
information on gdb and bdm for the MPC8xx, MC683xx, and ColdFire.
1999-07-15 15:52:22 +00:00
Joel Sherrill
28e470ab6c New file. 1999-07-14 20:59:45 +00:00
Joel Sherrill
75c45f23b6 Added comment on where this manager came from. 1999-07-13 18:05:31 +00:00
Joel Sherrill
56634c50a1 Update from Jeff Mayes, Jennifer Averett, and Suzie Provitt. 1999-07-13 18:05:13 +00:00
Joel Sherrill
d263347055 Update including fixes for my comments from Xiangyang Wu <wux@cspar.uah.edu>
and xing@ebs330.eb.uah.edu.
1999-07-13 18:04:13 +00:00
Joel Sherrill
49a9050857 Added section on Free Software that Supports RTEMS. 1999-07-13 17:16:40 +00:00
Joel Sherrill
38e4a9169a Patch from Rosimildo DaSilva <rdasilva@connecttel.com> to readd calls to
init() and fini() routines.
1999-07-13 14:54:16 +00:00
Joel Sherrill
09ea257c58 Patch from Eric Norum <eric@cls.usask.ca>:
I get the following warning when compiling the latest snapshot.  I had
a quick look at the source -- it certainly looks to me like this is a
real bug.

../../../../src/rtems-19990709/c/src/lib/libc/mount.c:97: warning:
`options' might be used uninitialized in this function

Also, I changed the TFTP test program and TFTP driver to reflect the
changes in the way paths are passed to the TFTP driver.  The TFTP driver
now needs a proper `dotted-decimal' hostname as the second component of
the path name.
1999-07-12 15:52:35 +00:00
Joel Sherrill
8e4b4bd3b8 changed version to 19990709 1999-07-09 19:58:11 +00:00
Joel Sherrill
3de63d9d09 Updated version 1999-07-09 19:52:57 +00:00
Joel Sherrill
4b57d27255 Added information on the workspace versus heap. 1999-07-09 19:36:51 +00:00
Joel Sherrill
1377bb1455 changed version to 19990709 1999-07-09 19:27:43 +00:00
Joel Sherrill
f4211327a4 New files from Jiri Gaisler <jgais@ws.estec.esa.nl>. 1999-07-09 18:23:59 +00:00
Joel Sherrill
2728b0749d New file from Jake Janovetz <janovetz@tempest.ece.uiuc.edu>. 1999-07-09 17:23:15 +00:00
Joel Sherrill
93180ea26a Patch from Eric Valette <valette@crf.canon.fr>:
- The same bug fix that was done on pc386 to prevent interrupt
   from occuring (never experienced it but who knows as I have 8259
   emulation :()
   - Removed every compiler warning (except wrong ones and ones I can't do
   anything).
   - Removed any libc available code in code linked with mcp750 rtems
   executbale. Unfortunately  using newlib functions for linking the
   bootloader does not work as the compilation options in bootloader
   (-mrelocatable -fixed-r13) are not compatible with newlib options.
   => I have put any libc external reference in one single new file (lib.c)
   that is linked only with the boot loader. Removing the file from
   ${OBJ} and  using -lc crash the bootloader. Added big warning...
1999-07-09 17:16:10 +00:00
Joel Sherrill
b73e57bffe Patch from Jiri Gaisler <jgais@ws.estec.esa.nl>:
+ interrupt masking correction
  + FPU rev.B workaround
  + minor erc32 related fixes
1999-07-09 17:08:48 +00:00
Joel Sherrill
cc17eba0cb Make sure pthread init stack size is always set. 1999-07-09 16:56:34 +00:00
Joel Sherrill
adbb578abb Moved definitions to a more logical place. 1999-07-08 22:45:07 +00:00
Joel Sherrill
0f8a69e725 Some cleanup to make it format better. Compensated for multiple services
on a single page.
1999-07-08 15:35:38 +00:00
Joel Sherrill
e74dc82fb1 First draft from Xiangyang Wu <wux@cspar.uah.edu>. 1999-07-08 15:28:15 +00:00
Joel Sherrill
2aab33e561 From Fei Ling <fling@cs.uah.edu>. 1999-07-06 14:52:55 +00:00
Joel Sherrill
bae90e17a7 Added a lot of information on confdefs.t 1999-07-03 19:06:57 +00:00
Joel Sherrill
f3482e3a31 Added documentation on "two new SOL_SOCKET level options for setsockopt and
getsockopt: SO_SNDWAKEUP and SO_RCVWAKEUP" from Ian Lance Taylor
<ian@airs.com>.
1999-07-03 17:33:20 +00:00
Joel Sherrill
28807e79bb Removed concept of distribution level. 1999-07-03 17:13:27 +00:00
Joel Sherrill
462648b93a Changed System Database routines to implemented. 1999-07-03 17:12:52 +00:00
Joel Sherrill
1cf469f3df New file. 1999-07-03 16:08:21 +00:00
Joel Sherrill
771c1479be New files missed in previous addition. 1999-07-03 15:38:38 +00:00
Joel Sherrill
a381e6e43e Added some C++/GNU sections. 1999-07-03 15:33:08 +00:00
Joel Sherrill
c8d91839ff Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> that splits
boot_card() and main() into separate files to ease configuration
of other packages.  This was a big step in the way to build TCL,
ncurses, and zlib for RTEMS.
1999-07-02 18:57:11 +00:00
Joel Sherrill
a0a225f4aa Added code to initialize the /etc/group and /etc/passwd files. 1999-07-02 18:50:40 +00:00
Joel Sherrill
c51917f304 Fixed format strings and warnings. 1999-07-02 18:09:03 +00:00
Joel Sherrill
c3d20eba96 Reentrant versions added by Joel. Signficant formatting cleanup. 1999-07-02 18:03:43 +00:00
Joel Sherrill
258fd794fd Password and group routines added by Ralf Corsepius <corsepiu@faw.uni-ulm.de>. 1999-07-02 17:13:27 +00:00
Joel Sherrill
fcee56c0b1 Patch from Eric Valette <valette@crf.canon.fr> to clean up the
previous submission.
1999-07-01 23:39:13 +00:00
Joel Sherrill
2a6a029ff4 Added error status for bad return pointer argument on rtems_task_set_priority. 1999-07-01 23:06:29 +00:00
Joel Sherrill
c85b8f2ff7 Corrected formatting so argument was in code font. 1999-07-01 23:05:51 +00:00
Joel Sherrill
68f54e1a6a Fixed reference to initialize_executive to use the current name. 1999-07-01 23:05:34 +00:00
Joel Sherrill
e2c8e2cdc7 Filled in. 1999-07-01 23:05:07 +00:00
Joel Sherrill
1c4d8f0e56 Cleaned up and much neater. 1999-07-01 23:04:46 +00:00
Joel Sherrill
ed1a0e51b3 Honor 0 as PID of caller. 1999-07-01 22:57:23 +00:00
Joel Sherrill
78b78e2383 Another attempt at getting everything to build with the new powerpc
libcpu.
1999-07-01 22:43:09 +00:00
Joel Sherrill
2a85368d24 Fixed typo. 1999-07-01 22:42:33 +00:00
Joel Sherrill
bb224a9706 Added signal_2 file to contain signal(2). 1999-07-01 22:42:11 +00:00
Joel Sherrill
51e04a2c7f New file to implement signal(2). 1999-07-01 22:28:30 +00:00
Joel Sherrill
10794a735a Modified to reflect change in calling sequence of mount(). 1999-07-01 22:08:33 +00:00
Joel Sherrill
dbf969e1d5 Test modified to reflect change in calling sequence of mount(). 1999-07-01 22:08:13 +00:00
Joel Sherrill
e7792b2585 Cleaned up to behave properly -- does not make a directory in the
install tree and does not "cd wrapup."
1999-07-01 22:07:32 +00:00
Joel Sherrill
6be1238ee0 Now preinstalls header files. 1999-07-01 22:06:49 +00:00
Joel Sherrill
9519bf49aa Removed mkdir of libcpu. This should have been at the top of the tree. 1999-07-01 22:05:36 +00:00
Joel Sherrill
28861e8df6 Remove mkdir command. It should be at the top level of the tree. 1999-07-01 22:05:10 +00:00
Joel Sherrill
7782f9fca0 Modified to provide symbols with and without leading underscore in order
to support a.out and ELF.
1999-07-01 21:53:17 +00:00
Joel Sherrill
e2ba0af670 Modified to support ELF. Before SYM() macro was not used consistently. 1999-07-01 21:52:33 +00:00
Joel Sherrill
4e556493d6 Modified to ignore console interrupts. Otherwise console interrupts were
Ada exceptions. Fixed by Joel with advice from Jiri.
1999-07-01 21:52:01 +00:00
Joel Sherrill
64b2960089 Removed hack to set __USER_LABEL_PREFIX__ since late model gcc's and
egcs source tree handle this correctly.  No one should be using
gcc 2.7.2 anymore.
1999-07-01 18:57:15 +00:00
Joel Sherrill
a8b90eea5f Added include/libcpu to list of directories made. 1999-07-01 18:56:04 +00:00
Joel Sherrill
76ee648cfe Patch from Ralf Corsepius to enhance autogen's behavior. 1999-07-01 18:55:29 +00:00
Joel Sherrill
b0b84addc4 Regenerated. 1999-07-01 18:47:51 +00:00
Joel Sherrill
455d855260 Added dummy gnatinstallhandler code for all BSPs. This lets Ada programs
link even if they do not actually support Ada interrupts.
1999-06-24 17:53:16 +00:00
Joel Sherrill
373d359b66 Corrected and fleshed out. 1999-06-18 14:47:02 +00:00
Joel Sherrill
e72dfa238c Patch from Eric Valette <valette@crf.canon.fr> based on bug report from
David.Decotigny@irisa.fr and discussion with Joel.  Basically interrupts
were enabled too early in this BSP.
1999-06-18 14:30:09 +00:00
Joel Sherrill
123bbf9509 Removed pc386 specific command. 1999-06-18 14:12:26 +00:00
Joel Sherrill
dd55c5e7e3 Switched to using right INSTALL command after report from
Ian Lance Taylor <ian@airs.com>.
1999-06-17 21:51:32 +00:00
Joel Sherrill
2691449d9f Patch from Ian Lance Taylor <ian@airs.com> to use INSTALL_CHANGE instead
of INSTALL_DATA.
1999-06-17 21:49:10 +00:00
Joel Sherrill
8c92fa385a Patcg from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
-- configure now fails to detect the toolchain for linux-posix.

  As work-around, I have reverted to the old behavior of RTEMS_TARGET_CPU_NAME,
  thus no_cpu/no_bsp will fail badly in configure again.
1999-06-16 14:55:28 +00:00
Joel Sherrill
1407343262 Regenerated 1999-06-15 23:11:53 +00:00
Joel Sherrill
d2d22780d5 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
> When I run my script that just repeatedly builds different targets, some
    > of them die with an error like this:
    >
    > Making all RTEMS_BSP=gen68360 in cpugmake[5]: Entering directory
    > `/usr1/rtems/build/build-m68k-rtems/c/src/exec/score/cpu'
    > Making all RTEMS_BSP=gen68360 in @RTEMS_CPU@
    > /bin/sh: @RTEMS_CPU@: No such file or directory
    > gmake[5]: *** [all] Error 1
    > gmake[5]: Leaving directory
    > `/usr1/rtems/build/build-m68k-rtems/c/src/exec/score/cpu'
    >
    > It is not always the same variable substitution that fails.  Sometimes it
    > is @INSTALL@.  But reliably, it is a variable substitution that is
    > failing.
    >
    > Do you have any idea why this happens?

    Yep, I think I know what's going on.

    AC_SUBST(RTEMS_CPU) is missing in configure.ins, thus @RTEMS_CPU@ in
    target.cfg.in doesn't get substituted correctly, causing the bug above. Due
    to the redundancy of RTEMS_CPU, other most BSPs don't seem to be affected.

    Other similar problems probably exist for the unix/posix bsp and the hppa.1
    cpu, because their */tools/*Makefile.ams require RTEMS_CPU, too.
1999-06-15 22:46:44 +00:00
Joel Sherrill
cf1806b4e8 Attempt at getting desired ioctl.h included. :) 1999-06-15 22:17:10 +00:00
Joel Sherrill
937ab62c30 After comments D. V. Henkel-Wallace <gumby@zembu.com>, the interface to
mount() was changed to avoid the use of a string as the options.
1999-06-15 22:16:30 +00:00
Joel Sherrill
aea6ce0b39 Regenerated. 1999-06-15 22:02:03 +00:00
Joel Sherrill
8e0dcadec5 Patch from Rosimildo DaSilva <rdasilva@connecttel.com> to make C++
exceptions work on the pc386 BSP with i386-elf.  This patch also
included changes to the i386-rtemself egcs configuration.
1999-06-15 22:01:04 +00:00
Joel Sherrill
1b67be7133 Directives -> services. 1999-06-15 00:32:30 +00:00
Joel Sherrill
56853af0e1 Some stuff added. 1999-06-15 00:32:19 +00:00
Joel Sherrill
d48ea699b4 Significantly enhanced. At least the per routine pages for this chapter
are now filled in.
1999-06-15 00:07:14 +00:00
Joel Sherrill
4ecc390933 RTEMS_FILESYSTEM_READ_WRITE_ONLY changed to RTEMS_FILESYSTEM_READ_WRITE
for simplicity.
1999-06-14 20:18:56 +00:00
Joel Sherrill
d741406c1a Wrong prototype corrected. 1999-06-14 20:18:13 +00:00
Joel Sherrill
0ac8e382e9 Warning removal from D. V. Henkel-Wallace <gumby@zembu.com>. 1999-06-14 19:44:07 +00:00
Joel Sherrill
15aa5ffbfd Patch ("FIX: no_cpu/no_bsp") from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
This patch should fix the nastiest configuration bugs for no_cpu/no_bsp.

    With this patch applied, configure --target=no_cpu-rtems now correctly
    acknowledges its configuration, but later fails building when trying to
    build libcsupport (I leave this problem for you :-).

    Fixes/Changes:
    * aclocal/canonicalize-target-name.m4: use RTEMS_CPU instead of
      target_cpu, switch to a native compiler setup if target = no_cpu*rtems,
      ie. implicitly use host=target (native) and RTEMS_CPU=no_cpu for
      --target=no_cpu*rtems.
    * add no_bsp/bsp_specs (Support -qrtems, -qrtems_debug; please check
      before adding :-)
    * Use RTEMS_CANONICALIZE_TARGET_CPU instead of AC_CANONICAL_SYSTEM in
      toplevel/configure.in
    * All references to $target_cpu in aclocal/*.m4, Makefile.ins and *.cfg
      files changed to RTEMS_CPU
    * bug fixes to exec/score/cpu/no_cpu/wrap (This part of the patch may
      result into patch rejections, because your recently posted patch may
      also have addressed this problem).

    After applying this patch, please do:

        cvs add c/src/lib/libbsp/no_cpu/no_bsp/bsp_specs
        ./autogen
1999-06-14 18:54:24 +00:00
Joel Sherrill
3b38683e92 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
* Use $(PACKHEX) instead of $(PROJECT_TOOLS)/packhex
  * Set HAS_RDBG=no for ts_386ex otherwise building it will attempt to
    compile librdbg for pc386
1999-06-14 18:33:39 +00:00
Joel Sherrill
b290da4c0a Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
* RTEMS_CPU for score603e should be "powerpc" instead of "ppc" (Should
    not have any side-effects, because RTEMS_CPU in make/custom/*.cfg
    already is overridden in make/target.cfg.in)
  * Use $(PACKHEX) instead of $(PROJECT_TOOLS)/packhex
1999-06-14 18:33:38 +00:00
Joel Sherrill
00f9ec0993 Updsated to reflect mpc750/mcp750 submission. 1999-06-14 18:31:57 +00:00
Joel Sherrill
817466c863 Patch ("FIX: MKDIR/INSTALL_VARIANT") from Ralf Corsepius
<corsepiu@faw.uni-ulm.de>:

    This patch removes MKDIR from RTEMS source tree and fixes another small
    bug in the definition of INSTALL_VARIANT (cf. to the patch itself for
    details, it should be self-explanatory)

    After applying the patch please do:

        cvs rm aclocal/mkdir.m4
        ./autogen
1999-06-14 18:29:09 +00:00
Joel Sherrill
fbe75c6e54 This is a large patch from Eric Valette <valette@crf.canon.fr> that was
described in the message following this paragraph.  This patch also includes
a mcp750 BSP.

From valette@crf.canon.fr Mon Jun 14 10:03:08 1999
Date: Tue, 18 May 1999 01:30:14 +0200 (CEST)
From: VALETTE Eric <valette@crf.canon.fr>
To: joel@oarcorp.com
Cc: raguet@crf.canon.fr, rtems-snapshots@oarcorp.com, valette@crf.canon.fr
Subject: Questions/Suggestion regarding RTEMS PowerPC code (long)


Dear knowledgeable RTEMS powerpc users,

As some of you may know, I'm currently finalizing a port
of RTEMS on a MCP750 Motorola board. I have done most
of it but have some questions to ask before submitting
the port.

In order to understand some of the changes I have made
or would like to make, maybe it is worth describing the
MCP750 Motorola board.

the MCP750 is a COMPACT PCI powerpc board with :

	1) a MPC750 233 MHz processor,
	2) a raven bus bridge/PCI controller that
	implement an OPENPIC compliant interrupt controller,
	3) a VIA 82C586 PCI/ISA bridge that offers a PC
	compliant IO for keyboard, serial line, IDE, and
	the well known PC 8259 cascaded PIC interrupt
	architecture model,
	4) a DEC 21140 Ethernet controller,
	5) the PPCBUG Motorola firmware in flash,
	6) A DEC PCI bridge,

This architecture is common to most Motorola 60x/7xx
board except that :
	1) on VME board, the DEC PCI bridge is replaced by
	a VME chipset,
	2) the VIA 82C586 PCI/ISA bridge is replaced by
	another bridge that is almost fully compatible
	with the via bridge...

So the port should be a rather close basis for many
60x/7xx motorola board...

On this board, I already have ported Linux 2.2.3 and
use it both as a development and target board.

Now the questions/suggestions I have :

1)  EXCEPTION CODE
-------------------

As far as I know exceptions on PPC are handled like
interrupts. I dislike this very much as :

	a) Except for the decrementer exception (and
	maybe some other on mpc8xx), exceptions are
	not recoverable and the handler just need to print
	the full context and go to the firmware or debugger...
	b) The interrupt switch is only necessary for the
	decrementer and external interrupt (at least on
	6xx,7xx).
	c) The full context for exception is never saved and
	thus cannot be used by debugger... I do understand
	the most important for interrupts low level code
	is to save the minimal context enabling	to call C
	code for performance reasons. On non recoverable
	exception on the other hand, the most important is
	to save the maximum information concerning proc status
	in order to analyze the reason of the fault. At
	least we will need this in order to implement the
	port of RGDB on PPC

==> I wrote an API for connecting raw exceptions (and thus
raw interrupts) for mpc750. It should be valid for most
powerpc processors... I hope to find a way to make this coexist
with actual code layout. The code is actually located
in lib/libcpu/powerpc/mpc750 and is thus optional
(provided I write my own version of exec/score/cpu/powerpc/cpu.c ...)

See remark about files/directory layout organization in 4)

2) Current Implementation of ISR low level code
-----------------------------------------------

I do not understand why the MSR EE flags is cleared
again in exec/score/cpu/powerpc/irq_stubs.S

#if (PPC_USE_SPRG)
	mfmsr	r5
	mfspr   r6, sprg2
#else
        lwz	r6,msr_initial(r11)
	lis     r5,~PPC_MSR_DISABLE_MASK@ha
        ori     r5,r5,~PPC_MSR_DISABLE_MASK@l
	and	r6,r6,r5
	mfmsr	r5
#endif

Reading the doc, when a decrementer interrupt or an
external interrupt is active, the MSR EE flag is already
cleared. BTW if exception/interrupt could occur, it would
trash SRR0 and SRR1. In fact the code may be useful to set
MSR[RI] that re-enables exception processing. BTW I will need
to set other value in MSR to handle interrupts :

	a) I want the MSR[IR] and MSR[DR] to be set for
	performance reasons and also because I need DBAT
	support to have access to PCI memory space as the
	interrupt controller is in the PCI space.

Reading the code, I see others have the same kind of request :

/* SCE 980217
 *
 * We need address translation ON when we call our ISR routine

	mtmsr	r5

 */

This is just another prof that even the lowest level
IRQ code is fundamentally board dependent and
not simply processor dependent especially when
the processor use external interrupt controller
because it has a single interrupt request line...

Note that if you look at the PPC code high level interrupt
handling code, as the "set_vector" routine that really connects
the interrupt is in the BSP/startup/genpvec.c,
the fact that IRQ handling is BSP specific is DE-FACTO
acknowledged.

I know I have already expressed this and understand that this
would require some heavy change in the code but believe
me you will reach a point where you will not be able
to find a compatible while optimum implementation for low level
interrupt handling code...) In my case this is already true...

So please consider removing low level IRQ handling from
exec/score/cpu/* and only let there exception handling code...
Exceptions are usually only processor dependent and do
not depend on external hardware mechanism to be masked or
acknowledged or re-enabled (there are probably exception but ...)

I have already done this for pc386 bsp but need to make it again.
This time I will even propose an API.

3) R2/R13 manipulation for EABI implementation
----------------------------------------------

I do not understand the handling of r2 and r13 in the
EABI case. The specification for r2 says pointer to sdata2,
sbss2 section => constant. However I do not see -ffixed-r2
passed to any compilation system in make/custom/*
(for info linux does this on PPC).

So either this is a default compiler option when choosing
powerpc-rtems and thus we do not need to do anything with
this register as all the code is compiled with this compiler
and linked together OR this register may be used by rtems code
and then we do not need any special initialization or
handling.

The specification for r13 says pointer to the small data
area. r13 argumentation is the same except that as far
as I know the usage of the small data area requires
specific compiler support so that access to variables is
compiled via loading the LSB in a register and then
using r13 to get full address... It is like a small
memory model and it was present in IBM C compilers.

=> I propose to suppress any specific code for r2 and
r13 in the EABI case.

4) Code layout organization (yes again :-))
-------------------------------------------

I think there are a number of design flaws in the way
the code is for ppc organized and I will try to point them out.
I have been beaten by this again on this new port, and
was beaten last year while modifying code for pc386.

a) exec/score/cpu/* vs lib/libcpu/cpu/*.

I think that too many things are put in exec/score/cpu that
have nothing to do with RTEMS internals but are rather
related to CPU feature.

This include at least :

	a) registers access routine (e.g GET_MSR_Value),
	b) interrupt masking/unmasking routines,
	c) cache_mngt_routine,
	d) mmu_mngt_routine,
	e) Routines to connect the raw_exception, raw_interrupt
	handler,

b) lib/libcpu/cpu/powerpc/*

With a processor family as exuberant as the powerpc family,
and their well known subtle differences (604 vs 750) or
unfortunately majors (8xx vs 60x)  the directory structure
is fine (except maybe the names that are not homogeneous)

	powerpc

ppc421 mpc821 ...

I only needed to add mpc750. But the fact that libcpu.a was not
produced was a pain and the fact that this organization may
duplicates code is also problematic.

So, except if the support of automake provides a better solution
I would like to propose something like this :

		powerpc

mpc421 	mpc821	...	mpc750	shared wrapup

with the following rules :

	a) "shared" would act as a source container for sources that may
	be shared among processors. Needed files would be compiled inside
	the processor specific directory using the vpath Makefile
	mechanism. "shared" may also contain compilation code
	for routine that are really shared and not worth to inline...
	(did not found many things so far as registers access routine
	ARE WORTH INLINING)... In the case something is compiled there,
	it should create libcpushared.a

	b) layout under processor specific directory is free provided
	that
		1)the result of the compilation process exports :

		libcpu/powerpc/"PROC"/*.h in $(PROJECT_INCLUDE)/libcpu

		2) each processor specific directory creates
		a library called libcpuspecific.a
	Note that this organization enables to have a file that
	is nearly the same than in shared but that must differ
	because of processor differences...

	c) "wrapup" should create libcpu.a using libcpushared.a
	libcpuspecific.a and export it $(PROJECT_INCLUDE)/libcpu

The only thing I have no ideal solution is the way to put shared
definitions in "shared" and only processor specific definition
in "proc". To give a concrete example, most MSR bit definition
are shared among PPC processors and only some differs. if we create
a single msr.h in shared it will have ifdef. If in msr.h we
include libcpu/msr_c.h we will need to have it in each prowerpc
specific directory (even empty). Opinions are welcomed ...

Note that a similar mechanism exist in libbsp/i386 that also
contains a shared directory that is used by several bsp
like pc386 and i386ex and a similar wrapup mechanism...

NB: I have done this for mpc750 and other processors could just use
similar Makefiles...

c) The exec/score/cpu/powerpc directory layout.

I think the directory layout should be the same than the
libcpu/powerpc. As it is not, there are a lot of ifdefs
inside the code... And of course low level interrupt handling
code should be removed...

Besides that I do not understand why

	1) things are compiled in the wrap directory,
	2) some includes are moved to rtems/score,

I think the "preinstall" mechanism enables to put
everything in the current directory (or better in a per processor
directory),


5) Interrupt handling API
-------------------------

Again :-). But I think that using all the features the PIC
offers is a MUST for RT system. I already explained in the
prologue of this (long and probably boring) mail that the MCP750
boards offers an OPENPIC compliant architecture and that
the VIA 82586 PCI/ISA bridge offers a PC compatible IO and
PIC mapping. Here is a logical view of the RAVEN/VIA 82586
interrupt mapping :


---------    0  ------
| OPEN	| <-----|8259|
| PIC	|	|    |    2  ------
|(RAVEN)|	|    | <-----|8259|
|	|	|    |	     |    |   11
|	|	|    |	     |    | <----
|	|	|    |	     |    |
|	|	|    |	     |    |
---------       ------	     |    |
    ^			     ------
    |		VIA PCI/ISA bridge
    |  x
    -------- PCI interrupts

OPENPIC offers interrupt priorities among PCI interrupts
and interrupt selective masking. The 8259 offers the same kind
of feature. With actual powerpc interrupt code :

	1) there is no way to specify priorities among
	interrupts handler. This is REALLY a bad thing.
	For me it is as importnat as having priorities
	for threads...
	2) for my implementation, each ISR should
	contain the code that acknowledge the RAVEN
	and 8259 cascade, modify interrupt mask on both
	chips, and reenable interrupt at processor level,
	..., restore then on interrupt return,.... This code
	is actually similar to code located in some
	genpvec.c powerpc files,
	3) I must update _ISR_Nesting_level because
	irq.inl use it...
	4) the libchip code connects the ISR via set_vector
	but the libchip handler code does not contain any code to
	manipulate external interrupt controller hardware
	in order to acknoledge the interrupt or re-enable
	them (except for the target hardware of course)
	So this code is broken unless set_vector adds an
	additionnal prologue/epilogue before calling/returning
	from in order to acknoledge/mask the raven and the
	8259 PICS... => Anyway already EACH BSP MUST REWRITE
	PART OF INTERRUPT HANDLING CODE TO CORRECTLY IMPLEMENT
	SET_VECTOR.

I would rather offer an API similar to the one provided
in libbsp/i386/shared/irq/irq.h so that :

	1) Once the driver supplied methods is called the
	only things the ISR has to do is to worry about the
	external hardware that triggered the interrupt.
	Everything on openpic/VIA/processor would have been
	done by the low levels (same things as set-vector)
	2) The caller will need to supply the on/off/isOn
	routine that are fundamental to correctly implements
	debuggers/performance monitoring is a portable way
	3) A globally configurable interrupt priorities
	mechanism...

I have nothing against providing a compatible
set_vector just to make libchip happy but
as I have already explained in  other
mails (months ago), I really think that the ISR
connection should be handled by the BSP and that no
code containing irq connection should exist the
rtems generic layers... Thus I really dislike
libchip on this aspect because in a long term
it will force to adopt the less reach API
for interrupt handling that exists (set_vector).

Additional note : I think the _ISR_Is_in_progress()
inline routine should be :

	1) Put in a processor specific section,
	2) Should not rely on a global variable,

As :
	a) on symmetric MP, there is one interrupt level
	per CPU,
	b) On processor that have an ISP (e,g 68040),
	this variable is useless (MSR bit testing could
	be used)
	c) On PPC, instead of using the address of the
	variable via __CPU_IRQ_info.Nest_level a dedicated
	SPR could be used.

NOTE:	most of this is also true for _Thread_Dispatch_disable_level


END NOTE
--------

Please do not take what I said in the mail as a criticism for
anyone who submitted ppc code. Any code present helped me
a lot understanding PPC behavior. I just wanted by this
mail to :
	1) try to better understand the actual code,
	2) propose concrete ways of enhancing current code
	by providing an alternative implementation for MCP750. I
	will make my best effort to try to brake nothing but this
	is actually hard due to the file layout organisation.
	3) make understandable some changes I will probably make
	if joel let me do them :-)

Any comments/objections are welcomed as usual.



--
   __
  /  `                   	Eric Valette
 /--   __  o _.          	Canon CRF
(___, / (_(_(__         	Rue de la touche lambert
				35517 Cesson-Sevigne  Cedex
				FRANCE
Tel: +33 (0)2 99 87 68 91	Fax: +33 (0)2 99 84 11 30
E-mail: valette@crf.canon.fr
1999-06-14 18:17:33 +00:00
Joel Sherrill
a4f6b023f6 This is a large patch from Eric Valette <valette@crf.canon.fr> that was
described in the message following this paragraph.  This patch also includes
a mcp750 BSP.

From valette@crf.canon.fr Mon Jun 14 10:03:08 1999
Date: Tue, 18 May 1999 01:30:14 +0200 (CEST)
From: VALETTE Eric <valette@crf.canon.fr>
To: joel@oarcorp.com
Cc: raguet@crf.canon.fr, rtems-snapshots@oarcorp.com, valette@crf.canon.fr
Subject: Questions/Suggestion regarding RTEMS PowerPC code (long)


Dear knowledgeable RTEMS powerpc users,

As some of you may know, I'm currently finalizing a port
of RTEMS on a MCP750 Motorola board. I have done most
of it but have some questions to ask before submitting
the port.

In order to understand some of the changes I have made
or would like to make, maybe it is worth describing the
MCP750 Motorola board.

the MCP750 is a COMPACT PCI powerpc board with :

	1) a MPC750 233 MHz processor,
	2) a raven bus bridge/PCI controller that
	implement an OPENPIC compliant interrupt controller,
	3) a VIA 82C586 PCI/ISA bridge that offers a PC
	compliant IO for keyboard, serial line, IDE, and
	the well known PC 8259 cascaded PIC interrupt
	architecture model,
	4) a DEC 21140 Ethernet controller,
	5) the PPCBUG Motorola firmware in flash,
	6) A DEC PCI bridge,

This architecture is common to most Motorola 60x/7xx
board except that :
	1) on VME board, the DEC PCI bridge is replaced by
	a VME chipset,
	2) the VIA 82C586 PCI/ISA bridge is replaced by
	another bridge that is almost fully compatible
	with the via bridge...

So the port should be a rather close basis for many
60x/7xx motorola board...

On this board, I already have ported Linux 2.2.3 and
use it both as a development and target board.

Now the questions/suggestions I have :

1)  EXCEPTION CODE
-------------------

As far as I know exceptions on PPC are handled like
interrupts. I dislike this very much as :

	a) Except for the decrementer exception (and
	maybe some other on mpc8xx), exceptions are
	not recoverable and the handler just need to print
	the full context and go to the firmware or debugger...
	b) The interrupt switch is only necessary for the
	decrementer and external interrupt (at least on
	6xx,7xx).
	c) The full context for exception is never saved and
	thus cannot be used by debugger... I do understand
	the most important for interrupts low level code
	is to save the minimal context enabling	to call C
	code for performance reasons. On non recoverable
	exception on the other hand, the most important is
	to save the maximum information concerning proc status
	in order to analyze the reason of the fault. At
	least we will need this in order to implement the
	port of RGDB on PPC

==> I wrote an API for connecting raw exceptions (and thus
raw interrupts) for mpc750. It should be valid for most
powerpc processors... I hope to find a way to make this coexist
with actual code layout. The code is actually located
in lib/libcpu/powerpc/mpc750 and is thus optional
(provided I write my own version of exec/score/cpu/powerpc/cpu.c ...)

See remark about files/directory layout organization in 4)

2) Current Implementation of ISR low level code
-----------------------------------------------

I do not understand why the MSR EE flags is cleared
again in exec/score/cpu/powerpc/irq_stubs.S

#if (PPC_USE_SPRG)
	mfmsr	r5
	mfspr   r6, sprg2
#else
        lwz	r6,msr_initial(r11)
	lis     r5,~PPC_MSR_DISABLE_MASK@ha
        ori     r5,r5,~PPC_MSR_DISABLE_MASK@l
	and	r6,r6,r5
	mfmsr	r5
#endif

Reading the doc, when a decrementer interrupt or an
external interrupt is active, the MSR EE flag is already
cleared. BTW if exception/interrupt could occur, it would
trash SRR0 and SRR1. In fact the code may be useful to set
MSR[RI] that re-enables exception processing. BTW I will need
to set other value in MSR to handle interrupts :

	a) I want the MSR[IR] and MSR[DR] to be set for
	performance reasons and also because I need DBAT
	support to have access to PCI memory space as the
	interrupt controller is in the PCI space.

Reading the code, I see others have the same kind of request :

/* SCE 980217
 *
 * We need address translation ON when we call our ISR routine

	mtmsr	r5

 */

This is just another prof that even the lowest level
IRQ code is fundamentally board dependent and
not simply processor dependent especially when
the processor use external interrupt controller
because it has a single interrupt request line...

Note that if you look at the PPC code high level interrupt
handling code, as the "set_vector" routine that really connects
the interrupt is in the BSP/startup/genpvec.c,
the fact that IRQ handling is BSP specific is DE-FACTO
acknowledged.

I know I have already expressed this and understand that this
would require some heavy change in the code but believe
me you will reach a point where you will not be able
to find a compatible while optimum implementation for low level
interrupt handling code...) In my case this is already true...

So please consider removing low level IRQ handling from
exec/score/cpu/* and only let there exception handling code...
Exceptions are usually only processor dependent and do
not depend on external hardware mechanism to be masked or
acknowledged or re-enabled (there are probably exception but ...)

I have already done this for pc386 bsp but need to make it again.
This time I will even propose an API.

3) R2/R13 manipulation for EABI implementation
----------------------------------------------

I do not understand the handling of r2 and r13 in the
EABI case. The specification for r2 says pointer to sdata2,
sbss2 section => constant. However I do not see -ffixed-r2
passed to any compilation system in make/custom/*
(for info linux does this on PPC).

So either this is a default compiler option when choosing
powerpc-rtems and thus we do not need to do anything with
this register as all the code is compiled with this compiler
and linked together OR this register may be used by rtems code
and then we do not need any special initialization or
handling.

The specification for r13 says pointer to the small data
area. r13 argumentation is the same except that as far
as I know the usage of the small data area requires
specific compiler support so that access to variables is
compiled via loading the LSB in a register and then
using r13 to get full address... It is like a small
memory model and it was present in IBM C compilers.

=> I propose to suppress any specific code for r2 and
r13 in the EABI case.

4) Code layout organization (yes again :-))
-------------------------------------------

I think there are a number of design flaws in the way
the code is for ppc organized and I will try to point them out.
I have been beaten by this again on this new port, and
was beaten last year while modifying code for pc386.

a) exec/score/cpu/* vs lib/libcpu/cpu/*.

I think that too many things are put in exec/score/cpu that
have nothing to do with RTEMS internals but are rather
related to CPU feature.

This include at least :

	a) registers access routine (e.g GET_MSR_Value),
	b) interrupt masking/unmasking routines,
	c) cache_mngt_routine,
	d) mmu_mngt_routine,
	e) Routines to connect the raw_exception, raw_interrupt
	handler,

b) lib/libcpu/cpu/powerpc/*

With a processor family as exuberant as the powerpc family,
and their well known subtle differences (604 vs 750) or
unfortunately majors (8xx vs 60x)  the directory structure
is fine (except maybe the names that are not homogeneous)

	powerpc

ppc421 mpc821 ...

I only needed to add mpc750. But the fact that libcpu.a was not
produced was a pain and the fact that this organization may
duplicates code is also problematic.

So, except if the support of automake provides a better solution
I would like to propose something like this :

		powerpc

mpc421 	mpc821	...	mpc750	shared wrapup

with the following rules :

	a) "shared" would act as a source container for sources that may
	be shared among processors. Needed files would be compiled inside
	the processor specific directory using the vpath Makefile
	mechanism. "shared" may also contain compilation code
	for routine that are really shared and not worth to inline...
	(did not found many things so far as registers access routine
	ARE WORTH INLINING)... In the case something is compiled there,
	it should create libcpushared.a

	b) layout under processor specific directory is free provided
	that
		1)the result of the compilation process exports :

		libcpu/powerpc/"PROC"/*.h in $(PROJECT_INCLUDE)/libcpu

		2) each processor specific directory creates
		a library called libcpuspecific.a
	Note that this organization enables to have a file that
	is nearly the same than in shared but that must differ
	because of processor differences...

	c) "wrapup" should create libcpu.a using libcpushared.a
	libcpuspecific.a and export it $(PROJECT_INCLUDE)/libcpu

The only thing I have no ideal solution is the way to put shared
definitions in "shared" and only processor specific definition
in "proc". To give a concrete example, most MSR bit definition
are shared among PPC processors and only some differs. if we create
a single msr.h in shared it will have ifdef. If in msr.h we
include libcpu/msr_c.h we will need to have it in each prowerpc
specific directory (even empty). Opinions are welcomed ...

Note that a similar mechanism exist in libbsp/i386 that also
contains a shared directory that is used by several bsp
like pc386 and i386ex and a similar wrapup mechanism...

NB: I have done this for mpc750 and other processors could just use
similar Makefiles...

c) The exec/score/cpu/powerpc directory layout.

I think the directory layout should be the same than the
libcpu/powerpc. As it is not, there are a lot of ifdefs
inside the code... And of course low level interrupt handling
code should be removed...

Besides that I do not understand why

	1) things are compiled in the wrap directory,
	2) some includes are moved to rtems/score,

I think the "preinstall" mechanism enables to put
everything in the current directory (or better in a per processor
directory),


5) Interrupt handling API
-------------------------

Again :-). But I think that using all the features the PIC
offers is a MUST for RT system. I already explained in the
prologue of this (long and probably boring) mail that the MCP750
boards offers an OPENPIC compliant architecture and that
the VIA 82586 PCI/ISA bridge offers a PC compatible IO and
PIC mapping. Here is a logical view of the RAVEN/VIA 82586
interrupt mapping :


---------    0  ------
| OPEN	| <-----|8259|
| PIC	|	|    |    2  ------
|(RAVEN)|	|    | <-----|8259|
|	|	|    |	     |    |   11
|	|	|    |	     |    | <----
|	|	|    |	     |    |
|	|	|    |	     |    |
---------       ------	     |    |
    ^			     ------
    |		VIA PCI/ISA bridge
    |  x
    -------- PCI interrupts

OPENPIC offers interrupt priorities among PCI interrupts
and interrupt selective masking. The 8259 offers the same kind
of feature. With actual powerpc interrupt code :

	1) there is no way to specify priorities among
	interrupts handler. This is REALLY a bad thing.
	For me it is as importnat as having priorities
	for threads...
	2) for my implementation, each ISR should
	contain the code that acknowledge the RAVEN
	and 8259 cascade, modify interrupt mask on both
	chips, and reenable interrupt at processor level,
	..., restore then on interrupt return,.... This code
	is actually similar to code located in some
	genpvec.c powerpc files,
	3) I must update _ISR_Nesting_level because
	irq.inl use it...
	4) the libchip code connects the ISR via set_vector
	but the libchip handler code does not contain any code to
	manipulate external interrupt controller hardware
	in order to acknoledge the interrupt or re-enable
	them (except for the target hardware of course)
	So this code is broken unless set_vector adds an
	additionnal prologue/epilogue before calling/returning
	from in order to acknoledge/mask the raven and the
	8259 PICS... => Anyway already EACH BSP MUST REWRITE
	PART OF INTERRUPT HANDLING CODE TO CORRECTLY IMPLEMENT
	SET_VECTOR.

I would rather offer an API similar to the one provided
in libbsp/i386/shared/irq/irq.h so that :

	1) Once the driver supplied methods is called the
	only things the ISR has to do is to worry about the
	external hardware that triggered the interrupt.
	Everything on openpic/VIA/processor would have been
	done by the low levels (same things as set-vector)
	2) The caller will need to supply the on/off/isOn
	routine that are fundamental to correctly implements
	debuggers/performance monitoring is a portable way
	3) A globally configurable interrupt priorities
	mechanism...

I have nothing against providing a compatible
set_vector just to make libchip happy but
as I have already explained in  other
mails (months ago), I really think that the ISR
connection should be handled by the BSP and that no
code containing irq connection should exist the
rtems generic layers... Thus I really dislike
libchip on this aspect because in a long term
it will force to adopt the less reach API
for interrupt handling that exists (set_vector).

Additional note : I think the _ISR_Is_in_progress()
inline routine should be :

	1) Put in a processor specific section,
	2) Should not rely on a global variable,

As :
	a) on symmetric MP, there is one interrupt level
	per CPU,
	b) On processor that have an ISP (e,g 68040),
	this variable is useless (MSR bit testing could
	be used)
	c) On PPC, instead of using the address of the
	variable via __CPU_IRQ_info.Nest_level a dedicated
	SPR could be used.

NOTE:	most of this is also true for _Thread_Dispatch_disable_level


END NOTE
--------

Please do not take what I said in the mail as a criticism for
anyone who submitted ppc code. Any code present helped me
a lot understanding PPC behavior. I just wanted by this
mail to :
	1) try to better understand the actual code,
	2) propose concrete ways of enhancing current code
	by providing an alternative implementation for MCP750. I
	will make my best effort to try to brake nothing but this
	is actually hard due to the file layout organisation.
	3) make understandable some changes I will probably make
	if joel let me do them :-)

Any comments/objections are welcomed as usual.



--
   __
  /  `                   	Eric Valette
 /--   __  o _.          	Canon CRF
(___, / (_(_(__         	Rue de la touche lambert
				35517 Cesson-Sevigne  Cedex
				FRANCE
Tel: +33 (0)2 99 87 68 91	Fax: +33 (0)2 99 84 11 30
E-mail: valette@crf.canon.fr
1999-06-14 17:54:21 +00:00
Joel Sherrill
ba46ffa616 This is a large patch from Eric Valette <valette@crf.canon.fr> that was
described in the message following this paragraph.  This patch also includes
a mcp750 BSP.

From valette@crf.canon.fr Mon Jun 14 10:03:08 1999
Date: Tue, 18 May 1999 01:30:14 +0200 (CEST)
From: VALETTE Eric <valette@crf.canon.fr>
To: joel@oarcorp.com
Cc: raguet@crf.canon.fr, rtems-snapshots@oarcorp.com, valette@crf.canon.fr
Subject: Questions/Suggestion regarding RTEMS PowerPC code (long)


Dear knowledgeable RTEMS powerpc users,

As some of you may know, I'm currently finalizing a port
of RTEMS on a MCP750 Motorola board. I have done most
of it but have some questions to ask before submitting
the port.

In order to understand some of the changes I have made
or would like to make, maybe it is worth describing the
MCP750 Motorola board.

the MCP750 is a COMPACT PCI powerpc board with :

	1) a MPC750 233 MHz processor,
	2) a raven bus bridge/PCI controller that
	implement an OPENPIC compliant interrupt controller,
	3) a VIA 82C586 PCI/ISA bridge that offers a PC
	compliant IO for keyboard, serial line, IDE, and
	the well known PC 8259 cascaded PIC interrupt
	architecture model,
	4) a DEC 21140 Ethernet controller,
	5) the PPCBUG Motorola firmware in flash,
	6) A DEC PCI bridge,

This architecture is common to most Motorola 60x/7xx
board except that :
	1) on VME board, the DEC PCI bridge is replaced by
	a VME chipset,
	2) the VIA 82C586 PCI/ISA bridge is replaced by
	another bridge that is almost fully compatible
	with the via bridge...

So the port should be a rather close basis for many
60x/7xx motorola board...

On this board, I already have ported Linux 2.2.3 and
use it both as a development and target board.

Now the questions/suggestions I have :

1)  EXCEPTION CODE
-------------------

As far as I know exceptions on PPC are handled like
interrupts. I dislike this very much as :

	a) Except for the decrementer exception (and
	maybe some other on mpc8xx), exceptions are
	not recoverable and the handler just need to print
	the full context and go to the firmware or debugger...
	b) The interrupt switch is only necessary for the
	decrementer and external interrupt (at least on
	6xx,7xx).
	c) The full context for exception is never saved and
	thus cannot be used by debugger... I do understand
	the most important for interrupts low level code
	is to save the minimal context enabling	to call C
	code for performance reasons. On non recoverable
	exception on the other hand, the most important is
	to save the maximum information concerning proc status
	in order to analyze the reason of the fault. At
	least we will need this in order to implement the
	port of RGDB on PPC

==> I wrote an API for connecting raw exceptions (and thus
raw interrupts) for mpc750. It should be valid for most
powerpc processors... I hope to find a way to make this coexist
with actual code layout. The code is actually located
in lib/libcpu/powerpc/mpc750 and is thus optional
(provided I write my own version of exec/score/cpu/powerpc/cpu.c ...)

See remark about files/directory layout organization in 4)

2) Current Implementation of ISR low level code
-----------------------------------------------

I do not understand why the MSR EE flags is cleared
again in exec/score/cpu/powerpc/irq_stubs.S

#if (PPC_USE_SPRG)
	mfmsr	r5
	mfspr   r6, sprg2
#else
        lwz	r6,msr_initial(r11)
	lis     r5,~PPC_MSR_DISABLE_MASK@ha
        ori     r5,r5,~PPC_MSR_DISABLE_MASK@l
	and	r6,r6,r5
	mfmsr	r5
#endif

Reading the doc, when a decrementer interrupt or an
external interrupt is active, the MSR EE flag is already
cleared. BTW if exception/interrupt could occur, it would
trash SRR0 and SRR1. In fact the code may be useful to set
MSR[RI] that re-enables exception processing. BTW I will need
to set other value in MSR to handle interrupts :

	a) I want the MSR[IR] and MSR[DR] to be set for
	performance reasons and also because I need DBAT
	support to have access to PCI memory space as the
	interrupt controller is in the PCI space.

Reading the code, I see others have the same kind of request :

/* SCE 980217
 *
 * We need address translation ON when we call our ISR routine

	mtmsr	r5

 */

This is just another prof that even the lowest level
IRQ code is fundamentally board dependent and
not simply processor dependent especially when
the processor use external interrupt controller
because it has a single interrupt request line...

Note that if you look at the PPC code high level interrupt
handling code, as the "set_vector" routine that really connects
the interrupt is in the BSP/startup/genpvec.c,
the fact that IRQ handling is BSP specific is DE-FACTO
acknowledged.

I know I have already expressed this and understand that this
would require some heavy change in the code but believe
me you will reach a point where you will not be able
to find a compatible while optimum implementation for low level
interrupt handling code...) In my case this is already true...

So please consider removing low level IRQ handling from
exec/score/cpu/* and only let there exception handling code...
Exceptions are usually only processor dependent and do
not depend on external hardware mechanism to be masked or
acknowledged or re-enabled (there are probably exception but ...)

I have already done this for pc386 bsp but need to make it again.
This time I will even propose an API.

3) R2/R13 manipulation for EABI implementation
----------------------------------------------

I do not understand the handling of r2 and r13 in the
EABI case. The specification for r2 says pointer to sdata2,
sbss2 section => constant. However I do not see -ffixed-r2
passed to any compilation system in make/custom/*
(for info linux does this on PPC).

So either this is a default compiler option when choosing
powerpc-rtems and thus we do not need to do anything with
this register as all the code is compiled with this compiler
and linked together OR this register may be used by rtems code
and then we do not need any special initialization or
handling.

The specification for r13 says pointer to the small data
area. r13 argumentation is the same except that as far
as I know the usage of the small data area requires
specific compiler support so that access to variables is
compiled via loading the LSB in a register and then
using r13 to get full address... It is like a small
memory model and it was present in IBM C compilers.

=> I propose to suppress any specific code for r2 and
r13 in the EABI case.

4) Code layout organization (yes again :-))
-------------------------------------------

I think there are a number of design flaws in the way
the code is for ppc organized and I will try to point them out.
I have been beaten by this again on this new port, and
was beaten last year while modifying code for pc386.

a) exec/score/cpu/* vs lib/libcpu/cpu/*.

I think that too many things are put in exec/score/cpu that
have nothing to do with RTEMS internals but are rather
related to CPU feature.

This include at least :

	a) registers access routine (e.g GET_MSR_Value),
	b) interrupt masking/unmasking routines,
	c) cache_mngt_routine,
	d) mmu_mngt_routine,
	e) Routines to connect the raw_exception, raw_interrupt
	handler,

b) lib/libcpu/cpu/powerpc/*

With a processor family as exuberant as the powerpc family,
and their well known subtle differences (604 vs 750) or
unfortunately majors (8xx vs 60x)  the directory structure
is fine (except maybe the names that are not homogeneous)

	powerpc

ppc421 mpc821 ...

I only needed to add mpc750. But the fact that libcpu.a was not
produced was a pain and the fact that this organization may
duplicates code is also problematic.

So, except if the support of automake provides a better solution
I would like to propose something like this :

		powerpc

mpc421 	mpc821	...	mpc750	shared wrapup

with the following rules :

	a) "shared" would act as a source container for sources that may
	be shared among processors. Needed files would be compiled inside
	the processor specific directory using the vpath Makefile
	mechanism. "shared" may also contain compilation code
	for routine that are really shared and not worth to inline...
	(did not found many things so far as registers access routine
	ARE WORTH INLINING)... In the case something is compiled there,
	it should create libcpushared.a

	b) layout under processor specific directory is free provided
	that
		1)the result of the compilation process exports :

		libcpu/powerpc/"PROC"/*.h in $(PROJECT_INCLUDE)/libcpu

		2) each processor specific directory creates
		a library called libcpuspecific.a
	Note that this organization enables to have a file that
	is nearly the same than in shared but that must differ
	because of processor differences...

	c) "wrapup" should create libcpu.a using libcpushared.a
	libcpuspecific.a and export it $(PROJECT_INCLUDE)/libcpu

The only thing I have no ideal solution is the way to put shared
definitions in "shared" and only processor specific definition
in "proc". To give a concrete example, most MSR bit definition
are shared among PPC processors and only some differs. if we create
a single msr.h in shared it will have ifdef. If in msr.h we
include libcpu/msr_c.h we will need to have it in each prowerpc
specific directory (even empty). Opinions are welcomed ...

Note that a similar mechanism exist in libbsp/i386 that also
contains a shared directory that is used by several bsp
like pc386 and i386ex and a similar wrapup mechanism...

NB: I have done this for mpc750 and other processors could just use
similar Makefiles...

c) The exec/score/cpu/powerpc directory layout.

I think the directory layout should be the same than the
libcpu/powerpc. As it is not, there are a lot of ifdefs
inside the code... And of course low level interrupt handling
code should be removed...

Besides that I do not understand why

	1) things are compiled in the wrap directory,
	2) some includes are moved to rtems/score,

I think the "preinstall" mechanism enables to put
everything in the current directory (or better in a per processor
directory),


5) Interrupt handling API
-------------------------

Again :-). But I think that using all the features the PIC
offers is a MUST for RT system. I already explained in the
prologue of this (long and probably boring) mail that the MCP750
boards offers an OPENPIC compliant architecture and that
the VIA 82586 PCI/ISA bridge offers a PC compatible IO and
PIC mapping. Here is a logical view of the RAVEN/VIA 82586
interrupt mapping :


---------    0  ------
| OPEN	| <-----|8259|
| PIC	|	|    |    2  ------
|(RAVEN)|	|    | <-----|8259|
|	|	|    |	     |    |   11
|	|	|    |	     |    | <----
|	|	|    |	     |    |
|	|	|    |	     |    |
---------       ------	     |    |
    ^			     ------
    |		VIA PCI/ISA bridge
    |  x
    -------- PCI interrupts

OPENPIC offers interrupt priorities among PCI interrupts
and interrupt selective masking. The 8259 offers the same kind
of feature. With actual powerpc interrupt code :

	1) there is no way to specify priorities among
	interrupts handler. This is REALLY a bad thing.
	For me it is as importnat as having priorities
	for threads...
	2) for my implementation, each ISR should
	contain the code that acknowledge the RAVEN
	and 8259 cascade, modify interrupt mask on both
	chips, and reenable interrupt at processor level,
	..., restore then on interrupt return,.... This code
	is actually similar to code located in some
	genpvec.c powerpc files,
	3) I must update _ISR_Nesting_level because
	irq.inl use it...
	4) the libchip code connects the ISR via set_vector
	but the libchip handler code does not contain any code to
	manipulate external interrupt controller hardware
	in order to acknoledge the interrupt or re-enable
	them (except for the target hardware of course)
	So this code is broken unless set_vector adds an
	additionnal prologue/epilogue before calling/returning
	from in order to acknoledge/mask the raven and the
	8259 PICS... => Anyway already EACH BSP MUST REWRITE
	PART OF INTERRUPT HANDLING CODE TO CORRECTLY IMPLEMENT
	SET_VECTOR.

I would rather offer an API similar to the one provided
in libbsp/i386/shared/irq/irq.h so that :

	1) Once the driver supplied methods is called the
	only things the ISR has to do is to worry about the
	external hardware that triggered the interrupt.
	Everything on openpic/VIA/processor would have been
	done by the low levels (same things as set-vector)
	2) The caller will need to supply the on/off/isOn
	routine that are fundamental to correctly implements
	debuggers/performance monitoring is a portable way
	3) A globally configurable interrupt priorities
	mechanism...

I have nothing against providing a compatible
set_vector just to make libchip happy but
as I have already explained in  other
mails (months ago), I really think that the ISR
connection should be handled by the BSP and that no
code containing irq connection should exist the
rtems generic layers... Thus I really dislike
libchip on this aspect because in a long term
it will force to adopt the less reach API
for interrupt handling that exists (set_vector).

Additional note : I think the _ISR_Is_in_progress()
inline routine should be :

	1) Put in a processor specific section,
	2) Should not rely on a global variable,

As :
	a) on symmetric MP, there is one interrupt level
	per CPU,
	b) On processor that have an ISP (e,g 68040),
	this variable is useless (MSR bit testing could
	be used)
	c) On PPC, instead of using the address of the
	variable via __CPU_IRQ_info.Nest_level a dedicated
	SPR could be used.

NOTE:	most of this is also true for _Thread_Dispatch_disable_level


END NOTE
--------

Please do not take what I said in the mail as a criticism for
anyone who submitted ppc code. Any code present helped me
a lot understanding PPC behavior. I just wanted by this
mail to :
	1) try to better understand the actual code,
	2) propose concrete ways of enhancing current code
	by providing an alternative implementation for MCP750. I
	will make my best effort to try to brake nothing but this
	is actually hard due to the file layout organisation.
	3) make understandable some changes I will probably make
	if joel let me do them :-)

Any comments/objections are welcomed as usual.



--
   __
  /  `                   	Eric Valette
 /--   __  o _.          	Canon CRF
(___, / (_(_(__         	Rue de la touche lambert
				35517 Cesson-Sevigne  Cedex
				FRANCE
Tel: +33 (0)2 99 87 68 91	Fax: +33 (0)2 99 84 11 30
E-mail: valette@crf.canon.fr
1999-06-14 16:51:13 +00:00
Joel Sherrill
255b2931b6 Regenerated. 1999-06-11 17:40:06 +00:00
Joel Sherrill
d001776f3f Added local prototype of ioctl() to avoid requiring sys/ioctl.h. 1999-06-11 14:49:13 +00:00
Joel Sherrill
4c3a9c999e Added comments. 1999-06-11 14:47:43 +00:00
Joel Sherrill
923b45c987 Fixed Makefile.in to not attempt to install rtems.o twice from two different
directories.
1999-06-11 14:21:17 +00:00
Joel Sherrill
a6f3cff703 Patch from Ian Lance Taylor <ian@airs.com>:
The select function is not particularly efficient when dealing with a
    large number of sockets.  The application has to build a big set of
    bits and pass it in.  RTEMS has to look through all those bits and see
    what is ready.  Then the application has to look through all the bits
    again.

    On the other hand, when using RTEMS, the select function is needed
    exactly when you have a large number of sockets, because that is when
    it becomes prohibitive to use a separate thread for each socket.

    I think it would make more sense for RTEMS to support callback
    functions which could be invoked when there is data available to read
    from a socket, or when there is space available to write to a socket.

    Accordingly, I implemented them.

    This patch adds two new SOL_SOCKET options to setsockopt and
    getsockopt: SO_SNDWAKEUP and SO_RCVWAKEUP.  They take arguments of
    type struct sockwakeup:

    struct  sockwakeup {
        void    (*sw_pfn) __P((struct socket *, caddr_t));
        caddr_t sw_arg;
    };

    They are used to add or remove a function which will be called when
    something happens for the socket.  Getting a callback doesn't imply
    that a read or write will succeed, but it does imply that it is worth
    trying.

    This adds functionality to RTEMS which is somewhat like interrupt
    driven socket I/O on Unix.

    After the patch to RTEMS, I have appended a patch to
    netdemos-19990407/select/test.c to test the new functionality and
    demonstrate one way it might be used.  To run the new test instead of
    the select test, change doSocket to call echoServer2 instead of
    echoServer.
1999-06-11 14:11:44 +00:00
Joel Sherrill
0643693198 Patch from Eric Norum <eric@cls.usask.ca> to fix bug reported by
Ian Lance Taylor <ian@airs.com>:

    Ian Lance Taylor wrote:
    >
    > In rtems-19990528, sbwait sets SB_WAIT in sb_flags.  sowakeup checks
    > it.  Why doesn't socket_select set it?
    >
    > I don't know that this is a bug--I haven't tried to create a test
    > case.  However, it certainly looks odd.
    >
    > Ian

    Yes, there's a bug there.  Sorry about that.
    It was introduced when I did some cleanup on the sleep/wakeup handling
    in rtems_glue.c.
1999-06-11 14:06:13 +00:00
Joel Sherrill
9a6d32b08b Added information on pathname evaluation. 1999-06-11 13:35:07 +00:00
Joel Sherrill
5a0592cf17 Do not use the RTEMS simpleioctl.h if networking is enabled since
that subsystem provides a more robust version of ioctl.h.
1999-06-09 16:47:49 +00:00
Joel Sherrill
0860426d39 Modified to return an error when a bogus return address for the
old_priority parameter is provided.
1999-06-09 16:46:13 +00:00
Joel Sherrill
8dba3733fb Switched to using strcasecmp() since it is more portable.
D. V. Henkel-Wallace <gumby@zembu.com> spotted this one.
1999-06-09 13:50:47 +00:00
Joel Sherrill
eb91a4bb49 Significantly cleaned up to make a much better starting point for the
class.
1999-06-04 13:37:43 +00:00
Joel Sherrill
6ff1ac4ebf Added much of the text required to turn this into a real chapter. 1999-06-04 13:37:23 +00:00
Joel Sherrill
0e99ecfcea Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
This patch fixes a nasty problem with build-tools/Makefile.am:

    When using install-sh instead of /usr/bin/install, only the first file
    gets installed during the preinstall stage.
1999-06-02 16:34:54 +00:00
Joel Sherrill
a5d697dc7d Removed "NO CTOR" from list of objects to be picked up. It now comes in
via libbsp.a.  Reported by Ian Lance Taylor <ian@airs.com>.
1999-06-02 16:14:36 +00:00
Joel Sherrill
15f98ca5ee changed version to 19990528 1999-05-28 18:53:46 +00:00
Joel Sherrill
7b0e33d719 changed version to 19990528 1999-05-28 18:28:38 +00:00
Joel Sherrill
480c9d742e changed version to 19990528 1999-05-28 18:28:37 +00:00
Joel Sherrill
6d745191ac changed version to 19990528 1999-05-28 18:25:36 +00:00
Joel Sherrill
9cffc64533 changed version to 19990528 1999-05-28 18:22:25 +00:00
Joel Sherrill
f74abcf78d Changes from Eric Norum to add a loop and limit on the length of time
the stack will wait for mbufs.
1999-05-28 18:21:25 +00:00
Joel Sherrill
18cb17fd8c changed version to 19990528 1999-05-28 17:35:12 +00:00
Joel Sherrill
c7115bb231 Don't install this executable. It should only be built. 1999-05-28 16:10:29 +00:00
Joel Sherrill
8f2cb41c02 Use fgrep instead of grep to avoid treating filenames as regular expressions.
grep found debugio.o when looking for debug.o and said there was a
filename conflict incorrectly.
1999-05-28 16:10:05 +00:00
Joel Sherrill
403d7b188f Alignment corrected per Eric Norum's suggestion. 1999-05-28 16:09:00 +00:00
Joel Sherrill
d54bdfaf9c Corrected to include shared console driver. 1999-05-28 16:08:38 +00:00
Joel Sherrill
8f3c1d20d1 At the request of Gumby, the cpu is now halted rather than spinning
on a fatal exception.
1999-05-28 16:08:18 +00:00
Joel Sherrill
bb5d6ecf80 Regenerated. 1999-05-28 16:07:36 +00:00
Joel Sherrill
7f022257c9 Regenerated. 1999-05-28 15:56:05 +00:00
Joel Sherrill
bb7b1260d3 Renamed config.c to conscfg.c to avoid naming conflicts. 1999-05-28 14:09:53 +00:00
Joel Sherrill
caa1173991 Renamed config.s to todcfg.c to avoid naming conflicts. 1999-05-28 14:09:34 +00:00
Joel Sherrill
7afa2dd812 Renamed fatal.c to bspfatal.c to avoid name conflicts with
Fatal Error handler in SuperCore.
1999-05-28 14:02:21 +00:00
Joel Sherrill
35d2d3c0c7 Renamed tod.c to coretod.c to remove conflicts with "Time Of Day"
device drivers.
1999-05-28 14:00:21 +00:00
Joel Sherrill
803ce2919b Renamed clock.c to rtclock.c to avoid conflicts with clock drivers
in various BSPs.
1999-05-28 13:07:00 +00:00
Joel Sherrill
af84b96887 Switched from picking up the .rel for each subdirectory in the
BSP (BSP_PIECES) to picking up the .o files.  This should help
reduce the minimum size of an application.
1999-05-27 18:53:02 +00:00
Joel Sherrill
11cdbebd58 Patch from Eric Norum <eric@pollux.usask.ca> to eliminate a panic when the
network stack runs out of mbufs.
1999-05-27 18:03:50 +00:00
Joel Sherrill
1c841bd229 Split out the routine rtems_assoc_name_bad(). 1999-05-27 16:13:19 +00:00
Joel Sherrill
556ea0e3ba Removed usage of printf. 1999-05-27 16:12:20 +00:00
Joel Sherrill
5adf355aa3 Split initialization and reserve resources from termios to reduce
size of mininum application.
1999-05-27 16:11:52 +00:00
Joel Sherrill
1d1b1507a6 Split out polled io, debug puts, and console reserve resources to
reduce dependencies and shrink minimum executable size.
1999-05-27 16:08:40 +00:00
Joel Sherrill
2a333f9a0d Disabled running size_rtems until all file splitting is finished. 1999-05-27 15:46:34 +00:00
Joel Sherrill
73989010b4 Regenerated. 1999-05-27 15:46:00 +00:00
Joel Sherrill
326378bfd4 Corrected so rtems.o is built and installed on all targets. 1999-05-27 15:44:20 +00:00
Joel Sherrill
82d11f8781 Corrected macro names. 1999-05-27 15:43:32 +00:00
Joel Sherrill
339eba5d6d New file. 1999-05-26 19:45:42 +00:00
Joel Sherrill
110bdfe694 Made the gen_section more accurate. 1999-05-26 18:20:40 +00:00
Joel Sherrill
e968366e21 Prototypes are now based on how the TRON specification states them.
The style in the output is not right but it is a good starting point.
1999-05-26 18:10:59 +00:00
Joel Sherrill
1e72d70929 Basic prototypes are now included. 1999-05-26 18:07:37 +00:00
Joel Sherrill
b4b24f4b85 Regenerated to include more information in the stub. Now they have
the descriptive titles.
1999-05-26 17:59:45 +00:00
Joel Sherrill
ce66895e86 Changed word "directive" to "system call." 1999-05-26 17:59:16 +00:00
Joel Sherrill
315b929d28 Added error codes to all service calls 1999-05-26 17:51:04 +00:00
Joel Sherrill
b1b4fd26d0 Corrected error code section. 1999-05-26 16:08:09 +00:00
Joel Sherrill
e67c585583 Replaced error code section. 1999-05-26 16:06:52 +00:00
Joel Sherrill
c239f715aa Enhanced. 1999-05-26 16:03:50 +00:00
Joel Sherrill
da47e4a930 Initiated updating this to reflect split up. 1999-05-26 14:00:48 +00:00
Joel Sherrill
10122b7195 Initial revision 1999-05-20 21:55:30 +00:00
Joel Sherrill
0aeda88267 Renamed to rtemstimer.c to avoid conflict with timer drivers in EVERY
BSP as we transition to more .o's and less .rel's.
1999-05-20 16:16:44 +00:00
Joel Sherrill
8bbaf3bd49 Removed all post 4.0 changes. 1999-05-20 13:32:54 +00:00
Joel Sherrill
5a064dca14 Patch from Daniel Kelley <dank@icube.com>:
I found a small buglet in the mips64orion _CPU_ISR_Set_level; the
    original was wiping out the level argument, and then comparing the
    current interrupt level with some random value of v0. See patch below.
1999-05-18 17:41:16 +00:00
Joel Sherrill
fbec4a149f Regenerated. 1999-05-18 17:33:52 +00:00
Joel Sherrill
0090c1a119 Spacing correction. 1999-05-18 17:31:27 +00:00
Joel Sherrill
0995b6ffc1 Reworked to avoid pulling in the jump point entry in EVERY executable. 1999-05-17 23:48:34 +00:00
Joel Sherrill
9180f63e97 Fixed some typos. 1999-05-17 23:26:50 +00:00
Joel Sherrill
c9973bbc54 Split Interrupt Manager into one routine per file. 1999-05-17 23:22:45 +00:00
Joel Sherrill
0123e3be53 Split Signal Manager into one routine per file. 1999-05-17 23:20:52 +00:00
Joel Sherrill
1dc030fe05 Dual-Ported Memory Manager split into one routine per file. 1999-05-17 23:18:20 +00:00
Joel Sherrill
842db5f391 Split Partition Manager into one routine per file. 1999-05-17 23:15:20 +00:00
Joel Sherrill
be47df9381 Split Timer Manager into one routine per file. 1999-05-17 23:10:36 +00:00
Joel Sherrill
cc2bc3025c Split Event Manager into one routine per file. 1999-05-17 23:06:03 +00:00
Joel Sherrill
5f9b3db545 Split Rate Monotonic Manager into one routine per file. 1999-05-17 23:03:07 +00:00
Joel Sherrill
c06d8f6467 Split the Semaphore Manager into one routine per file. 1999-05-17 22:58:30 +00:00
Joel Sherrill
a2d0f39a2c Moved some MP routines to semmp.c. 1999-05-17 22:56:13 +00:00
Joel Sherrill
3270ca68da Forgot to actually remove the routines. :) 1999-05-17 22:53:34 +00:00
Joel Sherrill
1e1b3e00d1 Split Message Manager into one routine per file. 1999-05-17 22:52:59 +00:00
Joel Sherrill
ef22ab2584 Moved an MP routine from msg.c to here. 1999-05-17 22:46:01 +00:00
Joel Sherrill
86cb89f05f Cleaned up some multiprocessing issues. 1999-05-17 22:45:47 +00:00
Joel Sherrill
bd83f4738f Split Clock Manager into one routine per file. 1999-05-17 22:42:47 +00:00
Joel Sherrill
5aa64518b5 Split Region Manager into one routine per file. 1999-05-17 22:39:20 +00:00
Joel Sherrill
1178b8cabb Splitting the Thread Handler forced the inclusion of more prototypes. 1999-05-17 22:19:29 +00:00
Joel Sherrill
2f831ac1fe Moved _Entry_Table to its own file to avoid having every RTEMS directive
pulled in.
1999-05-17 22:16:52 +00:00
Joel Sherrill
d785158293 Added simple test to find minimum code size of executive with this BSP
and RTEMS configuration.
1999-05-17 22:15:56 +00:00
Joel Sherrill
c4d69e21a7 Split Task Manager into multiple files. Eventually this effort will
reduce the size of executables.
1999-05-17 21:02:16 +00:00
Joel Sherrill
05df0a846f Thread Handler split into multiple files. Eventually, as RTEMS is
split into one function per file, this will decrease the size of executables.
1999-05-17 20:41:13 +00:00
Joel Sherrill
a238cc97d0 Patch from D. V. Henkel-Wallace <gumby@zembu.com> to remove compiler
warnings.
1999-05-17 15:45:15 +00:00
Joel Sherrill
577c408009 Patch from D. V. Henkel-Wallace <gumby@zembu.com>:
Here's a tiny patch that shreds memory returned to the pool (such as by
  free() and delete). This may help people find some nasty
  bugs, so here it is.
1999-05-17 15:28:52 +00:00
Joel Sherrill
9e7d42dd14 Added C++ linking rule from Rosimildo DaSilva <rdasilva@connecttel.com>. 1999-05-14 16:26:47 +00:00
Joel Sherrill
fcf17a4f69 Added testing for C++ exceptions from Rosimildo DaSilva
<rdasilva@connecttel.com>.
1999-05-14 16:25:15 +00:00
Joel Sherrill
44dd8a6116 Added 3COM 3C509 driver from Rosimildo DaSilva <rdasilva@connecttel.com>. 1999-05-14 16:23:42 +00:00
Joel Sherrill
222a71ad79 Regenerated. 1999-05-14 15:58:10 +00:00
Joel Sherrill
8e718b67c6 Regenerated. 1999-05-14 15:33:28 +00:00
Joel Sherrill
c5881fc155 Enabled compilation of rtems_servers at request of Jake Janovetz
<janovetz@tempest.ece.uiuc.edu>.
1999-05-14 15:31:07 +00:00
Joel Sherrill
878baa41a2 Fixed typo. 1999-05-14 15:21:34 +00:00
Joel Sherrill
cb202941d9 Added tool hints. 1999-05-14 15:19:39 +00:00
Joel Sherrill
2bd93831c5 New file. 1999-05-14 15:15:57 +00:00
Joel Sherrill
a0b94685cd Removed check for initialized ID at request of Rosimildo DaSilva
<rdasilva@connecttel.com> who encountered random failures in his
port of omniORB2.
1999-05-14 14:43:53 +00:00
Joel Sherrill
123d4b7dc1 Removed -fomit-frame-pointer from all i386 BSPs since it breaks C++
exceptions and makes debug stack traces impossible.
1999-05-14 14:34:39 +00:00
Joel Sherrill
4c5080ed09 Fix based on bug report from Jay Kulpinski <jskulpin@eng01.gdds.com>
that the per task reentrancy structure was not being processed properly
during exit().

joel@oarcorp.com wrote:
>
>
> This is always an ugly place to poke around. :(
>
> The code in newlib/libc/stdlib/exit.c walks the atexit chain for the
> reentrancy structure for JUST the current task.  The code in libc_wrapup()
> does it for both the current task and the global reentrancy structure
> (which tends to be where driver atexit()'s were registered.
>
> So I think the _wrapup_reent(0) in libc_wrapup() should be commented out.
>
> If you concur, then I will make the change and improve the comment on this
> line of code to explain things:
>
>     libc_wrapup(); /* Why? XXX */
>
> --joel

That does the job.  cdtest.exe works correctly now.
1999-05-11 16:30:51 +00:00
Joel Sherrill
ddd22e5d0d Patch from Erik Ivanenko <erik.ivanenko@utoronto.ca> to correct 32 bit
jmp relative offset from .reset section.
1999-05-11 15:15:03 +00:00
Joel Sherrill
5a909149ca Made all calls to _Thread_Yield_processor consistent in how they are
wrapped by calls to _Thread_Enable_dispatch and _Thread_Disable_dispatch.
1999-05-07 17:09:20 +00:00
Joel Sherrill
16775a5535 Patch from Jiri Gaisler <jgais@ws.estec.esa.nl> to allow stacksize
of POSIX Init thread to be user configured.
1999-05-07 16:36:29 +00:00
Joel Sherrill
0700136005 Added rules to handle alternate suffixes for C++ files. 1999-05-07 16:31:08 +00:00
Joel Sherrill
acb644a66f Error reporting fixed by Jennifer. 1999-05-07 16:30:44 +00:00
Joel Sherrill
c34aaae7e6 Bug fix from Gunter Magin <magin@@skil.camelot.de>:
in libcpu/powerpc/mpc860/clock/clock.c:InstallClock() the reload value for
    the PIT is defined as:

      pit_value = (BSP_Configuration.microseconds_per_tick *
                 Cpu_table.clicks_per_usec) - 1 ;

    What exactly is a tick, and what is a click?

    My confusion stems from the fact, that Jay defines clicks_per_usec to 1
    which is correct for his configuration, where a 4MHz clock is predivided
    by 4 and then fed to the PIT. So I assume a "click" is just the period of
    the PIT input frequency.

    However, our HW config seems to have 32.768 kHz crystal input for PIT.
    Mandatory division by 4 means 8.196kHz (122usec) at the PIT.

    I think, the above assignment should read:

      pit_value = (BSP_Configuration.microseconds_per_tick /
                 Cpu_table.clicks_per_usec) - 1;

    where I can define Cpu_table.clicks_per_usec in bspstart.c to 122
    (clicks_per_usec). That would lead to a PIT reload value of
    10000/122 - 1 = 81 to reach a 10ms "tick" period.
1999-05-07 16:29:54 +00:00
Joel Sherrill
b06279dfc0 Bug fix from Gunter Magin <magin@skil.camelot.de>:
in libcpu/powerpc/mpc860/clock/clock.c:InstallClock() the reload value for
    the PIT is defined as:

      pit_value = (BSP_Configuration.microseconds_per_tick *
                 Cpu_table.clicks_per_usec) - 1 ;

    What exactly is a tick, and what is a click?

    My confusion stems from the fact, that Jay defines clicks_per_usec to 1
    which is correct for his configuration, where a 4MHz clock is predivided
    by 4 and then fed to the PIT. So I assume a "click" is just the period of
    the PIT input frequency.

    However, our HW config seems to have 32.768 kHz crystal input for PIT.
    Mandatory division by 4 means 8.196kHz (122usec) at the PIT.

    I think, the above assignment should read:

      pit_value = (BSP_Configuration.microseconds_per_tick /
                 Cpu_table.clicks_per_usec) - 1;

    where I can define Cpu_table.clicks_per_usec in bspstart.c to 122
    (clicks_per_usec). That would lead to a PIT reload value of
    10000/122 - 1 = 81 to reach a 10ms "tick" period.
1999-05-07 16:28:43 +00:00
Joel Sherrill
f779efcba8 Added paragraph for Tony Ambardar (tonya@ece.ubc.ca) submitting
a BSP for the TS-1325 embedded PC from Technologic Systems
(http://www.t-systems.com) and patches to enable software
floating-point emulation for x86 targets.
1999-04-29 19:08:04 +00:00
Joel Sherrill
8846bbd0ec Patch from Emmanuel Raguet <raguet@crf.canon.fr>:
I have made test with the Dec21140 driver and it appears that all
    works fine even if the cache is enabled for the memory space in
    which the incoming and outcoming Ethernet frames are stored.

    I have had #ifdef to "comment" the code. If you want to disable
    cache, you only have to #define the name. It could be mandatory
    for some BSPs.
1999-04-28 13:59:11 +00:00
Joel Sherrill
cfcb5a299a Patch from Eric Norum <eric@cls.usask.ca> to corrent a miscount in length
that results in an error in parsing network unit names/numbers.
1999-04-27 17:31:39 +00:00
Joel Sherrill
9ae3b06edc changed version to 19990426 1999-04-26 18:41:28 +00:00
Joel Sherrill
c7aa9d6ff8 Repairing damage and recovering changes including C++ wrappers.. 1999-04-26 18:22:08 +00:00
Joel Sherrill
3aeaca9071 changed version to 19990426 1999-04-26 18:08:24 +00:00
Joel Sherrill
c8cfdcfe53 Recovered changes since CVS file was corrupted. 1999-04-26 18:04:46 +00:00
Joel Sherrill
05bacd5a31 changed version to 19990426 1999-04-26 17:53:25 +00:00
Joel Sherrill
8b8204a1c4 changed version to 19990426 1999-04-26 17:35:57 +00:00
Joel Sherrill
20b457a175 Fixed Makefile to avoid copying the file to a new name. 1999-04-23 16:49:13 +00:00
Joel Sherrill
7a8dfad063 Changed date. 1999-04-23 16:42:01 +00:00
Joel Sherrill
44d05b2c95 Switched to full doc set. 1999-04-23 16:40:52 +00:00
Joel Sherrill
0b28bd9c0b changed version to 19990423 1999-04-23 16:37:54 +00:00
Joel Sherrill
16a384cfb1 New BSP from Tony R. Ambardar <tonya@ece.ubc.ca> from the
University of British Columbia.  The BSP is for:

    Yes, this is the "entry model" of a series of boards from Technologic
    Systems. Costs <$200 I believe. They have a WWW page at www.t-systems.com.
    I am letting them know about the availability of this BSP too.
1999-04-23 16:35:11 +00:00
Joel Sherrill
933388ae2d Added lstat(). 1999-04-22 21:13:23 +00:00
Joel Sherrill
3599c5e5d0 Added some CPU models that did not have BSPs. 1999-04-22 21:12:59 +00:00
Joel Sherrill
f0f70167f9 Regenerated. 1999-04-21 16:15:27 +00:00
Joel Sherrill
e4ca8d71cc Updated to reflect inclusion of IRQ test in ada examples. 1999-04-20 13:08:47 +00:00
Joel Sherrill
b4b8d2eb05 Added FAQ to the documentation set. 1999-04-19 22:34:30 +00:00
Joel Sherrill
92ff2667f4 Added debugging hints to the FAQ. 1999-04-19 22:34:20 +00:00
Joel Sherrill
07b8f2689e New file. 1999-04-19 22:31:11 +00:00
Joel Sherrill
a2fa66c3b6 Updated to include first set of questions. 1999-04-19 22:23:03 +00:00
Joel Sherrill
fe6bc7c205 First attempt to build. 1999-04-19 21:55:59 +00:00
Joel Sherrill
a7a33e7aa7 New file. 1999-04-19 21:54:16 +00:00
Joel Sherrill
81e72bc41f Regenerated. 1999-04-19 21:49:18 +00:00
Joel Sherrill
017f6e57e4 New file based on notes from Jiri Gaisler <jgais@ws.estec.esa.nl>. 1999-04-19 21:18:18 +00:00
Joel Sherrill
63135370d4 Added info based on i960HA support. 1999-04-19 21:04:34 +00:00
Joel Sherrill
c2463d94b3 Intel i960HA support submitted by Jimen Ching <jimen@adtech-inc.com>
based on 3.6.0.  It was very lucky that this went in as well as it
did.
1999-04-19 21:02:31 +00:00
Joel Sherrill
338502f1ad Unlimited objects information from Chris Johns (ccj@acm.org). 1999-04-19 17:40:20 +00:00
Joel Sherrill
b56206a6ca Unlimited objects patch design document. Submitted by Chris Johns
<ccj@acm.org> of Objective Design Systems.
1999-04-19 17:30:02 +00:00
Joel Sherrill
4186b3bb0c Changed ioctl() prototype to be more like Linux/POSIX than BSD to ease
porting of ACE to RTEMS.
1999-04-19 17:17:41 +00:00
Joel Sherrill
0213bcfc6a Turned on console interrupts. 1999-04-19 17:14:11 +00:00
Joel Sherrill
df3e78a86b The default action for real-time signals is supposed to be SIGACTION_TERMINATE.
Jiri Gaisler caught this and submitted a patch but a subsequent patch
backed it out accidentally.
1999-04-19 15:54:03 +00:00
Joel Sherrill
ce11bed5bd New files. 1999-04-19 15:48:16 +00:00
Joel Sherrill
c011b4730c Regenerated 1999-04-19 15:47:15 +00:00
Joel Sherrill
1059abcd94 Regenerated. 1999-04-19 15:37:36 +00:00
Joel Sherrill
7807b30e08 Direct .gcc_exc section to ram to eliminate the warning Ralf Corsepius is
seeing.
1999-04-19 15:36:21 +00:00
Joel Sherrill
ac91855d33 After discussion with Eric Norum <eric@skatter.usask.ca>,
I added __INSIDE_RTEMS_BSD_TCPIP_STACK__ that trips all the needed
macro definitions for a network driver.
1999-04-19 15:27:21 +00:00
Joel Sherrill
11f84b3c81 After discussion with Eric Norum <eric@skatter.usask.ca>,
I added __INSIDE_RTEMS_BSD_TCPIP_STACK__ that trips all the needed
macro definitions for a network driver.
1999-04-19 15:27:20 +00:00
Joel Sherrill
7cdf7fc191 After discussion with Eric Norum <eric@skatter.usask.ca>,
I added __INSIDE_RTEMS_BSD_TCPIP_STACK__ that trips all the needed
macro definitions for a network driver.
1999-04-19 15:27:19 +00:00
Joel Sherrill
202d54ef27 Comments from Eric Norum taken into account. 1999-04-19 14:58:16 +00:00
Joel Sherrill
540945346d First cut at addition of information on macros that need to be defined. 1999-04-19 14:54:58 +00:00
Joel Sherrill
7a74b99111 Make sure the build-tools get built in the preinstall phase. 1999-04-19 14:54:25 +00:00
Joel Sherrill
db047f1def Patch from Erik Ivanenko <erik.ivanenko@utoronto.ca> to eliminate a
warning.
1999-04-19 14:41:23 +00:00
Joel Sherrill
ecb2755e06 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to address this:
> * RTEMS's  'make depend' isn't a standard automake make target and is not
> supported in automake supported subdirectories.
1999-04-19 13:44:03 +00:00
Joel Sherrill
b6529a34fd Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to reorganize
the build-tools layout to simplify it.

  This script reorganizes and simpilfies the build-tools subdirectories.
  It moves all source-files and scripts to c/build-tools/. This will
  enable use to use this directory directly to refer to the build-tools
  instead of copying them around in a "preinstall" step in future.
  However, RTEMS's autoconf Makefile.ins and *.cfg files are not yet
  prepared to apply this approach and therefore require additional work.
1999-04-19 13:35:24 +00:00
Joel Sherrill
183fa829db New file -- automatically generated. 1999-04-19 13:26:15 +00:00
Joel Sherrill
82307a1148 New files. 1999-04-19 13:25:50 +00:00
Joel Sherrill
5dc30fb19b Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to add scitabs.c to
CLEAN_ADDITIONS.
1999-04-19 13:20:15 +00:00
Joel Sherrill
196094eb79 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
This one is an enhancement to acpolish.

    It replaces some Makefile variables by others variable in Makefile.ins
    (tries to use unique name for some variables). It therefore eases
    parsing Makefile.ins for further automatic Makefile.in conversions in
    future.

    To apply:
        cd <rtems-source-tree>
        sh <path-to>/rtems-rc-19990407-8.sh
        ./autogen
1999-04-19 13:19:14 +00:00
Joel Sherrill
9572c41d09 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
This is an attempt to work-around a couple of nasty bugs in librdbg's
Makefiles and configuration:

Configure and build RTEMS as below:
  configure --enable-networking --enable-rdbg --target=i386-rtems
  make RTEMS_BSP=i386ex

After a few minutes you will notice that building aborts in librdbg ....

Analysis:

  1) librdbg is tried to be built, though librdbg is not supported and the
     required directory hierarchy librdbg/i386/i386ex/  is not existant.

     The cause for this is incorrect setting of HAS_RDBG in most
     make/custom/*.cfg files (except pc386.cfg). At the moment all
     custom/*.cfg files (except pc386.cfg) in general are required to contain
     HAS_RDBG=no. However, having HAS_NETWORKING=no in most custom/*.cfg
     files and the toplevel configure script suppress building librdbg for
     all CPUs except of i386.

     => The i386ex BSP falls though this scheme and librdbg is tried to be
        build (CPU=i386 and HAS_NETWORKING=yes).

  2) The Makefile.ins below lib/librdbg in general support i386/pc386 only
     and are not capable to be used for multiple CPUs or BSPs (RPCGEN
     generates it's target and bsp-specific files into librdbg/, therefore no
     other CPU or BSP can ever be built afterwards). This problem is hidden
     until now, because only a single CPU/BSP pair (i386/pc386) is really
     supported.

  3) The Makefile.ins below lib/librdbg can delete source files due to
     improper handling of source files (make clean removes the *.x files in
     the source-tree when configuring inside of the source-tree).


The patch below tries to work-around these problems for the i386ex and
the pc386 BSPs. This work-around is rather fragile (it applies rpcgen
-D, I don't know how portable this is) and incomplete (all custom/*.cfg
except of pc386.cfg should contain HAS_RDBG=no), nevertheless it should
work.
1999-04-19 13:11:13 +00:00
Joel Sherrill
4ad3d3727b Regenerated. 1999-04-19 13:09:35 +00:00
Joel Sherrill
60e6a0f61d Fixed some spacing issues. 1999-04-19 13:06:07 +00:00
Joel Sherrill
6b7ab9bf72 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
FYI: I am not talking about using "make -C <dir>", which probably
    is much faster on M$ hosts than RTEMS's implementation, but about
    removing --enable-gmake-print support and to apply a variant of
    automake's subdirectory.

    Automake's subdirectory rule seems to be a little bit faster, but I
    wouldn't bet on this.

    Attached to this mail is my proposal.

    After applying the patch, please run
        cvs rm aclocal/enable-gmake-print.m4
        ./autogen
1999-04-16 18:23:48 +00:00
Joel Sherrill
c00fa3858d Patch from Ralf Corsepius <corsepiu@@faw.uni-ulm.de>:
2) ./c/src/lib/libbsp/i386/go32/startup


    > all:    ${ARCH} $(SRCS) $(PGM)
    >         $(INSTALL_CHANGE) ${PROJECT_RELEASE}/lib
    >
    >

    This also is very questionable, because it means "install
    $(PROJECT_RELEASE)/$/lib to the void".  I think, removing the
    INSTALL_CHANGE is the right way to fix it.
1999-04-16 18:17:31 +00:00
Joel Sherrill
98d051fffe Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
1) ./c/src/lib/libbsp/i386/i386ex/startup/Makefile.in

    > preinstall:
    >         $(INSTALL_CHANGE) ${IMPORT_SRC} .
    > 
    > #       ${CP} ${IMPORT_SRC} .
    >
    >
    >

    This fragment is broken, because IMPORT_SRC is always empty.

    IMO, the fix would be to remove this fragment or to replace it with
    test -z "${IMPORT_SRC}" || cp ${IMPORT_SRC} .
    if an external shell variable IMPORT_SRC shall be supported by this
    Makefile, which IMO should not be done.
1999-04-16 18:15:08 +00:00
Joel Sherrill
4a22e7a0ed Corrected to reflect new way of doing mips constructors. 1999-04-16 18:08:27 +00:00
Joel Sherrill
2a4791fa07 Added .eh_fram and .gcc_exc sections. 1999-04-16 18:08:09 +00:00
Joel Sherrill
4bfb1393a4 Regenerated 1999-04-15 19:02:31 +00:00
Joel Sherrill
d006519bce Added reentrant versions. 1999-04-15 19:01:32 +00:00
Joel Sherrill
a68e6b91e9 Updated version string. 1999-04-15 18:58:43 +00:00
Joel Sherrill
2df1974a27 Added include of rtems/posix/cancel.h. 1999-04-15 18:58:27 +00:00
Joel Sherrill
da41ecbcfe Removed alarm(), killinfo() and pause() because they are now in their own file. 1999-04-15 18:58:02 +00:00
Joel Sherrill
93994fdb80 Now compiles and is included in normal build even though it is untested.
Added multiprocessing conditional.
1999-04-15 18:57:31 +00:00
Joel Sherrill
0f4e0745c6 Cleaned up. 1999-04-15 18:57:02 +00:00
Joel Sherrill
3afecf811d Now compiles and is included in normal build even though it is untested. 1999-04-15 18:56:42 +00:00
Joel Sherrill
3090760f0f Now compile files that previously existed but were not built because they
had not yet been debugged.
1999-04-15 18:55:55 +00:00
Joel Sherrill
24a9af67e1 Now install header files that existed but were not previously installed. 1999-04-15 18:55:14 +00:00
Joel Sherrill
8a2943aab0 Now install some header files that existed but were not previously
installed.
1999-04-15 18:54:40 +00:00
Joel Sherrill
053acd7074 Now install utsname.h. 1999-04-15 18:54:16 +00:00
Joel Sherrill
d0f53fec4b Enabled cancellation information in POSIX API thread extension structure. 1999-04-15 18:54:01 +00:00
Joel Sherrill
02d46fa94b Added set_errno_and_return_minus_one_cast. 1999-04-15 18:53:35 +00:00
Joel Sherrill
39daf581c1 Added in some header files that existed but were not previously installed. 1999-04-15 18:53:22 +00:00
Joel Sherrill
fcead0f13a Regenerated 1999-04-15 18:52:02 +00:00
Joel Sherrill
df6d290f87 Regenerated. 1999-04-15 18:51:11 +00:00
Joel Sherrill
3c87bb9cef Minor corrections from Jay Kulpinski <jskulpin@eng01.gdds.com>.
This first one below looked like it only belonged in a
    virtual memory environment.  The second one was causing
    problems without the PROVIDE() - I don't know why.
1999-04-14 22:33:30 +00:00
Joel Sherrill
2b283071c6 Bug report from Ralf on UNIX port where the S_IR* constants were not
defined.
1999-04-14 18:18:03 +00:00
Joel Sherrill
76e5fe8ad3 Bug fix from Brendan Simon <brendan@dgs.monash.edu.au> with fix confirmed
by Andrew Bray <andy@madhouse.demon.co.uk>.
1999-04-13 22:50:24 +00:00
Joel Sherrill
6e27f58885 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
Installing of bsp_specs for aliased bsps is broken. Instead of installing
  RTEMS_BSP_FAMILY/bsp_specs, RTEMS_BSP/bsp_specs was tried to be installed.

  The patch below should fix this problem (tested with mips64orion p4600 and
  p4650).
1999-04-12 20:27:14 +00:00
Joel Sherrill
82f490f786 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to correct the
--enable-tests problem a better way.
1999-04-12 20:24:56 +00:00
Joel Sherrill
8cdb582b49 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
This patch addresses a few minor issues and contains a few (minor)
  preparations for automake.

  * configure.in: Fix for handing c/src/tests subdirectory handling (FIX)
  * aclocal/rtems-top.m4:
    + Add TARGET_SUBDIR and --with-target-subdir (preparation of future
      enhancements for cross-compiling)
    + Activate RTEMS_ROOT handling (automake preparation)
  * automake/*.am: replace comments "#" with "##" so that comments won't
    get included into Makefile.in's anymore
  * c/update-tools/* automake support (NEW)
  * ./autogen update/enhancement (cf. ./autogen for details)

  After applying this patch please run:

    ./autogen
    cvs add c/update-tools/configure.in
    cvs add c/update-tools/Makefile.am
    cvs add c/update-tools/aclocal.m4
1999-04-12 15:41:33 +00:00
Joel Sherrill
d1153156f0 Added line to initialize timer_max. 1999-04-12 15:36:07 +00:00
Joel Sherrill
ee3f8b8c85 Added statement to include build-tools/src directory in preinstall. 1999-04-12 15:35:31 +00:00
Joel Sherrill
63b96b95ab Addressed this bug report:
Date: Mon, 12 Apr 1999 00:38:04 +0000
From: Brendan Simon <brendan@dgs.monash.edu.au>
To: Jay Monkman <jmonkman@frasca.com>, "joel@OARcorp.com" <joel@oarcorp.com>
Subject: [Fwd: Goof in SMC initialize for mpc860]

Nick Simon reported this bug in the eth_comm BSP sources.  I see that it is
still there in the latest snapshot that Joel sent me (thanks).  I thought I
better forward this on to you guys.

Brendan.


Nick.SIMON@syntegra.bt.co.uk wrote:

> Sice I believe you're using the same base BSP as I am (you sent it to me) I
> thought I'd mention..
>
> In console-generic.c, in m860_smc_initialize, the receive buffer is malloced
> and assigned to RxBd[port+3]-> buffer - it should be [port-1].
>
> TTFN
B
1999-04-12 15:21:43 +00:00
Joel Sherrill
936ae5dd1f Added DEC21140 document from Emmanuel Raguet <raguet@crf.canon.fr>. 1999-04-08 16:19:21 +00:00
Joel Sherrill
5dbc2e2e99 First attempt to build. 1999-04-08 16:09:11 +00:00
Joel Sherrill
920e47f667 New files. 1999-04-08 16:05:37 +00:00
Joel Sherrill
56d4e48568 New file 1999-04-08 15:51:40 +00:00
Joel Sherrill
5907192db6 changed version to 19990407 1999-04-07 20:56:47 +00:00
Joel Sherrill
3084de2513 MPC821 support and PPC patches from Andrew Bray <andy@madhouse.demon.co.uk>:
In c/src/exec/score/cpu/powerpc/rtems/score/ppc.h:

    A lot of hardware interrupts were omitted.  Patch enclosed.
    I have also added the 821.

  In c/src/exec/score/cpu/powerpc/rtems/score/cpu.h:

    My patch adds the 821.

  In c/src/exec/score/cpu/powerpc/cpu.c:

    I have added the MPC821, and also fixed up for the missing hardware
    interrupts.  It is also inconsistent with
    c/src/lib/libcpu/powerpc/mpc860/vectors/vectors.S.  This has been fixed.


  In c/src/lib/libcpu/powerpc/mpc860/vectors/vectors.S:

    Fixed an inconsistency with cpu.c.

    I also include some new files to go with the above patches.  These are the
    cpu library rtems-19990331/c/src/lib/libcpu/powerpc/mpc821/* and
    c/src/exec/score/cpu/powerpc/mpc821.h which are minor modifications of
    the 860 equivalents.

  Other comments:

    The various accesses to the DPRAM on the 860 are done with a linktime
    symbol. This could be done dynamically at run time by reading the immr
    register, and masking off the lower 16 bits.  This takes the same amount
    of time as loading an address constant, and the same number of
    instructions as well (2).

    In c/src/lib/libcpu/powerpc/mpc860/console-generic/console-generic.c:

      This will silently fail if you attempt to use SCC1.  This is only relevant
      if you are not using SCC1 for ethernet.

      This file also sets one of port B output pins for each port.  This is NOT
      generic, it should be in the BSP specific console driver.
1999-04-07 15:57:05 +00:00
Joel Sherrill
055c18be0d changed version to 19990406 1999-04-06 22:22:39 +00:00
Joel Sherrill
b0acdf0b39 oNew file. 1999-04-06 22:20:16 +00:00
Joel Sherrill
98a929c030 Sanitized. 1999-04-06 22:16:04 +00:00
Joel Sherrill
7504be6c0c Removed. 1999-04-06 22:15:18 +00:00
Joel Sherrill
3c0e80c36a Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to preinstall
all bsp_specs.
1999-04-06 22:07:36 +00:00
Joel Sherrill
5cf555e10a Corrections by Jennifer. 1999-04-06 22:04:08 +00:00
Joel Sherrill
b08d3ed989 Untar support submitted by Jake Janovetz <janovetz@tempest.ece.uiuc.edu>. 1999-04-06 21:45:06 +00:00
Joel Sherrill
01a9d941b3 Patch from Andrew Bray <andy@chaos.org.uk>:
In your various bsp_specs files, even when ecrti.o is defined as a
   startfile, ecrtn.o is not defined as an endfile.  Instead it seems to
   be in the library list - untidy.
1999-04-06 20:39:17 +00:00
Joel Sherrill
676b50455d Patch from Eric Norum <eric@skatter.usask.ca>:
I'd like to make the following change which adds the m360 structure
    information to the debugging symbols in the final executable.  This
    makes it much easier to use the debugger to look at the elements of
    the m360 structure.
1999-04-06 20:27:45 +00:00
Joel Sherrill
a37be5c4e2 Eric Norum <eric@skatter.usask.ca> noticed that the documentation and
configure scripts did not match on the default value of --enable-tests.
1999-04-06 20:25:40 +00:00
Joel Sherrill
6a6d860814 Updated. 1999-04-06 16:54:02 +00:00
Joel Sherrill
e53c4a37bb Cleaning up unused files. 1999-04-06 15:45:21 +00:00
Joel Sherrill
9927f2060c Changed dates. 1999-04-02 18:00:06 +00:00
Joel Sherrill
c7b1cb566d Added RTEMS Remote Debugger Server Specifications links. 1999-04-02 17:59:50 +00:00
Joel Sherrill
fa8f29d2ef Fixed target name. 1999-04-02 17:59:23 +00:00
Joel Sherrill
02b7a13e90 Added Network Servers Chapter including Jake Janovetz's ftpd server. 1999-04-02 17:58:57 +00:00
Joel Sherrill
65beca61d4 Now at least a version of the figures shows up in the html although
there are no captions.
1999-04-02 17:41:37 +00:00
Joel Sherrill
64e0f6c40c Can now produce html, info, and PostScript without errors. Links
between chapters are correct.
1999-04-02 17:23:36 +00:00
Joel Sherrill
5a8e90c56f Accidentally added the .tex file not the .texi root document.
Also the Makefile had "@include" lines in it.
1999-04-02 17:07:33 +00:00
Joel Sherrill
bea606aee5 New files. This manual was ritten by Eric Valette <valette@crf.canon.fr>
and Emmanuel Raguet <raguet@crf.canon.fr>.  It was submitted in LaTeX
and converted to Texinfo by Joel.  At this point, the figures are
largely ignored except to put in an example block to show they are
missing.

The Makefile should be just enough to produce output with no links between
chapters.
1999-04-02 17:04:27 +00:00
Joel Sherrill
85e24a3237 Patch from Emmanuel Rauget (raguet@crf.canon.fr) to add a htons on the
sin_port.
1999-04-02 14:39:19 +00:00
Joel Sherrill
5345873a5b New file. Text from Jake Janovetz. 1999-04-01 21:43:50 +00:00
Joel Sherrill
f72dd2a9fa Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to address problems
on BSPs that install there own tools.
1999-04-01 16:58:06 +00:00
Joel Sherrill
517660f192 Moved sparc specific version of in_cksum_hdr to an inline routine like
the reset of the CPU specific implementations after comment from
Eric Norum.
1999-04-01 16:36:22 +00:00
Joel Sherrill
5eb7da97cd Disable IXON by default based on comment from Eric Norum
<e.norum@sk.sympatico.ca> and concerns from Thomas Doerfler
<td@imd.m.ISAR.de> when he submitted the patch:

  Since enabling XON/XOFF has such a major performance hit on `smart' output
  devices I think it should be *off* by default.  I think some thought should
  be given to adding hooks for hardware that can support XON/XOFF without
  software intervention, or for hardware like the 68360 SCC's that can use
  large buffers, but still handle special characters immediately.

  The patch you sent is a very good start, though.  I just think that the
  software flow control should be off -- to match the way the serial I/O
  support has worked up until now.
1999-04-01 16:20:03 +00:00
Joel Sherrill
656dabf1fa Removed warning. 1999-04-01 15:51:14 +00:00
Joel Sherrill
414e1b30d0 changed version to 19990331 1999-03-31 23:56:34 +00:00
Joel Sherrill
77a0067335 changed version to 199900331 1999-03-31 23:36:18 +00:00
Joel Sherrill
18040d302c Patch from Thomas Doerfler <td@imd.m.ISAR.de> to add flow control:
Some lines for "documentation":
    ======================================
    One thing should be noted: when XON/XOFF is enabled, the serial
    device will always work with one-character buffers, so the interrupt
    load for the CPU might get higer, especially on devices like MC68360
    and MPC860, where the serial channels are capable of using big
    buffers. But, once again, this only happens when XON/XOFF is actually
    selected.

    Please note that the flag IXON is set by default, so outgoing
    XON/XOFF flow control is enabled by default.

    XON/XOFF is controlled using the "standard" fields IXON/IXOFF in the
    termios structure. The termios flag IXANY is not (yet) supported.

    Hardware handshake for the incoming data stream is controlled using
    the standard flag CRTSCTS. If this flag is set, whenever the receive
    buffer is almost full, the driver function "device.stopRemoteTx()" is
    called, when the receive buffer has more space available,
    "device.startRemoteTx()" is called again.  If the driver does not
    provide these interface functions (entries in device structure are
    NULL pointers), then these calls are suppressed.

    Changes of the flow control options during operation should work at
    any time, but this has not been extensively tested.

    No changes to the device driver interface are needed.
    ================================================

    One critical point when using this patch might be, that any BSP using
    this version of termios will now have outgoing flow control enabled
    by default, so the behaviour of these BSPs will change here. The
    option IXON has already been set in older termios by default, but it
    did not work until this patch. Maybe this option should be switched
    off by default, what do you think?
1999-03-31 23:35:22 +00:00
Joel Sherrill
ecab6a3917 Regenerated. 1999-03-31 23:29:19 +00:00
Joel Sherrill
79800f9ee5 Fixed include file paths. 1999-03-31 23:27:03 +00:00
Joel Sherrill
c08f283ea0 Fixed typo so applications would link. 1999-03-31 23:25:53 +00:00
Jennifer Averett
ec2328eeaf Removed asserts that shouldn't be called and commented case where this
indicates an internal error.
1999-03-31 23:24:57 +00:00
Joel Sherrill
8cc57f626b Modified to be valid m68k code on all CPU models. 1999-03-31 23:24:51 +00:00
Jennifer Averett
f719ef12ff Corrected return value. 1999-03-31 23:23:52 +00:00
Jennifer Averett
3f06c298b4 Added prints for calls into the file system. Added O_EXCL for an open that
tested that the same file could not be created twice.
1999-03-31 23:22:42 +00:00
Joel Sherrill
73b943bc97 Fixed paths to include files so this will build. 1999-03-31 23:21:19 +00:00
Jennifer Averett
912f74ae47 Modified file to match output. 1999-03-31 23:20:43 +00:00
Joel Sherrill
6b719b8d12 Fixed typos and mistakes related to adding gnatsupp. 1999-03-31 23:20:35 +00:00
Joel Sherrill
c5f2e5b1ba Regenerated. 1999-03-31 23:11:47 +00:00
Joel Sherrill
0e78ec3ad6 Removed warnings. 1999-03-31 23:11:38 +00:00
Joel Sherrill
5cfcd7ec42 Removed warnings. 1999-03-31 22:59:13 +00:00
Joel Sherrill
f4709895cd Removed warning. 1999-03-31 22:51:44 +00:00
Joel Sherrill
6a107099d7 Patch from Chris Johns <ccj@acm.org>:
joel@OARcorp.com wrote:
>
> Chris,
>
> sp09 fails on the rtems_port_delete(0) call.  This is supposed to give an
> invalid id error.  I can't find any changes other than the unlimited
> objects patch which would have tripped this so would appreciate it if you
> could look into it.  I suspect that this is a side-effect of the unlimited
> objects patch.
>

It is me.

>
> Basically, there are 0 ports configured in sp09.  The test ends up
> dereferecing NULL in local_table[0] and comes up with a non-NULL invalid
> pointer.
>

The issue is not actually allocating a local_table for an object type
which has a maximum value of 0. I cannot remember the exact workings of
the id values and the local_table. I might have changed the nature from
the pre-unlimited change. As you know the id's are an interesting game
where performance is most important.

>
> I know the problem could be solved by adding a check for index == 0.  But
> I hate to slow this path down.  I think you may have changed the way the
> object information structure gets initialized.
>

---- CVS log ----

This change lets the unlimited and sp09 tests run on the posix Linux
BSP. A static local variable `null_local_table' has been added. This
variable is always set to NULL. The `**local_table' element of the
information structure is set to point to this variable earily in the
initialisation. If the object type has more than 0 elements the
`local_table' element is updated. All object types which have 0 elements
reference `null_local_table'. This change fixes the problem sp09 found
yet does not add any extra processing to the critical
`_Objects_Get_local_object' function.

---- CVS log ----
1999-03-31 22:33:14 +00:00
Joel Sherrill
5c959963df When compiled in debug mode, the POSIX threads inline file was not
included and we ended up with undefined references.
1999-03-31 22:09:11 +00:00
Joel Sherrill
cb0f1fc5ac Another attempt to get runtest installed. 1999-03-31 22:05:43 +00:00
Joel Sherrill
efa0baa5e7 Patch from Eric Norum <eric@skatter.usask.ca> which changed the exit
sequence.
1999-03-31 20:51:07 +00:00
Joel Sherrill
ceb06d9650 Removed warning for `#ifdef' argument starts with punctuation. 1999-03-30 17:43:51 +00:00
Joel Sherrill
707d4d00d6 Removed warning for const removal. 1999-03-30 17:42:25 +00:00
Joel Sherrill
5c6c4c24d9 Fixed typo where _POSIX_signals_Clear_process_signals was not prototyped
and _POSIX_signals_Set_process_signals was done twice.
1999-03-30 17:41:26 +00:00
Joel Sherrill
eacc8e3b88 Patch from "Tony R. Ambardar" <tonya@ece.ubc.ca> and blessed by
Ian Lance Taylor <ian@airs.com> to note that condition codes
are modified.
1999-03-30 17:39:08 +00:00
Joel Sherrill
a43ad5cd29 Patch from Tony R. Ambardar <tonya@ece.ubc.ca> to add byte wide
register support to this driver.
1999-03-30 15:54:37 +00:00
Joel Sherrill
6a4096b224 Patch to add shutdown() routine from Tony R. Ambardar <tonya@ece.ubc.ca>. 1999-03-30 15:40:29 +00:00
Joel Sherrill
710389fcca Cleaned up and regenerated. 1999-03-30 15:38:57 +00:00
Joel Sherrill
e5f4e5aaff Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
rtems-rc-19990326-2.diff: Enhancements to autoconf support for librdbg
    * autoconf-checks for AWK and RPCGEN
    * disable librdbg if either AWK, RPCGEN or librdbg/$target_cpu
      cannot be found
1999-03-29 22:24:23 +00:00
Joel Sherrill
b5d8eca1b5 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to fix a typo. 1999-03-29 22:22:56 +00:00
Joel Sherrill
7e03d107d7 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
Yet some more modifications, I would recommend to be considered before
    releasing a snapshot:

    1. Cleanup to aclocal/
    cvs rm -f aclocal/cygwin.m4
    cvs rm -f aclocal/exeext.m4

    They are neither used nor needed anymore, however they also don't
    disturb (we use autoconf-2.13's AC_EXEEXT instead, now)

    ----------

    2. rtems-rc-19990328-0.diff
    Some (minor) bug-fixes:
    * make/Templates/Makefile.inc.in: use the new installation directory
    ($(prefix)/ instead of $(prefix)/rtems/)
    * c/src/exec/score/tools/generic/Makefile.am: added line to include local.am
    * c/src/exec/score/tools/*/configure.in: added CVS Id header

    ----------

    3. rtems-rc-19990328-1.diff
    Enhancements and cleanups to autogen, rtems-polish.sh, configure.in etc.

    * autogen: Use the file "VERSION" to detect RTEMS toplevel directory,
    extended usage-message, use "find -print"
    * c/update-tools/cipolish: New script to beautify configure.in scripts
    * c/update-tools/rtems-polish.sh: Use the file "VERSION" to detect RTEMS
    toplevel directory, extended usage-message, added variable for perl
    scripts' subdirectory, use "find -print", cipolish support, new options
    -ac -am -ci.
    * aclocal/*.m4, configure.in: moved some AC_SUBST lines to aclocal/*.m4
    (reduces size of configure.in
    scripts, eases splitting configure.in scripts).

    ----------
1999-03-29 21:08:04 +00:00
Jennifer Averett
77c81fd2a1 Removed an uninitialized variable. 1999-03-29 18:24:34 +00:00
Jennifer Averett
eaf0e8eb0a Correctd name length to account for new IMFS max name length of 32. 1999-03-29 18:06:00 +00:00
Jennifer Averett
1ed9d576d9 Fixed expected return status from lseek to look for not failure (-1). 1999-03-29 18:05:01 +00:00
Jennifer Averett
2ada69ab1a Changed expected status lseek to look for not failure (-1). 1999-03-29 17:59:46 +00:00
Joel Sherrill
39560f1b0f Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to fix size_rtems
problem.
1999-03-29 17:47:24 +00:00
Joel Sherrill
23291e99b8 Patch from Rosimildo DaSilva <rdasilva@connecttel.com> and
Emmanuel Raguet <raguet@crf.canon.fr>  to eliminate a problem
during the boot process on the pc386 BSP.  On fast PC's the
calibration routine would hand.
1999-03-26 15:42:39 +00:00
Joel Sherrill
aec5da467e Patch from Rosimildo DaSilva <rdasilva@connecttel.com>:
Problem:  Sometimes the output file "FOO.BT"  is smaller that the second
              image.
    Solution: Opening files, input/output,  in "binary mode".
1999-03-25 21:42:52 +00:00
Joel Sherrill
5e2fe06c7e changed version to rc-19990325 1999-03-25 15:49:08 +00:00
Joel Sherrill
3108b76c7d Regenerated. 1999-03-25 01:02:33 +00:00
Joel Sherrill
0bf2ff8179 utime.h moved to c/src/lib/include/sys since it is needed by some libc
routines.
1999-03-24 23:15:20 +00:00
Joel Sherrill
244ecd9fb8 These files were not added as part of a recent patch from
Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
1999-03-24 23:14:36 +00:00
Joel Sherrill
a432c4b710 Fix based on bug report from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
There seems to be an ugly dependency between posix-headers and
    libcsupport.

    Configuring rtems with
    ../rtems-rc-19990324-0/configure \
    --target=i386-rtems \
    --prefix=<somewhere> \
    --disable-posix

    "make RTEMS_BSP=pc386" results into:

    [...]
    /opt/rtems/bin/i386-rtems-gcc --pipe
    -B/users/rtems/src/multi/build/pc386/lib/ -specs bsp_specs -qrtems
    -I/users/rtems/src/multi/build/pc386/lib/include/networking  -g -Wall
    -ansi -fasm  -O4 -fomit-frame-pointer    -c -o o-pc386/utime.o
    ../../../../../rtems-rc-19990324-0/c/src/lib/libc/utime.c
    In file included from
    ../../../../../rtems-rc-19990324-0/c/src/lib/libc/utime.c:16:
    /opt/rtems/i386-rtems/include/utime.h:4: sys/utime.h: No such file or
    directory
    ../../../../../rtems-rc-19990324-0/c/src/lib/libc/utime.c:24: warning:
    `struct utimbuf' declared inside parameter list
    ../../../../../rtems-rc-19990324-0/c/src/lib/libc/utime.c:24: warning:
    its scope is only this definition or declaration,
    ../../../../../rtems-rc-19990324-0/c/src/lib/libc/utime.c:24: warning:
    which is probably not what you want.
    ../../../../../rtems-rc-19990324-0/c/src/lib/libc/utime.c: In function
    `utime':
    ../../../../../rtems-rc-19990324-0/c/src/lib/libc/utime.c:34:
    dereferencing pointer to incomplete type
    ../../../../../rtems-rc-19990324-0/c/src/lib/libc/utime.c:34:
    dereferencing pointer to incomplete type
    make[4]: *** [o-pc386/utime.o] Error 1
    make[3]: *** [all] Error 1
    make[2]: *** [all] Error 1
    make[1]: *** [all] Error 1
    make[1]: Leaving directory `/lfs/poseidon/users/rtems/src/multi/build/c'

    make: *** [all] Error 1

    Apparently sys/utime.h is one of the posix headers and therefore gets
    not installed (I suppose this is correct).

    IMO, this probably indicates that sys/utime.h has to be moved to another
    include subdirectory and should not be part of the posix-package.
    [AFAIK, sys/*.h are system dependent headers, so why should it be a
    posix-header? - Hmm]
1999-03-24 22:52:47 +00:00
Joel Sherrill
c9b07e92d1 Automake II patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
With my most recent automake patch (automake II) we could even simplify more
  files below make/, because the host-compiler related parts of those files
  aren't used anymore :-.

  Whatsoever, the patch below should fix this problem.

  Note: This is a mere bug fix, it doesn't move any of the variables involved
  to target.cfg nor does it try to eliminate any variable.
1999-03-24 22:49:17 +00:00
Joel Sherrill
367cc5ef05 Patch from Eric Norum <eric@skatter.usask.ca> to use new network
interface naming convention.
1999-03-24 22:29:32 +00:00
Joel Sherrill
33508cb149 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>. 1999-03-24 21:15:21 +00:00
Joel Sherrill
33fefc22ca Patch from Eric Norum to account for new routine that improved
parsing of interface names.
1999-03-23 23:17:52 +00:00
Joel Sherrill
e828c2dd40 SPARC optimized version of IP checksum header routine. Submitted
by Jiri Gaisler <jgais@ws.estec.esa.nl>.
1999-03-23 23:06:42 +00:00
Joel Sherrill
da7a73e02a Enable building the network stack. 1999-03-23 23:05:32 +00:00
Joel Sherrill
f1f42b454d Modifications from Jiri Gaisler <jgais@ws.estec.esa.nl> to
fix some problems encountered when reusing this driver on
a SPARC ERC32 based Tharsys board.  He eliminted the need
for TX interrupts and added code that can optionally ensure that
the IP address is 32-bit aligned. He also fixed a handful of
problems that only occured because the 8 Mhz ERC32 was
enough slower than the 100 Mhz PPC603e that timing
issues in this driver were magnified.
1999-03-23 22:51:05 +00:00
Joel Sherrill
b6f5f9385d Patch from Eric Norum <eric@skatter.usask.ca> to improve parsing of
network interface names.  This change does not introduce any
compatibility problems.
1999-03-23 22:39:13 +00:00
Joel Sherrill
ca3fec4982 Regenerated. 1999-03-23 22:30:17 +00:00
Joel Sherrill
9b8baa128b Automake II patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>. Email
description follows:

Description:

    * automake for *all* tool subdirectories (Makefile.am, configure.in etc.)
    * autogen now also considers CONFIG_HEADER (generates stamp-h.ins and
      config.h.ins)
    * c/src/tests/tools/generic/difftest and
      c/src/tests/tools/generic/sorttimes generated by configure scripts
    * c/update-tools/ampolish, beautifier for Makefile.ams, similar to
      acpolish
    * rtems-polish.sh added to c/update-tools/ + ampolish support
    * New subdirectory ./automake, contains automake -Makefile fragments to
      support RTEMS make "debug, debug_install, profile, profile_install" for
      native Makefile.ams (== ignore these make targets).
    * aclocal/rtems-top.m4's RTEMS_TOP now reads the automake makefile
      variable VERSION from RTEMS ./VERSION file.
    * ./configure.in uses the macros from aclocal + support for the tools'
      configure scripts

  Remarks:
    * To run rtems-polish.sh, "cd <rtems-source-tree>;
      ./c/update-tools/rtems-polish.sh"
    * AFAIS, now all native subdirectories are converted to automake (Please
      drop me a note, if I forgot something).
    * Unless you notice something fatal, IMO the time has come for a public
      try (== snapshot). I do not intend to send more automake related patches
      within, say 2 weeks, to give these patches time to settle and to give me
      some time to think on how to continue.
    * The patch assumes installation to the new main installation directory
      [$(prefix)].
1999-03-23 18:02:17 +00:00
Joel Sherrill
c69856c340 Regenerated. 1999-03-23 15:49:45 +00:00
Joel Sherrill
4fb9af858e Another cleanup patch for the previous rejected hunk. 1999-03-19 23:26:11 +00:00
Joel Sherrill
04c308c022 Incorporated automake I patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
This is the first real automake patch.

    It adds automake support to c/build-tools and cleans up a few minor
    issues.

    I consider this to be a testing probe to examine problems with automake.
    Therefore, this patch is just a more or less harmless replacement of the
    former RTEMS Makefiles and I expect it not last for long. If you want to
    give automake Makefiles a public try and if you want/need to learn about
    problems with it, then it's about time for a new snapshot, IMO. I may
    have screwed up something not directly related to automake, but I expect
    very few (none to be precise) problems with automake. However, somebody
    should at least try building on Cygwin. If you feel a bit more
    adventureous, then I also can continue to submit more patches.

    [FYI: I still have a couple of automake files laying around, but they
    need some cleanup before being submitted as patches. Now, that I am just
    into it, I'll perhaps submit another one tonight :-]

    After applying this patch (patch -p1 -E <
    <path-to>/rtems-rc-19990318-0), first run the "autogen" script from the
    toplevel source directory, before committing to CVS. Be careful about
    dependencies between Makefile.am and Makefile.ins when cutting tarballs
    from CVS. Makefile.ins are required to be newer than Makefile.ams,
    otherwise users would need to have automake, autoconf and perl. Some
    people recommend to "touch" all Makefile.in after checkout from cvs (cf.
    egcs/contrib/egcs_update).

    ATTENTION:
      * This patch adds a number of new files.
      * remove aclocal/exeext.m4 and aclocal/cygwin.m4 from CVS, They are now
        covered by autoconf-2.13`s AC_EXEEXT.

    Some features/side-effects which are probably interesting for you:
    In a configured build-tree "cd c/build-tools", then try

      * "make RTEMS_BSP=<bsp> install"
      * "make RTEMS_BSP=<bsp> dist"
1999-03-19 23:11:36 +00:00
Joel Sherrill
c0a3642981 A cleanup patch on fcntl.c from Eric Norum <eric@skatter.usask.ca> for
2 lines of code that did not get included when Joel tried to manually
add a rejected patch.
1999-03-19 22:59:20 +00:00
Joel Sherrill
d8ff79366b Towards automake XI patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
This patch is the most scary of all proposals I've been mailing to you
    this week until now.

    It consists of 3 parts:
        1. a patch
        2. a perl script (acpolish)
        3. a shell script wrapper to invoke the perl-script.

    The perl-script reads in each Makefile.in and modifies them
    ("polishes/beautifies" them :-).

    These modifications are not easy to describe:

    Basically, it hard-codes some automake Makefile-variables and rules into
    RTEMS autoconf-Makefile.ins (Note: autoconf vs. automake!!) and converts
    some settings/variables to configure scripts' requirements (Yes,
    plural).

    E.g. it adds the automake standard variables $top_builddir and $subdir,
    adds dependency rules for automatic re-generation of Makefiles from
    Makefile.in, adds support variables for relative paths to multiple
    configure scripts etc.


    The patch is a one-line patch to enable the support of the new features
    added by acpolish.

    The shell script is a wrapper which pokes around inside of the source
    tree for Makefile.ins and invokes acpolish on all autoconf-Makefile.ins.

    acpolish is designed to be able to run several times on the same
    Makefile.in and may once become a more general tool to convert RTEMS
    Makefile.in to automake. Therefore, I'd like to keep it inside of source
    tree. (e.g. as contrib/acpolish or c/update-tools/acpolish). However, it
    doesn't make sense to export it outside of RTEMS.


To apply this:

    cd <source-tree>
    patch -p1 -E < <path-to-patch>/rtems-rc-19990318-1.diff
    tar xzvf <path-to>/rtems-rc-polish.tar.gz
    ./rtems-polish.sh
    ./autogen

    Note: The path contrib/acpolish is hard-coded into rtems-polish.sh, if
    you decide to put it in an alternative place, please modify
    rtems-polish.sh to reflect this change.

    Later:
    cvs rm make/rtems.cfg (It isn't used anymore)
    cvs add contrib
    cvs add contrib/acpolish
    cvs commit

    I've tested this intensively, but naturally I can't exclude bugs.

    Ralf.

    PS.: Most probably, this is the last "Towards automake" patch. The next
    one probably will be a real automake patch.
1999-03-19 22:27:02 +00:00
Joel Sherrill
5906ac5e9f Towards automake X patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
This one once again changes the scheme to preinstall bsp_specs.

    It moves generating PROJECT_ROOT/lib/bsp_specs to
    libbsp/<cpu>/<bsp>/wrapup/Makefile.in.

    I.e. it decentralizes generation of bsp_specs to a bsp-dependent
    directory, because preinstalling bsp_specs in a centralized Makefile
    like it has been done until now does not harmonize well with spliting
    the toplevel configure script in cpu and bsp-dependent configure scripts
    and automake.

    First apply the patch (rtems-rc-19990318-0.diff) below, then run the
    reorg-bsp_specs.sh script.

    IMO, this one is comparatively harmless and eases automake support
    significantly.
1999-03-19 22:10:04 +00:00
Joel Sherrill
e619c2895b Towards automake IX patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
This is the next step towards automake:

    * Two scripts for the toplevel directory:
      a) "autogen" (Idea borrowed from libtool and gnome) A helper script to
      recursively regenerate autoconf/automake/aclocal generated files
      (Still not perfect but sufficient).
      b) "missing" (from automake-cvs archive). This file normally is
      automatically generated by automake, but we have to manually add
      it until we add automake support to the toplevel configure script.

        "chmod 755 missing autogen" after applying the patch.

    * Changing the toplevel installation directory [ I can hear you
      falling off the chair ;-]
      Until now rtems installed itself to $(prefix)/rtems. This is in
      contradiction to automake and GNU/FSF/Cygnus conventions.
      With this patch applied, rtems installs into $(prefix).
      To achieve the old behaviour simply configure with
      --prefix=<install-dir>/rtems instead of --prefix=<install-dir>

      This is a widely visible change and I can understand if you don't
      like it at the present point. It enables us to use automake's
      default installation paths instead of having to set up installation
      paths manually. At the moment this doesn't help much, but in the not
      so far future this would enable us to mix cpu-only dependent libraries
      into the host's cross-compiler library and header files into
      newlib's include directories, tools into the toolchain directories etc.

      I would  recommend to change the main installation directory, however it's
      up to you to draw the final design decision.
1999-03-19 22:01:26 +00:00
Joel Sherrill
9ec964784b Towards automake VIII patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
OK, I 've made up my mind to cut a big chunk of my automake-patches (:-).

    Below you can find a drop-in replacement of the aclocal directory. It
    contains a lot of new macro files, most of them are directly cut from rtems
    top-level configure script, some are new some are identical to former
    versions. The motivation behind these files is to reuse parts from rtems
    current top-level configure.in script in up-coming subdirectory configure.in
    scripts.

    I'd like to ask you to untar the archive ontop of the source tree and to
    add/commit these files to CVS. Adding these files should not have any
    influence on RTEMS momentary configuration (except of you are required to
    run aclocal -I aclocal && autoconf afterwards), because most of them
    currently are not used at all.

    ---------

    BTW: Please upgrade to autoconf-2.13 and automake-2.4, if you havn't done
    this already (egcs/CVS require them, too). My upcoming automake files
    require automake-2.4 which requires autoconf-2.13 or later.
1999-03-19 21:54:36 +00:00
Joel Sherrill
af0200363e Patch from Eric Norum <eric@skatter.usask.ca> that adds external
fcntl support and an external fcntl handler for sockets.
1999-03-19 21:51:58 +00:00
Joel Sherrill
b64b1ed387 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
Moves some configure.in fragments to new macro files below aclocal/
   (Motivation: Prepare splitting the toplevel configure.in script)
1999-03-18 22:36:28 +00:00
Joel Sherrill
1105818d14 Patch from Ian Lance Taylor <ian@airs.com>:
Erik Ivanenko pointed out a problem in the ne2000.c driver I
    submitted: it did not work correctly with bootp.  Here is a patch,
    based on a patch he sent me.
1999-03-18 16:36:50 +00:00
Joel Sherrill
dfe7746ed9 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> 1999-03-17 23:43:32 +00:00
Joel Sherrill
55b8fef2a1 Patch from Emmanuel Raguet <raguet@crf.canon.fr> to add information
about the enable rdbg configure option.
1999-03-17 16:09:09 +00:00
Joel Sherrill
f4a8ee1c55 Unlimited objects patch from Chris Johns <ccj@acm.org>. Email follows:
First, the unlimited patch. I have compiled the unlmited patch for the
    Linux posix BSP only and it seems to work cleanly. I would like a really
    major application run on this change before commiting as the changes are
    very core and significant. I am currently building all the tests to run.

    I have no targets suitable to test on at the moment.

    I have tested the patch for inline functions and macros.

    Turning macros on has found some core bugs. I have fixed these but have
    not run all the tests. Please review the patch for these changes. They
    are:

    1) The conditional compilation for MP support broke the core messages
    code. You cannot embed a conditional macro in another macro. The Send
    and Urgent Send calls are macros.

    2) User extensions handler initialisation now has two parameters. I have
    updated the macros to support the extra parameter.

    The patch also contains the gcc-target-default.cfg fix required to build
    the kernel. More of a by product than a fix for you.
1999-03-17 16:01:03 +00:00
Joel Sherrill
e9e01dd61f Suggested rephrasing of inline versus macros option by Chris Johns
<ccj@acm.org>.
1999-03-17 15:56:03 +00:00
Joel Sherrill
1c0a186bef Temporarily took rtems_servers directory out of the build tree since there
are build issues with it.
1999-03-17 15:53:13 +00:00
Joel Sherrill
a902441a25 Patch from John S. Gwynne <jgwynne@mrcday.com> to correct minor
problems that prevented the 19990302 snapshot from running on
the efi332.

    I'm happy to report that rtems-19990302 is running on the efi332
    board. I have enclosed a few minor patches below to the efi332 bsp. All
    patches are within that library but one. make/custom/efi332.cfg has a
    patch to select the right CPU_CFLAGS (at one time -m68332 was a
    problem... -mcpu32 or -m68332 work fine now).
1999-03-16 02:26:50 +00:00
Joel Sherrill
6d0e13c3bd Added ftpd server from Jake Janovetz <janovetz@tempest.ece.uiuc.edu>. 1999-03-16 01:51:53 +00:00
Joel Sherrill
504a8c9d16 Added rtems_servers directory. 1999-03-16 01:51:40 +00:00
Joel Sherrill
cda0c07ed5 Commented out test case that no long works since addition of POSIX timers. 1999-03-16 01:41:48 +00:00
Joel Sherrill
23c4bbf58a Use proper include for libio.h. 1999-03-16 01:41:16 +00:00
Joel Sherrill
e602b3f845 Interrupt handler installed as raw handler. Problem caught by
by Jiri Gaisler <jgais@ws.estec.esa.nl> when using this
driver on a SPARC.
1999-03-11 22:13:45 +00:00
Joel Sherrill
54d3d1e155 Added $(CPPFLAGS) to all gcc 2.8 style make-exe rules. 1999-03-08 21:41:09 +00:00
Joel Sherrill
5b3632e9cd Took generated files off list of source files. 1999-03-08 21:40:14 +00:00
Joel Sherrill
b10f6e12e0 Corrected bug where pointer to doubly linked blocks was being incorrectly
calculated.
1999-03-08 21:39:39 +00:00
Joel Sherrill
3195d9c0a5 Added code to translate internal libio flags to POSIX style flags. 1999-03-08 21:39:16 +00:00
Joel Sherrill
1bb170208b Added support for F_GETFL and F_SETFL. 1999-03-08 21:38:56 +00:00
Joel Sherrill
550b6da660 Install remote debugger pieces. 1999-03-08 21:38:37 +00:00
Joel Sherrill
16b5264d49 Switched sense of tests configure flag to really be off by default. 1999-03-08 21:38:16 +00:00
Joel Sherrill
b02af64c5e Removed unused variable. 1999-03-08 21:37:13 +00:00
Joel Sherrill
a4dc7e0563 Patch from Ian Lance Taylor <ian@airs.com> to correct previous interrupt
patch.
1999-03-08 21:02:20 +00:00
Joel Sherrill
3ef87981eb Added F_GETFL support so the fdopen() implementation in newlib 1.8.1
would work.  At the same time, the initial implementation of F_SETFL
was added.  A support routine was added to convert internal libio
flags back to the POSIX style.  Eventually the internal representation
should be eliminated in the interest of simplicity and code reduction.
This problem was reported by Jake Janovetz <janovetz@tempest.ece.uiuc.edu>.
1999-03-06 18:09:15 +00:00
Joel Sherrill
eaefca9084 Wrong constant name was used for the DEBUG exception. 1999-03-03 18:11:51 +00:00
Joel Sherrill
163b29a653 Generated files were accidentally included in the library. 1999-03-03 18:11:35 +00:00
Joel Sherrill
4f6d73adc1 Patch from Erik Ivanenko <erik.ivanenko@utoronto.ca> to correct a bug
that shows up if the BSP uses memory near address 0.
1999-03-03 16:22:57 +00:00
Joel Sherrill
97b8b8f5fa This file is linked in 1999-03-02 15:56:04 +00:00
Joel Sherrill
0077e9efb9 changed version to 19990302 1999-03-02 15:43:39 +00:00
Joel Sherrill
faf7f46c96 Patch from Jay Monkman <jmonkman@frasca.com> to address minor issues
in the eth_comm BSP documentation.
1999-03-02 15:32:30 +00:00
Joel Sherrill
9d813800b3 Updated Ethernet driver from Erik Ivanenko <erik.ivanenko@utoronto.ca>.
Comments follow:

    Please find attached, the updated network driver.  I have verified
    that it is working as expected, by timestamping the error messages
    generated from the ISR.

    If you've taken a look inside, the network driver has a reset thread
    in addition to the RX and TX threads.  It is possible to avoid the
    additional reset thread by allowing the TX driver to time out and then
    checking status bits set by the ISR.  However, this approach demands
    that a transmission is necessary for the NIC to be reset.

    Due to Eric V's ISR handling, I suppose that the reset routine could
    be called from the "ISR" itself, due to the 8259 interrupt mode, and
    that the interrupt is acknowledged prior to running the "ISR".
    (Providing that no NIC interrupts are generated during reset -- I
    worry about re-entrancy.  )

    This would be a minor improvement, but you know, I don't want to make
    this driver my lifes work.
----------------------------------------------------------------------
----------------------------------------------------------------------
1999-03-01 23:50:22 +00:00
Joel Sherrill
73f6236bc0 Patch from Eric Norum <eric@skatter.usask.ca> to eliminate external
IO handlers scheme that was implemented originally just to support
sockets.  The file system IO switch is more general and works fine.
1999-03-01 22:40:08 +00:00
Joel Sherrill
e069cdc3f1 Part of the automake VI patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
> 5) rtems-rc-19990202-1.diff/reorg-install.sh
>
> reorg-install.sh fixes a Makefile variable name clash of RTEMS
> configuration files and automake/autoconf standards.
> Until now, RTEMS used $(INSTALL) for install-if-change. Automake and
> autoconf use $(INSTALL) for a bsd-compatible install. As
> install-if-change and bsd-install are not compatible, I renamed all
> references to install-if-changed to $(INSTALL_CHANGED) and used
> $(INSTALL) for bsd-install (==automake/autoconf standard).  When
> automake will be introduced install-if-change will probably be replaced
> by $(INSTALL) and therefore will slowly vanish. For the moment, this
> patch fixes a very nasty problem which prevents adding any automake file
> until now (There are still more).
1999-03-01 15:18:26 +00:00
Joel Sherrill
85d8eb20d2 Corrected the comments on --enable-gcc28 and switched the sense of the
--enable-tests switch.
1999-02-25 19:34:33 +00:00
Joel Sherrill
e1b7770144 backed off previous change and switched to tests being disabled by default. 1999-02-25 19:22:58 +00:00
Joel Sherrill
0ce47288c9 Suggestion from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to clarify
--enable-tests flag.
1999-02-25 17:30:24 +00:00
Joel Sherrill
3cf8394af5 Changed IMFS to use IMFS_NAME_MAX as the maximum length of a basename
rather then NAME_MAX.  NAME_MAX is 255 and that lets IMFS chew up memory
too fast.  Perhaps in the future, the places in IMFS that put a maximum
length name string on the stack and the jnode structure does not include
a maximu length name string can be fixed so this is not a problem.
1999-02-24 20:58:47 +00:00
Joel Sherrill
32a98d216b Moved mpc860.h around to make things compile. 1999-02-24 20:46:18 +00:00
Joel Sherrill
7d7b2a3d8d Patch from Charles Gauthier <Charles.Gauthier@@iit.nrc.ca> to address
FP issues on this target:

The default variants of libc, libm and libgcc assume that a 68881
coprocessor is present. Without the FPSP, any floating point operation,
including printf() with a "%f" format specifier, is likely to cause an
unimplemented instruction exception.

The FPSP works with the default variants of libc, libm and libgcc. It does not
work in conjunction with the msoft-float variants. The paranoia test goes into
an infinite loop at milestone 40. I am guessing that floor() is returning an
incorrect value.

The msoft-float variants of libc, libm and libgcc appear to do floating point
I/O properly. They only failed in paranoia. Offhand, I can't think of why they
would conflict with the FPSP, so I think that there is something wrong with the
msoft-float code. It might be my installation.

Given my experiences, I decided to install the FPSP in bsp_start(), and to link
against the default variants of libc, libm and libgcc. This causes the
executables to increase in size by about 60 KB. The README file and the
mvme167.cfg specify how to remove the FPSP, and how to link against the
msoft-float variants of the libraries. This is not what Eric Norum had done: on
my host, his gen68360_040 port links RTEMS code with the msoft-float variants
of libc and libm, and the default variant of libgcc. In this configuration, the
output of printf() with "%f" is garbage on my target.
1999-02-24 15:46:25 +00:00
Joel Sherrill
4e4e6911e5 Patch from Charles Gauthier <Charles.Gauthier@iit.nrc.ca> to address
FP issues on this target:

The default variants of libc, libm and libgcc assume that a 68881
coprocessor is present. Without the FPSP, any floating point operation,
including printf() with a "%f" format specifier, is likely to cause an
unimplemented instruction exception.

The FPSP works with the default variants of libc, libm and libgcc. It does not
work in conjunction with the msoft-float variants. The paranoia test goes into
an infinite loop at milestone 40. I am guessing that floor() is returning an
incorrect value.

The msoft-float variants of libc, libm and libgcc appear to do floating point
I/O properly. They only failed in paranoia. Offhand, I can't think of why they
would conflict with the FPSP, so I think that there is something wrong with the
msoft-float code. It might be my installation.

Given my experiences, I decided to install the FPSP in bsp_start(), and to link
against the default variants of libc, libm and libgcc. This causes the
executables to increase in size by about 60 KB. The README file and the
mvme167.cfg specify how to remove the FPSP, and how to link against the
msoft-float variants of the libraries. This is not what Eric Norum had done: on
my host, his gen68360_040 port links RTEMS code with the msoft-float variants
of libc and libm, and the default variant of libgcc. In this configuration, the
output of printf() with "%f" is garbage on my target.
1999-02-24 15:37:49 +00:00
Joel Sherrill
d6a5c812ed Switch to using standard compile rule for assembly. 1999-02-24 15:26:38 +00:00
Joel Sherrill
4d20133bef Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>. The following email
is long but I hate to lose the information so I am including it here.


> I am still fixing and recompiling but this is the issue that was not the
> result of another patch.  This is a fundamental build issue that I value
> your opinion on.

This is difficult issue (I.e. I have no destinct solution for it)

Background:

(gnu-) make's  implicit rules apply CFLAGS, CPPFLAGS, CXXFLAGS, ASFLAGS and
LDFLAGS (cf. make.info/Implicit Rules/Catalogue of Rules), only.

In brief:
CPPFLAGS .. passed to the c-preprocessor
CFLAGS ... passed to the c-compiler
CXXFLAGS ... equivalent to CFLAGS but passed to the c++ compiler
(Attention: CFLAGS is not passed to the c++ compiler)
ASFLAGS .. equivalent to CFLAGS, but passed to the assembler
LDFLAGS .. equivalent to CFLAGS, but passed to the linker

A bit oversimplifying, these make rules are as follows
.c.o:
    $(CC) $(CPPFLAGS) $(CFLAGS) -c
.cc.o:
    $(CXX) $(CPPFLAGS) $(CXXFLAGS) -c
.S.s:
    $(CPP) $(CPPFLAGS)
.s.o:
    $(AS) $(ASFLAGS)

My reading of the documentation (make.info) is that {AS|AR|CC|CXX|CPP}FLAGS
are ment to be passed to the related tools directly, however examinating
the rule set of gmake (gmake -p -f /dev/null")  shows that many rules use
$(CC) instead of the related tools (eg. linker rules) etc.

I.e. these flags should not rely on being passed through cpp or gcc. With
gcc being the common frontend for all of these tools of a gnu-toolchain the
situation becomes difficult (Which option is passed to whom and which tool
really uses it?), because these variable can also contain the toolchain's
frontend (eg. AS=gcc, LD=gcc, CPP=gcc -E).

For some commonly used options the situation is quite clear:
* -g -> CFLAGS
* -OX -> CFLAGS
* -D -> CPPFLAGS
* -A -> CPPFLAGS

But where to add -m, -B, -specs, -qrtems_XXX ?
* -B, -specs, -qrtems_XXX are gcc-frontend options
* -m is a combinations of flags to go to different destinations, in many
(all?) cases, the following is valid
-m is expanded by gcc into a set of -D and -A options
-m is interpreted by cc1 as a machine flag to generate a specific
instruction set.
-m is interpreted by gcc as an implicit linker search path for multilibs to
set up calls to LD.

>From my point of view this indicates we can either destingush between these
different usages (= separately add -m to CFLAGS, LDFLAGS etc) or to add it
to CPPFLAGS and use gcc (the frontend) instead of calling each tool
directly (less error prone) -- I vote for CPPFLAGS, but I am not sure.

-----------------

Now, where to add CPU_CFLAGS?

AFAIS, in probably all cases CPU_CFLAGS contain -D -A, and -m options,
only.
* -D and -A are supposed to go to CPPFLAGS
* -mXXX options can have multiple meanings (It can be gcc, collect2/ld and
cc1/cc1plus option simultaneously)

Here, I made a mistake - I destinguished between CPU_DEFINES to be added to
CPPFLAGS and CPU_CFLAGS to be added to CFLAGS and CXXFLAGS (cf.
gcc-target-default.cfg), generally assuming CPU_CFLAGS are CFLAGS.

This breaks preprocessing *.S into *.i files because CPU_CFLAGS flags were
not added to CPPFLAGS. Hence *all* *.S were compiled without taking
-mXX-flags into account. The i960/cvme BSP was the only one which
explicitly checked for a specific -m flag (-mca) and refused to compile
without it -- all other CPUs/BSPs silently swallowed this.

IMO, we can either
1) add CPU_CFLAGS and CPU_DEFINES to CPPFLAGS, thus silently convert
CPU_CFLAGS's meaning into CPU_DEFINES (Alternative solution: rename
CPU_CFLAGS to CPU_DEFINES and merge CPU_FLAGS with CPU_DEFINES).
or
2) destinguish between CPU_DEFINES and CPU_CFLAGS. In this case we would
need to check the contents of each CPU_CFLAGS in custom/*.cfg and move the
some parts of the contents to CPU_DEFINES and keep other parts in
CPU_CFLAGS (CFLAGS must contain options for the c/c++-compiler only!).

Though Solution 2) is the clearer one, I implemented 1) which is the
simplier one (the patch below).

ATTENTION: This patch is small in size, but affects almost everything.

------------

Additional complications araise with linking:

Some BSPs call  LD and AS directly (esp. gcc-2.7 make-exe rules). If LD=gcc
then LDFLAGS are supposed to be gcc-options, but if LD=ld then LDFLAGS is
supposed to contain ld-options.

An analog thought is valid for AS, but luckily enough ASFLAGS is not used
of inside the whole source tree.

Most RTEMS' custom/*.cfg use $(CC) $(CFLAGS) to link with gcc-2.8 make-exe
rules. With the patch below (CPU_CFLAGS added to CPPFLAGS) this means
CPU_CFLAGS will not be passed to the linker, which is incorrect for
multilibbed CPU's.

gmake's default rule set contains a variety of rules for linking, all
ending up in calling $(CC) $(LDFLAGS) for linking at their very end.

IMO, this means we should use something like

LINK.o = $(CC) $(LDFLAGS) in gcc-target-default.cfg

+ modify all gcc-2.8 make-exe rules to use
$(LINK.o) .......

+ setup LDFLAGS according to the requirements of the above.

I.e. we should use $(CC) for linking instead of calling the linker (LD)
directly and set LDFLAGS = $(CPPFLAGS) $(CFLAGS) or similar.
1999-02-24 15:15:29 +00:00
Joel Sherrill
d6f2820063 Added $(LIB_VARIANT) to start16.bin. 1999-02-24 14:39:24 +00:00
Joel Sherrill
98e8c7f2a0 Corrected spacing. 1999-02-24 14:39:03 +00:00
Joel Sherrill
3dd7a724ed Removed dependency on bsp.h. 1999-02-24 14:36:00 +00:00
Joel Sherrill
d7e2aa656c Corrected name of file. 1999-02-24 14:35:33 +00:00
Joel Sherrill
38381a66db Changed to include FPSP in library. 1999-02-24 14:34:48 +00:00
Joel Sherrill
1b82a0b336 Changed from $(INSTALL) to $(INSTALL_CHANGE). 1999-02-24 14:34:47 +00:00
Joel Sherrill
4b4d4a750d Corrected Makefile.in to account for placement of include files. 1999-02-24 14:34:00 +00:00
Joel Sherrill
6dfebd9f33 Corrected name of constant so this would compile. 1999-02-24 14:32:46 +00:00
Joel Sherrill
4bcebc0e8a Accidentally moved. 1999-02-19 23:35:43 +00:00
Joel Sherrill
12710a56cd Moved back up in tree. 1999-02-19 23:35:42 +00:00
Joel Sherrill
2d71d94b24 Accidentally moved erc32.h 1999-02-19 23:33:26 +00:00
Joel Sherrill
123ddae0e3 Moved erc32.h back up in tree. 1999-02-19 23:33:25 +00:00
Joel Sherrill
db903c7481 Moved asm.h back up in tree. 1999-02-19 23:32:51 +00:00
Joel Sherrill
38b4430125 Accidentally moved asm.h 1999-02-19 23:32:50 +00:00
Joel Sherrill
77138089c5 Moved to proper rtems/score 1999-02-19 23:26:19 +00:00
Joel Sherrill
7a64d8e499 Added new PowerPC boards. 1999-02-19 00:33:02 +00:00
Joel Sherrill
32163dbd0e Enhanced to support -qrtems_debug. 1999-02-19 00:29:01 +00:00
Joel Sherrill
9c448e1db3 BSP for Vista Score603e added. 1999-02-19 00:22:33 +00:00
Joel Sherrill
a53a2bf7fb Updated to reflect addition of new BSPs. 1999-02-18 21:46:21 +00:00
Joel Sherrill
8dcbc16b6e Patch from Ian Lance Taylor <ian@airs.com>:
Here is a patch which slightly improves the i386 interrupt handling
    macros.  These macros were written to use both input and output
    parameters, which is not necessary.  This patch changes them to use
    only an input or output parameter, as appropriate.  It also changes
    the constraints to permit the interrupt level to be loaded directly in
    and out of memory, rather than always requiring a register.
1999-02-18 21:41:59 +00:00
Joel Sherrill
c0438adde9 Renamed network to wd8003. 1999-02-18 21:09:25 +00:00
Joel Sherrill
adbaa61dd6 Patch from Emmanuel Raguet <raguet@crf.canon.fr>. Missed adding this file
earlier to CVS.
1999-02-18 21:07:15 +00:00
Joel Sherrill
13ae6f4dfa Added INSTALL rule to Makefile. 1999-02-18 21:06:45 +00:00
Joel Sherrill
1094cf0dc5 Patch from Emmanuel RAGUET <raguet@crf.canon.fr> to add files
that were accidentally not committed earlier.  The DECNet driver
is being added as its own directory to avoid forcing the driver to
have to pull in the complete set of network drivers.
1999-02-18 21:06:17 +00:00
Joel Sherrill
3204a06ba5 Added comments. 1999-02-18 20:58:46 +00:00
Joel Sherrill
51450d769a Added NE2000 Driver from Ian Lance Taylor <ian@airs.com>. Comments:
Both the ne2000 and the wd80x3 are based on the National Semiconductor
    8390 chip, so there is a fair amount of overlap between the two
    drivers.  It would be possible in principle to combine some code into
    a separate set of subroutines called by both.  In fact, the drivers in
    both OpenBSD and Linux work this way.  I didn't bother, because for
    the relatively simple drivers used by RTEMS, the overlap is not
    especially large, and any reasonable use of subroutines would lead to
    slightly less efficient code.

    This ne2000 driver uses two transmit buffers.  While one packet is
    being transmitted over the Ethernet, RTEMS will upload another.  Since
    uploading a packet to the ne2000 is rather slow, I don't think there
    is any point to having more than two transmit buffers.  However, the
    code does make it possible, by changing NE_TX_BUFS, although that
    would of course reduce the number of receive buffers.

    I suspect that the wd80x3 driver would benefit slightly from copying
    the multiple transmit buffer code.  However, I have no way to test
    that.
1999-02-18 20:58:13 +00:00
Joel Sherrill
aa28a0835f Fixed top of file. 1999-02-18 19:24:08 +00:00
Joel Sherrill
5d024595a7 MVME167 BSP submitted by Charles Gauthier <Charles.Gauthier@iit.nrc.ca>. 1999-02-18 19:23:28 +00:00
Joel Sherrill
5c609ddeba Missed this file in the merge. 1999-02-18 19:18:28 +00:00
Joel Sherrill
39136318ba Regenerated. 1999-02-18 19:10:28 +00:00
Joel Sherrill
8548fe0ae2 Part of the automake VI patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
> 5) rtems-rc-19990202-1.diff/reorg-install.sh
>
> reorg-install.sh fixes a Makefile variable name clash of RTEMS
> configuration files and automake/autoconf standards.
> Until now, RTEMS used $(INSTALL) for install-if-change. Automake and
> autoconf use $(INSTALL) for a bsd-compatible install. As
> install-if-change and bsd-install are not compatible, I renamed all
> references to install-if-changed to $(INSTALL_CHANGED) and used
> $(INSTALL) for bsd-install (==automake/autoconf standard).  When
> automake will be introduced install-if-change will probably be replaced
> by $(INSTALL) and therefore will slowly vanish. For the moment, this
> patch fixes a very nasty problem which prevents adding any automake file
> until now (There are still more).
1999-02-18 18:36:05 +00:00
Joel Sherrill
7908ba5b81 Part of the automake VI patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
> 4) rtems-rc-19990202-0.diff /reorg-score-cpu.sh
>
> reorg-score-cpu.sh reorganizes the cpu/<cpu>/* subdirectories in a
> similar manner than previous reorg scripts did. rtems-rc-19990202-0.diff
> contains the diffs after reorg-score-cpu.sh has been run on a
> rtems-19981215 snapshot + my patches up to rtems-rc-19990131-2.diff.
>
> This patch is rather nasty and may break something. However, I've tested
> it for about 10 different target/bsp pairs and believe to have shaken
> out most bugs.

I wonder about the following .h files that were not moved:

a29k/asm.h
a29k/cpu_asm.h
i386/asm.h
i960/asm.h
m68k/asm.h
m68k/m68302.h
m68k/m68360.h
m68k/qsm.h
m68k/sim.h
mips64orion/asm.h
mips64orion/cpu_asm.h
mips64orion/mips64orion.h
no_cpu/asm.h
no_cpu/cpu_asm.h
powerpc/asm.h
powerpc/mpc860.h
sh/asm.h
sparc/asm.h
sparc/erc32.h
1999-02-18 18:28:24 +00:00
Joel Sherrill
52b0d9dd52 Another part of automake VI patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
> 4) rtems-rc-19990202-0.diff /reorg-score-cpu.sh
>
> reorg-score-cpu.sh reorganizes the cpu/<cpu>/* subdirectories in a
> similar manner than previous reorg scripts did. rtems-rc-19990202-0.diff
> contains the diffs after reorg-score-cpu.sh has been run on a
> rtems-19981215 snapshot + my patches up to rtems-rc-19990131-2.diff.
>
> This patch is rather nasty and may break something. However, I've tested
> it for about 10 different target/bsp pairs and believe to have shaken
> out most bugs.

I wonder about the following .h files that were not moved:

a29k/asm.h
a29k/cpu_asm.h
i386/asm.h
i960/asm.h
m68k/asm.h
m68k/m68302.h
m68k/m68360.h
m68k/qsm.h
m68k/sim.h
mips64orion/asm.h
mips64orion/cpu_asm.h
mips64orion/mips64orion.h
no_cpu/asm.h
no_cpu/cpu_asm.h
powerpc/asm.h
powerpc/mpc860.h
sh/asm.h
sparc/asm.h
sparc/erc32.h
1999-02-18 18:18:46 +00:00
Joel Sherrill
25d457b864 Yet another part of automake VI from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
> 4) rtems-rc-19990202-0.diff /reorg-score-cpu.sh
>
> reorg-score-cpu.sh reorganizes the cpu/<cpu>/* subdirectories in a
> similar manner than previous reorg scripts did. rtems-rc-19990202-0.diff
> contains the diffs after reorg-score-cpu.sh has been run on a
> rtems-19981215 snapshot + my patches up to rtems-rc-19990131-2.diff.
>
> This patch is rather nasty and may break something. However, I've tested
> it for about 10 different target/bsp pairs and believe to have shaken
> out most bugs.

I wonder about the following .h files that were not moved:

a29k/asm.h
a29k/cpu_asm.h
i386/asm.h
i960/asm.h
m68k/asm.h
m68k/m68302.h
m68k/m68360.h
m68k/qsm.h
m68k/sim.h
mips64orion/asm.h
mips64orion/cpu_asm.h
mips64orion/mips64orion.h
no_cpu/asm.h
no_cpu/cpu_asm.h
powerpc/asm.h
powerpc/mpc860.h
sh/asm.h
sparc/asm.h
sparc/erc32.h
1999-02-18 18:16:40 +00:00
Joel Sherrill
38840f7beb Part of the automake VI patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
> 3) rtems-rc-19990131-2.diff
>
> This patch removes generating bsp_specs from leaf.cfg and generates
> bsp_specs from inside of c/Makefile instead.
>
> The motivation behind this patch is to avoid "polluting" Makefiles by
> unneccessary rules from included Makefile-fragments (*.cfg-files) and
> try to handle files by explicit rules in Makefiles instead (FYI:
> automake-1.4  physically includes Makefile fragments at the time
> automake is run, not at the time make is run as RTEMS  Makefile.ins do
> now)
>
> Nevertheless, this patch is rather uncritical, almost cosmetical - If
> you don't like it, then dump it ;-, however I doubt that subsequent
> patches will apply then ;-.
1999-02-18 18:03:38 +00:00
Joel Sherrill
4cc89bd99a Added rejected patch from automake VI from Ralf Corsepius. 1999-02-18 18:00:22 +00:00
Joel Sherrill
a110b68252 Part of automake VI patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
> 2) rtems-rc-19990131-1.diff
>
> Rework of compilers/*.cfg files (esp. gcc-target-default.cfg) to adapt
> the flags/makefile variables to automake and make standards (cf.
> make.info - implicit rules/variables).
>
> This patch is rather risky and may probably break things, but is an
> essential step towards automake.
>
> FWIW: It also reverts the i386-ASMFLAGS/ASFLAGS-patch, which was wrong,
> as I had to experience ;-.
1999-02-18 17:55:49 +00:00
Joel Sherrill
011677f8fc Part of automake VI Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
> Adds variables to the custom/*cfg files to specify the location of
> tools. The purpose is to remove hard-coded paths from the Makefiles.
>
> In later steps this eases moving the tools to other locations.
1999-02-18 17:54:03 +00:00
Joel Sherrill
1fdc990e98 Part of the targopts.h change in generation patch from Ralf Corsepius
<corsepiu@faw.uni-ulm.de>.
1999-02-18 17:46:59 +00:00
Joel Sherrill
6b9aaf7e12 Corrected. 1999-02-18 17:26:37 +00:00
Joel Sherrill
3b7f1381fc Readded. 1999-02-18 17:26:11 +00:00
Joel Sherrill
0fc85c5081 Should have been removed earlier. 1999-02-18 17:26:10 +00:00
Joel Sherrill
e4071cf64a Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
This patch removes generation of targopts.h from leaf.cfg and generates
    it in location at score/include/rtems/score instead.

    To achieve this:
        * all rules in other Makefile.ins which have accessed targopts.h have
          been removed.
        * c/Makefile.in has been modified to generate the directories before
          doing anything else. I.e. to ensure the directories exist before any
          preinstall rule fires (This part is a bit kludgy, but it seems to
          work.  Please check if the interaction with libhwapi still works).
1999-02-18 17:16:48 +00:00
Joel Sherrill
0c04c377bc ./clock/Makefile.in,v
./clock/clock.c,v
./console/Makefile.in,v
./console/config.c,v
./console/console.c,v
./console/console.h,v
./console/debugio.c,v
./console/i8042.c,v
./console/i8042_p.h,v
./console/i8042vga.c,v
./console/i8042vga.h,v
./console/ns16550.c,v
./console/ns16550.h,v
./console/ns16550_p.h,v
./console/ns16550cfg.c,v
./console/ns16550cfg.h,v
./console/vga.c,v
./console/vga_p.h,v
./console/z85c30.c,v
./console/z85c30.h,v
./console/z85c30_p.h,v
./console/z85c30cfg.c,v
./console/z85c30cfg.h,v
./include/Makefile.in,v
./include/bsp.h,v
./include/chain.h,v
./include/coverhd.h,v
./include/extisrdrv.h,v
./include/nvram.h,v
./include/pci.h,v
./include/tod.h,v
./network/Makefile.in,v
./network/amd79c970.c,v
./network/amd79c970.h,v
./nvram/Makefile.in,v
./nvram/ds1385.h,v
./nvram/mk48t18.h,v
./nvram/nvram.c,v
./nvram/prepnvr.h,v
./nvram/stk11c68.h,v
./pci/Makefile.in,v
./pci/pci.c,v
./start/Makefile.in,v
./start/start.s,v
./startup/Makefile.in,v
./startup/bspclean.c,v
./startup/bspstart.c,v
./startup/bsptrap.s,v
./startup/device-tree,v
./startup/genpvec.c,v
./startup/linkcmds,v
./startup/rtems-ctor.cc,v
./startup/sbrk.c,v
./startup/setvec.c,v
./startup/spurious.c,v
./startup/swap.c,v
./timer/Makefile.in,v
./timer/timer.c,v
./tod/Makefile.in,v
./tod/cmos.h,v
./tod/tod.c,v
./universe/Makefile.in,v
./universe/universe.c,v
./vectors/Makefile.in,v
./vectors/README,v
./vectors/align_h.s,v
./vectors/vectors.s,v
./wrapup/Makefile.in,v
./Makefile.in,v
./README,v
./STATUS,v
./bsp_specs,v
1999-02-18 16:48:14 +00:00
Joel Sherrill
3492f29f28 ./clock/Makefile.in,v
./clock/clock.c,v
./console/Makefile.in,v
./console/config.c,v
./console/console.c,v
./console/console.h,v
./console/debugio.c,v
./console/i8042.c,v
./console/i8042_p.h,v
./console/i8042vga.c,v./console/i8042vga.h,v
./console/ns16550.c,v
./console/ns16550.h,v
./console/ns16550_p.h,v
./console/ns16550cfg.c,v
./console/ns16550cfg.h,v
./console/vga.c,v
./console/vga_p.h,v
./console/z85c30.c,v
./console/z85c30.h,v
./console/z85c30_p.h,v
./console/z85c30cfg.c,v
./console/z85c30cfg.h,v
./include/Makefile.in,v
./include/bsp.h,v
./include/chain.h,v
./include/coverhd.h,v
./include/extisrdrv.h,v
./include/nvram.h,v
./include/pci.h,v
./include/tod.h,v
./network/Makefile.in,v
./network/amd79c970.c,v
./network/amd79c970.h,v
./nvram/Makefile.in,v
./nvram/ds1385.h,v
./nvram/mk48t18.h,v
./nvram/nvram.c,v
./nvram/prepnvr.h,v
./nvram/stk11c68.h,v
./pci/Makefile.in,v
./pci/pci.c,v
./start/Makefile.in,v
./start/start.s,v
./startup/Makefile.in,v
./startup/bspclean.c,v
./startup/bspstart.c,v
./startup/bsptrap.s,v
./startup/device-tree,v
./startup/genpvec.c,v
./startup/linkcmds,v
./startup/rtems-ctor.cc,v
./startup/sbrk.c,v
./startup/setvec.c,v
./startup/spurious.c,v
./startup/swap.c,v
./timer/Makefile.in,v
./timer/timer.c,v
./tod/Makefile.in,v
./tod/cmos.h,v
./tod/tod.c,v
./universe/Makefile.in,v
./universe/universe.c,v
./vectors/Makefile.in,v
./vectors/README,v
./vectors/align_h.s,v
./vectors/vectors.s,v
./wrapup/Makefile.in,v
./Makefile.in,v
./README,v
./STATUS,v
./bsp_specs,v
1999-02-18 16:47:06 +00:00
Joel Sherrill
df0ac0bf32 Should have been removed from cvs early. 1999-02-18 16:09:25 +00:00
Joel Sherrill
e029467dac Patch from Emmanuel Raguet <raguet@crf.canon.fr>:
You will find enclosed a patch which contains, for Intel PC386 target :

      - an Ethernet driver for DEC21140 device based boards.
      - a simple cache management with paging mechanism.
1999-02-18 15:16:37 +00:00
Joel Sherrill
edfb0eba88 GLobal reentrancy structure is now dynamically initialized. 1999-02-18 15:11:41 +00:00
Joel Sherrill
60f67aea1c Added CVS Id string. 1999-02-18 15:11:24 +00:00
Joel Sherrill
9e5c3916a3 Added or corrected CVS Id strings. 1999-02-18 15:09:59 +00:00
Joel Sherrill
4ef40152f3 MPC860 support submitted by Jay Monkman <jmonkman@frasca.com>. 1999-02-18 15:09:27 +00:00
Joel Sherrill
ee73396529 Jay Monkman <jmonkman@frasca.com> submitted the eth_comm BSP for a PPC860
based board.
1999-02-17 20:24:53 +00:00
Joel Sherrill
7e2a525b6d Patch from Eric Valette <valette@crf.canon.fr> to undo the patch
that added ifdef on the pc386.
1999-02-15 18:56:08 +00:00
Joel Sherrill
7cc7a74db0 Patch from Eric Valette <valette@crf.canon.fr> to correct _exit
undefined problem.
1999-02-15 16:46:54 +00:00
Joel Sherrill
cef83027c5 Added thank you. 1999-02-10 19:51:13 +00:00
Joel Sherrill
90fe8b3854 Added POSIX timers. 1999-02-10 19:51:01 +00:00
Joel Sherrill
6ea3da8811 Corrected title 1999-02-10 19:50:44 +00:00
Joel Sherrill
c62665237c Added gdb_rtems 1999-02-10 19:50:28 +00:00
Joel Sherrill
9414e3f87b Changed versions. 1999-02-10 19:50:01 +00:00
Joel Sherrill
7b597b8540 Now generates HTML, PostScript, and info correctly. 1999-02-10 18:54:14 +00:00
Joel Sherrill
89d177ebb0 Base file. 1999-02-10 18:35:36 +00:00
Joel Sherrill
387f41adcd Base version. 1999-02-10 18:33:15 +00:00
Joel Sherrill
c8b5487e87 changed version to 19990210 1999-02-10 17:23:53 +00:00
Joel Sherrill
dae18b5c84 POSIX timer support. 1999-02-10 17:22:16 +00:00
Joel Sherrill
386289bfb8 Added this file. 1999-02-10 17:07:54 +00:00
Joel Sherrill
3234c27072 Don't build spfatal since it won't run anyway. 1999-02-10 17:06:53 +00:00
Joel Sherrill
f93d996e26 Changed file name. 1999-02-10 17:06:27 +00:00
Joel Sherrill
9619ff36e9 Set the read/write offset to 0 when the file is opened. The ACVC had a test
that performed the sequence open/write/close/open/read/close on a file.
It did not get the correct result since the file descriptor was reused.
1999-02-10 17:05:55 +00:00
Joel Sherrill
efb1b830bb Corrected multiple places the file size was not being properly updated. 1999-02-10 17:04:54 +00:00
Joel Sherrill
3165b4d365 Added getcwd(). 1999-02-10 17:04:12 +00:00
Joel Sherrill
aee3d6896a POSIX timer support modifications. 1999-02-10 17:03:46 +00:00
Joel Sherrill
dd746c38b4 Comments fixed after problem report from Ian Lance Taylor <ian@airs.com>. 1999-02-10 00:29:02 +00:00
Joel Sherrill
c13cd487ba Added maximum_timers field to configuration table. 1999-02-09 20:31:34 +00:00
Joel Sherrill
afc40a5482 Changed version numbers. 1999-02-09 20:31:09 +00:00
Joel Sherrill
ba0bd422e1 Changed versions. 1999-02-09 20:30:46 +00:00
Joel Sherrill
381fc999bc Added information on debug modes that can be enabled in the network stack. 1999-02-09 20:30:34 +00:00
Joel Sherrill
5bb77c446d Changed the name of a section. 1999-02-09 20:30:11 +00:00
Joel Sherrill
67b8f4725a Install the PostScript file. 1999-02-09 20:29:43 +00:00
Joel Sherrill
3ce8540ab8 Changed version. 1999-02-09 20:05:03 +00:00
Joel Sherrill
b7111263ef Changed date. 1999-02-09 20:04:50 +00:00
Joel Sherrill
c9c673905a Split SONIC chip into appropriate files for libchip'ing. The portable
portion is now in the libchip tree and the dmv177 configuration is in
the dmv177 bsp.  The performance impact of libchip'ing this driver
was minimal.
1999-02-05 00:34:17 +00:00
Joel Sherrill
b5e4eb746e Commented out disable of building network code so it is built. You can
hack through some paths to check error checking paths without a network
driver.
1999-02-05 00:30:30 +00:00
Joel Sherrill
2caa006b35 Added instruction and data cache enable. 1999-02-05 00:29:47 +00:00
Joel Sherrill
ecec2ba7bd Patch from Eric Norum to correct bug induced by select() patch. 1999-02-05 00:29:23 +00:00
Joel Sherrill
2f87c84349 Corrected spacing and added some new error checks that were needed
to avoid dereferencing NULLs.
1999-02-05 00:28:43 +00:00
Joel Sherrill
e824fa5073 Added optional data and instruction caching enable calls. 1999-02-05 00:27:30 +00:00
Joel Sherrill
26e663db57 Added caching enable routines. 1999-02-05 00:26:49 +00:00
Joel Sherrill
13cc89e122 Reorganized into libchip style but not yet split out into multiple files
and placed in the right shareable directories.
1999-02-04 23:45:55 +00:00
Joel Sherrill
7397638960 Works great now. 1999-02-04 22:59:46 +00:00
Joel Sherrill
354b00bc1e Added printf()'s that can be uncommented to trace MBUF operations. This
is very useful when debugging a device driver.
1999-02-04 15:00:14 +00:00
Joel Sherrill
83c7b007fd Modifed to reflect transition from device driver to file system. 1999-02-04 14:59:42 +00:00
Joel Sherrill
d3c106037f Added debug printf()'s that are commented out. Uncommenting these
allows one to trace the enqueueing and dequeueing of messages.  This
can be used to insure that packets are getting to the boundary between
the network stack and the device driver.
1999-02-04 14:58:01 +00:00
Joel Sherrill
1564ca8e5e Added PowerPC specific header checksum code. 1999-02-04 14:56:09 +00:00
Joel Sherrill
8cce4452a5 Added PowerPC specific header checksum code.
Added volatile to i386 assembly statements in header checksum code.
1999-02-04 14:56:03 +00:00
Joel Sherrill
c1a37d3e94 Debugged and now works except for handling of minor number. 1999-02-04 14:54:31 +00:00
Joel Sherrill
7c7fd4de93 Modified to include comments on how to get TCPDEBUG turned on and
printing messages.
1999-02-04 14:53:06 +00:00
Joel Sherrill
cd792a86cf Patch from John S Gwynne <jsg@donet.com> for malloctest. His comments:
I have a few patches for the efi332 bsp. If you let me know when you
  expect the next snapshot release, I will try to have them to you
  before then. Also, the malloctest has some problems that I would think
  would prevent it from running on almost any platform. I have enclose
  patches below to fix (1) Task_id and Task_name dimensioning, (2) end
  of test message, (3) the amount of memory malloc'ed, and (4) retry on
  unsuccessful (out of memory) molloc's.
1999-02-03 22:12:28 +00:00
Joel Sherrill
0747e2d3c3 POSIX Timers submitted by Juan Zamorano Flores
<jzamora@avellano.datsi.fi.upm.es>.
1999-02-03 16:22:18 +00:00
Joel Sherrill
c30d04d7be New test from Juan Zamorano Flores <jzamora@avellano.datsi.fi.upm.es>
that is part of the addition of POSIX timers.
1999-02-03 16:21:11 +00:00
Joel Sherrill
657be8f54c New files from Juan Zamorano Flores <jzamora@avellano.datsi.fi.upm.es>
that are part of the addition of POSIX timers.
1999-02-03 16:20:38 +00:00
Joel Sherrill
2a766a0eea Added POSIX timers. 1999-02-03 13:46:12 +00:00
Joel Sherrill
9e43ee55fb New file. 1999-02-02 21:56:15 +00:00
Joel Sherrill
13e11f69c1 Added debug #define and commented it out. 1999-02-02 21:15:15 +00:00
Joel Sherrill
5d5f23bc42 Added PowerPC specific in_cksum file. 1999-02-02 21:15:02 +00:00
Joel Sherrill
9b9c4dfd46 New file. Based on the i386 version. 1999-02-02 21:14:44 +00:00
Joel Sherrill
811115de2c Added debug print routines for TX and RX descriptors.
Fixed bug where only the mbuf associated with the first TX fragment was
being freed.
1999-02-02 16:28:42 +00:00
Joel Sherrill
14faf00eea Converted from DOS text file. 1999-02-02 16:27:37 +00:00
Joel Sherrill
01a2e18e17 Removed unneeded include of libio_.h. 1999-01-31 20:52:35 +00:00
Joel Sherrill
7b158663ed Prepended macro variables with "_" to avoid name conflicts in expansions. 1999-01-31 20:50:49 +00:00
Joel Sherrill
0e94e3b34b Added bump buffer. 1999-01-31 20:49:54 +00:00
Joel Sherrill
d93b23de01 Added dump buffer. 1999-01-31 20:49:36 +00:00
Joel Sherrill
7dbab7204f Can send and receive packets but fails when TDA wraps. There appears
to be a problem with overwriting the TX descriptors during an RX.
1999-01-31 20:46:52 +00:00
Joel Sherrill
07d880f4bc Split psignal.c into many more files. This reduced the amount of
object code that has to be loaded just for initializing the signal
manager.
1999-01-31 20:45:31 +00:00
Joel Sherrill
379d2ed5a9 New files added to ease debugging. 1999-01-31 19:12:46 +00:00
Joel Sherrill
cdf8a30092 Patch from Eric Norum <eric@skatter.usask.ca> to avoid dereferencing a
NULL pointer.
1999-01-28 18:42:34 +00:00
Joel Sherrill
c9df8d8f7c Patch from Eric Norum <eric@skatter.usask.ca> to set more flags in
rtems_bsdnet_makeFdForSocket().
1999-01-28 18:42:04 +00:00
Joel Sherrill
d90df9aa2b Added include of <rtems/posix/priority.h> so a macro would expand
and eliminate a link error.
1999-01-26 16:00:04 +00:00
Joel Sherrill
39ba912277 Changed prototype of rtems_bsdnet_makeFdForSocket to (void *) pointer
so that the libc code did not have to know about (struct socket).
1999-01-26 01:50:31 +00:00
Joel Sherrill
887618b0e7 Switched from printf() to puts(). 1999-01-26 01:49:56 +00:00
Joel Sherrill
d78b7a9ed7 Added libio_sockets.c to hold support routines for networking code. 1999-01-26 01:49:31 +00:00
Joel Sherrill
39c972331d Added prototype information about the SONIC driver. 1999-01-26 01:48:58 +00:00
Joel Sherrill
03598b162e Split most of POSIX Threads Manager into multiple files. 1999-01-25 23:20:52 +00:00
Joel Sherrill
535db3ae0c Added enough prototypes to allow most of POSIX Threads Manager to be
split into multiple files.
1999-01-25 23:20:39 +00:00
Joel Sherrill
94b3ee1366 Made to compile after hacking tftp driver into beginnings of a mini-filesystem. 1999-01-21 22:25:43 +00:00
Joel Sherrill
3048b8f3ac Added common problems section after post by Philippe Le Foll
<Philippe.LeFoll@fridu.com> on rtems-list. :)
1999-01-21 14:51:34 +00:00
Joel Sherrill
97d6366040 Changed call to __rtems_close() to close(). 1999-01-20 21:59:09 +00:00
Joel Sherrill
c27b2d0dbe Update of network driver from Erik Ivanenko <erik.ivanenko@utoronto.ca>.
Comments follow:

    Here is the contents of the network directory of the i386ex BSP.  The
    reset function has been recently added, and tested through a command
    line interface.  A reset event to the reset thread to reset the NIC.
    This is done when the ISR detects that the NIC is in an invalid state.
    It has not been tested "in real life" since the board has not seen an
    invalid state since the reset function was implemented.
1999-01-20 18:55:50 +00:00
Joel Sherrill
f91b8df17d Patch from Eric Norum <eric@skatter.usask.ca> to make m68360.h usable
outside RTEMS.  Comment:

    I found a couple of places other than RTEMS where I'd like to use
    the declarations supplied in m68360.h.  To make this easier to do,
    I've redone the declarations in m68360.h to use standard C types.
1999-01-20 15:55:52 +00:00
Joel Sherrill
2d733c424b More general fix based on bug report and patch from Ian Lance Taylor
<ian@airs.com> to fix this problem:

    There is a small bug in __rtems_close in c/src/lib/libc/libio.c.  It
    does not check whether the file descriptor it is passed is open.  This
    can cause it to make a null dereference if it is passed a file
    descriptor which is in the valid range but which was not opened, or
    which was already closed.
1999-01-20 15:48:22 +00:00
Joel Sherrill
5f22d0916a Removed referencing to network driver since it has not been merged yet. 1999-01-19 21:29:29 +00:00
Joel Sherrill
98cc966d72 Regenerated. 1999-01-19 21:29:07 +00:00
Joel Sherrill
6a14ae56a3 Added comments to indicate what options are required to take advantage
of removal of unused function code found in newer binutils/egcs
snapshots.  Early test with psim and hello.exe showed about a 13%
gain.
1999-01-19 20:24:56 +00:00
Joel Sherrill
7d0dbf1a6c Changed definition of ASMFLAGS since as does not recognize -B option
used in gcc.
1999-01-19 20:23:57 +00:00
Joel Sherrill
a7c4314dca Added comments for changing to a filesystem 1999-01-19 20:23:15 +00:00
Joel Sherrill
eb6fafd33b Per bug report from Jiri Gaisler that RTEMS would no longer build
with the --disable-posix option, stubs for some routines (_getpid_r and
_kill_r) that are normally defined with POSIX were added.
1999-01-19 20:19:22 +00:00
Joel Sherrill
1924610486 Removed duplicate lines in file. 1999-01-19 20:17:33 +00:00
Joel Sherrill
ba2adf540e Patch from Jiri Gaisler <jgais@ce.chalmers.se>:
getting the spurious trap handling to work required a couple more
  fixes - I have attached a patch against rtems-4.0.0 with the
  necessary changes. I also added functionality so that the
  address of the trapped instruction is reported and in case of
  a data access error, the data address is also reported.
1999-01-19 20:09:33 +00:00
Joel Sherrill
b33d8a21ff Moved sys/ioctl.h to libc support 1999-01-19 17:38:13 +00:00
Joel Sherrill
16a9ee1d06 Bug report from Jiri Gaisler <jgais@ws.estec.esa.nl>:
> > I think I have found a bug in src/exec/scor/sparc/cpu/erc32.h in:
> >
> > #define ERC32_Disable_interrupt( _source, _previous ) \
> >   do { \
> >     unsigned32 _level; \
> >     unsigned32 _mask = 1 << (_source); \
> >     \
> >     sparc_disable_interrupts( _level ); \
> >       (_previous) = ERC32_MEC.Interrupt_Mask; \
> >       ERC32_MEC.Interrupt_Mask = _previous | _mask; \
> >     sparc_enable_interrupts( _level ); \
> >     (_previous) &= ~_mask; \                  <- IS THIS CORRECT...?
> >   } while (0)
> >
> > The previous interrupt mask is returned after first clearing the
> > bit to be disabled, regardless whether the bit was set before or
> > not. If the bit was set (interrupt masked), subsequent call to
> > ERC32_Restore_interrupt() will enable the interrupt even though
> > it was supposed to be masked. This is indeed what happens in
> > DEBUG_puts when polled console I/O is used. In my opinion, the
> > last statement in the macro should be removed - what is your opinion?
>
> I think the "~" shouldn't be there.  I recall that the intent of that line
> is to only return the state of the interrupts you were concerned with.
> Removing the line returns entire state.  Given that the value returned
> shuold only be used in conjunction with the map, I suppose either removing
> the ~ or the entire line is correct?   I can go either way.  Just let me
> know which you think is more correct and the source will change. :)

Hmmm, just removing the '~' should be OK. DEBUG_puts() seems to be the
only user of ERC32_Restore_interrupt() anyway ...
1999-01-13 14:13:47 +00:00
Joel Sherrill
97503aa5e3 Patch from Chris Johns <ccj@acm.org> to get around a C++ problem with psim.
This problem should and likely was occurring with other BSPs.  This is from
Chris' email:

    I had a look in the psim bsp for the older snapshot I have and it looks
    like you are using the `libbsp/shared/main.c' and this is known to work.

    I have just built the powerpc tools, and compiled the bsp. I have not
    added the linker command file patch so got the list of linker warnings.

    It looks to me like a compiler bug. The `main' call is being inlined and
    when that happens the special code to call `__eabi' is not being added
    to the inlined version. I have attached a patch which places `main'
    after `boot_card' and a call to main is now generated. I have not tested
    it but it should work. I also include a dump of `boot_card' and `main'
    showing the bug.
1999-01-05 17:50:03 +00:00
Joel Sherrill
eb0d7ae2da Patch from D. V. Henkel-Wallace <gumby@zembu.com> to use puts and have prototype. 1999-01-04 16:35:31 +00:00
Joel Sherrill
88a0908402 Patch from D. V. Henkel-Wallace <gumby@zembu.com> to fix braces nesting problem. 1999-01-04 16:30:06 +00:00
Joel Sherrill
60a2d6899d Patch from D. V. Henkel-Wallace <gumby@zembu.com> to make macro nest properly in conditionals 1999-01-04 16:28:49 +00:00
Joel Sherrill
73441b6fef Removed blank lines 1999-01-04 16:26:37 +00:00
Joel Sherrill
c1ee30f816 Patch from D. V. Henkel-Wallace <gumby@zembu.com> to remove unused variable. 1999-01-04 16:24:59 +00:00
Joel Sherrill
96b46bf87e Patch from D. V. Henkel-Wallace <gumby@zembu.com> to mark sav as unused. 1999-01-04 16:23:29 +00:00
Joel Sherrill
7a42b0ca35 Patch from Jay Kulpinski <jskulpin@eng01.gdds.com> to get cdtest.exe to run. 1998-12-17 22:14:35 +00:00
Joel Sherrill
539ef72f84 changed version to 19981217 1998-12-17 21:09:49 +00:00
Joel Sherrill
29936e4c1a changed version to 19981217 1998-12-17 21:03:57 +00:00
Joel Sherrill
0296c071b6 Updated to correct information on post switch extension and to make
the user extension table type definition correct.
1998-12-17 18:34:01 +00:00
Joel Sherrill
94c0943d17 Corrected information about the post_switch extension. 1998-12-17 18:21:39 +00:00
Joel Sherrill
0ed9ac7820 Updated socket information 1998-12-17 18:18:44 +00:00
Joel Sherrill
183369d865 Incorporated Jeff's suggestions. 1998-12-17 18:15:39 +00:00
Joel Sherrill
a54541d8e3 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to eliminate another
compiler dependent flag in a Makefile.
1998-12-17 18:12:36 +00:00
Joel Sherrill
9d36726507 Added MIPS supplement template. 1998-12-17 17:30:24 +00:00
Joel Sherrill
f0d3e6cea3 New file added in automake reorg. 1998-12-17 16:20:59 +00:00
Joel Sherrill
646879b244 Automake reorgnization. 1998-12-17 16:17:44 +00:00
Joel Sherrill
f57e315391 changed version to 19981215 1998-12-16 00:35:04 +00:00
Joel Sherrill
283d728541 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> heading toward
automake:

  Notes:
    * I didn't yet touch the cpu subdirectory. I still need some time to
      think on how to handle them.
    * I probably will wait for the next snapshot before mailing more patches
      (I still have some pending), giving you a chance to apply them and me a
      chance to become target of the bullets which will probably be aimed at
      me after these modifications.
1998-12-16 00:01:08 +00:00
Joel Sherrill
5428b10686 More automake preparation changes from Ralf Corsepius
<corsepiu@faw.uni-ulm.de>.
1998-12-15 23:40:53 +00:00
Joel Sherrill
0825f57833 Moved around per Ralf Corsepius as preparation for automake 1998-12-15 23:32:19 +00:00
Joel Sherrill
ee44db38c0 Part II automake reorg by Ralf Corsepius 1998-12-15 22:02:28 +00:00
Joel Sherrill
7e22c7d060 Part II automake reorg by Ralf Corsepius 1998-12-15 21:57:08 +00:00
Joel Sherrill
afa3c8ffa5 Added files as part of move 1998-12-15 20:04:04 +00:00
Joel Sherrill
9d5c22e31b Switched to use of ASM compilation conditional. 1998-12-15 19:56:41 +00:00
Joel Sherrill
7359911f8f Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
Some Makefile.ins depend on gcc by hard-coded gcc-specific compiler
    flags:

    -g added to CFLAGS /LDFLAGS in

     > find . -name Makefile.in -exec grep -l ' \-g' {} \;
    ./c/src/lib/libbsp/i386/i386ex/startup/Makefile.in
    ./c/src/lib/libbsp/i386/pc386/tools/Makefile.in

    -Wall added CFLAGS in

     > find . -name Makefile.in -exec grep -l ' \-Wall' {} \;
    ./c/src/exec/score/tools/sh/Makefile.in
    ./c/src/lib/libbsp/i386/pc386/tools/Makefile.in

    Both -g and -Wall should not be used in any Makefile.in (Yes, I know,
    tools/sh/Makefile.in was written by me :-).

    I'd like to propose to remove these flags from the files mentioned
    above.
1998-12-15 19:40:27 +00:00
Joel Sherrill
2417b15a0e Changed reference from no_cpu to mips64orion. 1998-12-15 15:00:25 +00:00
Joel Sherrill
62184317de Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to reorganize POSIX
directory in preparation for automake:

    Here is a shell script which reorganizes some parts of the exec/posix
    source tree.

    This shell scripts moves include files below exec/posix to different
    locations than now. It doesn't yet apply automake, but still use the old
    autoconf configuration scheme. It doesn't influence the build scheme at
    all (unless I corrupted something), only the location of the header
    files is different, which would ease applying automake later.

    The purpose of this shell script is to demonstrate the style of
    structural changes I would like to see in rtems in near future to
    prepare a smooth transition to automake. Then CC could pickup rtems'
    header files from their location inside of the source tree in future,
    instead of the build tree as it is done now.

    In case you would accept this patch/script, there would be more similiar
    ones to come.
1998-12-15 00:55:28 +00:00
Joel Sherrill
063a19a290 Moved around per Ralf Corsepius as preparation for automake 1998-12-15 00:24:30 +00:00
Joel Sherrill
0c291bc9d8 Switch from .s to .S on include 1998-12-14 23:58:22 +00:00
Joel Sherrill
01629105c2 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to rename all
.s files to .S in conformance with GNU conventions.  This is a
minor step along the way to supporting automake.
1998-12-14 23:15:38 +00:00
Joel Sherrill
1d9f198a91 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to rename all
.s files to .S in conformance with GNU conventaons.  This is a
minor step along the way to supporting automake.
1998-12-14 23:15:08 +00:00
Joel Sherrill
e22d644abe Corrected prototype to confirm to POSIX 1003.1b. 1998-12-14 23:01:43 +00:00
Joel Sherrill
b2e180b70a Renamed ASFLAGS to ASMFLAGS for consistency per suggestion from Ralf Corsepius <corsepiu@faw.uni-ulm.de>. 1998-12-14 22:15:57 +00:00
Joel Sherrill
cdd26ca278 Document from Ian Lance Taylor <ian@airs.com> on the tap function. 1998-12-10 23:35:40 +00:00
Joel Sherrill
cca44008d8 Merged Eric Norum's select patch that was based on 4.0 and resolved
all conflicts.
1998-12-10 23:31:54 +00:00
Joel Sherrill
6c98012877 RDBG headers files ignored if not configured 1998-12-10 21:53:02 +00:00
Joel Sherrill
b1bc63b03c Fixed conflict between patches 1998-12-10 21:52:36 +00:00
Joel Sherrill
a3d0b8a79a Patch from Ian Lance Taylor <ian@airs.com>:
From: Eric Norum <eric@skatter.usask.ca>
   Date: Sat,  5 Dec 98 13:20:51 -0600

   What do you think of this patch?  It implements your `tap'
   suggestion in a way that adds support for all ethernet devices with
   no driver modifications.  I also added a return value from the tap
   function.  If the return value is zero, the packet will be passed up
   the chain as usual.  If the return value is non-zero the mbuf holding
   the packet will be freed and the packet will be dropped.

   If you like it, please submit it to Joel.

   I guess there needs to be an addition to the network documentation
   describing the additional ioctl's -- and a big warning that the tap
   function is called from a context that holds the network semaphore.

   Here is Eric's patch.  I've tested it a bit, and made a couple of
   trivial changes.  This is certainly better than mine: it should work
   for all Ethernet drivers.
   ==================================================

   The only concern I have about this patch is that the tap function may
   want to fiddle with the mbuf, calling functions like m_pullup and the
   like.  If those force the networking code to rearrange the mbuf
   structure, then the caller's call to m_freem may crash.  I don't know
   if this is a realistic concern--I don't know enough about the mbuf
   layer.
1998-12-10 19:42:29 +00:00
Joel Sherrill
2ffe30d2a1 Patch from Ian Lance Taylor <ian@airs.com>:
This patch avoids a warning from the development version of gas.
1998-12-07 17:45:48 +00:00
Joel Sherrill
91b1c8e69e Patch from Ian Lance Taylor <ian@airs.com>:
RTEMS permits using the SO_SNDTIMEO and SO_RCVTIMEO socket options to
    set a timeout for most socket I/O operations.  However, in RTEMS
    4.0.0, those options do not affect connect or accept.  I don't know of
    any way to put a timeout on those calls in RTEMS 4.0.0; can anybody
    point to one.

    Since it is frequently useful to have a timeout on accept, and
    sometimes useful to have a timeout on connect shorter than the BSD
    system default of 75 seconds, the following patch causes SO_RCVTIMEO
    to affect connect and accept.
1998-12-07 17:42:52 +00:00
Joel Sherrill
e203c04bff changed version to 19981203 1998-12-04 02:00:53 +00:00
Joel Sherrill
4721cf1ecb Patch from Emmanuel Raguet <raguet@crf.canon.fr> to add remote debug server
and RPC support to RTEMS.  Thanks. :)  Email follows:

    Hello,

    For Xmas, here is the Remote Debugger on RTEMS !

    Here are 2 patches for the Remote Debugger on RTEMS for pc386 from Linux
    host :

     - one for RTEMS it self,
     - one for GDB-4.17.


    1/ RTEMS patch
    --------------

    This patch adds 2 libraries :
     - a simplified SUN RPC library
     - the Remote Debugger library

    The configuration command is the following :
    ../rtems4/configure --target=i386-rtemself --enable-rtemsbsp=pc386
    --enable-rdbg

    The SUN RPC library is built only if networking is set.
    The RDBG library is built if networking and enable-rdbg are set.

    The function used to initialize the debugger is :
            rtems_rdbg_initialize ();

    A special function has been created to force a task to be
    in a "debug" state : enterRdbg().
    The use of this function is not mandatory.



    2/ GDB-4.17 patch
    -----------------

    This patch create a new RTEMS target for GDB-4.17.

    The configuration command is the following :
    ./configure --enable-shared --target=i386RTEMS

    To connect to a target, use :
      target rtems [your_site_address]

    Then, attach the target using : attach 1

    And... Debug ;)

    You can obtain the original GDB-4.17 on
    ftp://ftp.debian.org/debian/dists/stable/main/source/devel/gdb_4.17.orig.tar.gz

    This has been tested from a Debian 2.0.1 linux host.
1998-12-03 23:54:14 +00:00
Joel Sherrill
cd155bec6f Removed spaces. 1998-12-03 23:02:24 +00:00
Joel Sherrill
41616f6513 Changed to account for ownership only being tracked when a priority
blocking protocol is used.
1998-12-03 23:01:22 +00:00
Jennifer Averett
6afa6e3996 Removed all ^M from the file. 1998-12-03 22:45:57 +00:00
Jennifer Averett
dc8acc140c Added psx to the front of all test names. 1998-12-03 22:45:45 +00:00
Jennifer Averett
0422a7a55d Removed all ^M from the scn file. 1998-12-03 22:42:13 +00:00
Jennifer Averett
c2f9b97543 Cleaned up test.
Updated scn files to match present expected test output.
1998-12-03 22:41:57 +00:00
Jennifer Averett
5b8e885dd7 Added Comment that a result is valid at 4 or 5 seconds. 1998-12-03 22:41:33 +00:00
Jennifer Averett
fae441bd9b Updated scn files to match present expected test output. 1998-12-03 22:41:20 +00:00
Jennifer Averett
f98db20fb3 Renamed all directories to start with psx. 1998-12-03 22:41:01 +00:00
Jennifer Averett
b81eeb35cd Added a posix time test.
Renamed all directories to start with psx.
1998-12-03 22:40:39 +00:00
Jennifer Averett
a4e2f08c25 Added imfs_fdatasync routine that gets called from both fdatasync and datasync. 1998-12-03 22:19:06 +00:00
Jennifer Averett
49629bd8cb Added a imfs fdatasync routine that gets called for fdatasync and datasync. 1998-12-03 22:17:46 +00:00
Jennifer Averett
5822f437a1 Added source for F_DUPFD. 1998-12-03 22:17:26 +00:00
Jennifer Averett
7a3878b26f Modifications for RTEMS_UNIX. 1998-12-03 22:17:13 +00:00
Jennifer Averett
af73d86f64 Added a imfs fdatasync routine that gets called for fdatasync and datasync.
Modifications for RTEMS_UNIX.
1998-12-03 22:16:55 +00:00
Joel Sherrill
146263fdc7 Modified to support test names longer than two characters plus the
test suite designator.  In English, we now support psxfile in addition
to psx11.
1998-12-03 21:58:53 +00:00
Joel Sherrill
012bb569b3 Insure that the same output occurs when multiprocessing is disabled. 1998-12-03 21:57:50 +00:00
Joel Sherrill
6b9450d1a6 Moved cpuuse.h to rtems subdirectory. 1998-12-03 21:56:10 +00:00
Joel Sherrill
31bce9b765 Moved stackchk.h to rtems subdirectory. 1998-12-03 21:55:33 +00:00
Joel Sherrill
347e40d61d Increased default amount of RAM. 1998-12-03 21:54:30 +00:00
Joel Sherrill
1aa9876c05 Removed reference to stackchk.h. 1998-12-03 21:54:09 +00:00
Joel Sherrill
478b86fa2f Don't build libchip if we are targetting UNIX. 1998-12-03 21:53:42 +00:00
Joel Sherrill
ed0e74e79b Corrected spacing. 1998-12-03 21:53:25 +00:00
Joel Sherrill
fdd9fe17bb Corrected ifdef on RTEMS_MULTIPROCESSING so the queue is actually closed. 1998-12-03 21:52:20 +00:00
Joel Sherrill
42b65db0c8 Removed reference to libpurify. 1998-12-01 13:57:15 +00:00
Joel Sherrill
bfc3533594 Include files now installed as <rtems/*.h>. 1998-12-01 13:56:46 +00:00
Joel Sherrill
37de72b908 Removed unused file.
Include files now installed as <rtems/*.h>.
1998-12-01 13:56:18 +00:00
Joel Sherrill
76f786476c changed version to 4.0.0-RADSTONE 1998-11-25 18:09:26 +00:00
Joel Sherrill
8f30e3ee91 First Cut at Hitachi SH. 1998-11-25 16:25:12 +00:00
Joel Sherrill
f48b100053 New files copied from template and personalized. 1998-11-23 22:09:47 +00:00
Joel Sherrill
d1ee44e927 New files added as part of file system infrastructure effort. 1998-11-23 19:39:45 +00:00
Joel Sherrill
07a3253de2 Added base version of file system infrastructure. This includes a major
overhaul of the RTEMS system call interface.  This base file system is
the "In-Memory File System" aka IMFS.

The design and implementation was done by the following people:

  + Joel Sherrill (joel@OARcorp.com)
  + Jennifer Averett (jennifer@OARcorp.com)
  + Steve "Mr Mount" Salitasc (salitasc@OARcorp.com)
  + Kerwin Wade (wade@OARcorp.com)

PROBLEMS
========
  + It is VERY likely that merging this will break the UNIX port.  This
    can/will be fixed.

  + There is likely some reentrancy/mutual exclusion needed.

  + Eventually, there should be a "mini-IMFS" description table to
    eliminate links, symlinks, etc to save memory.  All you need to
    have "classic RTEMS" functionality is technically directories
    and device IO.  All the rest could be left out to save memory.
1998-11-23 19:07:58 +00:00
Joel Sherrill
cd3fb80a26 Added new tests in support of the file system infrastructure. 1998-11-23 18:58:48 +00:00
Joel Sherrill
0895bdb89c Added tests in support of the file system infrastructure. 1998-11-23 18:57:48 +00:00
Joel Sherrill
2a7920b58f Removed. 1998-11-23 18:37:37 +00:00
Joel Sherrill
6e46f4e1f8 Upped the memory to 8 Mbytes. 1998-11-23 18:35:18 +00:00
Joel Sherrill
97e2729d1a Added --disable-multiprocessing flag and modified a lot of files to make
it work.
1998-11-23 17:38:09 +00:00
Joel Sherrill
967f3aaa0c Added networking. 1998-11-23 16:38:28 +00:00
Joel Sherrill
35e5ae647b Removed "HAS_NETWORKING=no". 1998-11-23 16:38:13 +00:00
Joel Sherrill
20ad9e9d93 New network driver from Erik Ivanenko <erik.ivanenko@utoronto.ca>. 1998-11-23 14:28:09 +00:00
Joel Sherrill
588b68976f Bug report from Peter Mueller <pmueller@decrc.abb.de>:
I use the m68k/efi332 BSP together with a home made board. After some
  time of debugging I found  that the m68020 CPU is used to build rtems.
  This is not correct, because the 68332 does not have some of the 68020
  features (no separate int stack ...). It is necessary to change this to
  mcpu32. After a clean/make everything works fine.
1998-11-19 21:57:39 +00:00
Joel Sherrill
8a9caa03d9 Renamed exception constants per requests from Erik Ivanenko
<erik.ivanenko@utoronto.ca> and Eric Valette <valette@crf.canon.fr>.
1998-11-19 20:23:34 +00:00
Joel Sherrill
2e26bbd059 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
Here is a cosmetic patch which corrects a few spelling problems in parts
  written by me.

  Apparently, I must have written these under the influence of ether (:-)
1998-11-19 20:09:01 +00:00
Joel Sherrill
847375f3ad Patch from Eric Norum <eric@skatter.usask.ca>:
1) Socket timeout field changed from `short' to `long'.  This makes longer
       timeouts possible.  With a 1 kHz system clock the old system allowed
       timeouts only up to a little over 30 seconds!  This change is a
       slightly cleaned-up version of the patch proposed by Ian Lance Taylor.

    2) Major changes to BOOTP/DHCP reply handling.  Now supports much of
       RFC2132.  These changes were done at the request of, and with the
       assistance of, Erik Ivanenko.

    If you're making changes, you might want to change the network
    supplement  Essentially just do a global search and replace of BOOTP
    with BOOTP/DHCP.
1998-11-19 17:35:49 +00:00
Joel Sherrill
df4eb76e52 Changed BOOTP -> BOOTP/DHCP. 1998-11-19 17:08:20 +00:00
Joel Sherrill
febb47e071 Changed version string.
Added much new stuff to the POSIX User's Guide.

New chapters stuff shrunk.
1998-11-19 16:59:38 +00:00
Joel Sherrill
982e295e68 Stripped down to be just new chapters. 1998-11-19 16:41:04 +00:00
Joel Sherrill
424b9b2f2e Renamed entire document so this is a transient working directory. 1998-11-19 16:37:00 +00:00
Joel Sherrill
e9264513e4 Merged these into POSIX manual. 1998-11-19 16:33:49 +00:00
Joel Sherrill
28c6b2a10a Added. 1998-11-19 16:08:34 +00:00
Joel Sherrill
cee261b422 Readded preface 1998-11-19 16:07:52 +00:00
Joel Sherrill
c4dddee3f5 Major update/merge of POSIX manual. 1998-11-19 16:06:46 +00:00
Joel Sherrill
d82f3e81a4 New files 1998-11-19 16:05:05 +00:00
Joel Sherrill
bc950e878a Applied updates from remote work while doing class. 1998-11-19 16:02:06 +00:00
Joel Sherrill
06fee20ac1 changed version to 4.0.0-AFCC 1998-10-29 22:25:53 +00:00
Joel Sherrill
a47bd655a1 Cleanup. 1998-10-29 17:10:02 +00:00
Joel Sherrill
2119f9d4b1 making release docs 1998-10-29 16:42:51 +00:00
Joel Sherrill
22fa583204 Patch from Ian Lance Taylor <ian@airs.com>:
The RTEMS i386 stub in
        c/src/lib/libbsp/i386/shared/comm/i386-stub.c
    doesn't take advantage of some of the newer gdb remote features which
    permits shorter and fewer packets.

    Here is a patch which uses the 'T' response to report the registers
    which gdb generally needs, and implements the 'P' request to set only
    a single register.  The general effect is to avoid sending all the
    register contents back and forth between gdb and the stub every time
    the stub stops.  This also implements the 'D' request which handles
    the gdb detach command, so you can cleanly quit out of the debugger
    and leave the target board running.
1998-10-28 19:41:06 +00:00
Joel Sherrill
b4e3b2bd68 Patch from Ian Lance Taylor <ian@airs.com>.
I just happened across the sync_io support in
        c/src/exec/score/cpu/unix/cpu.c
    (is this documented anywhere?).  That looked more useful than the
    signal driven I/O I was using before, so I tried it.  I ran across a
    few bugs in the way it uses select.

    Select changes its fd_set arguments, so you can't use global variables
    for them.  You have to copy them into local variables first.

    If select returns -1 with errno set to EINTR, then it has not changed
    any of the fd_sets.  You can't start looking at them.

    When clearing a descriptor, the code has the usual select off by one
    error when setting sync_io_nfds.

    I don't see how this code could ever have worked correctly.

    I have appended a patch for the problems I found.
1998-10-28 19:25:12 +00:00
Joel Sherrill
692b9f7fdd Merged Vista SCORE603e, Radstone PPCn_60x, and DY-4 DMV177 BSPs along
with libchip.
1998-10-28 19:17:16 +00:00
Joel Sherrill
e071364177 Removed per Eric Norum 1998-10-28 18:05:05 +00:00
Joel Sherrill
3662240e9f changed version to 4.0.0 1998-10-28 17:38:22 +00:00
Joel Sherrill
ecbba5fc87 Version changed. 1998-10-27 23:45:52 +00:00
Joel Sherrill
b4bbd1e58b fixes from David Fiddes 1998-10-27 23:34:52 +00:00
Joel Sherrill
23235365f1 Minor change to ease debugging. 1998-10-27 21:29:46 +00:00
Joel Sherrill
b95914f9ee Spacing. 1998-10-27 21:29:30 +00:00
Joel Sherrill
9fc4ed06dc Updated for beta4b 1998-10-27 20:40:41 +00:00
Joel Sherrill
829a116614 Corrected 2nd invocation of texi2dvi so indices are built. 1998-10-27 20:40:22 +00:00
Joel Sherrill
c19a48472f changed version to 4.0.0 1998-10-27 19:33:26 +00:00
Joel Sherrill
cdf30abaa2 Update from David Fiddes. 1998-10-27 19:28:20 +00:00
Joel Sherrill
71e120790d Clarifed description of driver name. 1998-10-27 17:44:11 +00:00
Joel Sherrill
0ed55ed659 Version changed. 1998-10-27 17:43:48 +00:00
Joel Sherrill
0a74154a4b Version change. 1998-10-27 17:43:37 +00:00
Joel Sherrill
1e4f7ec647 Spacing. 1998-10-27 15:59:59 +00:00
Joel Sherrill
f3e13a1eb8 Merged base line score603e BSP 1998-10-26 23:31:02 +00:00
Joel Sherrill
7bf3aa9bdb changed version to 4.0.0-beta4b 1998-10-26 16:25:30 +00:00
Joel Sherrill
415ea6a350 changed version to 4.0.0-beta4b 1998-10-26 16:24:59 +00:00
Joel Sherrill
db88957493 Patches done in conjunction with Juan Zamorano Flores
<jzamora@avellano.datsi.fi.upm.es>.  He debugged enough to let me
know what was wrong and I supplied the code. :)
1998-10-26 16:18:58 +00:00
Joel Sherrill
2f3692ee72 Updated for mvme136. 1998-10-26 15:46:09 +00:00
Joel Sherrill
e7a273f699 Updated the date. 1998-10-26 15:45:41 +00:00
Joel Sherrill
6e0721ad0e Patch from Erik Ivanenko <erik.ivanenko@utoronto.ca>:
Please find attached a new i386ex.cfg.  It has been altered to change
    the files that get generated with the .nxe extension to .coff.   This
    change is necessary to align the file names generated by "make-exe" to
    the those referred to in the GDB.HOWTO found in the
    i386/shared/comm directory.  It has been successfully tested on ticker (
    without GDB), and base_sp( with GDB ) .  I just set a breakpoint and
    continue...
1998-10-22 18:16:25 +00:00
Joel Sherrill
c77b2ca565 Typos spotted by Ian Lance Taylor <ian@airs.com>. 1998-10-22 17:30:12 +00:00
Joel Sherrill
db538d8bca Added missing .rodata and *(.gnu.linkonce.r*) section. 1998-10-22 17:28:38 +00:00
Joel Sherrill
6278b8b2a3 Patch from Ian Lance Taylor <ian@airs.com>:
I noticed that in the 4.0.0-beta4a tar file, the file
        c/src/lib/libbsp/i386/pc386/startup/linkcmds
    was changed so that it no longer handles the .gnu.linkonce.r*
    sections.  The appended patch was applied to the file.  I'm not sure
    why.  I think this patch should probably be backed out, although it's
    not critical for the release.
1998-10-22 17:27:14 +00:00
Joel Sherrill
396286a914 Patch from Eric Norum. 1998-10-22 16:23:45 +00:00
Joel Sherrill
d3b34d259e Changed all of these to stubs. 1998-10-22 16:15:40 +00:00
Joel Sherrill
c4cbe175e7 Corrections from Jennifer and Jeff plus additions to the initialization
chapter.
1998-10-21 20:21:51 +00:00
Joel Sherrill
b43744a69d Spell checked. 1998-10-20 20:36:28 +00:00
Joel Sherrill
71f575e510 Added much text to the linkcmds chapter.
Cleaned up sections in the target dependent info file.
1998-10-20 20:34:12 +00:00
Joel Sherrill
051ab3b1e9 Links between chapters up to Linker Script in place.
First draft of chapters up to and include Makefiles written.
1998-10-20 19:27:13 +00:00
Joel Sherrill
ee3dd9ae99 Significant additions. 1998-10-20 16:25:29 +00:00
Joel Sherrill
acee84c7c1 Renamed the target dependent code chapter. 1998-10-20 16:25:08 +00:00
Joel Sherrill
3912f39159 Added some links between chapters. 1998-10-20 16:24:46 +00:00
Joel Sherrill
a355848958 Spacing changed. 1998-10-20 15:06:02 +00:00
Joel Sherrill
8c1aaa9b5a Added new chapters. 1998-10-20 15:05:51 +00:00
Joel Sherrill
2dce00e0a0 Added multiple chapters and reordered them somewhat. 1998-10-20 15:05:36 +00:00
Joel Sherrill
49267ee4a8 New files. 1998-10-20 15:00:33 +00:00
Joel Sherrill
4ed0f06d82 Added numerous comments to the linker script.
Now this chapter has no two column stuff in it.
1998-10-20 13:49:43 +00:00
Joel Sherrill
5e8a37c78d Added initial cut at some of the libc chapters. 1998-10-20 12:51:15 +00:00
Joel Sherrill
4e40853440 Removed KA9Q manual. 1998-10-20 12:35:47 +00:00
Joel Sherrill
3bf5c6cea1 New picture. 1998-10-20 12:34:47 +00:00
Joel Sherrill
9df94ec69b Updated. 1998-10-20 12:34:32 +00:00
Joel Sherrill
c9c605f136 Added more disk space to the requirements and included information
indicating that it was per target.
1998-10-20 12:34:27 +00:00
Joel Sherrill
00be3747ba Minor cleanup. 1998-10-20 12:34:00 +00:00
Joel Sherrill
3fccbb34cc Added information about the bit_rtems script. 1998-10-20 12:33:48 +00:00
Joel Sherrill
b7ea3ec92a Added information about the new build scripts.
Added host OS specific notes.
1998-10-20 12:33:33 +00:00
Joel Sherrill
a5ef387f24 Added sections and had to change build menu commands. 1998-10-20 12:32:41 +00:00
Joel Sherrill
0749d85854 Increased required disk space along with information about the required
disk space.

Added information about GNU makeinfo minimum version.
1998-10-20 12:32:11 +00:00
Joel Sherrill
e8e2cf13c0 Added information about the bit_gdb script. 1998-10-20 12:30:59 +00:00
Joel Sherrill
77ea5d30d8 Added information about the new build scripts. The biggest thing was
describing the user.cfg file.

Added a section on Solaris 2.x.
1998-10-20 12:30:06 +00:00
Joel Sherrill
0b5dbf1f6a Added sections so had to change the build menu commands. 1998-10-20 12:28:56 +00:00
Joel Sherrill
77f08533e6 Enhanced times() with copy from the other chapter. 1998-10-19 21:52:56 +00:00
Joel Sherrill
883ffece78 Removed times() since it is duplicated. 1998-10-19 21:52:40 +00:00
Joel Sherrill
ebaeec1113 Updated to reflect the longer list of libraries. 1998-10-19 21:52:15 +00:00
Joel Sherrill
477e06b30f Removed node information. 1998-10-19 21:51:59 +00:00
Joel Sherrill
d23a3e632b Removed node information now that it is automatically generated. 1998-10-19 21:51:42 +00:00
Joel Sherrill
f09e5a6a6a Changed version and date strings. 1998-10-19 21:51:21 +00:00
Joel Sherrill
0d94c26a4f Changed KA9Q to Networking. 1998-10-19 21:50:52 +00:00
Joel Sherrill
b0c34910e3 Cleaned up list of docs. 1998-10-19 21:50:27 +00:00
Joel Sherrill
1e19ef61b2 Removed KA9Q issues. 1998-10-19 21:50:16 +00:00
Joel Sherrill
7e4c8246c6 Changed version. 1998-10-19 21:50:04 +00:00
Joel Sherrill
62cd76e527 Moved things around so html and clean were above stanzas which generate
chapters.
1998-10-19 21:49:36 +00:00
Joel Sherrill
03889c1a1e All of the Supplemental manuals are now generated as automatically
as possible.
1998-10-19 21:46:32 +00:00
Joel Sherrill
2df2befc33 No node info 1998-10-19 19:53:26 +00:00
Joel Sherrill
17c26806a4 Renamed. 1998-10-19 19:46:30 +00:00
Joel Sherrill
69b5f9d261 Renamed memmodel.texi to memmodel.t. 1998-10-19 19:39:55 +00:00
Joel Sherrill
34f058eef5 Renamed fatalerr.texi to fatalerr.t. 1998-10-19 19:39:54 +00:00
Joel Sherrill
bbdec14234 Renamed cputable.texi to cputable.t. 1998-10-19 19:39:53 +00:00
Joel Sherrill
024bcb82e0 Renamed cpumodel.texi to cpumodel.t. 1998-10-19 19:39:52 +00:00
Joel Sherrill
b4d53c04ae Renamed callconv.texi to callconv.t. 1998-10-19 19:39:50 +00:00
Joel Sherrill
cb773a5558 Renamed bsp.texi to bsp.t. 1998-10-19 19:39:49 +00:00
Joel Sherrill
f0c38647c1 Renamed a lot and got as much as possible automatically generated. 1998-10-19 19:38:19 +00:00
Joel Sherrill
2b768e30e9 Renamed. 1998-10-19 19:32:57 +00:00
Joel Sherrill
9d10023164 Renamed 1998-10-19 19:31:22 +00:00
Joel Sherrill
88b1c14e03 Renamed memmodel.texi to memmodel.t. 1998-10-19 19:24:46 +00:00
Joel Sherrill
ca57ebbbe7 Renamed fatalerr.texi to fatalerr.t. 1998-10-19 19:24:45 +00:00
Joel Sherrill
6a912a1e8d Renamed cputable.texi to cputable.t. 1998-10-19 19:24:43 +00:00
Joel Sherrill
a6191365eb Renamed cpumodel.texi to cpumodel.t. 1998-10-19 19:24:42 +00:00
Joel Sherrill
f3cd926b7b Renamed callconv.texi to callconv.t. 1998-10-19 19:24:41 +00:00
Joel Sherrill
915d502831 Renamed bsp.texi to bsp.t. 1998-10-19 19:24:40 +00:00
Joel Sherrill
d4c057df1d Renamed preface.texi to preface.t. 1998-10-19 19:10:06 +00:00
Joel Sherrill
3180fbc555 Renamed m68k.texi to m68k.t. 1998-10-19 19:10:04 +00:00
Joel Sherrill
5ab187b256 Much renamed, most stuff automatically generated now. 1998-10-19 18:59:35 +00:00
Joel Sherrill
16a1fd9c33 Renamed a lot of files. 1998-10-19 18:30:26 +00:00
Joel Sherrill
8eba4708f0 Nearly everything that can be is now automatically generated. 1998-10-19 18:25:16 +00:00
Joel Sherrill
3a5676e721 All files as automatically generated as possible. 1998-10-19 17:56:29 +00:00
Joel Sherrill
65d5650485 Renamed. 1998-10-19 17:55:48 +00:00
Joel Sherrill
3f8e567700 New file. 1998-10-19 17:46:54 +00:00
Joel Sherrill
5424a119ca Removed. 1998-10-19 17:37:34 +00:00
Joel Sherrill
dcc1a53020 More automatically generated. Many files renamed behind the scenes. 1998-10-19 17:30:01 +00:00
Joel Sherrill
e4f7860f54 Makefiles in much better shape even though not all files have automatically
generated menus yet.
1998-10-19 17:17:42 +00:00
Joel Sherrill
bf37bef082 Timing Chapter is now shared and menu structure generated.
Cpumodel.texi is now generated.
1998-10-19 17:17:18 +00:00
Joel Sherrill
210931dd0f Renamed so the menu structure can be built on the fly. 1998-10-19 17:11:10 +00:00
Joel Sherrill
629612c53a Now completed generated with build menu. 1998-10-19 15:57:18 +00:00
Joel Sherrill
8876043af0 New file 1998-10-19 15:56:10 +00:00
Joel Sherrill
c59eb6164d Worksheets now generated from a common file and the node info structure
is generated automatically.
1998-10-19 15:06:22 +00:00
Joel Sherrill
fdf9cb6032 Added chapter. 1998-10-19 13:27:13 +00:00
Joel Sherrill
f91974dd47 Added chapter. 1998-10-19 13:03:04 +00:00
Joel Sherrill
99899da43d Added chapter. 1998-10-19 13:03:03 +00:00
Joel Sherrill
ad0f33160f Added chapter. 1998-10-19 13:01:33 +00:00
Joel Sherrill
887173dd8c Added chapter. 1998-10-19 12:59:10 +00:00
Joel Sherrill
3fdfd51466 Added. 1998-10-19 12:52:31 +00:00
Joel Sherrill
81423a1ad0 Added 2 chapters 1998-10-19 12:49:37 +00:00
Joel Sherrill
a9d74246cc Changed reference to KA9Q driver.
Cleaned up description of the make/custom file.
1998-10-15 21:21:53 +00:00
Joel Sherrill
fcbc051cbd Cleaned up where Geoffroy had this in 2-column format. 1998-10-15 21:21:18 +00:00
Joel Sherrill
57cb542448 Added more to the list of chapters. 1998-10-15 21:20:56 +00:00
Joel Sherrill
3351d41fbf Redid sections to have right depth. 1998-10-15 21:20:42 +00:00
Joel Sherrill
d067648dda Removed bsp structure as chapter and renamed some other chapters. 1998-10-15 21:19:56 +00:00
Joel Sherrill
286f01a475 Removed bspstruct.t.
Commented lines which installed files.
1998-10-15 21:19:27 +00:00
Joel Sherrill
abcec17b20 Cleaned up bad line wrap which was only a long sequence of ??? 1998-10-15 21:18:55 +00:00
Joel Sherrill
7595ae6749 Merged bsp structure into target dependent files chapter. 1998-10-15 21:18:24 +00:00
Joel Sherrill
0a5e510c6d changed version to 4.0.0-beta4a 1998-10-15 19:58:32 +00:00
Joel Sherrill
fae18771ec Removed unnecessary settings. 1998-10-15 19:19:35 +00:00
Joel Sherrill
4b378c298e Updated for the i386ex and deprecated BSPs. 1998-10-15 19:18:50 +00:00
Joel Sherrill
adb5185904 Added bare bsp, mini-glue layer for POSIX port, and bare bsp information. 1998-10-15 19:18:36 +00:00
Joel Sherrill
405d5a9fe8 Added pre_install_src as a dependency to debug and profile per Ralf Corsepius'
recommendation.
1998-10-15 19:18:03 +00:00
Joel Sherrill
0294cd4f2e Regenerated. 1998-10-15 19:16:41 +00:00
Joel Sherrill
39bc8fdfd8 Patch from Thomas Doerfler <td@imd.m.isar.de> to include the
ppc403 interrupt control libcpu component.
1998-10-15 18:47:09 +00:00
Joel Sherrill
4cfdf32107 Uncommented the conditional stuff for "good gas 16 bit code". 1998-10-15 14:38:10 +00:00
Joel Sherrill
11cfb6f7f6 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
1. Rtems contains some perl scripts that use hard-coded paths to
      /usr/bin/perl or /usr/local/bin/perl I have already fixed these
      problems by adding some checks to configure.in.   While doing this,
      I also cleaned up some more autoconf related problems for generating
      shell scripts.  This patch might seem a bit scary to you, but I am
      quite confident it won't break something (I've been testing it for
      almost a week now, however it might introduce typos for a limited
      number configurations I don't have access to - But it shouldn't be
      a problem for you to test them :-).

   I expect to get this finished tonight, hence you will very likely
   have the patch when you get up tomorrow.

   Changes:

   * Check for PERL and disable all PERL scripts if perl wasn't found.
   * Generate all KSHELL-scripts with autoconf instead of make-script
   * Automatic dependency handling for autoconf generated KSHELL or PERL
     scripts (make/rtems.cfg)

   Notes:
   * this patch contains new files and deletes some other files.
   * The patch is relative to rtems-4.0.0-beta4 with my previous
     rtems-rc-981014-1.diff patch applied.

   Testing:
      I tested it with sh-rtems and posix under linux. Now all targets
      which are touched by this patch and which are not used while building
      for sh-rtems and posix still need to be tested. AFAIS, only the
      sparc/erc32 BSP should be affected by this criterion. And if you
      like to, you should also consider testing it on a Cygwin32 and a
      Solaris host for one arbitrary BSP.
1998-10-14 20:19:30 +00:00
Joel Sherrill
946b3cb0cf Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
2. "make profile" doesn't work. It aborts when building host-tools
        for embedded targets. I didn't yet have enough time to fix this
        problem.  AFAIS this problem is related to handling of
        LDFLAGS_PROFILE[|_V] in gcc.cfg.in.  For host applications, we use
        gcc for linking host applications, too. With profiling enabled
        CFLAGS_PROFILE_V contains -pg and is used to compile, but
        LDFLAGS_PROFILE_V is empty, hence -pg will not be passed to the
        linker causing gcc to fail to link, because it can't resolve some
        symbols introduced by compiling with -pg.

    I am not sure if I can provide a patch for this - Ether it is trivial
    to fix or requires basic work on host configuration ;-

    Fixing this one was trivial - But hard to trace.

    LDFLAGS_PROFILE_V needs to contain the same flags as CFLAGS_PROFILE_V,
    if gcc is used for linking (What else should have been expected ?,
    :-). The same problem was present for *_DEBUG_V, but apparently wasn't
    noticed by anybody, because things didn't break, but were silently
    ignored.

    I fixed these problems by setting these flags in configure.in whenever
    gcc is reported to be the host-compiler. For non-gcc host compilers
    "make debug" and "make profile" now becomes the same as an ordinary
    "make". This is a hack and addressing this problen could be more
    sophisticated, but I don't think it gives much sense to support
    compile variants for any host program (Who will ever try to
    profile/debug host tools?).  Therefore I don't think it's useful
    to invest more effort into this problem.
1998-10-14 19:42:45 +00:00
Joel Sherrill
cb160321fe Updated. 1998-10-14 15:29:05 +00:00
Joel Sherrill
0cd2bd96c3 Added rest of opendir family and made it compile. 1998-10-13 18:04:16 +00:00
Joel Sherrill
928395ea56 New files. 1998-10-13 16:07:38 +00:00
Joel Sherrill
5b1f23c4eb Added missing BSPs. 1998-10-13 15:03:43 +00:00
Joel Sherrill
714137ef7c Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to correct minor
cosmetic things.
1998-10-13 15:03:27 +00:00
Joel Sherrill
fbd532080c Modified to avoid building certain files under UNIX. 1998-10-13 14:59:35 +00:00
Joel Sherrill
4934fe62d1 New file 1998-10-12 21:50:44 +00:00
Joel Sherrill
a1c57e451c Added idle_task_stack_size field to CPU Table. 1998-10-12 21:27:10 +00:00
Joel Sherrill
68c460269a Added message to "return -1 and set errno". 1998-10-12 21:26:39 +00:00
Joel Sherrill
99b0787fa6 Fixed typo. 1998-10-12 21:26:13 +00:00
Joel Sherrill
5f4c1097fa Updated to reflect MG-10 IMFS effort. 1998-10-12 21:25:52 +00:00
Joel Sherrill
4b8bf95209 Added some fields and changed last KA9Q reference to FreeBSD. 1998-10-12 21:25:10 +00:00
Joel Sherrill
abfbfa7c5a Changed section numbers. 1998-10-12 21:24:52 +00:00
Joel Sherrill
ff460e586e Changed commands for installing numerous files to include $(SRCDIR). 1998-10-12 21:24:26 +00:00
Joel Sherrill
e2e52a4a2a Changed command for installing the footer. 1998-10-12 21:23:46 +00:00
Joel Sherrill
91356bcb50 Typo which prevented baud rate changes from Thomas Doerfler <td@imd.m.isar.de>. 1998-10-12 20:47:09 +00:00
Joel Sherrill
70b45c643d changed version to 4.0.0-beta4 1998-10-12 17:40:25 +00:00
Joel Sherrill
22bb7cd136 New files. 1998-10-12 17:28:33 +00:00
Joel Sherrill
df26332500 Regenerated. 1998-10-12 17:24:29 +00:00
Joel Sherrill
d2018142ce Removed fork(), execv(), and wait() since they are now stubbed in the
POSIX API.
1998-10-12 17:23:28 +00:00
Joel Sherrill
f7f64f630d Added opendir and readdir. 1998-10-12 17:23:03 +00:00
Joel Sherrill
7c0ee06983 Added helas403 and changed column spacing. 1998-10-12 17:22:41 +00:00
Joel Sherrill
b19cb179ab Added header files per request from Chris Johns to avoid problems
in include file order.
1998-10-12 17:21:12 +00:00
Joel Sherrill
87dea1e4d1 Fixed typo spotted by Jeff Mayes. 1998-10-09 16:47:24 +00:00
Joel Sherrill
42c0b9ee13 NEXT_GAS should have been NEW_GAS. Spotted by Emmanuel Raguet <raguet@crf.canon.fr>. 1998-10-07 14:54:02 +00:00
Joel Sherrill
959d75263b Corrected typo pointed out by Pollak Leon <leonp@plris.com>. 1998-10-07 14:39:58 +00:00
Joel Sherrill
5ee9068634 changed version to 981006 1998-10-06 21:45:33 +00:00
Joel Sherrill
72640a330e Removed files pc386uart.h and pcibio.h from Makefile since they are
now installed from the shared directory.
1998-10-06 20:56:13 +00:00
Joel Sherrill
d171f8a814 Corrected assembly language to use constants instead of addresses.
Thanks to Rod Barman for this one.
1998-10-06 20:55:28 +00:00
Joel Sherrill
dff5b40d92 Added missing field (idle_task_stack_size) to CPU Table. 1998-10-06 20:54:36 +00:00
Joel Sherrill
dc6763c88f Patch from Emmanuel Raguet <raguet@crf.canon.fr> to add networking
information to this file to be more like the gen68360.
1998-10-06 13:02:51 +00:00
Joel Sherrill
0ebbf66b0e Large patch from Erik Ivanenko <erik.ivanenko@utoronto.ca> which
moves pieces of the pc386 bsp up to a shared level for all i386 BSPs
and modifies the i386ex BSP to use those shared pieces.  Serial remote
debugging is included for both targets.  Erik's notes:

    There are several workarounds in it:

     1) #define NEXT_GAS is hardcoded in pc386/start/start.s
     2)  #define NEXT_GAS is hardcoded in i386ex/start/start.s
     3) #define NEW_GAS is hardcoded in pc386/start16.s
     4) #undef __assert and redeclare _assert hardcoded in console.c for
        both pc386 and i386ex due to my egcs1.1b ~ newlib problem. Should have
        modified t-rtems.cfg ( no time )

    I've tested pc386 with both video and serial consoles and GDB remote.
    All work fine, except that GDB acts weird. ( re: other posting)

    I hope this will work for you.  It took quite some time to locate the
    autoconf error.  The remainder was just grunt work.
    Unfortunately, I think I've unwound the removal of the IBMPCInitVideo
    stuff. Sorry. I REALLY can't spend more time... I've been at this
    conversion to 4.0 locally and updating the release since Sept. 8th, and
    have yet to compile my network driver.... This is as much as I can do
    right now.

    I look forward to the next patch to really test i368ex.  I did make sure
    that the sample tests worked for pc386.
1998-10-05 22:36:06 +00:00
Joel Sherrill
711a2a1133 New file based on information from Eric Norum <eric@skatter.usask.ca>. 1998-10-05 21:26:07 +00:00
Joel Sherrill
41a890a381 Commented out line which ran psim tests twice. 1998-10-05 19:45:04 +00:00
Joel Sherrill
86dc490ac4 Update from Thomas Doerfler <td@imd.m.isar.de>. 1998-10-05 18:21:11 +00:00
Joel Sherrill
fe64e9f42d Regenerated. 1998-10-05 15:22:38 +00:00
Joel Sherrill
09213ec317 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
As mentioned in other mails before, there is are minor inconsistencies in the
  posix custom/*cfg files.

    Linux-posix.cfg sets RTEMS_BSP=posix
    FreeBSD-posix.cfg sets RTEMS_BSP=posix
    Solaris-posix.cfg first sets RTEMS_BSP=posix, later it sets
       RTEMS_BSP=solaris2

    1. Setting RTEMS_BSP=posix is redunant to settings in default.cfg
    2. The solaris variant of setting RTEMS_BSP is merely non-functional.

    The patch attached to this mail should clean up this issue.

    The patch was tested by building the posix bsp under
    i686-pc-linux-glibc1/glibc2 and Solaris2.6 (I did not run any
    rtems program, however) The HPUX9 and FreeBSD configuration files
    were adapted in analogy to the solaris and linux configurations.
1998-10-05 13:53:16 +00:00
Joel Sherrill
bf1ef5ba1d Regenerated after fixing a typo. 1998-10-05 13:50:53 +00:00
Joel Sherrill
f44a81b761 Modifed i386 gas test to put each directive on its own line per
problem report from Erik Ivanenko <erik.ivanenko@utoronto.ca>.
1998-10-05 12:52:31 +00:00
Joel Sherrill
082fc2d5d2 Fixed use of incorrect macro for minimum stack size. 1998-10-05 12:45:53 +00:00
Joel Sherrill
388be68fbc Patch from Ian Lance Taylor <ian@airs.com>:
The reentrant versions of the malloc functions in
        c/src/lib/libc/malloc.c
    do not match the definitions in newlib.  These will be used if you use
    newlib routines such as fdopen.  I believe this patch to malloc.c is
    needed to provide the correct versions.
1998-10-01 21:44:31 +00:00
Joel Sherrill
f0bca9fb67 changed version to 981001 1998-10-01 20:22:37 +00:00
Joel Sherrill
086836e10e Patch from Thomas Doerfler <td@imd.m.isar.de> to improve 403 support.
- c/src/exec/score/cpu/powerpc/ppc.h: some small changes
      (added ppc403 characteristics like a exception vector prefix
      register, some special register definitions). I am quite sure, they
      are compatible with the existing sources, although I did not check

    - c/src/exec/score/cpu/powerpc/cpu.c: There is one severe
      limitation in the exception entries: Due to the current code
      arrangement, the "branch absolute" to the ISR handler may only
      jump to the first 128MByte or the last 128MByte of the 4GByte
      address range. When the ppc403 is running out of ROM, the ROM
      functions are located in the last 128MByte (0xFFF00000 and up).
      These addresses were not handled correctly (sign reduced) in
      "install_raw_handler". The change I added should work on existing
      ppc BSPs aswell...
1998-10-01 18:50:43 +00:00
Joel Sherrill
1c82336395 Regenerated. 1998-10-01 18:49:16 +00:00
Joel Sherrill
e125ad3471 Switched from HAS_KA9Q=no to HAS_NETWORKING=no. 1998-10-01 18:48:43 +00:00
Joel Sherrill
a0b7a078db Patch from Eric Norum <eric@skatter.usask.ca>:
Here's a patch to get rid of the `#define RTEMS__mcpu32p__ 1' when
    gen68360.cfg is being used as a companion for gen68360_040.cfg.  The
    old version worked because of the order of the conditional tests in
    m68k.h (the check for __mc68040__ is before the test for
    RTEMS__mcpu32p__) , but I think it might have been a little confusing
    to others just getting started.
1998-10-01 18:38:53 +00:00
Joel Sherrill
02c14a0bfc Updated to reflect Thomas Doerfler (td@imd.m.isar.de) submitting the
helas403 BSP.
1998-10-01 13:13:33 +00:00
Joel Sherrill
aecfa2bf09 BSP submitted by Thomas Doerfler <td@imd.m.isar.de>:
Finally I am through: I have found the last bugs that made RTEMS-
    4.0-beta3 start on my ppc403 board from ROM. So now the '403
    support is up to date again.

    Roughly I have added the following features:
    - support for the on-chip interrupt controller (in a separate module)
    - interrupt support for the console device
    - termios support for the console device

    ==============================================
    Since the BSP behaivour changed in some details (console no
    longer is polling, other memory layout etc) I have created a new
    BSP "helas403" rather than changing the "papyrus" BSP. The old
    "polled" console driver still sticks around in "console.c.polled"

    To get the BSP up and running, I had to create the new BSP files
    (derived from papyrus). Besides that, the following source areas
    have been changed:

    - c/src/lib/libcpu/powerpc/ppc403: changes to console driver, small
    changes to clock driver, new "ictrl" interrupt controller driver

    - c/src/exec/score/cpu/powerpc/ppc.h: some small changes
    (added ppc403 characteristics like a exception vector prefix
    register, some special register definitions). I am quite sure, they
    are compatible with the existing sources, although I did not check

    - c/src/exec/score/cpu/powerpc/cpu.c: There is one severe
    limitation in the exception entries: Due to the current code
    arrangement, the "branch absolute" to the ISR handler may only
    jump to the first 128MByte or the last 128MByte of the 4GByte
    address range. When the ppc403 is running out of ROM, the ROM
    functions are located in the last 128MByte (0xFFF00000 and up).
    These addresses were not handled correctly (sign reduced) in
    "install_raw_handler". The change I added should work on existing
    ppc BSPs aswell...

    - c/src/lib/libc/termios.c: During my tests, I added one change you
    sent me, so this patch will already be incorporated in the current
    source tree.

    There are some smaller changes, see the attached diff file.

    =========================================
    Concerning the GNU toolchain:

    I tried several tool chains. Finally I almost succeeded with

    egcs-1.0.3a with patch  egcs-1.0.3-rtems-diff-19980527

    I had to add the following lines to the egcs files. Without them
    configure complaint that the cross compiler could not generate
    executable output.
    - additional lines needed in egcs distribution in file
      gcc/config/rs6000/rtems.h:

    +++ lines start
    #undef STARTFILE_DEFAULT_SPEC
    #define STARTFILE_DEFAULT_SPEC "ecrti.o%s"

    #undef  ENDFILE_DEFAULT_SPEC
    #define ENDFILE_DEFAULT_SPEC "ecrtn.o%s"
    ++++ lines end

    As far as I have seen in the Changelog of egcs, you have recently
    sent two patches affecting the powerpc support, but they were
    added in the wrong order.... :-(

    egcs-19980628 with patch egcs-19980628-rtems-diff-19980707 does
    not work!

    I used binutils 2.9.1 with patch binutils-2.9.1-rtems-diff-19980515
     (binutils 2.8.1 does not work, internal error in gas)
    and newlib-1.8.0 with patch newlib-1.8.0-rtems-diff-19980707

    Finally I had to poke a line in the "bit" script, since, on my LINUX
    machine, the GNU make is only available as "make", not as
    "gmake"...

    For all the tools and newlib I selected configuration "powerpc-
    rtems".

--------------------------------------------
IMD Ingenieurbuero fuer Microcomputertechnik
Thomas Doerfler           Herbststrasse 8
D-82178 Puchheim          Germany
email:    td@imd.m.isar.de
1998-09-30 21:55:53 +00:00
Joel Sherrill
be4284d0f2 BSP submitted by Thomas Doerfler <td@imd.m.isar.de>:
Finally I am through: I have found the last bugs that made RTEMS-
    4.0-beta3 start on my ppc403 board from ROM. So now the '403
    support is up to date again.

    Roughly I have added the following features:
        - support for the on-chip interrupt controller (in a separate module)
        - interrupt support for the console device
        - termios support for the console device

    ==============================================
    Since the BSP behaivour changed in some details (console no
    longer is polling, other memory layout etc) I have created a new
    BSP "helas403" rather than changing the "papyrus" BSP. The old
    "polled" console driver still sticks around in "console.c.polled"
    To get the BSP up and running, I had to create the new BSP files
    (derived from papyrus). Besides that, the following source areas
    have been changed:

    - c/src/lib/libcpu/powerpc/ppc403: changes to console driver, small
    changes to clock driver, new "ictrl" interrupt controller driver

    - c/src/exec/score/cpu/powerpc/ppc.h: some small changes
    (added ppc403 characteristics like a exception vector prefix
    register, some special register definitions). I am quite sure, they
    are compatible with the existing sources, although I did not check

    - c/src/exec/score/cpu/powerpc/cpu.c: There is one severe
    limitation in the exception entries: Due to the current code
    arrangement, the "branch absolute" to the ISR handler may only
    jump to the first 128MByte or the last 128MByte of the 4GByte
    address range. When the ppc403 is running out of ROM, the ROM
    functions are located in the last 128MByte (0xFFF00000 and up).
    These addresses were not handled correctly (sign reduced) in
    "install_raw_handler". The change I added should work on existing
    ppc BSPs aswell...

    - c/src/lib/libc/termios.c: During my tests, I added one change you
    sent me, so this patch will already be incorporated in the current
    source tree.

    There are some smaller changes, see the attached diff file.

    =========================================
    Concerning the GNU toolchain:

    I tried several tool chains. Finally I almost succeeded with

    egcs-1.0.3a with patch  egcs-1.0.3-rtems-diff-19980527

    I had to add the following lines to the egcs files. Without them
    configure complaint that the cross compiler could not generate
    executable output.
    - additional lines needed in egcs distribution in file
      gcc/config/rs6000/rtems.h:

    +++ lines start
    #undef STARTFILE_DEFAULT_SPEC
    #define STARTFILE_DEFAULT_SPEC "ecrti.o%s"

    #undef  ENDFILE_DEFAULT_SPEC
    #define ENDFILE_DEFAULT_SPEC "ecrtn.o%s"
    ++++ lines end

    As far as I have seen in the Changelog of egcs, you have recently
    sent two patches affecting the powerpc support, but they were
    added in the wrong order.... :-(

    egcs-19980628 with patch egcs-19980628-rtems-diff-19980707 does
    not work!

    I used binutils 2.9.1 with patch binutils-2.9.1-rtems-diff-19980515
     (binutils 2.8.1 does not work, internal error in gas)
    and newlib-1.8.0 with patch newlib-1.8.0-rtems-diff-19980707

    Finally I had to poke a line in the "bit" script, since, on my LINUX
    machine, the GNU make is only available as "make", not as
    "gmake"...

    For all the tools and newlib I selected configuration "powerpc-
    rtems".

--------------------------------------------
IMD Ingenieurbuero fuer Microcomputertechnik
Thomas Doerfler           Herbststrasse 8
D-82178 Puchheim          Germany
email:    td@imd.m.isar.de
1998-09-30 21:50:42 +00:00
Wade A Smith
05d499280c Corrected TYPO error in the file. 1998-09-30 21:18:46 +00:00
Wade A Smith
b8ea1c8eb5 Corrected TYPO errors in the file 1998-09-30 21:15:23 +00:00
Joel Sherrill
2c3840b563 Added new autoconf test for i386 code16/code32 support. The guts of the
test were suggested by Ian Taylor <ian@airs.com> and Joel did the
hard part of putting it in aclocal and editting all the offending
Makefiles and source code which could use this feature.
1998-09-30 20:58:39 +00:00
Wade A Smith
2405b76726 Corrected TYPOs in the file 1998-09-30 20:52:43 +00:00
Joel Sherrill
f65b0903f5 New file from Ralf. 1998-09-30 20:51:54 +00:00
Wade A Smith
8dd54b6363 Updated the STATUS CODE section for the routines in this file. 1998-09-30 20:21:45 +00:00
Joel Sherrill
b931d05af0 Added Id's. 1998-09-30 19:51:39 +00:00
Joel Sherrill
5620149cd6 New configure test from Ian Lance Taylor <ian@airs.com>:
If the target is an i386, this test checks whether or not the binutils
  is new enough to have good support for code16.
1998-09-30 19:51:31 +00:00
Wade A Smith
1dedfde98f Updated the STATUS CODE section of the routines in this file. 1998-09-30 19:39:56 +00:00
Wade A Smith
8ed58e6547 Made formatting changes to the file 1998-09-30 18:19:40 +00:00
Joel Sherrill
4ca5bd8b93 Changed based on patch from pc386 linkcmds from Ian Lance Taylor
<ian@airs.com>:

    The pc386 linker scripts omits .gnu.linkonce.r* sections.  It's not a
    big deal, but they should be treated like .rodata sections.  ELF
    versions of g++ generate them for static constants defined in template
    classes, such as string::npos.
1998-09-30 17:27:57 +00:00
Joel Sherrill
d1d4766494 Patch from Ian Lance Taylor <ian@airs.com>:
The pc386 linker scripts omits .gnu.linkonce.r* sections.  It's not a
    big deal, but they should be treated like .rodata sections.  ELF
    versions of g++ generate them for static constants defined in template
    classes, such as string::npos.
1998-09-30 17:17:23 +00:00
Wade A Smith
c11f51269b Updated the DESCRIPTION section of the times routine. 1998-09-30 15:45:08 +00:00
Wade A Smith
a65c28e785 Documented the fsync and fdatasync routines in this file. 1998-09-30 15:42:46 +00:00
Wade A Smith
9dd238772f Updated the STATUS CODE section for the truncate routine. 1998-09-30 15:40:47 +00:00
Joel Sherrill
17408b901b Patch from Eric Norum <eric@skatter.USask.Ca>:
I found that my 68040/68360 test programs would not run even after
    I fixed the `wrong BSP' problem.

    It seems that there's a bug in the interrupt handling code for
    processors with hardware interrupt stacks (e.g. 68040).  The wrong
    status register was getting pushed on the stack for the `return
    from exception' to call _ISR__Dispatch.   This ended up making
    the context switch code run on the interrupt stack, so interrupt-driven
    context switches would always fail.

    I guess that no one has tried running any of the RTEMS-4.0 snapshots
    on a 68040 machine!

    Anyhow, here are the patches for
        1) gen68360.cfg   ---   to fix the `wrong-BSP' problem.
        2) m68k/cpu_asm.s ---   to fix the hardware interrupt stack problem.

    With these patches in place, the network demo programs run on my
    68040/68360 system.  The paranoia program runs with no failures,
    defects nor flaws.
1998-09-30 13:02:30 +00:00
Wade A Smith
982ed3f825 Made cosmetic changes and documented routines in this file 1998-09-29 21:53:08 +00:00
Wade A Smith
6e62b72e39 Made cosmetic changes and documented routines in file. 1998-09-29 21:52:24 +00:00
Wade A Smith
80189ac259 Made cosmetic changes, and document routines in the file. 1998-09-29 21:51:52 +00:00
Wade A Smith
f1ccfde628 Made cosmetic changes to the file and documented the time, times, and
getimeofday routines.
1998-09-29 21:51:08 +00:00
Joel Sherrill
21bfd93aaf Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
Please find enclosed a patch which enables me to build the bare-bsp for
    sh-rtems.

    Changes:
        1. Add preinstall to libbsp/bare/include/Makefile.in
        2. Removed FORCEIT, add preinstall to
        libbsp/sh/gensh1/include/Makefile.in
        3. Disabled support of set_vector from sh code (shared/setvec.c is still
        present but isn't used anymore), set_vector replaced with standard rtems
        functions.

    Problems still present:
        1. Support of spin-delays in bare bsp
        2. Proper support of cpu frequency

    To configure I used:
        <srcdir>/configure \
        --target=sh-rtems \
        --prefix=<instdir>/sh-bare \
        --enable-bare-cpu-model=sh7032 \
        --enable-bare-cpu-cflags='-Wall -m1 -DMHZ=20
        -DCPU_CONSOLE_DEVNAME="\"/dev/null\""'
        --enable-rtemsbsp=bare \
        --disable-networking \
        --disable-cxx \
        --disable-posix \
        --disable-tests

    IMO, if there are no objections to this patch, a similar approach should
    be applied to all CPUs/BSPs (esp. hppa1.1, mips64orion, ppc403, because
    they apply set_vector inside of libcpu).
1998-09-29 12:40:33 +00:00
Joel Sherrill
766ed7c0f1 Patch from Eric Norum <eric@skatter.usask.ca>:
Remember the test to see if a socket could be read and written at
    the same time by two different tasks?  I discovered that if both
    tasks attempt to close the socket a panic can occur from inside the
    BSD code.

    Closing the same socket twice from two different threads is
    certainly an error, but a panic is not the greatest error reporting
    method :-)

    The following small change to the socket close routine should reduce
    the chances of the panic.
1998-09-29 12:15:08 +00:00
Joel Sherrill
d7fcc1d40a Added sentence to indicate sections were deliberately empty.
Added NONE to Notes sections and "-" to make this easier to fill out later.
1998-09-29 00:05:40 +00:00
Joel Sherrill
241e4c7c0a Added sentence to indicate sections were deliberately empty. 1998-09-29 00:04:53 +00:00
Joel Sherrill
2341410c7a Fleshed out considerably. This is almost a passable manual now. 1998-09-29 00:02:53 +00:00
Joel Sherrill
68e8f631a9 Updated to reference the standards. 1998-09-28 22:54:48 +00:00
Wade A Smith
0f58ab42b6 Documented the mount and umount routines. 1998-09-28 22:09:12 +00:00
Wade A Smith
487c5d58d7 Documented the ftruncate and opendir routines. Removed reference to the
readdir_r routine.
1998-09-28 22:08:41 +00:00
Joel Sherrill
cb646cb936 New files. 1998-09-27 16:37:16 +00:00
Wade A Smith
e21f7d8d48 Documented the following routines: dup, dup2, close, read, write, and fcntl.f 1998-09-27 16:00:18 +00:00
Wade A Smith
389c3e904f Documented the following routines in this file: rewinddir, pathconf,
fpathconf, fchmod, fstat, mkfifo, and telldir
1998-09-26 19:33:58 +00:00
Wade A Smith
64183e20f0 Documented the creat, scandir, and access routines. 1998-09-25 20:11:51 +00:00
Wade A Smith
9a0b0089c3 Docmumented the access routine in for this file. 1998-09-25 16:20:52 +00:00
Joel Sherrill
165988d735 Fixed typos so this would build. 1998-09-25 13:29:19 +00:00
Joel Sherrill
b965227fa1 Now compiles. 1998-09-25 13:28:28 +00:00
Joel Sherrill
1ee9a1a715 Added information on every service in this chapter. Most of them are
ENOSYS stubs at this time.
1998-09-25 13:24:00 +00:00
Joel Sherrill
97149ba590 Added ENOSYS stubs for a number of process routines. 1998-09-25 13:17:32 +00:00
Joel Sherrill
1d2366e5ea Stuff added by Kerwin. 1998-09-25 12:50:36 +00:00
Joel Sherrill
7a86dc4404 Improved missing directory message. 1998-09-24 20:30:09 +00:00
Joel Sherrill
85420c8e32 Removed blank line. 1998-09-24 20:29:52 +00:00
Joel Sherrill
da38d8a3df Removed superfluous initialization of PC video. 1998-09-24 15:43:38 +00:00
Joel Sherrill
32f3e34d4d Patch from Erik Ivanenko <erik.ivanenko@utoronto.ca>:
Please find attached a start.s that includes a cli prior to the hlt
    instruction.  This ensures that external interrupts cannot restart
    the system after returning to the startup code.  ( According to the hlt
    docs, they will! )

    Also find a new timer.c.   ( I forgot to update the countdowm value
    in the timer when I changed the PSCLK frequency in start.s) .  This
    improves timer accuracy.

    The raw_idt_notify messages are no longer infinite, I tested sp11 and
    sp05, both which were bad, and I have seen the message print once in
    one test.  I think it's ok if it prints out once.  In fact, I don't
    think you can effectively stop it!
1998-09-24 13:55:18 +00:00
Joel Sherrill
287e958464 New version from Erik Ivanenko <erik.ivanenko@utoronto.ca>. 1998-09-24 13:46:27 +00:00
Joel Sherrill
1fd26a529c Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>. 1998-09-23 16:46:52 +00:00
Joel Sherrill
ecc3fe3181 IDLE task stack size now specified as a field in the CPU Table for all
ports.
1998-09-23 16:41:00 +00:00
Joel Sherrill
3b93a2dee1 Modifed to zero out the C heap if the CPU Table indicates that the
RTEMS workspace is to be zeroed out.
1998-09-23 16:34:23 +00:00
Joel Sherrill
87c857a983 changed version to 980923 1998-09-23 13:43:44 +00:00
Joel Sherrill
5d17a64258 Updated to remove bad comment. 1998-09-23 13:43:14 +00:00
Joel Sherrill
1cf2df40cb Removed printk() references. 1998-09-23 13:25:37 +00:00
Joel Sherrill
479c86ddbd Patch from Erik Ivanenko <erik.ivanenko@utoronto.ca>:
Please find attached the two files that have been changed  relative to
    980921 .  The changes here are in the handling of the counter-timer used
    as the basis for the rtems executive clock.  For the most part, these
    are housekeeping changes.

    The PSCLK frequency change in start.s... was a part of several
    bug-fixes.  The fix improves executive clock and timer accuracy.

    changes :

    start.s --  All timers are disabled by the initialization routine
            -- PSCLK ( used by clock and timers ) frequency changed to 1MHz

    The clock_initialize routine now assumes that the PSCLK frequency is
    exactly 1 MHz.

    ckinit.c

    Clock_isr            -- removed division by 1000.  Now use 'static'
    variable -- clock_intial_isr_value -- to reset Clock_isrs variable.
    clock_initialize -- moved counter timer initialization here.  Values
    used to configure the timer are totally dependent on
    BSP_configuration.microseconds_per_tick ( and the PSCLK assumption).
    Initializes clock_initial_isr_value used by th Clock_isr to reset
    Clock_isrs.

     clock_on -- no longer configures the timer, just enables it.

    Since altering the number of sections in the BSP, I decided to give it a
    good "once over" .   The clock handling is now cleaner.
1998-09-23 13:22:43 +00:00
Joel Sherrill
8a496e462e Patch from Aleksey (Quality Quorum <qqi@world.std.com>):
1. Finally fixes raw interrupts for pc386
    2. Makes some minor cleanup in console and startup
    3. Makes rtems_termios_dequeue_characters() to return count of
       outstanding chars - it allows to simplify console isrs a little
       bit.
    4. pc386 uart modified to be friendlier to termios parameter changes,
       to have minor performance improvement and to take advantage of
       of above termios modification.
1998-09-23 13:20:34 +00:00
Joel Sherrill
362b88ebb5 Switched "NEW_GAS" flag. 1998-09-23 13:17:23 +00:00
Joel Sherrill
f26f58289e Regenerated. 1998-09-23 13:17:10 +00:00
Wade A Smith
6385cbd430 Updated file based upon red-lines received. 1998-09-21 22:04:07 +00:00
Wade A Smith
98bdf7a125 Updated file based upon read_lines received. 1998-09-21 21:34:04 +00:00
Wade A Smith
f8c5badb5c Updated file based upon red-lines received. 1998-09-21 21:31:59 +00:00
Joel Sherrill
af973e57f3 changed version to 980921 1998-09-21 16:38:20 +00:00
Wade A Smith
219aedad8f Modified sentences in the file to avoid using "shall" statements. 1998-09-21 15:27:03 +00:00
Wade A Smith
f9b0efb045 Described the constants used by the admin_type in the background section
of this file.
1998-09-21 15:17:00 +00:00
Joel Sherrill
42424efe9b Corrected ColdFire port information. 1998-09-21 01:45:14 +00:00
Joel Sherrill
e62488d4dd New file from Emmanuel Raguet <raguet@crf.canon.fr>. 1998-09-21 01:29:19 +00:00
Joel Sherrill
718dc95384 Patch from Eric Norum <eric@skatter.usask.ca>:
Here's a patch to make the rtems_showroute routine a little more
    useful.  For `host' route table entries the link-level address is now
    displayed.  This is equivalent to the old `show arp table'
    information displayed by the KA9Q code.
1998-09-21 00:46:00 +00:00
Joel Sherrill
7ddcfb8cd4 Patch from Eric Norum and David Fiddes to put ColdFire support in
the inet checksum routine.
1998-09-21 00:42:07 +00:00
Joel Sherrill
97d7b068cb Update from Aleksey (Quality Quorum <qqi@world.std.com>) to pick up some
patches missing from 980911.
1998-09-21 00:40:18 +00:00
Joel Sherrill
75e44fa33f Removed by patch from Aleksey. 1998-09-21 00:39:47 +00:00
Joel Sherrill
3f92975714 Patches from Aleksey which were not in 980911.
I am sending you patch which was lost. As far as I remember there
    were minor patches on top of it, either by Eric Valette or
    by Eric Norum or by both.
1998-09-21 00:38:13 +00:00
Joel Sherrill
c610a1f300 Update from Eric Valette <valette@crf.canon.fr>:
Here are patches that bring 980911 back to what I think is a correct
    version of raw IDT management as well as a correct initialisation
    of video console and rtems managed interrupts.
1998-09-21 00:24:51 +00:00
Joel Sherrill
04bc5d97f1 Update from Erik Ivanenko <erik.ivanenko@utoronto.ca> to bring the
i386ex bsp up to date.

1) A 'hlt' instruction is coded in case of a return from boot_card in
  start.s.
1998-09-21 00:23:02 +00:00
Joel Sherrill
30ba7529f1 Patch from Eric Norum:
I fixed the problems noted by Victor Vengerov.

    1) Fix typo in cfsetispeed().
    2) In rtems_termios_open, ensure that args->iop->data1 is set before calling
    device-specific open routine.
1998-09-21 00:01:26 +00:00
Joel Sherrill
6bd0fe402d Patch from Eric Valette <valette@crf.canon.fr>:
Compiled and booted without problem. However console was set on COM2.
  At least for 4.0 it should be video :-)
1998-09-20 23:52:43 +00:00
Wade A Smith
6c455f37fb Remove many of the shall verbs and replaced them with present tense verbs 1998-09-16 15:15:41 +00:00
Wade A Smith
433c558577 Changes the name of readdir, umask, mkdir, chmod, chown to cfg_readdir,
cfg_umask, cfg_mkdir, cfg_chmod, cfg_chown respectively.
1998-09-13 13:44:28 +00:00
Wade A Smith
08142b486b Documented the following routines added to the Configuration Space
Management: readdir, open, umask, link, mkdir, unlink, chmod, and chown.,
1998-09-12 15:57:18 +00:00
Joel Sherrill
bfcf4cb3db Updates to tree to make it build with all desired changes and the conversion
of the SONIC driver to the new FreeBSD stack instead of KA9Q.
1998-09-11 23:35:09 +00:00
Wade A Smith
23f014af5b Added documentation for the log_facilityisvalid routine and add thew
status code EINVAL to the log_seek routine.
1998-09-11 19:21:41 +00:00
Joel Sherrill
b29378e052 Corrected spelling error. 1998-09-11 19:17:49 +00:00
Joel Sherrill
c5bb1e02b6 changed version to 980911 1998-09-11 15:40:41 +00:00
Joel Sherrill
b39563695d Patch from "David J. Fiddes" <D.J@fiddes.surfaid.org>:
I've fixed a few minor probs with the optimised version that Eric put
    together for me the other day and sent the fixes back to him. Provided he
    doesn't have a problem with it we've got a pretty solid in_cksum for the
    ColdFire as well as straight m68k. I've enclosed my updated in_cksum_m68k.c

    At the moment my own bottlenecks are elsewhere...as my driver is pulling
    16bit data chunks through a libchip-esq access routine from the chip which
    for a polled I/O device is never going to be quick.
1998-09-11 13:12:04 +00:00
Joel Sherrill
0ea9829786 Fixed back so it would build. 1998-09-10 13:07:31 +00:00
Joel Sherrill
d2b120444e Added references. 1998-09-10 13:07:20 +00:00
Joel Sherrill
bd3dec56a6 Patch from Eric Norum <eric@skatter.usask.ca>:
If you're getting close to a new snaphot, here's something that
    might be useful to add to the BSP README notes for systems with
    networking.
1998-09-10 12:46:41 +00:00
Joel Sherrill
23cdd84cff Patch from David Fiddes <D.J.Fiddes@hw.ac.uk> to make this compile
for the ColdFire.
1998-09-10 12:43:00 +00:00
Joel Sherrill
b67245d03b Patch from Chris Johns <ccj@acm.org>:
I have managed to build the bsp ods68302 and the rtti test case I made
    with egcs-1.1b and binutils-2.9.1.

    I have built our C++ application and got no link errors so it looks like
    this is now working. I am yet to test the code but getting the thing to
    link was the problem.

    Please find a patch attached which removes the -fno-rtti option.
1998-09-10 12:31:27 +00:00
Joel Sherrill
b7e3949f67 Patch from Eric Valette <valette@crf.canon.fr>. Most of this was included
in a previous patch.  Comments from Eric:

    patch_com2 was before your own fixes of raw IDT vector management
    routine.
    It mainly use human readable constants for the serial line driver code
    + the patch you gave me for com2 write routine.

    I applied your patch for raw IDT mngt on top of that. Then made minor
    cleaning in  patch_idt_mngt. I hope this helps.
1998-09-10 12:28:59 +00:00
Joel Sherrill
109b17f4ad Patch from Eric Norum <eric@skatter.usask.ca> to fix a cryptic error
message after comments from Eric Valette <valette@crf.canon.fr>.
1998-09-10 12:23:08 +00:00
Joel Sherrill
eff217e095 Patch from Emmanuel Raguet <raguet@crf.canon.fr>:
After some good comments from Eric Norum [thanks, Eric !],
    I have added some modifications to my previous driver patch :

        - wait for transmitter ready before sending a packet,

        - new delay management in case of ring-overwritting.
1998-09-10 12:16:39 +00:00
Joel Sherrill
c7cb6bbb5e Added section on format of the configuration space file. 1998-09-09 18:09:23 +00:00
Joel Sherrill
c247120af7 Added gettimeofday(). 1998-09-09 18:09:02 +00:00
Joel Sherrill
8d0ea20e11 New file 1998-09-08 15:19:21 +00:00
Joel Sherrill
62e508fe6d Removed chapter names from automatically generated node names. 1998-09-08 13:17:21 +00:00
Joel Sherrill
d778b4a64f Fixed include file path. 1998-09-08 13:17:08 +00:00
Jennifer Averett
251f8b1fb9 Added text to describe System log, Non-system logs,facility, and severity. 1998-09-02 14:22:40 +00:00
Joel Sherrill
4cf89a8ca7 Fixed spacing. More comments from Eric Norum need to be addressed. 1998-08-31 23:09:17 +00:00
Joel Sherrill
d9d75fce47 Patch from Emmanuel Raguet <raguet@crf.canon.fr>:
I have reworked the ethernet driver for the BSP pc386 and
  here is the patch to apply.
1998-08-31 23:06:50 +00:00
Joel Sherrill
b285860989 Patch from Eric Valette <valette@crf.canon.fr>:
Eric> NB : there is still a bug on PC386 serial line : exit does not
    Eric> flush the remaining output queue. As this is not a bug in the
    Eric> driver itself but somewhere in PC386 initialization/termios
    Eric> relationship it will be part of another patch.

    Eric> NB2 : As Emmanuel excerced the exception hanlder code, while
    Eric> porting the SMC driver to the new BSD stack, we found a bug
    Eric> in the exception handler : it shall not delete the current
    Eric> thread in case we are running at interrupt level. This will
    Eric> be part of another patch...

    So here is the patch. This patch fixes the two problems mentionned above

    + it use vpath mechanism intead of copying the irq related files in
      the right directory.  This avoid to compile them each time and is
      more homogenous with other Makefiles.
1998-08-31 23:03:45 +00:00
Joel Sherrill
de9edc4b52 Patch from Eric Valette <valette@crf.canon.fr>:
Here is a brief description of the attached patch :

    1) There was a bug in the code for the COM2 serial line driver. Aleksey
    gave me a fix that fixes the driver code itself. I would like to thank
    him again publicly,

    2) I introduced constants in the serial driver code because I had a hard
    time reading the meanning of hexadecimal values in the NS data book :)

    3)You can now mix printk and printf on serial line (tested on COM2).
    There is a #ifdef PRINTK_ON_SERIAL in console.c that enables to have
    printk on console while printf on serial line,
    4) Removed call to displayCpuInfo because anyway if was at the wrong
    place for serial line console (too early). It can anyway be called at
    application level,

    5) The original printk was unable to display negative integer values
    and was also recursive. It now works corectly,

    All the modifications have been tested here on the COM2 port from
    a PC running RTEMS to a PC running linux,

    NB : there is still a bug on PC386 serial line : exit does not flush the
    remaining output queue. As this is not a bug in the driver itself but
    somewhere in PC386 initialization/termios relationship it will be part
    of another patch.

    NB2 : As Emmanuel excerced the exception hanlder code, while porting the
    SMC driver to the new BSD stack, we found a bug in the exception
    handler : it shall not delete the current thread in case we are running
    at interrupt level. This will be part of another patch...
1998-08-31 22:56:20 +00:00
Joel Sherrill
85734b3c8f Patch from Eric Norum <eric@skatter.usask.ca>:
I think I figured out why rtems_panic was locking up instead of
    shutting down the executive and returning to the code that called
    boot_card().

    Later on there is code to print some messages on the standard error
    stream, a recursive call back to rtems_verror (through rtems_error)
    and finally a call to _exit().

    I think that the _Thread_Disable_dispatch() is preventing the final
    context switch back to the boot_card() code.  Does this sound right
    to you?
1998-08-31 22:53:42 +00:00
Wade A Smith
90c60f7931 Updated the descriptions section for the log_create and log_sys_create
functions.d
1998-08-31 15:39:03 +00:00
Joel Sherrill
82db2d3ade Reviewed log_read(). 1998-08-28 19:59:44 +00:00
Joel Sherrill
566669f5f1 Reviewed and corrected log_write(), log_write_any(), and log_write_entry(). 1998-08-28 16:48:45 +00:00
Joel Sherrill
b67f7946c9 Added log_write_any and part of log_copy.
Reviewed log_close.
1998-08-28 14:32:01 +00:00
Joel Sherrill
61b1b37c0d Added author credit. 1998-08-28 13:31:40 +00:00
Joel Sherrill
f96e8ee0f5 Added CVS Ids. 1998-08-28 13:27:36 +00:00
Joel Sherrill
e061a0074d Added top level file and cleaned up chapter names 1998-08-28 13:27:05 +00:00
Joel Sherrill
6968c9eb04 Undid renaming. 1998-08-28 13:26:25 +00:00
Joel Sherrill
0918cc421d Renamed intro to preface. 1998-08-28 13:25:22 +00:00
Joel Sherrill
07b3693f17 Base files 1998-08-28 13:21:53 +00:00
Joel Sherrill
a44a927b21 New file 1998-08-28 13:09:54 +00:00
Joel Sherrill
af5a571ea8 Updated log_seek() per review. 1998-08-27 20:53:21 +00:00
Joel Sherrill
6520befebb Modified log_open() to reflect review. 1998-08-27 20:16:39 +00:00
Joel Sherrill
d65d22a096 Corrected descriptions of log facility set manipulation routines as
part of the review.
1998-08-27 18:53:34 +00:00
Joel Sherrill
c5568160cb Corrected log_severity_before as part of reviewing the code. 1998-08-27 18:28:17 +00:00
Wade A Smith
9c79229d33 Incorporated the "#include <dump.h>" statement in file. 1998-08-26 14:18:36 +00:00
Wade A Smith
3e6eb1dd20 Incorporated the "#include cfg.h" statement in document 1998-08-26 14:13:48 +00:00
Wade A Smith
984e5c1d18 Incorporated the "#include <admin.h>" statement in file 1998-08-26 14:11:48 +00:00
Wade A Smith
30cc2e0722 Corrected mispelled words. 1998-08-26 14:08:20 +00:00
Joel Sherrill
571a9155fe Added some background and operations subsections. 1998-08-25 22:09:13 +00:00
Joel Sherrill
a99ea16bed Fixed spelling mistakes. 1998-08-25 21:02:58 +00:00
Joel Sherrill
142f6a5125 Fixed spelling mistake. 1998-08-25 20:56:43 +00:00
Joel Sherrill
d1a859c0c2 Cleaned up formatting.
Added notes on background and operations sections.

Added NOTE to indicate the feature flag defined.
1998-08-25 20:54:47 +00:00
Joel Sherrill
d5ef5bd16f Commit for review 1998-08-25 19:49:51 +00:00
Wade A Smith
2a23c28060 Documented the log_create and log_sys_create routines 1998-08-25 15:26:19 +00:00
Joel Sherrill
fd001d6fdb Posix users manual now makes multiple info files. 1998-08-24 17:38:00 +00:00
Joel Sherrill
755923238d changed version to 980824 1998-08-24 17:32:58 +00:00
Joel Sherrill
564d2c3a6b Patch from Eric Valette <valette@crf.canon.fr> to add an extra newline. 1998-08-24 16:59:20 +00:00
Joel Sherrill
69036586b5 Patch from Eric Valette <valette@crf.canon.fr>:
Celso Labinaz <labinaz@tin.it> pointed to me thatthe console on serial
    line was not working. After spending quite a time to find the right
    cable and software, I confirm this.

    I'm going to debug this in the next days because I want to use the
    serial line for debugging. In the meantime, in order to be sure that
    this was a driver initialization/bug, I made printk work on the serial
    line in order to be sure the receiver part and configuration was OK.

    Here is the for printk on serial line. BTW, does anyone else use the
    serial line facilities for PC? printf seems to output nothing (hello.exe
    output everything that has a printk but application printf seems to be
    broken).
1998-08-24 16:58:39 +00:00
Joel Sherrill
16f2037643 Regenerated 1998-08-24 14:50:23 +00:00
Joel Sherrill
ff0b0082b1 Added __RTEMS_INSIDE__ macro to insure that ".inl" files are ALWAYS included
when building the executive source.
1998-08-24 14:50:00 +00:00
Joel Sherrill
9a95524f29 Cleanup patch from Eric Norum. 1998-08-24 14:47:19 +00:00
Joel Sherrill
dffa3046d2 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
The patch (rtems-rc-980821.diff) I had sent recently to fix the "make
    install" problem in rtems-980821/make/ still contained a bug (Thanks to
    Eric N. for reporting it).

    The patch enclosed to this mail is a corrected version of this patch,
    which finally should fix this problem.
1998-08-24 14:44:54 +00:00
Joel Sherrill
4baa0f58cc changed version to 980821 1998-08-21 18:19:29 +00:00
Joel Sherrill
4de817dfd2 Added i386 specific version of in_cksum.c and restructured the main
file to switch out to CPU specific implementations.
1998-08-21 18:14:27 +00:00
Joel Sherrill
cce81a748f A patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
Here is another patch to hopefully enhance rtems' configuration.

    Motivation: Try to support other c-compilers besides gcc (I tried to
    build rtems under Solaris using sun's WSPro c-compiler).

    Here is a couple of small patches concerning the host compiler
    configuration, which fix/work-around the worst problems when using sun's
    WSPro c-compiler.

    Changes:
        * Replaced make/compilers/gcc.cfg with make/compilers/gcc.cfg.in, ie.
          gcc.cfg is generated by configure now.
        * Removed a line containing a hard-coded "gcc" from gcc.cfg (BUG-fix).
        * Add -g to host compiler flags only if configure reported -g to work
        * Add -Wall to host compiler flags only if configure reported that the
          host compiler is gcc (WSPro's cc chokes on -Wall).
        * Some modifications to make/Makefile.in
        * Adapted make/custom/default.cfg to the new location of gcc.cfg

    BTW, gcc.cfg/gcc.cfg.in seems to be full of unused code (DEBUG-VARIANTS
    etc.) which deserves to be cleaned up, IMO.

    IMO, a similar patch should be applied to gcc-target-default.cfg
1998-08-21 17:43:22 +00:00
Joel Sherrill
aa2171bd13 Modified version number to recut snapshot. 1998-08-21 17:42:25 +00:00
Joel Sherrill
617a1a2db1 Another missing piece. Thanks Eric. 1998-08-21 17:37:01 +00:00
Joel Sherrill
025eb96e78 changed version to 980821 1998-08-21 17:09:04 +00:00
Joel Sherrill
7a035ebcc0 Added system task attribute to allow one to create a task with "0" priority
via the user api.
1998-08-21 16:54:17 +00:00
Joel Sherrill
eb562f2c86 Patch from Eric Valette <valette@crf.canon.fr>:
Here is a patch that enables to catch exception
    and get message before crashing RTEMS :)

    It should be generic to any Intel port although enabled
    only for pc386 BSP...

    [Joel] I fixed the bug I introduced in irq_asm.s...
1998-08-21 16:39:52 +00:00
Joel Sherrill
2938140589 Spacing changes 1998-08-21 16:16:00 +00:00
Joel Sherrill
b3fd16416c Fix from Eric Norum <eric@skatter.usask.ca>:
"Thomas Doerfler" <td@imd.m.isar.de> wrote:
>
> While implementing/testing the console/termios support for
> PPC403 in RTEMS-4.0.0-beta3, I am stuck at a certain location in
> termios.c:
>
> During "rtems_termios_initialize", the main control data structure
> "*tty" is allocated using malloc(). (Note, that malloc does not
> clear the allocated memory and my BSP does not clear memory during
> startup). Furtheron, a lot of fields of that structure are
> initialized, but the field "rawOutBufState" is not, and therefore
> keeps an arbitrary contents.
>
> When "osend()" is called the first time(with the serial device
> driver working in interrupt mode), termios gets stuck and will not
> call the device drivers output function.
>
> My questions now are:
>
> - anybody already experienced this bug?
> - is it a bug at all or did I do anything fundamentally wrong?
> - is there already a common bugfix for that?
>
> I don't like poking around in other people code, as long as I am
> not absolutely sure, what I do...

Yes, there's a bug there.
I thought that Joel had patched this already, but here's a patch to
fix this.  This patch also addresses a concern that many others have
raised regarding enabling and disabling of transmitter interrupts.

First, here's the example I've been using of a simple UART-style
interrupt-driven driver:
===============================================================
void
device_write_routine (int minor, char *buf, int count)
{
        UART->control_register &= ~UART_TRANSMITTER_READY;
        UART->output_register = *buf;
        UART->control_register |= UART_TRANSMIT_INTERRUPT_ENABLE;
}

void
device_transmit_interrupt_routine (int vector)
{
        UART->control_register &= ~UART_TRANSMIT_INTERRUPT_ENABLE;
        rtems_termios_dequeue_characters (device_ttyp, 1);
}
==============================================================


Several people have expressed their concern about the disable/enable
of transmitter interrupts for every character.  On some machines
this disable/enable is an expensive operation.  With the attached
patch applied you can write the two routines as:
==============================================================
void
device_write_routine (int minor, char *buf, int count)
{
        code_to_clear_transmitter_ready_status ();
        if (device_ttyp->rawOutBufState == rob_idle)
                code_to_enable_transmitter_interrupts ();
        code_to_send_one_character_to_transmitter (*buf);
}

void
device_transmit_interrupt_routine (int vector)
{
        rtems_termios_dequeue_characters (device_ttyp, 1);
        if (device_ttyp->rawOutBufState == rob_idle)
                code_to_disable_transmitter_interrupts ();
}
===============================================================
1998-08-21 15:32:19 +00:00
Joel Sherrill
d47de32ff7 Update from Eric Norum. 1998-08-21 14:04:31 +00:00
Joel Sherrill
3c7f112a9e Regenerated 1998-08-21 13:05:18 +00:00
Joel Sherrill
33679ec46e All warnings removed. 1998-08-21 13:04:55 +00:00
Joel Sherrill
c3a1c0585c Removed networkconfig.h since it reflects target specific initialization. 1998-08-21 13:04:36 +00:00
Joel Sherrill
a83dd86106 Patch from Eric Norum 1998-08-21 12:59:04 +00:00
Joel Sherrill
d9de76f670 Update from Eric Norum. 1998-08-21 12:55:03 +00:00
Joel Sherrill
dd89471b86 Changed version. 1998-08-21 12:54:51 +00:00
Joel Sherrill
bd89c6c5a4 Added Networking and Obsoleted KA9Q manual. 1998-08-21 12:54:39 +00:00
Joel Sherrill
7c32af798e Added networking to public documents. 1998-08-21 12:54:19 +00:00
Joel Sherrill
6b384d927f Changed date/version. 1998-08-21 12:54:02 +00:00
Joel Sherrill
bbdab89563 Added initialization of missing termios structure entries. 1998-08-21 12:52:08 +00:00
Joel Sherrill
ab09043a27 Fixed warning about pointer/integer conversion which turned out to be
a missed "&" on a write.
1998-08-21 12:51:29 +00:00
Joel Sherrill
fd808baef4 Fixed discrepancies noted by John Oleynick <johno@sirius.com>. 1998-08-21 12:48:44 +00:00
Joel Sherrill
3f6b1baa92 Made the description of timeing generation more accurate. 1998-08-20 22:37:47 +00:00
Joel Sherrill
1e291bb060 Changed wording to read better for PSIM. 1998-08-20 22:37:12 +00:00
Joel Sherrill
7ddc6484ab New times. 1998-08-20 22:36:45 +00:00
Joel Sherrill
829c0c1964 Changed distribution level for this document. 1998-08-20 22:36:38 +00:00
Joel Sherrill
53c3f5fe24 Switched from generating tables based on CPU model to BSP. 1998-08-20 22:35:54 +00:00
Joel Sherrill
6a31f1dd2b Changed version. 1998-08-20 22:35:25 +00:00
Joel Sherrill
3866cd6ab4 PowerPC Supplement now part of support documentation. 1998-08-20 22:34:50 +00:00
Joel Sherrill
895dd076f0 rtems_support.html added. 1998-08-20 22:34:25 +00:00
Joel Sherrill
ad5074e3da New file 1998-08-20 22:32:06 +00:00
Joel Sherrill
3dd11faadf rtems_full.html sed'ed to get right version number. 1998-08-20 22:30:46 +00:00
Joel Sherrill
d7ee43ffb3 PowerPC now part of customer support version. 1998-08-20 22:30:28 +00:00
Joel Sherrill
a9cfa2380f changed version to 980820pm-BSD 1998-08-20 22:11:31 +00:00
Joel Sherrill
28e7d7faed Patches from Eric Norum 1998-08-20 22:04:22 +00:00
Joel Sherrill
96b3916409 Added CVS Ids 1998-08-20 21:56:40 +00:00
Joel Sherrill
ff0f694d46 Fixed many warnings. 1998-08-20 21:47:37 +00:00
Joel Sherrill
50ea4814aa changed version to 980820-BSD 1998-08-20 16:04:58 +00:00
Joel Sherrill
7c16a331ed Regenerated. 1998-08-20 16:02:47 +00:00
Joel Sherrill
2394b5abec Changed to avoid use of gets(). 1998-08-20 15:56:57 +00:00
Joel Sherrill
dcc240473f Updated to reflect TCP/IP stack transition. 1998-08-20 15:46:13 +00:00
Joel Sherrill
f205fe6d1c Updated to reflect stack transition. 1998-08-20 15:46:07 +00:00
Joel Sherrill
d9e62248e4 Temporarily leave strsep out of the build. 1998-08-20 15:38:30 +00:00
Joel Sherrill
4e1d5c69f6 Added missing file. 1998-08-20 15:38:15 +00:00
Joel Sherrill
53ee76b453 Removed stub implementation 1998-08-20 15:37:42 +00:00
Joel Sherrill
0280cb66f5 FreeBSD stack compiles for the first time (except libc/strsep.c) 1998-08-20 14:39:09 +00:00
Joel Sherrill
3f098aed45 FreeBSD stack compiles for the first time (except libc/strsep.c). 1998-08-20 14:37:17 +00:00
Joel Sherrill
c197b6c2ec Base files 1998-08-20 12:54:04 +00:00
Joel Sherrill
888497d232 Base files 1998-08-20 12:45:04 +00:00
Joel Sherrill
f31f46d2b2 Base version. 1998-08-20 12:37:35 +00:00
Joel Sherrill
39e6e65a2c Base files 1998-08-19 21:32:28 +00:00
Joel Sherrill
4328ba112f First version produced. 1998-08-19 20:50:47 +00:00
Joel Sherrill
071536e655 Renamed files ... just about to produce the first copy of the manual. 1998-08-19 20:45:19 +00:00
Joel Sherrill
ab0c6890bf Baseline 1998-08-19 20:29:35 +00:00
Joel Sherrill
26b5c77fb1 changed version to 980819 1998-08-19 20:25:21 +00:00
Joel Sherrill
8b2ee37c38 Patch from Eric Valette <valette@crf.canon.fr>:
- Use the "hlt" instruction for the Idle thread,
        - Optimise interrupt PATH leadding to thread wakeup,
        - Preparation for Intel exception management that should
        come before the end of the week...
1998-08-19 20:09:59 +00:00
Joel Sherrill
7549e147ae Fixed obsolete reference to BSDINSTALL. 1998-08-19 20:02:10 +00:00
Joel Sherrill
0375c72aaa Patch from Aleksey <qqi@world.std.com>:
This patch has same changes as one I sent to you earlier plus
    it fixes _heap_size problem for pc386 we had discussed earlier.

    Now, _heap_size is defined and set to 0 in pc386/startup/bspstart.c

    It can be patched to desireable value in binary image. If it is
    left unpatched, then startup code will determine size of memory
    (on the assumption that at least 2MB are present) and use
    max possible heap.
1998-08-19 14:47:39 +00:00
Joel Sherrill
2d7d605fdf Patch from Aleksey <qqi@world.std.com>:
It fixes netboot build problem, KA9Q configuration
    for pc386, some compiler wardning, it also removed some stuff
    ifdef'ed with '#if 0'.
1998-08-19 14:41:23 +00:00
Joel Sherrill
06fa582130 Patches from Ralf Corsepius <corsepiu@faw.uni-ulm.de> and myself to
make solaris target buildable.

    > 1.  The ipc check fails since solaris does not define union semun.
    > The unix port code actually defines this type itself on solaris.  Doing
    > the same thing lets it get configured.  Then...

    > 2.  It looks like BSDINSTALL is not defined properly.

    BSDINSTALL is defined in make/host.cfg.in as
    BSDINSTALL=@INSTALL@

    @INSTALL@ is generated by autoconf's standard macro AC_PROG_INSTALL, which
    is widely used in almost any autoconf/automake configured package. In case
    there is really something wrong with it, then it must be considered a bug
    in autoconf.

    I can see a doubious fragment in AC_PROG_INSTALL, which is used when no
    appropriate bsd-install is found.

Finally Ralf saw a problem with the find on solaris which I also saw and
fixed.
1998-08-19 12:56:20 +00:00
Joel Sherrill
b93a1ab9ff Cleaned up the ka9q definition. 1998-08-19 12:42:35 +00:00
Joel Sherrill
f2226f4422 Added 68060 definition from Chris Johns. 1998-08-19 12:41:22 +00:00
Joel Sherrill
e013fe3cd0 If 0 out the code which touches the chip in questionable ways for processing
a giant packet.
1998-08-14 16:55:50 +00:00
Joel Sherrill
7ba7108101 Changed tm27 clear interrupt macro on all PPC BSPs except the papyrus. 1998-08-14 15:24:09 +00:00
Joel Sherrill
db8e8a8bef Added information on caching. 1998-08-14 15:23:33 +00:00
Joel Sherrill
0088e39c49 Updated. 1998-08-14 15:23:22 +00:00
Joel Sherrill
2097470057 Fixed version reference 1998-08-13 22:46:59 +00:00
Joel Sherrill
3978eec2e8 Updated. 1998-08-13 22:46:35 +00:00
Joel Sherrill
83c1360255 New times for 4.0.0-lmco 1998-08-13 22:22:12 +00:00
Joel Sherrill
43abd4d525 Fixed preinstall stanza so the prebuild works. 1998-08-13 22:03:14 +00:00
Joel Sherrill
6ddf0543b4 Switched from presenting timing data based on CPU models to presenting it
based on board model.
1998-08-13 21:24:50 +00:00
Joel Sherrill
fba4a16cb0 New file 1998-08-13 21:18:03 +00:00
Joel Sherrill
abb3c7557e Added DMV177 times files and made this all regenerate with two timing
chapters.
1998-08-13 21:17:35 +00:00
Joel Sherrill
eac2c4e05f Added text to clarify the queueing of multiple events. 1998-08-13 18:18:18 +00:00
Joel Sherrill
3e6d74967d Added bswap feature. 1998-08-13 18:17:49 +00:00
Joel Sherrill
f6f0b30a28 Updated version information. 1998-08-13 18:17:05 +00:00
Joel Sherrill
ee056f7163 Updated the disk space required.
Fixed a typo in the hello world example.
1998-08-13 18:16:55 +00:00
Joel Sherrill
5d7eafea36 Corrected name of build script and other minor things in the list of
needed tools.

Corrected path to patches.

Added warning about putting the install point under the build tree.
1998-08-13 18:16:03 +00:00
Joel Sherrill
5144c6db89 Added a warning about positioning the INSTALL_POINT under the build
tree.
1998-08-13 18:14:46 +00:00
Joel Sherrill
bf36029692 Added RTEMS.src stanza dn commands to run it. 1998-08-13 18:14:00 +00:00
Joel Sherrill
af24ac45c0 Changed settings for RPREFIX and DIRPREFIX. 1998-08-13 18:13:35 +00:00
Joel Sherrill
c82e1eabfd Updated version number 1998-08-13 18:13:05 +00:00
Joel Sherrill
d0e5f650e5 Updated to include standard number. 1998-08-13 18:11:21 +00:00
Joel Sherrill
368d64ae5f Updated. 1998-08-13 18:10:26 +00:00
Joel Sherrill
61b9f5d0bd New dates and versions. 1998-08-13 18:10:09 +00:00
Joel Sherrill
db99b6c321 Changed phone number to reflect new area code. 1998-08-13 18:09:44 +00:00
Joel Sherrill
8626d6dd79 base line -- copied from erc32 1998-08-13 17:46:27 +00:00
Joel Sherrill
af3e81c994 Enable TX interrupts only when we need TDAs. 1998-08-13 16:53:37 +00:00
Joel Sherrill
1253f39fd5 Cleaned up some debugging stuff.
Redid interrupt handler to read imr/isr once and to write the imr once.
1998-08-13 16:20:14 +00:00
Joel Sherrill
70502bc4c5 Don't disable the RX/TX on close in polled mode.
Fixed a comment.
1998-08-13 15:52:40 +00:00
Joel Sherrill
579fc6a3a3 Per request from Chris Johns <ccj@acm.org>, I added code to detect
when the bare bsp was enabled without setting both --enable-cpu-model
and --enable-cpu-cflags.
1998-08-13 14:47:18 +00:00
Joel Sherrill
9898425921 Patch from Chris Johns <ccj@acm.org> to change the way in which the initial
stack pointers are saved.
1998-08-13 14:28:22 +00:00
Joel Sherrill
26e5cd406a Patch from Chris Johns <ccj@acm.org>. Comments follow:
Here is a small patch which allows the m68060 to be used. I have not
    tested the FP switching stuff which we know is broken. This is taken
    against the libchip snapshot but should merge without problems. If you
    have any problems please let me know.

    There are other smaller issues such as superscalar enable and cache
    control which I have not addressed yet. They are different to all other
    m68k processors. These can wait IMO.
1998-08-13 14:23:37 +00:00
Joel Sherrill
7e19c72b13 fixed spacing 1998-08-13 14:22:48 +00:00
Joel Sherrill
ae320e0f3c Removed spurious prints and cleaned up XXX. 1998-08-12 23:53:23 +00:00
Joel Sherrill
9693fac4d7 Added more debug information. There are probably debug prints left in.
Fixed one important bug.  After wrapping the RX Descriptors all had the
EOL bit set which resulted in everything slowing down massively.
1998-08-12 23:10:38 +00:00
Wade A Smith
3f9da79a0a Updated the description section of the cfg_open and cfg_read routines 1998-08-12 16:57:27 +00:00
Joel Sherrill
4f38b71397 Fixed bug where the last link of the RDA was not initialized properly. 1998-08-12 16:28:17 +00:00
Wade A Smith
b032c170af Updated the description section of the admin_shutdown routine. 1998-08-11 22:50:07 +00:00
Wade A Smith
c40ad43d4e Updated the description section for the dump_setpath routine. 1998-08-11 22:34:41 +00:00
Wade A Smith
2dd561a3f6 Updated the description section for the following routines:
log_close, log_seek, log_severity_before, log_facilityemptyset,
   log_facilityfillset, log_facilityaddset, log_facilitydelset,
   and log_facilityismember
1998-08-11 22:10:51 +00:00
Wade A Smith
09470e0f69 Updated the Description section for the following routines:
log_notify, log_read, log_open, and log_write.
1998-08-11 20:38:09 +00:00
Joel Sherrill
7d07970eed Added SONIC_DEBUG_DESCRIPTORS and changed debug level. 1998-08-11 14:20:26 +00:00
Joel Sherrill
339737bad7 Survives 16-20 packets. Appears to be ok on TX buffer management.
Problem appears to be on the RX buffer initialization side.
1998-08-10 23:20:25 +00:00
Wade A Smith
0cac61eaf5 Update the description section for the log_write function. 1998-08-10 22:35:04 +00:00
Joel Sherrill
3fbd528781 Added prints 1998-08-10 22:23:33 +00:00
Wade A Smith
df8d36014c Updated the Description section for the Configuration Space Management
routines.
1998-08-10 22:01:23 +00:00
Joel Sherrill
7344fba988 Can now reply to multiple successive pings successfully without being in
promiscuous mode.

It still dies somewhere between 16 and 20 pings.
1998-08-10 21:45:01 +00:00
Joel Sherrill
c153a7bd9e replies to ping -- forced into prosmiscuous mode 1998-08-10 21:27:33 +00:00
Wade A Smith
988629063c Added to the description section of the Configuration Space Operations. 1998-08-10 16:41:46 +00:00
Wade A Smith
b044905b12 Documented the admin_shutdown function 1998-08-10 14:54:01 +00:00
Wade A Smith
ebc67925f5 Documented the following Event Logging routines:
log_write, log_open, log_read, log_notify, log_close, log_seek,
log_severity_before, log_facilityemptyset, log_facilityfillset,
log_facilityaddset, log_facilitydelset, and log_facilityismember
1998-08-10 14:53:01 +00:00
Wade A Smith
8c82d8d1d9 Documented the dump_setpath function. 1998-08-10 14:48:01 +00:00
Wade A Smith
e6bfa70c80 Added documentation for the following Configuration Space Operations:
cfg_mount, cfg_unmount, cfg_mknod, cfg_set, cfg_get, cfg_link, cfg_unlink,
cfg_open, cfg_read, cfg_children, cfg_mark, and cfg_close
1998-08-10 14:44:39 +00:00
Joel Sherrill
0c0419a1f1 Reordered some stuff. 1998-08-08 17:57:23 +00:00
Joel Sherrill
18c2320c6e changed version to 980808 1998-08-08 16:51:16 +00:00
Joel Sherrill
870284d103 Corrected spacing. 1998-08-08 16:37:43 +00:00
Joel Sherrill
301a2a3c0b Changed debug level.
Moved CAM Descriptor types to sonic.h.

CAM memory is now malloced to insure it shares the same upper address bits.

Removed increment of RX interrupt count on TX interrupt path.

Added SONIC_DEBUG_FRAGMENTS and SONIC_DEBUG_CAM conditionals.

Fixed bugs in fragment manipulation.  First bug was that the pad overwrote
the last fragment.  The second bug was that the link information overwrote
the size of the last fragment.

Rewrote initialization of TDA to simplify it.
1998-08-08 16:37:25 +00:00
Joel Sherrill
7e2187f4ad changed version to 9800808 1998-08-08 16:26:35 +00:00
Joel Sherrill
13451a384b Removed SonicRegisters structure since we now use register indices
and access routines.

Added revision constants.

Added in_use and EOL field values.
1998-08-06 19:01:03 +00:00
Joel Sherrill
e70a8f16b5 Enabled specific types of debug info.
Added pointer to RDA to sonic structure.

Added macro names for values used in the in_use field of RDA entries.

Rewrote the RX Descriptor Area initialization loop.

Added a check to barf if this is a Rev B sonic chip.

Enabled check that the CAM was properly loaded.
1998-08-06 19:01:02 +00:00
Joel Sherrill
e995f3a1ac Changed debug enable macros to support individually enabling different
types of debug information.

Removed call to rtems_panic which was based on checking a variable which
was no longer being set.
1998-08-06 15:27:08 +00:00
Joel Sherrill
c23118b036 Card Resource Register was a 16-bit register not a 32-bit one.
Used existing constants for bits on the register.
1998-08-06 15:05:59 +00:00
Joel Sherrill
308e18c397 Added support for the Card Resource Register. The new probe routines
check for the presence of the DUART, SCC, and RTC.  The SONIC check
needs to be added in the future as the network driver is libchip'ed.
1998-08-06 00:24:52 +00:00
Joel Sherrill
0eb85ae3e7 Commented out the code which yields the CPU when the serial controller is
busy.  This type of behavior perturbs the tests and many of them will
not pass.
1998-08-05 23:57:35 +00:00
Joel Sherrill
d4bf16c50f Added constants which made the multiple bit settings more readable
for the Data Configuration Register (DCR).
1998-08-05 23:56:48 +00:00
Joel Sherrill
dddc0557e5 DCR setting changed to match what the DY-4 Firmware initialized it to.
This primarily included setting the state of the programmable outputs
and the RX and TX FIFO depths.

Moved all of the TX, RX, and RRA data structure initialization to before
the hardware initialization.  As part of this, the hardware initialization
was consolidated.  More than likely, some of this movement broke stuff.

Used constants added to sonic.h which gave more logical names to some
of the register bit settings.

Switched to calloc to insure the data areas where initialized to 0.

Commented out a panic check in the RX server which may or may not have
been right.

Increased the size of the CAM initialization area.  It is possible
that this could be decreased or code added to handle the management
of multiple hardware addresses.

Added sonic read and write register routines which aid greatly in
debugging and provide the core for the eventual movement of this
driver to libchip.

Added debug code to the read and write register routines which can
print the value read from or written to a register.  This code also
prints the register name which significantly eases reading the log.
1998-08-05 23:56:13 +00:00
Joel Sherrill
bd8c8b2a85 Patch from Eric Valette <valette@crf.canon.fr> which brings the i386ex BSP
inline with the new IRQ structure.
1998-08-05 16:51:39 +00:00
Joel Sherrill
0e3c009625 changed load address 1998-08-05 15:44:09 +00:00
Joel Sherrill
ab0df696d0 Automatic CPU type detection code from Eric Valette <valette@crf.canon.fr>.
Enabled on the pc386.
1998-08-05 15:15:46 +00:00
Joel Sherrill
50947110ec Fixed name of Buffer so this would compile. 1998-08-05 15:12:03 +00:00
Joel Sherrill
4d11a92f3e Redid Makefiles to properly do a preinstall. There was remnants of the
old way of setting th cpu family and model string names.
1998-08-05 15:11:33 +00:00
Joel Sherrill
b31fdf8d03 Added print of the order in which the directories are preinstalled. 1998-08-05 15:10:18 +00:00
Joel Sherrill
16bed8add3 More complete shells generated. 1998-08-04 19:25:14 +00:00
Joel Sherrill
7fc5d54e27 Switched to read/write register routines and added some basic debug
help.
1998-08-03 21:01:21 +00:00
Joel Sherrill
832e33c5ec Added many new chapters 1998-08-03 18:30:21 +00:00
Joel Sherrill
92ef2252b8 Under allcoated task stacks. 1998-08-03 15:06:27 +00:00
Joel Sherrill
f1316c4ba0 Changed to be posix users "new" 1998-08-01 17:03:13 +00:00
Joel Sherrill
f6b9fc698c Added files and directories. 1998-08-01 17:03:01 +00:00
Joel Sherrill
2a41ab814d Fixed to add files and directories.
Fixed so this is installed as "POSIX Users New"
1998-08-01 17:02:50 +00:00
Joel Sherrill
c76d52770d Added process and procenv. 1998-08-01 16:36:26 +00:00
Joel Sherrill
d502c1525a Added language variables. 1998-08-01 16:36:14 +00:00
Joel Sherrill
45c00d4090 Now generates complete template for chapters. 1998-08-01 16:36:03 +00:00
Joel Sherrill
aa72f368ce New files -- automatically gnerated templates. 1998-08-01 16:35:43 +00:00
Joel Sherrill
8ced79b315 New file 1998-08-01 16:09:29 +00:00
Joel Sherrill
dfef768f3c Removed items which are now automatically generated. 1998-08-01 15:59:56 +00:00
Joel Sherrill
3c562515f3 New file. 1998-08-01 15:50:54 +00:00
Joel Sherrill
4ebb4862d2 Removed all node and menu information since this information is now
automatically generated.

Removed any attempts to link across chapter boundaries since the manual
is incomplete.
1998-08-01 15:49:38 +00:00
Joel Sherrill
c89fdeacda Modified so chapters are automatically generated. 1998-08-01 15:48:29 +00:00
Joel Sherrill
6b16b465eb New file 1998-08-01 15:47:46 +00:00
Joel Sherrill
02d8713bfd Don't automatically generate this one. 1998-08-01 15:43:28 +00:00
Joel Sherrill
89e5a583db Moved to thread.t and node information automatically generated 1998-08-01 15:37:48 +00:00
Joel Sherrill
3dc05f7f76 Moved to signal.t and node information automatically generated 1998-08-01 15:37:47 +00:00
Joel Sherrill
06f8ea6653 Moved to sched.t and node information automatically generated 1998-08-01 15:37:46 +00:00
Joel Sherrill
ea16ebc895 Moved to preface.t and node information automatically generated 1998-08-01 15:37:45 +00:00
Joel Sherrill
0574b92c7d Moved to mutex.t and node information automatically generated 1998-08-01 15:37:44 +00:00
Joel Sherrill
090378d02a Moved to key.t and node information automatically generated 1998-08-01 15:37:43 +00:00
Joel Sherrill
ed7ce41613 Moved to cond.t and node information automatically generated 1998-08-01 15:37:42 +00:00
Joel Sherrill
f4e6ea3fe0 Moved to clock.t and node information automatically generated 1998-08-01 15:37:41 +00:00
Joel Sherrill
6c914e928c Added automatic generation of files. 1998-08-01 15:31:49 +00:00
Joel Sherrill
93e3b8a36e Moved to network demos 1998-08-01 15:01:59 +00:00
Joel Sherrill
8c6e195ae3 Patch from David Fiddes <D.J.Fiddes@hw.ac.uk> to make ASFLAGS include the
CPU_ASFLAGS.
1998-08-01 14:41:45 +00:00
Joel Sherrill
906577f4f6 Patch from David Fiddes <D.J.Fiddes@hw.ac.uk> to not use this file for
ColdFires.  It is just too wrong to fix.
1998-08-01 14:41:20 +00:00
Joel Sherrill
5ef4fae650 Merged patch from David Fiddes <D.J.Fiddes@hw.ac.uk> to add ColdFire
specific register macros and correct code in rtems.s.
1998-08-01 14:40:51 +00:00
Joel Sherrill
f177865318 Added Rod Barman (rodb@cs.ubc.ca) in credits for ColdFire. 1998-08-01 14:39:24 +00:00
Joel Sherrill
2889189580 Changed name of network driver. 1998-07-30 22:57:21 +00:00
Joel Sherrill
fa6552075f Added temporary include of dmv170.h 1998-07-30 22:57:12 +00:00
Joel Sherrill
4fbf114e90 Added SONIC configuration information. 1998-07-30 22:56:56 +00:00
Joel Sherrill
56392179dd Added a hint to continue writing this. 1998-07-30 22:56:17 +00:00
Joel Sherrill
d9bc023acf Updated. 1998-07-30 21:30:46 +00:00
Joel Sherrill
509dc7c18d Added getRealTime() and setRealTime().
Reimplemented checkRealTime() to use RTEMS internal routine.
1998-07-30 21:27:51 +00:00
Joel Sherrill
91af3e499b Changed clock rate from 32 Khz to 1 Mhz.
Registers are at 8 byte boundaries NOT 4 as initially configured.
1998-07-30 21:27:01 +00:00
Joel Sherrill
a47bca7cb1 Changed comment to be more polite. 1998-07-30 21:26:25 +00:00
Joel Sherrill
8e992e1cea Updating to make more readable. 1998-07-30 21:26:11 +00:00
Joel Sherrill
192a1e0af2 New files. 1998-07-30 19:51:03 +00:00
Joel Sherrill
1aa41860d8 Spacing corrected. 1998-07-30 19:41:46 +00:00
Joel Sherrill
1a256e3f3d New file based on email from DY-4 technical support. 1998-07-30 19:41:41 +00:00
Joel Sherrill
1c5f4e1457 Fixed spacing. 1998-07-30 19:26:47 +00:00
Joel Sherrill
8751f800c5 Updated to accurately reflect the dmv177. 1998-07-30 19:25:54 +00:00
Joel Sherrill
41d0743964 Patch from Eric Valette <valette@crf.canon.fr>:
Now that Joel told me how to compile outside the tree,
    I have found a few more bugs. Here is a small patch
    to fix them.
1998-07-30 18:06:51 +00:00
Joel Sherrill
7fd864163f Made chain.h shared 1998-07-30 16:07:54 +00:00
Joel Sherrill
3fdde4ce27 Made tod.h shared 1998-07-30 16:05:14 +00:00
Joel Sherrill
032c100ec2 Added HAS_RTC and enabled KA9Q. 1998-07-30 15:56:59 +00:00
Joel Sherrill
02733a9613 New file. Based on merged of shared libchip style console.c and the
existing TOD interface.
1998-07-29 00:38:51 +00:00
Joel Sherrill
acac0e8b42 Cleaned up comment.
Modified open so it uses a local variable rather than modifying a parameter.
1998-07-29 00:38:14 +00:00
Joel Sherrill
6a0f5ac2ed Added reference to shared TOD driver. 1998-07-29 00:37:37 +00:00
Joel Sherrill
c95e927ca9 Added prototype for default register access routines to header files.
Corrected prototypes to reflect unsigned32 values being passed around
instead of unsigned8's.
1998-07-29 00:18:11 +00:00
Joel Sherrill
ee306fde14 Corrected to reflect the ICM7170 which is really on this board. 1998-07-29 00:17:01 +00:00
Joel Sherrill
55dcdfdcfe Added config.c and deleted tod.c. 1998-07-29 00:16:44 +00:00
Joel Sherrill
e74735b290 Simplified RTC base address. 1998-07-29 00:16:32 +00:00
Joel Sherrill
5217d5aa05 Changed cast on RTC address and added base address of RTC fields as opposed
to entire RTC with NVRAM included.
1998-07-29 00:16:11 +00:00
Joel Sherrill
fb339a8ed3 Deleted probe routine as device specific.
Renamed port table.
1998-07-29 00:04:02 +00:00
Joel Sherrill
866c9dd5b6 Added function table. 1998-07-29 00:03:12 +00:00
Joel Sherrill
cb5e6f681d Renamed control register constants.
Set time->ticks to 0.

Added function table.
1998-07-29 00:03:07 +00:00
Joel Sherrill
1177cda0d3 New files for Harris Semiconductor ICM7170. 1998-07-29 00:02:11 +00:00
Joel Sherrill
8d6e7120d5 New files. 1998-07-29 00:01:56 +00:00
Joel Sherrill
677943a93e Added new files. 1998-07-29 00:01:44 +00:00
Joel Sherrill
9968efbc7e First cut at configuration table for libchip RTC. At this point, we
are pretending that the DMV177 has an M48T08.
1998-07-28 23:16:34 +00:00
Joel Sherrill
a1f514f197 First cut implementation of real-time clock support in libchip. This
version compiles cleanly but there is not a BSP with a configuration
table to utilize it.
1998-07-28 23:03:40 +00:00
Joel Sherrill
009c235613 Corrected spacing. 1998-07-28 21:18:17 +00:00
Joel Sherrill
07e9180893 Added rtc directory. 1998-07-28 21:18:11 +00:00
Joel Sherrill
30cde042bb Added missing parts of patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>. 1998-07-28 16:50:14 +00:00
Joel Sherrill
bd7c547d20 Closed window thanks to patch from Eric Norum. 1998-07-28 16:49:36 +00:00
Joel Sherrill
5752f93066 New file -- copied from dmv177 but same as ppcn_60x. 1998-07-25 17:34:41 +00:00
Joel Sherrill
749c54ecbf Added comments and corrected spacing. 1998-07-25 17:22:58 +00:00
Joel Sherrill
cae05041f2 Corrected spacing and added headers. 1998-07-25 17:19:45 +00:00
Joel Sherrill
8739322c10 Added ns16550_set_attributes. 1998-07-25 17:17:46 +00:00
Joel Sherrill
b636d5639b Corrected spacing and added a comment. 1998-07-25 17:17:36 +00:00
Joel Sherrill
ccfa60b4ad Updated to reflect set attributes. 1998-07-25 17:17:05 +00:00
Joel Sherrill
70a94515a7 Rewrote NS16550 TX interrupt processing to use termios for the buffer
and manage the interrupt sources like the other drivers.  This
let use remove the ns16550_flush() routine.
1998-07-25 16:53:21 +00:00
Joel Sherrill
adedb057d5 Removed TX ring buffer. 1998-07-25 16:52:17 +00:00
Joel Sherrill
cb27f05cc7 Changed variable to hold received data to unsigned. 1998-07-25 16:52:00 +00:00
Joel Sherrill
db29826d0f Switching console interrupts on and off as we test. 1998-07-25 16:20:57 +00:00
Joel Sherrill
dfb16ce24d Added constants for z85c30_enable_interrupts. 1998-07-25 16:20:33 +00:00
Joel Sherrill
04c5ac7112 Removed z85c30_flush().
Reworked transmit interrupt processing to remove ring buffer and
to mask the TX empty interrupt when it was not expected.  This code
now uses termios to buffer TX output.
1998-07-25 16:20:14 +00:00
Joel Sherrill
c1da2504fb Changed comment on TxBuffer. 1998-07-25 16:18:46 +00:00
Joel Sherrill
b070d69a0f Removed mc68681_flush and corrected spacing. 1998-07-25 16:18:27 +00:00
Joel Sherrill
f600da3fca Added information on Chris Johns' suggestion to use pointers internally
rather than doing repeated table lookups.
1998-07-25 16:17:33 +00:00
Joel Sherrill
3d2c161c4d Removed "if 0" used to switch between serial ports. 1998-07-25 16:16:10 +00:00
Joel Sherrill
da8ac60afd New file. 1998-07-25 16:02:21 +00:00
Joel Sherrill
c68b990b99 Changed to utilize return status from rtems_termios_dequeue_characters()
and to correctly set the TX active indicator.
1998-07-25 14:51:57 +00:00
Joel Sherrill
a3c9f0dc58 Moved console.c to libbsp/shared. 1998-07-25 14:50:07 +00:00
Joel Sherrill
f246caf6f9 Interrupts were incorrectly managed with a disable/disable pair rather
than with a disable/enable pair.
1998-07-25 14:13:34 +00:00
Joel Sherrill
bf21172de8 changed version to 980724 1998-07-24 18:30:50 +00:00
Joel Sherrill
03c09610e5 Patch from David Fiddes <D.J.Fiddes@hw.ac.uk>:
Here's a small patch I forgot about from earlier in the week that removes
    the hack fix Geoffroy had to use to get his BSP to work properly.

The termios osend() fix took care of this.
1998-07-24 16:18:39 +00:00
Joel Sherrill
dbab462feb Patch from Eric Valette <valette@crf.canon.fr> and Emmanuel Raguet
<raguet@crf.canon.fr> to make their patches work together.
1998-07-24 16:09:51 +00:00
Joel Sherrill
1501809c67 changed version to 980723 1998-07-23 22:13:46 +00:00
Joel Sherrill
dbaf51a44b Patch from Emmanuel Raguet <raguet@crf.canon.fr>:
Here is a patch for KA9Q stack.

    This patch contains an Ethernet Driver for Western Digital,
    some fixes for the UDP and TCP protocols (for endian conversion)
    and some little programs which allow the test of UDP and TCP
    sockets via Ethernet.

    I have tested that on an Intel machine. If someone can test it
    on a big-endian machine, ...
1998-07-23 22:13:10 +00:00
Joel Sherrill
67a2288991 Patch from Eric VALETTE <valette@crf.canon.fr>:
Here is a enhanced version of my previous patch. This patch enables
    to potentially share the new interrupt management code for all Intel targets
    (pc386, go32 and force386) bsp.

    Note :  this patch is complete only for pc386. It still needs to
            be completed for go32 and force386. I carrefully checked
            that anything needed is in for force386 (only some function
            name changes for IDT manipulation and GDT segment
            manipulation). But anyway I will not be able to test any
            of theses targets...
1998-07-23 22:02:34 +00:00
Joel Sherrill
73452854c0 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
Here is a pure sh-rtems bug-fix patch.

  The defines to enable the network to host conversion macros in
  netinet/in.h were missing in sh/cpu.h
1998-07-23 20:04:55 +00:00
Joel Sherrill
613ab621df Patch from Dario Alcocer <alcocer@connectnet.com> and Ralf Corsepius
<corsepiu@faw.uni-ulm.de> which attempts to detect when the UNIX port
is being configured on a system without System V IPC support.  This
is an optional component on both FreeBSD and Linux systems.  Most
Linux 2.x kernels ship with it enabled but it is still a real risk.

This test may have undesirable side-effects on some hosts.  We will
address those conflicts as they arise.
1998-07-23 19:39:25 +00:00
Joel Sherrill
c91e0325cc Removed consolex from build list. This file should be obsoleted by the
libchip, libio, and termios efforts.
1998-07-23 19:32:01 +00:00
Joel Sherrill
92fc5a5db7 Fix from Chris Johns <ccj@acm.org>. Comments:
Mask interrupts and save the current USP and MSP for all 68000 processor
    variants.
1998-07-21 13:59:12 +00:00
Joel Sherrill
bced36ddf0 Changed so we could test interrupts on port 3. 1998-07-18 18:44:12 +00:00
Joel Sherrill
c14a619709 Removed use of data port for z8530.
Move some code around.
1998-07-18 18:35:34 +00:00
Joel Sherrill
3652929e61 Removed use of data port for z8530.
Tested all four ports.  MC68681 as both polled and interrupt.  Z8530 as
polled only.
1998-07-18 18:35:07 +00:00
Joel Sherrill
91f16d5c40 New file 1998-07-18 18:34:04 +00:00
Joel Sherrill
a4d34dd20d Added z85c30 specific probe routine to decide what the clock rate was.
This routines could be enhanced to determine if the SCC is present
since it appears from the DY-4 manual that a status registers indicates
this.
1998-07-18 17:47:50 +00:00
Joel Sherrill
f8a5d54ea8 Addresses for SCC were wrong. A and B ports were swapped.
Deleted CSS interface related items.

Added items required to access DMA Control and Status Register so we
could figure out dynamically what the clock speed of the SCC really is.
1998-07-18 17:46:33 +00:00
Joel Sherrill
c53e1df40b Swapped RX and TX since doing this makes the lights blink on the
RS-422 converter.  We now see the TD light blink when typing
characters in HyperTerminal and when the board is reset we see
the RD light blink.  This leads us to believe the cabling is
basically right.
1998-07-18 16:56:16 +00:00
Joel Sherrill
fe05ec5ede Added RS-422 converter information and cable building information. 1998-07-18 16:11:13 +00:00
Joel Sherrill
cc3d33ac9b Added information on the MC68681. 1998-07-18 15:34:03 +00:00
Joel Sherrill
f7d6e57e09 Added background and setup to add section on RS-422. 1998-07-18 15:24:14 +00:00
Joel Sherrill
f77670be93 Reworked to removed dependency on DY-4 CSS ROM monitor interface. 1998-07-18 15:23:56 +00:00
Joel Sherrill
e286479ae8 Removed css_iface. 1998-07-18 15:23:24 +00:00
Joel Sherrill
6d4062f1ec Removed. We are no longer dependent on DY-4 CSS interface code. 1998-07-18 15:22:54 +00:00
Joel Sherrill
cce1200e43 New file. 1998-07-18 15:19:28 +00:00
Joel Sherrill
4555bc1eb5 Initialized tty->refcount to 0. When (for whatever reason) malloc()
returned a buffer which was not zero-filled, the reference count
was not correct.  When the application exitted, the "lastClose"
handler was not being called to flush the output.  This problem
had manifested itself on a variety of platforms.

The function rtems_termios_dequeue_characters() incorrectly incremented
the buffer pointers when it was invoked and there were no characters
in the ring buffer.  This problem had also manifested itself on a
variety of platforms.  The symptom was a strange repeating of the
data in the transmitter buffer when the transmitter serial device
was supposed to go idle.
1998-07-17 22:34:54 +00:00
Joel Sherrill
4fb08fd89e Regenerated. 1998-07-17 22:30:38 +00:00
Joel Sherrill
f95d2b53f2 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>. Comments:
* Added support for bsd "install" ($(BSDINSTALL)) to host.cfg.in, i.e.
    the standard "install" program that most packages (including automake)
    use. In Makefiles outside of rtems, "install" normally is referenced by
    $(INSTALL), but rtems already uses $(INSTALL) for install-if-change,
    hence I used $(BSDINSTALL) instead to keep up backward compatibility.

    * Removed references to @GREP@ etc. from host.cfg.in, as configure.in
    doesn't check for them (Minor cleanup).

    * Added installation flags INST*FLAGS to host.cfg.in, which should
    replace -m XXXX flags for installation calls.

    *Changes to gcc.cfg to enable it to build host programs from multiple
    sources files.
    Should not disturb existing sources, but neccessary.

    * There was a not-so-minor bug in the configuration files: "make
    install" and "make debug_install" don't work in all subdirectories!! I
    tried to fix this by adding "install" to MTARGETS in main.cfg, which
    seems to solve most of the problems. But there still seem to be rare (?)
    cases where "make debug_install" still seems to have problems.

    * Changes to many host related tool-Makefiles to demonstrate the
    abilities of INST*FLAGS, BSDINSTALL and the new rules in gcc.cfg.
    ..of cause ... but BSDINSTALL is THE standard method to install files
    in most program packages besides rtems. This part of the patch fixes
    some minor protection setting problems, but doesn't support
    TARGET_VARIANTS

    NOTE:
    I hope you will like the BSDINSTALL, INST*FLAGS stuff. It is a step to
    get rid of "install-if-change" and to rely on a more standard
    installation procedure. If you don't like BSDINSTALL, removing it from
    the patch isn't  difficult-  just grep for BSDINSTALL and replace
    BSDINSTALL with INSTALL or MKDIR.


    FINALLY:
    I still have another patch pending (well, not a complete patch yet, it's
    a partial patch to demonstrate the principle), which adds automatic
    rebuilding of files generated by autoconf/configure. At the moment I
    don't dare to submit it, because integrating this patch would require to
    modify all Makefile.ins because we'd need to add a new "include " line
    to each Makefile.in.
1998-07-17 15:49:12 +00:00
Joel Sherrill
8123c63506 Added scitab directory. 1998-07-17 15:43:42 +00:00
Joel Sherrill
a56e475f25 Turned stack checker on. 1998-07-17 15:42:39 +00:00
Joel Sherrill
bdba552f7a Patch fromalf Corsepius <corsepiu@faw.uni-ulm.de>:
* c/src/lib/libbsp/sh/gensh1/scitab - NEW DIRECTORY
    Location for building the table generated by shgen
1998-07-17 15:19:04 +00:00
Joel Sherrill
9305e52a18 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
Changes to make/custom/gensh1.cfg. Needed for shgen support
1998-07-17 15:18:08 +00:00
Joel Sherrill
fa21a8439f New files from Ralf Corsepius <corsepiu@faw.uni-ulm.de>. His comments:
* c/src/exec/score/tools/sh - NEW DIRECTORY - contains shgen
    Most of it should be self-explanatory. I am a little bit concerned about
    host-dependent features (getopt, floating point libraries). This
    shouldn't disturb much now, as this tool should be compileable on all
    gnu-based hosts and is only applicable for the sh. But in case somebody
    complains, we may need to add autoconf checks or even restructurize
    parts of rtems (IMO, rtems needs to be restructurized - remember the
    "turning rtems upside down" issue).
1998-07-17 15:17:29 +00:00
Joel Sherrill
6e65840670 Patch from Dario Alcocer <alcocer@connectnet.com>. His comments:
Haven't had a chance to do an extensive shake-out of 980710, but it
  builds just fine on FreeBSD 2.2.5 (after termios is fixed using the
  attached patch), and the tests run fine.  FYI: FreeBSD doesn't support
  System V IPC out of the box, but one only needs to add three options
  to the kernel build configuration file, recompile the kernel, and
  you're ready.
1998-07-17 13:05:03 +00:00
Joel Sherrill
16d0e63538 Corrected header files. 1998-07-16 00:16:22 +00:00
Joel Sherrill
a6f441b825 Minor corrections for typos to get it to compile. 1998-07-16 00:16:11 +00:00
Joel Sherrill
dd5d2f041f Split default baud rate table into its own file. This shrinks the
size of the minimum mc68681 driver.  The clock speed field can not
now be configured as NULL but must instead specify the address of
the default table.
1998-07-16 00:03:01 +00:00
Joel Sherrill
4a11d8c1b2 Fixed typo in which last port did not get switched to default
register access routines.
1998-07-15 23:58:08 +00:00
Joel Sherrill
849dc10756 Fixed typos. 1998-07-15 23:57:41 +00:00
Joel Sherrill
670d0378e7 Switched to usign the default z8530 and mc68681 register access routines. 1998-07-15 23:55:04 +00:00
Joel Sherrill
8414c033e2 Added default z85c30 register access routines. 1998-07-15 23:54:24 +00:00
Joel Sherrill
cce93220ec Added default mc68681 register access routines. 1998-07-15 23:54:08 +00:00
Joel Sherrill
991a1ab400 Added check for proper deviceType to interrupt processing code. 1998-07-15 23:21:55 +00:00
Joel Sherrill
efaf85faf1 Added interrupt mask and interrupt status register bit constants.
Added prototype for mc68681_build_imr(), mc68681_process(), and
mc68681_enable_interrupts().
1998-07-15 23:21:30 +00:00
Joel Sherrill
49370cd68c Added default mc68681 register access routines. 1998-07-15 23:20:50 +00:00
Joel Sherrill
198d851c77 Switched from driver's own buffering to using termios. This eliminated
the need for the ringbuffer manipulation in this driver.  It should
also allow the removal of mc68681_flush.  This greatly simplified the
interrupt processing.

Reworked Interrupt Mask Register handling.  Added imr field to the device
context.  This handling makes sure that the IMR accurately reflects the
state of the port in use and its mate.  This required the reworking of
the mc68681_enable_interrupts() routine to allow for the specification
of which interrupt sources were being enabled/disabled.

Reworked initialization to reset using port address rather than chip
base address.  Basically we were always resetting port 0.

Added deviceType field which allows for multiple chips of the same
class to have the same vector number.
1998-07-15 23:20:33 +00:00
Joel Sherrill
27a66bd999 Added information on the deviceType field. 1998-07-15 23:15:49 +00:00
Joel Sherrill
66f95fc621 Added default mc68681 register access routines. 1998-07-15 23:15:32 +00:00
Joel Sherrill
8a2e9c417f Added SCV64_Get_Interrupt_Enable().
Added proper headers to routines.
1998-07-15 21:43:28 +00:00
Joel Sherrill
d0cff6dc67 Added SCV64_Get_Interrupt_Enable(). 1998-07-15 21:43:00 +00:00
Joel Sherrill
38e717fe8b Added chip type identifier field. This was necessary because a single
interrupt vector can be shared by multiple chips of varying types.
1998-07-15 21:42:26 +00:00
Joel Sherrill
c0573d7e5d Added comment to remove use of TxBuffer ring buffer in all libchip drivers.
The scheme used in the mc68681 is the one to follow.
1998-07-15 21:40:42 +00:00
Joel Sherrill
0f613361b7 Added comments. 1998-07-15 19:28:29 +00:00
Joel Sherrill
a69f0ad9ca Added comments. 1998-07-15 19:20:20 +00:00
Joel Sherrill
100a4e53fc Masked out interrupts not being used prior to processing the status register. 1998-07-15 19:19:14 +00:00
Joel Sherrill
6c45da17cf Added routine to return interrupt mask. Added comments. 1998-07-15 19:12:11 +00:00
Joel Sherrill
01e54b8f9c Added scv64 subdirectory. 1998-07-15 14:06:37 +00:00
Joel Sherrill
e49ef37cdf Switched to SCV64. 1998-07-15 14:06:08 +00:00
Joel Sherrill
8f563b9b3c Added CSCV64 functions and addresses. 1998-07-15 14:05:51 +00:00
Joel Sherrill
30a3f76b29 Switched from polling to interrupts and in the process added a conditional
compilation section which used CONSOLE_USE_INTERRUPTS to switch all
ports between interrupt and polled mode.
1998-07-15 14:04:31 +00:00
Joel Sherrill
437b5a7dcc Added scv64 subdirectory. 1998-07-15 14:00:23 +00:00
Joel Sherrill
090a351181 New files. 1998-07-15 14:00:09 +00:00
Joel Sherrill
25e3f9a1c6 Switched CONSOLE_USE_INTERRUPTS to "1" so console would use interrupts.
Switched PPC_USE_SPRG to "0" so RTEMS use of sprg would not conflict with
any possible sprg usage by the DY-4 ROM monitor.
1998-07-15 13:59:36 +00:00
Joel Sherrill
be8cbbf54a Switched deviceOutputUsesInterrupts to TRUE so output would be interrupt
driven.

Redid "mate determination" code to check that the chip base address was
the same but the port address was different.

Moved mc68681_process and mc68681_build_imr to the bottom of the file
so they would not be inlined.

Removed the code which forced mc68681_build_imr to always return 0 which
resulted in interrupts never being enabled from the chip.

Corrected spacing in prototype of mc68681_write_support_int.
1998-07-15 13:58:23 +00:00
Joel Sherrill
e283140cac Switched to "deviceOutput = TRUE" which made device output use interrupts. 1998-07-15 13:53:58 +00:00
Joel Sherrill
5b8c1b7041 Yet another EXEEXT patch. This one is from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> and his comments are below:

  Joel, obviously you did apply my previous patch to
  gcc-target-default.cfg -- This should have been gcc.cfg
  (gcc-target-default.cfg should NOT contain any EXEEXT).
1998-07-11 14:23:53 +00:00
Joel Sherrill
3a447c3b36 changed version to 980710 1998-07-10 19:05:20 +00:00
Joel Sherrill
dbfa314823 Patch from Quality Quorum <qqi@world.std.com>. Comments:
c/src/lib/libbsp/i386/pc386/console/console.c
        __assert() modified so it prints on selected console instead of
        PC console

    c/src/lib/libbsp/i386/pc386/console/inch.c
        inch_sleep() modified, so it does not depend upon tmacros.h

    c/src/lib/libbsp/i386/pc386/pc386dev/GDB.HOWTO
        description updated

    c/src/lib/libbsp/i386/pc386/startup/exit.c
        last output before call to exit() will be printed properly on
        serial console

    c/src/lib/libbsp/i386/pc386/startup/irq.c
        re-submitted bug fix for problem in irqs over 7.
1998-07-10 15:43:18 +00:00
Joel Sherrill
cc8a388aac Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>. Comments:
> It seems that rules for %{EXEEXT} don't exist in gcc-target-default.cfg

    No, gcc-target-default.cfg is used to compile executables for the target
    only, not for the host.

    EXEEXT may only be used for programs to be run on the host.

    > What should I add please?

    This was a bug in my initial configuration patch to rtems-980616. A
    correction to this patch I had sent to Joel at 26.06.98 doesn't seem to
    have made it into the snapshot.

    Please find attached the patch I had sent to Joel, hopefully this patch
    fixes this problem.
1998-07-10 14:13:59 +00:00
Joel Sherrill
32067a3083 Regenerated after patch from David Fiddes <D.J.Fiddes@hw.ac.uk> for
one of the aclocal macros.
1998-07-10 13:22:48 +00:00
Joel Sherrill
8555ddbe76 Patch from David Fiddes <D.J.Fiddes@hw.ac.uk>. Comments below:
With a bit of help from Ralf I was able to trace the problem with sed. It
    was a typo, sed should have had it's params surrounded by 's rather than "s
    which bash picked up and discarded. The patch is enclosed.

    Ralf and I aren't sure why configure didn't just stop at this point... The
    rest of configure/build went OK because there are two sections where the
    \\-for-/ hack is implemented and the other one is more important and worked
    just fine.
1998-07-10 13:22:23 +00:00
Joel Sherrill
fb32356ba6 Added set attributes routine but did not hook it in to the table.
Switched to shared default probe.
1998-07-09 23:32:07 +00:00
Joel Sherrill
abd8c82b9e Added new files. 1998-07-09 23:31:48 +00:00
Joel Sherrill
31cad72c86 Renamed so we could have one file per routine. 1998-07-09 23:31:26 +00:00
Joel Sherrill
064b9be457 Switched to shared default probe routine. 1998-07-09 23:30:32 +00:00
Joel Sherrill
693b5b8850 Switched to default probe routine. 1998-07-09 23:30:02 +00:00
Joel Sherrill
61ff7ac825 Added new baud rate to number function and default serial probe routine.
Renamed sersupp.c so we could have one routine per file to decrease
the baggage pulled into an application by default.
1998-07-09 23:29:33 +00:00
Joel Sherrill
11c6a92d77 Commented out the system call invocation since we don't know what works
with this ROM monitor.
1998-07-09 22:59:32 +00:00
Joel Sherrill
a6e36dfffe Removed call back to exit() since that has already been called. 1998-07-09 22:59:13 +00:00
Joel Sherrill
e78c474b0d Added proper handling of extended baud rate table selection at boot time.
Still need to address default terminal settings.
1998-07-09 22:21:54 +00:00
Joel Sherrill
2c5ea019fa Properly handle extended baud rate set commands.
Temporarily "if 0" of code which enables interrupts.

Moved setting of command registers at open but the current implementation
is questionable.

Added reset of RX errors while polling TX.

Read polled character as unsigned.

Baud rate mask must be in upper and lower nibble.
1998-07-09 22:16:27 +00:00
Joel Sherrill
e3c59ddb35 Corrected definition of MC68681_RX_BUFFER. 1998-07-09 22:11:49 +00:00
Joel Sherrill
d7d51376cb Now strip elf executables so they are much smaller and quicker to
read from and write to a floppy.
1998-07-09 18:52:07 +00:00
Joel Sherrill
2ba0a0c2a8 Corrected z85c30 address and clock constants. 1998-07-09 18:50:13 +00:00
Joel Sherrill
459c1d2350 Added board specific baud rate table and set driver function table
to polled.
1998-07-09 18:49:49 +00:00
Joel Sherrill
2d8e51aade Changed static to MC68681_STATIC to make all data and routines
globally visiable to ease debugging.

Added support for mc68681 "2 column" style baud rate table as
well as the Exar 88681 "4 column" style baud rate table.

Added support for user override of the default baud rate table.
1998-07-09 18:45:28 +00:00
Joel Sherrill
b2ec38c852 Removed commented out line. 1998-07-09 18:44:10 +00:00
Joel Sherrill
8f6f641efa Added sersupp.c. 1998-07-09 18:41:49 +00:00
Joel Sherrill
d94d47b336 New files to contain generally needed serial driver support routines. 1998-07-09 18:41:33 +00:00
Joel Sherrill
37e8259727 Changed static to MC68681_STATIC to make all routines and data global
to ease debugging.
1998-07-09 18:40:27 +00:00
Joel Sherrill
8b2492f9cb Added support for the Extended Baud Rate set control found in the
Exar 88681 but not in the base 68681.

Added support for user provided baud rate tables.  This is needed
when the board does not use the standard baud rate clock.
1998-07-09 18:39:50 +00:00
Joel Sherrill
27045a82af Changed static to NS16550_STATIC to make all routines and data global
to ease debugging.
1998-07-09 18:38:18 +00:00
Joel Sherrill
677a503916 Changed static to Z85C30_STATIC so all data and routines could be global
for debugging purposes.
1998-07-09 18:37:47 +00:00
Joel Sherrill
80b1c2f87f Added information to README.mc68681.
Created the basic README and the README.z85c30.
1998-07-09 18:36:19 +00:00
Joel Sherrill
0d1184ffec changed version to 980707 1998-07-07 19:05:55 +00:00
Joel Sherrill
d859b5fb22 changed version to 9800707 1998-07-07 19:00:26 +00:00
Joel Sherrill
57c9bc284e Removed rtems-glom as a generated file. Regenerated aclocal.m4 and configure. 1998-07-07 18:35:01 +00:00
Joel Sherrill
030ff41790 Conditionals for CONSOLE_USE_INTERRUPTS should have been "if" not
"if defined".
1998-07-07 16:38:18 +00:00
Joel Sherrill
270d58fe4c New file to satisfy readdir() family. 1998-07-06 19:00:33 +00:00
Joel Sherrill
a90b9905c9 Missed this file in the initial merge. 1998-07-06 18:44:32 +00:00
Joel Sherrill
b5bb3d6f59 Update from Geoffroy Montel (g_montel@yahoo.com) to get in sync with termios
and eliminate warnings.
1998-07-06 14:52:30 +00:00
Joel Sherrill
1d22b037e3 Added Geoffroy Montel (g_montel@yahoo.com) for the gen68340 BSP. 1998-07-06 14:51:39 +00:00
Joel Sherrill
5ae415b394 Added include of termios.h.
Also added a block of comments above the console_tbl structure to explain
each entry.
1998-07-05 11:04:31 +00:00
Joel Sherrill
bc2ebb46e2 Added some address constants for the SCC and DUART to make it easier
to fill in the configuration table.
1998-07-05 11:01:21 +00:00
Joel Sherrill
e7ff2b2798 New file added in the process of converting the console driver to
libchip/serial.
1998-07-05 11:00:57 +00:00
Joel Sherrill
92a6454654 Converted the console driver to use libchip/serial and added support
for the z85c30 found on the DMV177.  This effort started with the
console driver from the Radstone PPC2.  But some simplifications were
made in the hope that console.c can be made a shared file at some point
in the near future.

Split the debugio from console.  This was done so at some point in the
future printk support as is found in the pc386 BSP can be shared
across all BSPs.
1998-07-05 11:00:00 +00:00
Joel Sherrill
0e8c200051 Renamed old_start340.s to startfor340only.s 1998-07-02 18:07:09 +00:00
Joel Sherrill
132f19405b Initial submission of gen68340 BSP (should run on a 68349) from
Geoffroy Montel <g_montel@yahoo.com>.
1998-07-01 22:03:20 +00:00
Joel Sherrill
a05de51283 Added _stat_r and changed spacing. 1998-07-01 21:33:38 +00:00
Joel Sherrill
dd6dddcf1e Fixed typo. 1998-07-01 21:33:11 +00:00
Joel Sherrill
4f0fc115d9 Correction from Aleksey Romanov <qqi@world.std.com> to finish off his patch.
I had trouble merging his original patch and this corrected a reject.
1998-06-29 17:52:43 +00:00
Joel Sherrill
dc95ee8dce Changed prototype for console_write_support to eliminate a warning. 1998-06-29 17:51:50 +00:00
Joel Sherrill
cf65c40819 Bare BSP patch from Chris Johns <cjohns@plessey.com.au>. He also
sent an example bare bsp but we have not decided how to integrate it yet.
1998-06-27 20:01:28 +00:00
Joel Sherrill
5d18fb057a PC386 BSP enhancements from Aleksey Romanov (Quality Quorum
<qqi@world.std.com>).   Unfortunately after merging these,
the pc386 will not boot using grub for for.  It still does not
work using netboot for me.  Here is his summary of changes:


  rtems/c/src/lib/libbsp/i386/pc386/Makefile.in
  	Added support for new sub-directory

  rtems/c/src/lib/libbsp/i386/pc386/bsp_specs
  	Made possible to build COFF image

  rtems/c/src/lib/libbsp/i386/pc386/console/console.c
  	Added support for serial consoles, selectable by patching
  	binary image, added __assert(), use _IBMPC_inch_sleep()
  	instaed of _IMBPC_inch()

  rtems/c/src/lib/libbsp/i386/pc386/console/inch.c
  	Added _IMBPC_inch_sleep()

  rtems/c/src/lib/libbsp/i386/pc386/console/outch.c
  	Oops - just formatting

  rtems/c/src/lib/libbsp/i386/pc386/include/Makefile.in
  	Added support for new files

  rtems/c/src/lib/libbsp/i386/pc386/include/bsp.h
  	Added support for new features

  rtems/c/src/lib/libbsp/i386/pc386/include/pc386uart.h
  	New file: definitions for serial ports

  rtems/c/src/lib/libbsp/i386/pc386/include/pcibios.h
  	New file: definitions for PCI BIOS

  rtems/c/src/lib/libbsp/i386/pc386/pc386dev/Makefile.in
  	New file: makefile in new directory

  rtems/c/src/lib/libbsp/i386/pc386/pc386dev/i386-stub-glue.c
  	New file: i386-stub interface

  rtems/c/src/lib/libbsp/i386/pc386/pc386dev/i386-stub.c
  	New file: i386-stub itself

  rtems/c/src/lib/libbsp/i386/pc386/pc386dev/pc386uart.c
  	New file: serial ports

  rtems/c/src/lib/libbsp/i386/pc386/pc386dev/pcibios.c
  	New file: PCI BIOS support

  rtems/c/src/lib/libbsp/i386/pc386/start/start.s
  	Commented out DEBUG_EARLY stuff, everything is working fine

  rtems/c/src/lib/libbsp/i386/pc386/start/start16.s
  	Cleaned up

  rtems/c/src/lib/libbsp/i386/pc386/startup/bspstart.c
  	Added call to console_resereve_resources

  rtems/c/src/lib/libbsp/i386/pc386/startup/exit.c
  	Added support for serial console

  rtems/c/src/lib/libbsp/i386/pc386/startup/ldsegs.s
  	Fixed typo in comments

  rtems/c/src/lib/libbsp/i386/pc386/tools/Makefile.in
  	Changed to reflect cnages in code

  rtems/c/src/lib/libbsp/i386/pc386/tools/bin2boot.c
  	Trivialized, problem - I do not know how to make patch
  	remove obsolete files - there are a lot of them there

  rtems/c/src/lib/libbsp/i386/pc386/tools/binpatch.c
  	New file: utility to do binary patches

  rtems/c/src/lib/libbsp/i386/pc386/wrapup/Makefile.in
  	Added support for new directory

  rtems/make/custom/pc386.cfg
  	Add COFF image building
1998-06-27 18:51:49 +00:00
Joel Sherrill
98100d275f Monstrous patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>. I have
made no attempt to divide the comments up and place them with just
the appropriate files.  Here is an excerpt from Ralf's email:

Changes including comments on changes I made after cycling through
all the targets:

  * Added ranlib support. Now all targets use "ranlib" instead of "ar -s"
    to build an index for a library. If ranlib isn't detected during
    configuration, check if ar -s is working and try "ar -s" instead of

  * Removed $(XXX_FOR_TARGET) from make/target.cfg.in, use $(XXX) instead now.

  * gcc-target-default.cfg: LINK_XXXX-defines reworked to solve the -l
    problem under posix (cf gcc-target-default.cfg)

  * rtems-glom replaced by Makefile-rules inside of the wrapup/Makefile.in
    that has been using rtems-glom until now.

  * Removed CCC and friends in gcc-target-default.cfg, as they have been
    breaking CXX support.

  * Removed CONFIG.$(TARGET_ARCH).CC lines from several custom/*.cfg
    files, because this is now set in custom/default.cfg.

  * Added aclocal/ar-s.m4, check whether "ar -s" is working

  * Added aclocal/cygwin.m4 and aclocal/exeext.m4.

  * Reworked aclocal/canonicalize-tools.m4: Added ar -s check; fixes for
    problems when  XXX_FOR_TARGET is given via environment variables (didn't
    work for gcc until now), adding cygwin check, improved autoconf-cache
    handling.

  * Removed -l from make rule dependencies. LINK_LIBS is now allowed to
    contain -L and -l. LINK_OBJS and LINK_FILES must not contain -L or -l.
    gcc28 make-exe rules now link using $(LINK_OBJS) $(LINK_LIBS) => Almost
    all custom/*.cfg are modified. This is very likely to break something
    because of typos or having missed to edit a file.

  Open problems, known bugs, things I didn't do:

  * custom/p4000.cfg seems to be out of date and requires to be reviewed.

    (JRS NOTE: It is subordinate p4650 and p4600 -- both of which build ok
               after minor changes.)

  * custom/psim.cfg needs to be reviewed, I added some changes to it, I am
    insecure about.

    (JRS NOTE: psim had a minor problem endif/endef swapped but runs fine.)

  * rtems-glom.in can now be removed.

  * gcc*.cfg files "make depend" rules don't honor language specific flags
    (e.g CXXFLAGS is ignored for *.cc) - Nothing to worry about now, but may
    cause problems for hosts/targets not using gcc or rtems-add-ons that use
    external packages.

  * AFAIS, the no_bsp BSP can't be build anymore, i.e. configure refused
    to configure for it whatever I tried.

  * The toplevel and toplevel+1 README files are quite out-dated

  * cygwin.m4 isn't of much use for rtems. In most cases (cf.
    aclocal/*.m4) it is worked around by directly using $host_os. I think
    I'll remove it soon after the next snapshot

  * Before release the cygwin patch needs to be tested under cygwin. I may
    have broken/missed something (esp. the sed-pattern to convert \\ into /
    may be broken).

  * You should try to build/run the posix-BSP under solaris - I don't
    expect problems, but I am not 100% sure, esp. with regard to ranlib/ar -s.

  * You should consider to convert all make/compilers/*.cfg files into
    make/compilers/*.cfg.in files and let autoconf generate the *.cfg. This
    may help getting rid of some if/then/else statements and help
    hard-coding some defines into those files in future and shouldn't
    disturb now.

  * Not having installed libc.a/libm.a on a host may still break building
    rtems, esp. when using -disable-gcc28 as the gcc27-configuration scheme
    directly accesses libc.a and libm.a. The problem should not appear when
    using gcc28 because it references libc/libm only through -lc and -lm
    which may be static or dynamic (I didn't test this).

  * shgen is not yet included (I didn't yet have enough time to integrate it).

  * I know about a few more configure-probs (esp. cross-checking
    --enable-* flags).
     + warn/refuse to configure when --enable-libcdir and
       --enable-gcc28 are given.
     + force --enable-libcdir when --disable-gcc28 is given

  * Replaced KSHELL with @KSH@ in some shell scripts generated by configure.in.

  * Added a dependency to aclocal/*.m4 in the toplevel Makefile => configure
    and aclocal.m4 will now be rebuild when any aclocal/*.m4 file is changed

  * Some changes to aclocal/gcc-pipe.m4 and aclocal/gcc-specs.m4

  * Replaced i[[3456]]86-unknown-freebsd2.[[12]] with i[[3456]]86-*freebsd2.*
    in configure.in, as I suppose there might exist a variety of valid vendors
    (2nd field of the name-tripple)

  * Disabled override MAKEFLAGS in toplevel Makefile.in - Potential
    side-effects are not really clear to me.

  * In mvme162.cfg, $(LINK_LIBS) is missing in the CC line in gcc28's make-exe
    rule (yet another one I missed to edit). Just append $(LINK_LIBS) to
    the "CC" line, like I hopefully did to ALL other custom/*.cfg files.

  * the problem with mvme162lx.cfg is a follow-up problem of the
    mvme162.cfg-bug.

  * mvme162/console and idp/console had variables named Buffer which
    conflicted with similarly named variables in some tests.
1998-06-27 17:09:47 +00:00
Joel Sherrill
d13b247131 Clean up from Aleksey Romanov (Quality Quorum <qqi@world.std.com>).
Here are his comments:

  I removed all unnecessary stuff from start16.s - setting idt and
  setting 16-bit stack using .code32 istructions.
1998-06-25 18:42:30 +00:00
Joel Sherrill
7252f65668 Added David Fiddes for ColdFire. 1998-06-25 16:54:08 +00:00
Joel Sherrill
b22b1294a6 Coldfire support patch from David Fiddes <D.J.Fiddes@hw.ac.uk>. 1998-06-25 16:26:43 +00:00
Joel Sherrill
a5400c06d6 Bare bsp patch from Chris Johns and regenerated files. 1998-06-25 16:21:31 +00:00
Joel Sherrill
43b78f15ae Added definition of RTEMS__mcpu32p__ per patch from Robin Kirkham. 1998-06-25 16:21:07 +00:00
Joel Sherrill
924e17ac81 Patch from Robin Kirkham <Robin.Kirkham@mlb.dmt.csiro.au> to distinguish
between CPU32 and CPU32+ cores.  Commentary follows:

    Unfortunately c/src/exec/score/cpu/m68k/m68k.h incorrectly defines
    M68K_HAS_MISALIGNED for the plain old CPU32 (it is correct for the CPU32+).
    As a consequence, the recently-relocated m68k memcpy() may still attempt
    misaligned memory accesses.

    I suggest that until such time as egcs/gcc differentiates these cores
    that we invent a new preprocessor symbol, RTEMS__mcpu32p__ for this
    purpose, on the assumption that egcs may one day grow a -mcpu32+ option
    which will define a __mcpu32p__ symbol (whether this option would also
    define __mcpu32__ is yet to be resolved).

    BSPs that have a CPU32+ (like gen68360) would for the time being define
    RTEMS__mcpu32p__ using -D. The symbol is `RTEMS__mcpu32p__' because
    symbols of the form __xxx__ should only be defined by the compiler
    itself.

    Note that the patch tests for RTEMS__mcpu32p__ *before* __mcpu32__, since
    __mcpu32__ is still defined for the CPU32+. It does not change the
    gen68360 BSP.

    An aside:
    Note that in egcs-1.0.3a, the option -m68332 is identical to -mcpu32,
    except it defines __mc68332__ as well as __mcpu32__. This is only
    for the sake of compatibility. The story with -m68302 is similar;
    it defines __mc68302__ and __mc68000__. In my opinion these options
    are depreciated and ought to be avoided in RTEMS.
1998-06-25 16:10:45 +00:00
Joel Sherrill
803de4133b Suggestion from Robin Kirkham <Robin.Kirkham@mlb.dmt.csiro.au> to improve
clarity.
1998-06-24 17:58:56 +00:00
Joel Sherrill
414ab59a1e Updated. 1998-06-24 14:51:09 +00:00
Joel Sherrill
4f0ffa57d8 Removed RTS and DTR handling code since the MC68681 seems to only have
automatic handling of RTS/CTS.  This only protects the on-chip buffers
and FIFOs -- not the termios queues as the RTS/CTS code in here did.  It
may be necessary in the future to enable this automatic support.

Interrupt processing code added.

In some places, channel and duart base addresses were swapped.
1998-06-23 17:42:46 +00:00
Joel Sherrill
ae21568caa New file describing mc68681 libchip driver. 1998-06-23 17:40:00 +00:00
Joel Sherrill
beaaf49f4b Added numerous comments. 1998-06-23 16:02:52 +00:00
Joel Sherrill
a5d0c7cf07 Added concept of "mate" -- the other port on the same DUART. This is
needed to properly handle the interrupt mask register since it is
shared.
1998-06-23 15:54:33 +00:00
Joel Sherrill
b7ebcea33e Added close. 1998-06-23 14:59:26 +00:00
Joel Sherrill
25c3ff91a5 Added set attributes and written initialize and first open. 1998-06-23 14:55:21 +00:00
Joel Sherrill
790d4211ae Added more registers. 1998-06-23 14:54:42 +00:00
Joel Sherrill
9eef52b95f Added set attributes prototype. 1998-06-23 14:54:30 +00:00
Joel Sherrill
8a2d4f2bb9 Added NULL entry for setAttributes. 1998-06-23 14:54:09 +00:00
Joel Sherrill
7deeb16840 Added initial part of iniitialization. 1998-06-22 11:49:38 +00:00
Joel Sherrill
ab2dbd7e94 Added mc68681 stuff to the makefile.
Added numerous constants to mc68681_p.h.

Changed spacing.

At this point the polled support is in but nothing else is right except the
structure.
1998-06-22 11:09:32 +00:00
Joel Sherrill
36152b0e4b Moved get and set register/data typedefs to this file. 1998-06-22 11:08:16 +00:00
Joel Sherrill
4cd4c5a092 Moved set and get Register and Data type defininitions to serial.h.
Cleaned up spacing.
1998-06-22 11:07:51 +00:00
Joel Sherrill
58b1e95f18 Corrected spacing 1998-06-22 10:34:34 +00:00
Joel Sherrill
424e23ee48 spacing changes 1998-06-22 10:17:14 +00:00
Joel Sherrill
547de5d956 Removed blank lines and bad debug stuff 1998-06-22 10:15:14 +00:00
Joel Sherrill
e4acf68ace Added comments and corrected spacing. 1998-06-22 09:59:22 +00:00
Joel Sherrill
aa0da6b2c2 Added a comment and cleaned up spacing 1998-06-22 09:56:09 +00:00
Joel Sherrill
cd58d821b0 Initial version of these files. 1998-06-22 09:28:03 +00:00
Joel Sherrill
ce17a7245c changed version to 980618 1998-06-18 19:14:36 +00:00
Joel Sherrill
8ed1f8d0b8 New file from Dario Alcocer <alcocer@connectnet.com>. 1998-06-18 19:05:08 +00:00
Joel Sherrill
cb1b853d0b All task delete API level services were incorrectly assuming that the
task to be deleted was created via the same API (i.e. were of the object
class created by this API).  For example, a POSIX thread calling
the rtems_task_delete(SELF) directive would incorrectly update the RTEMS
object local pointer table.

Jennifer discovered this when moving tests implemented in C using the
Classic RTEMS API into a tree of Ada tests.  The Ada tests were implicitly
using POSIX services.  This lead to some unexpected behavior.
1998-06-18 19:01:57 +00:00
Joel Sherrill
7e4c3d8b1d Modified _Objects_Is_class_valid() to correctly report that 0 was
not a valid object class.  This was discovered while looking for
a bug reported by Jennifer.
1998-06-18 18:58:42 +00:00
Joel Sherrill
9a6994b490 Added freebsd support from Dario Alcocer <alcocer@connectnet.com>. 1998-06-18 15:22:35 +00:00
Joel Sherrill
ce691c51fd Corrected so it returns the correct date. Previously was getting the number
of seconds since 1988 from RTEMS and not adding in the 1970-1988 correction
factor.  Plus removed checks for data/time set since POSIX does not permit
this call to fail.  GNAT 3.12 depends on this.
1998-06-18 15:14:48 +00:00
Joel Sherrill
bdb1057668 Spacing changes. 1998-06-18 15:13:29 +00:00
Joel Sherrill
ecc9737f40 Added a public interface to the chain handler. 1998-06-18 15:12:27 +00:00
Joel Sherrill
fe52766e81 Corrected compilation problems. 1998-06-16 19:06:35 +00:00
Joel Sherrill
8bf609527b Added initialization of css routines. 1998-06-16 19:05:50 +00:00
Joel Sherrill
1efeb61c56 Added css_iface -- assumes ../include/dy_supplied. 1998-06-16 18:22:54 +00:00
Joel Sherrill
ee3b242bb2 Initial incarnation of libchip compiles. 1998-06-13 16:03:57 +00:00
Joel Sherrill
0737710b2b Base code from ppcn_60x BSP 1998-06-13 15:48:25 +00:00
Joel Sherrill
23f5cdb5bb Adding interrupt handling routine. 1998-06-13 13:34:09 +00:00
Joel Sherrill
510524c61c Removed bad comments. 1998-06-13 13:34:08 +00:00
Joel Sherrill
8d83075595 Added IRQ information. 1998-06-13 13:33:38 +00:00
Joel Sherrill
a12d7fd72f Updated to add -qrtems_debug and -qnolinkcmds. 1998-06-13 13:33:11 +00:00
Joel Sherrill
e5727f3921 Added PPC_USE_DATA_CACHE. 1998-06-13 10:05:15 +00:00
Joel Sherrill
773890639c Added optimized version of memcpy.c to this directory since RTEMS makes
important distinctions between CPU models which are not made by gcc.
These distinctions help give us a more optimized memcpy().  This is important
for message queues and KA9Q.
1998-06-12 21:12:12 +00:00
Joel Sherrill
9b413eaef6 Patch from Eric Norum to avoid printing from context switch user extension.
The array is too long and needs to be shortened.
1998-06-12 20:55:21 +00:00
Joel Sherrill
2a53f31023 Fixed comment block at the beginning of the file for a copyright date
problem and an English problem.
1998-06-09 15:23:38 +00:00
Joel Sherrill
9456087368 Added rule for .cxx and .cpp per suggestion from Geoffroy Montel
<g_montel@yahoo.com>.
1998-06-09 14:21:21 +00:00
Joel Sherrill
cec1095101 changed version to 980604 1998-06-04 15:15:30 +00:00
Joel Sherrill
1388d19eea Regenerated aclocal and configure after cleaning up the check that
a BSP source directory was present to eliminate a chunk of redundant code.
1998-06-04 15:15:08 +00:00
Joel Sherrill
70b0d6634d Added support for -qrtems_debug flag. 1998-06-04 13:08:02 +00:00
Joel Sherrill
ea57368f1b Removed PPC_Get_timebase_register() as this is now provided by the PowerPC
port itself.
1998-06-03 19:01:21 +00:00
Joel Sherrill
3c7916f21c Update from Pedro Romano <pmcnr@camoes.rnl.ist.utl.pt> with an attempt
to fix start16.s.  It does not work locally.
1998-06-03 19:00:57 +00:00
Joel Sherrill
937a6f3cef Added CPU_ISR_PASSES_FRAME_POINTER so some ports could pass just the
vector number to user ISR's and other ports could pass both the vector
number and a pointer to the ISF.
1998-06-03 19:00:17 +00:00
Joel Sherrill
75d0b0b83a Corrected macros for assembly language program sections. 1998-06-03 18:49:38 +00:00
Joel Sherrill
5184958afe Update from Pedro Romano <pmcnr@camoes.rnl.ist.utl.pt> which replaces C++
versions of these utilities with C implementations.
1998-06-03 18:47:44 +00:00
Joel Sherrill
1ce50e0e50 Changed spacing 1998-06-03 18:40:21 +00:00
Joel Sherrill
3ac5966643 Changed BSP name to posix. 1998-06-03 18:40:10 +00:00
Joel Sherrill
b938d3d43b Changed ppc to PowerPC in comments. 1998-06-03 18:39:53 +00:00
Joel Sherrill
d7c9cbe449 ppc-rtems is now an alias for powerpc-rtems. 1998-06-03 11:22:18 +00:00
Joel Sherrill
64be9d4673 Added some missing files per Eric Norum. 1998-06-02 17:38:16 +00:00
Joel Sherrill
3b0f7cc3a3 Added text from Erik Ivanenko <erik.ivanenko@utoronto.ca> describing
transition from real to protected mode and modified the spacing.
1998-06-01 15:14:36 +00:00
Joel Sherrill
2785eab264 Changed calculaction for Clock_Decrementer_value to use the
BSP_configuration table.
1998-05-30 16:01:12 +00:00
Joel Sherrill
95a683b57b Set console to port 2.
Changed #if defined to a #if check for CONSOLE_USE_INTERRUPTS.
1998-05-30 15:58:37 +00:00
Joel Sherrill
a874427306 Made Debug defination a null routine. 1998-05-30 15:55:46 +00:00
Joel Sherrill
b317117a71 clicks_per_usec had to be cut in half (unknown reason).
fixed starting address.
1998-05-30 15:53:19 +00:00
Joel Sherrill
dc104a4039 Updated to current source and removed warnings. 1998-05-30 11:46:21 +00:00
Joel Sherrill
a38b9f89ac Used shared sbrk.c. 1998-05-30 10:42:01 +00:00
Joel Sherrill
825a2bb573 Use shared initialization. 1998-05-30 10:41:21 +00:00
Joel Sherrill
55b517cb4e Rewrote in C to avoid Makefile problems. 1998-05-30 10:32:19 +00:00
Joel Sherrill
9c559accc0 New file -- from rtems-LM-980406 based on a 12/97 RTEMS snapshot. 1998-05-30 10:17:57 +00:00
Joel Sherrill
c932d85019 New files -- from rtems-LM-980406 which was based on an RTEMS from 12/97.
This was called the dmv170 BSP in that source tree but since the DMV171
is now obsolete, we have transitioned to the DMV177 and have no intention
of checking compatibility with any other models.
1998-05-30 10:09:14 +00:00
Joel Sherrill
2e4b3d03da changed version to 980527 1998-05-27 22:10:10 +00:00
Joel Sherrill
1278ea1b37 Deleted blank lines. 1998-05-27 22:09:47 +00:00
Joel Sherrill
bb6d368d02 Added "speaker on" debug code. 1998-05-27 22:09:39 +00:00
Joel Sherrill
27291bcc55 Changed invocation of bin2boot to match gcc 2.8 rule. 1998-05-27 22:07:40 +00:00
Joel Sherrill
4050a7fb50 Numerous changes including the following:
+ DEBUG_EARLY_START re-added (Eric Valette)
  + segment register initialization (Aleksey/Quality Quorum)
  + heap size use correction
  + more debug printk's
  + increased heap size.

Now works with grub boot on all systems I have access to including
desktops and a laptop.  This is with the i386-rtems tools.
Neither i386-rtemself nor netboot produces a working executable.
1998-05-27 19:34:37 +00:00
Joel Sherrill
c2c9c7e58f Added names for C++ compilers. 1998-05-27 19:26:09 +00:00
Joel Sherrill
339cc25c20 Moved rtemsReboot() to console/inch.c. 1998-05-27 19:24:57 +00:00
Joel Sherrill
a92adc63d6 Deleted HEAP_SIZE constant. 1998-05-27 19:20:55 +00:00
Joel Sherrill
37eacd7158 Removed illegally formatted comments. 1998-05-27 19:20:38 +00:00
Joel Sherrill
8d62ece80e Moved rtemsReboot() to here from exit.c. This appears to have been
necessary because a patch did not apply cleanly.
1998-05-27 19:19:31 +00:00
Joel Sherrill
71d07b9ddf Corrected interrupt stack allocation. 1998-05-27 19:18:02 +00:00
Joel Sherrill
6bb69304d2 Regenerated. 1998-05-27 19:17:32 +00:00
Joel Sherrill
448ba47a4c Fixed spacing 1998-05-27 12:26:07 +00:00
Joel Sherrill
139e6efe3c Fix from Jiri Gaisler <jgais@ws.estec.esa.nl> for a problem in which
external interrupt priorities were not being honored.  Here is some
of his original report:

    using rtems/erc32, I have a problem with interrupt priority when
    interrupts occure simultaneously. Erc32 has an interrupt force
    register where interrupts can be generated. If more than one
    interrupt is generated, the interrupt handlers are scheduled in
    the wrong order, i.e. with the lowest priority first.

    I have attched a program that generates three interrupts, 0x11, 0x12
    and 0x13. Interrupt 0x13 should be handled first, but is actually
    handled last. Below is the output from sis:

        sis> go
        resuming at 0x02000000
        RAM size: 4096 K, ROM size: 2048 K
        Watchdog disabled
        Waitstates = RAM read: 0, RAM write: 0, ROM read: 0, ROM write: 0
        Power-down mode enabled
        infinite UART baudrate
        External interrupt received with vector 0x11
        External interrupt received with vector 0x12
        External interrupt received with vector 0x13

    I have verified that sis generates the interrupts in the correct
    order, i.e. 0x13 first, then 0x12 and then 0x11. So the problem
    seems to be in the rtems interrupt handler. Do you use the PIL field
    in the %psr register to mask lower priority interrupts or are all
    external interrupts considered to have the same priority ..?

Here is a description of the fix:

  it turned out that lower priority interrupts were not at all masked
  off during interrupt handling. I made the following fix to cpu_asm.s:
       ... fix is in the code ...
  There might be a simpler way of doing this, but this works...
1998-05-27 12:21:32 +00:00
Joel Sherrill
a31f0643f6 Changed process group routines to unimplementable. 1998-05-22 15:05:33 +00:00
Joel Sherrill
9cc86e291c Updated after addition of some routines by Eric Norum. 1998-05-22 15:02:53 +00:00
Joel Sherrill
119bced0fd Added tcdrain(), cfgetospeed(0, cfsetospeed(), cfgetispeed(), and
cfsetispeed().
1998-05-22 14:51:11 +00:00
Joel Sherrill
e2476ed4d1 Added tcdrain(), cfgetospeed(), cfsetospeed(), cfgetispeed(), and cfsetispeed(). 1998-05-22 14:49:49 +00:00
Joel Sherrill
cdf6fcbccb Now uses BSP specific configure variables and compiles for i486 and m68k. 1998-05-22 12:30:19 +00:00
Joel Sherrill
6fa12899c4 Renamed bare BSP specific options to make the dependency obvious. 1998-05-22 12:29:13 +00:00
Joel Sherrill
06e326b67f UNIX port now builds and runs cleanly with both C++ support enabled
and disabled.
1998-05-22 12:28:35 +00:00
Joel Sherrill
c19a29b458 Added call to console_reserve_resources back in. 1998-05-22 12:27:51 +00:00
Joel Sherrill
082214d0c8 Regenerated after removing SIZE_FOR_TARGET change after Ralf
pointed out that gcc does not properly report it all the time.
1998-05-22 12:27:08 +00:00
Joel Sherrill
232429f6cc Removed SIZE_FOR_TARGET change after Ralf pointed out that gcc does
not properly report it all the time.
1998-05-22 12:26:47 +00:00
Joel Sherrill
550ca7d5e4 hppa1.1 -> hppa1_1 remapping crept back in somehow -- gona again.
Bare BSP is now only enabled when explicitly specified.

Bare BSP options and variables are clearly named so as to be obviously
BSP specific.  This should avoid conflicts.
1998-05-22 12:25:52 +00:00
Joel Sherrill
9d09d13808 Added main() which did not require C++ support. A different main
is used based on whether C++ is enabled or disabled.
1998-05-22 11:03:03 +00:00
Joel Sherrill
7e93af11ce changed version to 980521 1998-05-21 19:11:24 +00:00
Joel Sherrill
31668a6756 Use gcc to look for size also 1998-05-21 18:46:36 +00:00
Joel Sherrill
bd5e4f3baf Added bare bsp from Chris Johns <cjohns@plessey.com.au>. 1998-05-21 18:26:58 +00:00
Joel Sherrill
90cf4cc734 Corrected license notices per Eric's permission 1998-05-21 16:49:51 +00:00
Joel Sherrill
6207ea2986 New file from Ralf Corsepius 1998-05-21 16:46:24 +00:00
Joel Sherrill
941f6f3c5e New file from Eric Valette 1998-05-21 16:46:05 +00:00
Joel Sherrill
1e9c9d4643 Per patch from Ralf Corsepius removed redundant lines. 1998-05-21 16:41:56 +00:00
Joel Sherrill
dd84f129c8 Removed undesirable space in TARGET_ARCH assignment line.
Cleaned up command line macro definitions.

Per patch from Ralf Corsepius UNIX ports always needs C++ for rtems-ctor.cc.
1998-05-21 16:41:40 +00:00
Joel Sherrill
d494eeb429 Per patch from Ralf Corsepius UNIX ports always needs C++ for rtems-ctor.cc. 1998-05-21 16:40:46 +00:00
Joel Sherrill
d7588efc2f Per suggestion from Ralf Corsepius made all macros solaris2 -- not solaris
or solaris2.
1998-05-21 16:39:51 +00:00
Joel Sherrill
0d48220948 Remove --start-group/--end-group pair to support non-GNU ld's. 1998-05-21 16:38:54 +00:00
Joel Sherrill
fe2401b239 Regenerated. 1998-05-21 16:38:17 +00:00
Joel Sherrill
27dccaec15 Patch to add return status to rtems_termios_enqueue_raw_characters from
Eric Norum per request from Geoffroy Montel:

   > The rtems_termios_enqueue_raw_characters function type is void.
   > The problem is that I can't return an error message if the input
   > buffer is full.
   > Could we add a return value?

   Sure, but what would you do with the overflow indication?  POSIX says,
   ``when the input limit is reached, the saved characters are thrown away
   without notice''.

   Anyhow, the change is so small I've done it and enclosed the patch.
1998-05-20 17:09:12 +00:00
Joel Sherrill
2efdd08b40 Patch from Ralf Corseipus to fix latent configure problems suddenly triggered:
The breakdown:
        * CC_FOR_TARGET and CXX_FOR_TARGET were not correctly re-read
          from autoconf's configuration cache (config.cache)

        * If <target>-[gcc|g++] was not found while running configure,
          the config macros tried to use other (wrong) compilers (e.g. cc).

    Changes:
        * New RTEMS_PROG_CC macro (aclocal/prog-cc.m4).
        * New RTEMS_PROG_CXX macro (aclocal/prog-cxx.m4)
        * Moved a shell script fragment from configure.in to a
          new m4-autoconf macro (New file: aclocal/tool-prefix.m4)
        * Minor changes to configure.in

    I tested it with linux/posix (native gcc/primary libc) and
    sh-rtems/gensh1 on a linux host and didn't notice any bugs
    related to the problems mentioned above.  There seem to be
    more bugs with the posix bsp, but I consider them minor as
    the build run completed successfully. It is just too late
    for me to attempt to fix them now.
1998-05-20 17:06:57 +00:00
Joel Sherrill
17a8d60365 Some patches in place from Brian Stevens which help the Solaris port
build.  It does not link successfully for him.  It does not compile
for me locally.
1998-05-20 17:02:29 +00:00
Joel Sherrill
7aa10b005e Copied gcc 2.7.2 style make-exe rule to gcc 2.8 conditional. This
lets the makefile work in both cases.
1998-05-20 17:01:39 +00:00
Joel Sherrill
5dd4212fec Changed CPP rule per patch from Ralf Corsepius. 1998-05-20 17:01:04 +00:00
Joel Sherrill
603d706083 Added tcdrain() from Eric Norum 1998-05-20 17:00:22 +00:00
Joel Sherrill
7139415434 Regenerated 1998-05-20 16:34:15 +00:00
Joel Sherrill
9c3b406b4d Addition of tcdrain() from Eric Norum. 1998-05-19 11:34:04 +00:00
Joel Sherrill
3ac8e59c93 Removed prototype of rtems_libio_config() per Chris Johns' eagle eye. 1998-05-19 10:53:12 +00:00
Joel Sherrill
8dc5d00f2c changed version to 980518 1998-05-18 17:35:24 +00:00
Joel Sherrill
98c7389586 New file from Pedro Romano 1998-05-18 16:43:36 +00:00
Joel Sherrill
ca0bafa734 Added much stuff formerly in multiple compiler files. 1998-05-18 16:40:13 +00:00
Joel Sherrill
0500c342e1 Added conditional around TARGET_ARCH to prevent accidental overrides. 1998-05-18 16:39:49 +00:00
Joel Sherrill
7ebfa9347d Switched to using shared gcc-target-default.cfg. 1998-05-18 16:39:21 +00:00
Joel Sherrill
6ee6abb40d Added C++ rule.
Added CROSS_TARGET conditionals so unix port can share this file.
1998-05-18 16:38:38 +00:00
Joel Sherrill
60fa630576 Added RTEMS_CROSS_TARGET. 1998-05-18 16:37:50 +00:00
Joel Sherrill
64876e33f4 Added bsp_specs. 1998-05-18 16:37:32 +00:00
Joel Sherrill
bac7b61449 Include memory for Ada task stacks. 1998-05-18 16:37:00 +00:00
Joel Sherrill
38093c0b8e Modified to find C++ compilers. 1998-05-18 16:36:31 +00:00
Joel Sherrill
0b767238bc Support bsp_specs style building for linux and solaris. Improved C++
support.
1998-05-18 16:36:09 +00:00
Joel Sherrill
158f211023 Regenerated. 1998-05-18 16:35:00 +00:00
Joel Sherrill
185fab0b5a Added proper reference now that Embedded Systems Programming's WWW site
is available and has the code available.
1998-05-18 16:32:35 +00:00
Joel Sherrill
5c844076a2 Update from Ralf Corsepius. 1998-05-18 14:41:33 +00:00
Joel Sherrill
a863c500cc Updates from Pedro Romano. 1998-05-18 14:41:15 +00:00
Joel Sherrill
7d78f404ae New file. 1998-05-18 14:40:59 +00:00
Joel Sherrill
027f1af4c6 New file. 1998-05-15 12:35:11 +00:00
Joel Sherrill
5970fc210c Added test case for table -- barfs when optimization is enabled 1998-05-12 15:28:33 +00:00
Joel Sherrill
9caa3e3175 Cleaned up to remove warnings. 1998-05-11 17:41:00 +00:00
Joel Sherrill
4fca3ea023 regenerated automatically 1998-05-11 17:40:37 +00:00
Joel Sherrill
c4638fff39 new file to support execv family support in newlib 1998-05-11 17:39:59 +00:00
Joel Sherrill
d37ea46231 execv*() now comes from newlib. 1998-05-11 17:39:38 +00:00
Joel Sherrill
7123d3b77f Modified objcopy to remove extra sections.
Modified gcc 2.8 style link rule to provide start address correctly.
1998-05-04 13:19:29 +00:00
Joel Sherrill
47d1f5d8f9 Fixed prototype of Fatal_Extension.
Fixed interface to cofndefs.h for initial extension set.
1998-05-04 12:41:42 +00:00
Joel Sherrill
161e1b3f6a Patch from Eric Norum to switch to termios callback structure, add
support for device driver support on tcsetattr(), and hardware
flow control callbacks.
1998-05-04 12:41:07 +00:00
Joel Sherrill
55951bc1e6 Switched to termios callback structure. 1998-05-04 12:40:21 +00:00
Joel Sherrill
f35abd4863 Corrected and added sections to link cleanly under powerpc-rtems (ELF). 1998-05-04 12:40:09 +00:00
Joel Sherrill
f69d686dd5 Removed warning for unnecessary reference to start as entry point. 1998-05-04 12:39:21 +00:00
Joel Sherrill
36a14a9699 Patch from Eric Norum to switch to termios callback structure and
add support for changing the baudrate.
1998-05-04 12:38:53 +00:00
Joel Sherrill
5ee559acd2 Corrected and added sections to link cleanly under i386-rtemself. 1998-05-04 12:37:35 +00:00
Joel Sherrill
b77b26742e fixed swap of unsigned16 1998-05-04 12:36:59 +00:00
Joel Sherrill
10b3c9b3ef Added default value for CONFIGURE_MAXIMUM_POSIX_THREADS since it is
used to calculate the amount of memory used by tasks whether the
POSIX API is enabled or disabled.
1998-05-04 12:35:22 +00:00
Joel Sherrill
3e3674522b removed warning for implicit declaration of idtsim__exit() 1998-05-02 12:12:14 +00:00
Joel Sherrill
36aba21e13 removed warning for implicit declaration of resolve() 1998-05-02 12:11:23 +00:00
Joel Sherrill
269707e6f7 removed warning for `#ifdef' argument starts with a digit 1998-05-02 12:10:18 +00:00
Joel Sherrill
17f57736d5 removed warning for implicit declaration of boot_card() 1998-05-02 12:09:11 +00:00
Joel Sherrill
d74daf9d45 Fixed case where wrong variable was used. 1998-04-30 16:48:40 +00:00
Joel Sherrill
3d4e5906dd Changed default target architecture name 1998-04-30 16:45:55 +00:00
Joel Sherrill
5f92a6a38c Modified objcopy invocation to ignore more sections. 1998-04-30 16:45:08 +00:00
Joel Sherrill
990f857543 botched file -- removed from repository and readded 1998-04-30 14:14:12 +00:00
Joel Sherrill
2e34f4ad4f Removed tripling of workspace API when POSIX API is enabled. confdefs.h
is now correct enough where this is not necessary.  This was in to
cover up the deficiencies in figuring out how much memory a GNAT/RTEMS
application required.  There is a good stab at this now.
1998-04-30 11:43:19 +00:00
Joel Sherrill
ba05e31c3c Added wildcard to switch for monitor and termios. 1998-04-30 11:41:57 +00:00
Joel Sherrill
b7be9c30d2 Removed redundant "* 1024" which exploded the size of the workspace. 1998-04-30 11:41:09 +00:00
Joel Sherrill
a524c00cfc Added sections and redirected some to RAM to avoid warnings. 1998-04-30 11:40:28 +00:00
Joel Sherrill
1ca488b55d Added sections to remove warnings 1998-04-30 11:40:07 +00:00
Joel Sherrill
c719991664 moved tools to bsp directory 1998-04-30 10:46:52 +00:00
Joel Sherrill
2993cd3f60 Added support for debug variants on tests. 1998-04-29 18:41:53 +00:00
Joel Sherrill
96d56b3690 Update from Pedro Romano <pmcnr@camoes.rnl.ist.utl.pt>. 1998-04-27 18:42:04 +00:00
Joel Sherrill
0c508af979 Added I386_HAS_BSWAP cpu model feature flag so swap u32 could take
advantage of this instruction.

Also up conditionals mapping cpu models to feature flags by having a
section which defaults all the i386 family feature flags to the most
common value.
1998-04-27 18:18:13 +00:00
Joel Sherrill
b0aba4c46b Added swap of unsigned16 1998-04-27 16:10:16 +00:00
Joel Sherrill
eac9871aa2 Fixed spelling errors. 1998-04-27 15:30:59 +00:00
Joel Sherrill
0153d180b3 Fixed trace bit manipulation per requests from Eric Norum and Chris Johns.
Actual patch was from Eric Norum.
1998-04-27 15:28:43 +00:00
Joel Sherrill
baa876a409 Cosmetic fix from Eric Norum:
This makes the headings line up above the columns a little better.
    Now that it's so easy to include/exclude the stack check code I find
    myself adding it to all my `debug' targets.
1998-04-27 15:14:30 +00:00
Joel Sherrill
edbb81d0dc Removed redundant implementation of tcgetattr and tcsetattr. 1998-04-27 14:39:51 +00:00
Joel Sherrill
0e70f60581 Fixes from Ralf Corsepius:
* Posix BSP configuration: Moved some rules from make/custom/*-posix.cfg
      files to make/custom/posix.cfg, Removed references to stdc++ from
      *posix.cfg files (rtems doesn't use/need libstdc++)

    NOTE: Building Posix-BSPs should now work again for native compilation with
    gcc, i..e. linux using primary compiler and primary libc.
    All Posix-BSP configurations that don't use gcc as primary compiler or
    don't use the primary libc don't work, e.g. solaris, linux w/ egcs as
    secondary compiler won't be built correctly.
1998-04-27 14:21:55 +00:00
Joel Sherrill
c1dc8228ca Removed forced enable of POSIX API. Now follow configuration flag. 1998-04-27 14:21:04 +00:00
Joel Sherrill
21c1513f40 Fixed bad CVS Id string.
Removed unnecessary definition of "ED".
1998-04-27 14:20:25 +00:00
Joel Sherrill
36848cee66 Clean up patch from Ralf Corsepius. 1998-04-27 14:19:54 +00:00
Joel Sherrill
cf59d56b07 Fix from Ralf Corsepius:
use a wildcard rule instead of explicit listing all include files
    (I have more libcpu header files than the public version has. This patch
    removes the need to patch this Makefile for my private bsps)
1998-04-27 14:19:25 +00:00
Joel Sherrill
008faafd4c Added shared directory. 1998-04-27 14:18:38 +00:00
Joel Sherrill
7e2cc64450 Removed extra (bad) CVS Id string. 1998-04-27 14:18:11 +00:00
Joel Sherrill
0a3a3ae644 Fixed CVS Id string and removed bogus comment. 1998-04-27 14:17:52 +00:00
Joel Sherrill
6b52fe5c0f Fix from Ralf Corsepius:
+ adding #include <rtems/libio.h> to fix implicit declaration warning
1998-04-27 14:17:16 +00:00
Joel Sherrill
72aa8cf4a8 Fixed CVS Id 1998-04-27 14:16:29 +00:00
Joel Sherrill
9a993ed573 Added CONFIGURE_EXTRA_TASK_STACKS definition to make memory requirements
more accurate.
1998-04-27 13:51:23 +00:00
Joel Sherrill
6ce14e72fb Fixed screen to match actual output. 1998-04-27 13:51:02 +00:00
Joel Sherrill
308aed9b39 Added numerous entries to make the memory calculation more accurate:
+ POSIX threads
  + Ada tasks
  + POSIX threads API support
  + POSIX condition variables
  + POSIX keys (still do not account for data fields)
  + POSIX mutexes
  + POSIX queued signals
  + added macro for extra memory for task stacks
  + default value for CONFIGURE_MAXIMUM_FAKE_ADA_TASKS
  + extra memory for Ada task stacks
1998-04-27 13:49:42 +00:00
Joel Sherrill
20fff72b41 Moved POSIX_signals_Siginfo_node structure definition to headers/psignal.h
so confdefs.h could see it.
1998-04-27 13:46:45 +00:00
Joel Sherrill
9f0dfeafdb Changed __POSIX_SIGNALS_h to __RTEMS_POSIX_SIGNALS_h to avoid conflict with
the system signals.h file.

Moved POSIX_signals_Siginfo_node type definition to this file to allow
confdefs.h to know the size per queued signal.
1998-04-27 13:46:18 +00:00
Joel Sherrill
39b3d876b6 Reset the pthread attributes structure so the proper error would be
generated.
1998-04-27 13:44:54 +00:00
Joel Sherrill
ede7c5f4f7 regenerated 1998-04-27 13:43:50 +00:00
Joel Sherrill
9829978395 Fixed bug where posix tests were not being enabled. 1998-04-27 13:43:46 +00:00
Joel Sherrill
0903597f4f psim now runs in both debug and non-debug mode. 1998-04-18 17:26:41 +00:00
Joel Sherrill
4955afcca5 rtems_libio_number_iops is now defined in confdefs.h so the maximum
file descriptors is user configurable.
1998-04-18 17:25:35 +00:00
Joel Sherrill
4390882539 Changed to account for libio's maximum_semaphores as well as its
memory requirements.

Also added variable to tell libio how many file descriptors to allocate.
1998-04-18 17:24:56 +00:00
Joel Sherrill
b25d3d03df Changed version number so script will work. 1998-04-18 17:24:04 +00:00
Joel Sherrill
180d459615 Used http reference for EGCS index. 1998-04-17 16:55:37 +00:00
Joel Sherrill
5558bd3809 Increased size of archive. 1998-04-17 16:55:23 +00:00
Joel Sherrill
edffc05456 Fixed so this would compile without warning. 1998-04-15 22:16:43 +00:00
Joel Sherrill
8a1636d39f Added bh, ch, dh, bl, cl, and dl register macros. 1998-04-15 22:16:22 +00:00
Joel Sherrill
6bd6c82e7b Updated. 1998-04-15 22:15:38 +00:00
Joel Sherrill
70ad028c82 update from Eric Norum 1998-04-15 22:09:28 +00:00
Joel Sherrill
c0daf8072f New file created by extracting common initialization from every BSP's
bspstart.c file.
1998-04-15 22:09:17 +00:00
Joel Sherrill
bd9c3d1e76 Numerous changes which in total greatly reduced the amount of source
code in each BSP's bspstart.c.  These changes were:

  + confdefs.h now knows libio's semaphore requirements
  + shared/main.c now copies Configuration to BSP_Configuration
  + shared/main.c fills in the Cpu_table with default values

This removed the need for rtems_libio_config() and the constant
BSP_LIBIO_MAX_FDS in every BSP.  Plus now the maximum number of open
files can now be set on the gcc command line.
1998-04-15 20:50:31 +00:00
Joel Sherrill
b6394ae434 Transitioned to shared bsp_libc_init() and cleaned up comments. 1998-04-15 15:13:01 +00:00
Joel Sherrill
b3d3a34edd Stack checker now enabled via initial set of user extensions. This
eliminates the need to build the entire application with the
STACK_CHECKER_ON macro defined.
1998-04-15 15:10:47 +00:00
Joel Sherrill
d07d3eecca Initial sets of user extensions now have memory allocated on the fly
for them.
1998-04-15 15:09:38 +00:00
Joel Sherrill
71f4beb0cd Stack check now initialized as part of initial extension set. 1998-04-15 15:08:49 +00:00
Joel Sherrill
9b64c2d5f7 Per suggestion from Eric Norum, went from one initial extension set
to multiple.  This lets the stack check extension be installed
at system initialization time and avoids the BSP having to
even know about its existence.
1998-04-15 00:10:03 +00:00
Joel Sherrill
0451b44f36 Per suggestion from Eric Norum, went from one initial extension set
to multiple.  This lets the stack check extension be installed
at system initialization time and avoids the BSP having to
even know about its existence.
1998-04-15 00:02:10 +00:00
Joel Sherrill
7780978058 changed version to ralf-980414 1998-04-14 23:00:33 +00:00
Joel Sherrill
01a49905ae Account for interrupt stack space 1998-04-14 22:56:31 +00:00
Joel Sherrill
4381e50e1e Ralf Corsepius suggested a way to get rid of UNIX compiler files and use gcc-target-default.cfg 1998-04-14 22:44:49 +00:00
Joel Sherrill
665335581b Regenerated 1998-04-14 22:43:42 +00:00
Joel Sherrill
2758c9f20b Ralf Corsepius suggested a way to get rid of UNIX compiler files and use gcc-target-default.cfg 1998-04-14 22:13:05 +00:00
Joel Sherrill
1504f71edf Stack checker on 1998-04-14 21:33:20 +00:00
Joel Sherrill
92e15e08c2 Updates from PPC refresh 1998-04-14 21:32:56 +00:00
Joel Sherrill
c244a9ee2c Stack checker extension now accounted for in confdefs.h 1998-04-14 21:32:12 +00:00
Joel Sherrill
ab97da95b3 Added stack checker extension 1998-04-14 21:30:10 +00:00
Joel Sherrill
529b8c1f55 Added src2html directory. 1998-04-14 21:21:40 +00:00
Joel Sherrill
c3820d346f added browseable RTEMS 1998-04-14 21:21:26 +00:00
Joel Sherrill
5fc42c89c9 Added browseable_rtems 1998-04-14 21:20:56 +00:00
Joel Sherrill
7c88bb74e2 RTEMS stuff now browseable for 1st time. Not completed. 1998-04-14 21:20:31 +00:00
Joel Sherrill
b2eca8d22b first cut at browseable RTEMS 1998-04-14 21:19:54 +00:00
Joel Sherrill
a6aa8a9111 "arc" renamed to "archive".
Pictures now in ASCII for maintenance purposes.
1998-04-14 21:19:25 +00:00
Joel Sherrill
ae2e9f2935 "arc" changed to "archive"
Pictures now in ASCII.
1998-04-14 21:17:53 +00:00
Joel Sherrill
3b89891244 Now accounts for region used by RTEMS malloc and extension used
by newlib.
1998-04-14 20:54:26 +00:00
Joel Sherrill
7a75c323e4 Removed recursive call to exit 1998-04-14 20:52:31 +00:00
Joel Sherrill
9c329a5c14 Moved bspclean from assembly to C and made exit act properly. 1998-04-14 20:52:15 +00:00
Joel Sherrill
c8bc6e4567 new file 1998-04-14 20:29:35 +00:00
Joel Sherrill
e6e5e47704 Removed delay macro 1998-04-14 19:56:25 +00:00
Joel Sherrill
b0562e7465 new file 1998-04-14 19:54:38 +00:00
Joel Sherrill
993e1b5c73 Refreshing effort from Avenger. 1998-04-14 19:54:24 +00:00
Joel Sherrill
a34ab1b23a removed shmsupp 1998-04-14 19:54:04 +00:00
Joel Sherrill
22764c0cb5 Corrected comment 1998-04-14 19:53:16 +00:00
Joel Sherrill
89611889fe new files 1998-04-14 19:49:13 +00:00
Joel Sherrill
75dfc7f7ac Changed arc to archive.
Switched self-maintaining ASCII tree picture.
1998-04-14 19:22:35 +00:00
Joel Sherrill
3a781ac70c first cut at src2html and RTEMS 1998-04-14 17:35:30 +00:00
Joel Sherrill
56cab83f90 Added emacs Ada tags stuff 1998-04-14 17:09:26 +00:00
Joel Sherrill
f36caed238 building up src2html 1998-04-14 17:09:06 +00:00
Joel Sherrill
f5ecb312f6 base changes for moving and better error checking 1998-04-14 16:30:23 +00:00
Joel Sherrill
e348edd2aa New file. Copied from Avenger. 1998-04-14 16:10:30 +00:00
Joel Sherrill
49c6428c5a Added Ada support by copying the script from Avenger. 1998-04-14 16:09:02 +00:00
Joel Sherrill
bf09257a95 switched to gcc 1998-04-14 16:08:47 +00:00
Joel Sherrill
52461c5875 New files 1998-04-14 16:03:45 +00:00
Joel Sherrill
dff0a57c2b Now builds for all formats and includes urls 1998-04-14 15:32:28 +00:00
Joel Sherrill
6cede6e403 Added urls as links 1998-04-14 15:17:00 +00:00
Joel Sherrill
7137f8f7c1 Comments from Geoffroy Montel 1998-04-14 15:16:35 +00:00
Joel Sherrill
513196f12b Added rudimentary section on reading the documentation for each tool 1998-04-14 14:21:33 +00:00
Joel Sherrill
c1c5ab930a Comments from Chris Johns 1998-04-14 14:05:10 +00:00
Joel Sherrill
757a75de60 Removed "font -1" command. 1998-04-14 14:04:19 +00:00
Joel Sherrill
fffe92667f Suggestions from Eric Norum 1998-04-14 13:48:33 +00:00
Joel Sherrill
f2cd6a1a8d Changed from Top to index as top node 1998-04-13 20:07:47 +00:00
Joel Sherrill
6e3c36b7b5 added ASCII versions of directory tree figures 1998-04-13 20:03:57 +00:00
Joel Sherrill
4aa6b64d40 Updated to include Steve's figures for the first time. 1998-04-13 19:43:30 +00:00
Joel Sherrill
a178b68d34 Mistake 1998-04-13 19:43:21 +00:00
Joel Sherrill
0df2ab8795 Now builds for all formats.
Updated to include Steve's figures for the first time.
1998-04-13 19:42:55 +00:00
Joel Sherrill
bb5b0467a5 new files 1998-04-13 19:41:07 +00:00
Joel Sherrill
32611a6112 Changed version and date 1998-04-13 18:46:55 +00:00
Joel Sherrill
fdd6a26e68 Added Resources on the Internet section 1998-04-13 17:41:28 +00:00
Joel Sherrill
6f87f00a09 Fixed directory name for gnu tools ftp site 1998-04-13 15:34:05 +00:00
Joel Sherrill
48567c2a93 Updated version of binutils 1998-04-13 15:32:14 +00:00
Joel Sherrill
79bb9221a7 Added Cygwin32 Chapter 1998-04-13 15:31:56 +00:00
Joel Sherrill
4c7cf3ae72 New file based on Word document from Geoffroy Montel <g_montel@yahoo.com>
who was assisted by D.J.Fiddes@hw.ac.uk.
1998-04-13 15:21:30 +00:00
Joel Sherrill
28d056d161 fixed typo 1998-04-11 15:31:44 +00:00
Joel Sherrill
9c748009ab Moved to tools 1998-04-11 15:31:30 +00:00
Joel Sherrill
3d297e9db6 Moved newlib and gcc to newlib-1.8.0 and egcs-1.0.2 under gnu_tools. 1998-04-11 15:28:52 +00:00
Joel Sherrill
1378fcf177 Added Getting Started manuals. 1998-04-11 15:22:02 +00:00
Joel Sherrill
2aaac52858 Corrected paths after moving all supplements into a subdirectory. 1998-04-11 15:20:22 +00:00
Joel Sherrill
c0f503a291 Added Getting Started Manuals 1998-04-11 15:20:00 +00:00
Joel Sherrill
7384b1aefe Corrected Node 1998-04-11 15:19:43 +00:00
Joel Sherrill
57a736ffcb Mostly correcting case of section headings although a few minor things
were corrected as the Getting Started with GNAT/RTEMS manual was
created.
1998-04-11 14:54:58 +00:00
Joel Sherrill
6d3d425dbd Now a passable Ada manual 1998-04-11 14:54:20 +00:00
Joel Sherrill
5741c943d0 Added cross development and real-time embedded systems background. 1998-04-11 14:54:09 +00:00
Joel Sherrill
8e8676daae Base line -- copied from C/C++ 1998-04-11 13:55:14 +00:00
Joel Sherrill
8a3fd66964 Printed copy given to Steve and Mark 1998-04-10 16:44:48 +00:00
Joel Sherrill
bdec27096a In texinfo nicely with all version dependent information
now in variables and some updates already in place.
1998-04-10 16:03:26 +00:00
Joel Sherrill
9c2b0879e2 moved supplements under a subdirectory 1998-04-09 19:48:05 +00:00
Joel Sherrill
6113b3a63d Now builds clean for info, html, and ps. 1998-04-09 19:43:18 +00:00
Joel Sherrill
417fcc7375 base version 1998-04-09 19:18:04 +00:00
Joel Sherrill
7ff01ac4d3 Increased stack space of the monitor task. 1998-04-06 21:41:50 +00:00
Joel Sherrill
45111d773c Increased stack size so test would run in debug mode. 1998-04-06 20:29:58 +00:00
Joel Sherrill
092940bdc4 Purged references to STACK_CHECKER_REPORT_USAGE 1998-04-06 17:09:44 +00:00
Joel Sherrill
1ea9c3f4a5 Purged references to STACK_CHECKER_REPORT_USAGE 1998-04-06 16:33:48 +00:00
Joel Sherrill
a5cb6730b0 Reordered CFLAGS definition so CFLAGS_DEFAULT is before
CFLAGS_$(TARGET_VARIANTS).  This makes sure that -Wall appears
before any individual warnings are disabled during "debug" builds.
1998-04-06 16:26:53 +00:00
Joel Sherrill
c796ea979c More stuff removed as a result of using newlib's isatty() implementation.
These were noticed by Eric Norum.
1998-04-06 15:57:58 +00:00
Joel Sherrill
9d07e59d55 Changed CPU model to mcpu32. 1998-04-06 15:55:37 +00:00
Joel Sherrill
275868b682 Added stanzas for debug_tests and profile_tests. 1998-04-06 15:41:36 +00:00
Joel Sherrill
fa2ce36d87 new ids in aclocal directory 1998-04-06 15:41:17 +00:00
Joel Sherrill
5ed1beb5f1 Fixed improperly named sections for info 1998-04-03 18:50:31 +00:00
Joel Sherrill
5fafa0e2a6 Added test so the build procedure would stop if a directory did not exist.
This typically indicates a bug in a directory level Makefile or a configure
scrip bug.
1998-04-03 18:46:16 +00:00
Joel Sherrill
b82c9578f4 Removed isatty() since we are now using newlib's implementation as
a result of enabling the newlib POSIX directory.
1998-04-03 18:45:42 +00:00
Joel Sherrill
a456074d78 Made these have real constants. 1998-04-03 18:44:44 +00:00
Joel Sherrill
bda1a73bb6 Completed pass at constants. 1998-04-03 18:09:23 +00:00
Joel Sherrill
70dda0eab9 Patch from Samuel Tardieu <sam@inf.enst.fr> so the messages printed
followed GNU conventions.
1998-04-03 18:02:16 +00:00
Joel Sherrill
c6700cd1ff Cleaned up installation of pictures and common html files. 1998-04-03 17:04:40 +00:00
Joel Sherrill
a9a992cbba Moved the terminate node since the "cprev" was being overwritten. 1998-04-03 17:03:05 +00:00
Joel Sherrill
157d351ec1 Moved to tools/texi2www since they are part of that distribution. 1998-04-03 16:51:44 +00:00
Joel Sherrill
0da8d7bdc5 Moved from common directory since they belong to the texi2www distribution. 1998-04-03 16:51:27 +00:00
Joel Sherrill
bfb6bec1c4 Removed incorrect comment. 1998-04-03 16:51:11 +00:00
Joel Sherrill
f568b5d558 Added texi2www to this tree 1998-04-03 16:32:22 +00:00
Joel Sherrill
4fdcf08051 Renamed. 1998-04-03 16:29:29 +00:00
Joel Sherrill
0be992653f Nowbiulds html and ps. Info not supported. 1998-04-03 16:29:23 +00:00
Joel Sherrill
05862b4846 Added shortname generation support with the capability for the user
to specify the base of the name.  BASEnnnn.html
1998-04-03 16:05:16 +00:00
Joel Sherrill
0a46c6dbe4 Added fourth icon which takes user back to the index 1998-04-03 16:02:24 +00:00
Joel Sherrill
3ab325e103 Added -header and -dirfile options. 1998-04-03 15:41:30 +00:00
Joel Sherrill
0bbbf52785 Base file 1998-04-03 15:38:31 +00:00
Joel Sherrill
8e12a8229f Changed Perl executable location 1998-04-03 15:35:52 +00:00
Joel Sherrill
cfdba528f7 Base files from texi2www-960103 1998-04-03 15:35:08 +00:00
Joel Sherrill
180ca02461 Added constants through ch13 1998-04-02 20:02:27 +00:00
Joel Sherrill
bb6c461595 Make sure OAR logo is accessible 1998-04-02 16:50:40 +00:00
Joel Sherrill
32d80abc6d Added egcs 1.0.2 gcc docs 1998-04-02 16:50:07 +00:00
Joel Sherrill
37e077c9dc Corrected wildcard for info files 1998-04-02 16:49:17 +00:00
Joel Sherrill
56061f5d46 Went back to not printing an index. makeinfo does fine if you have indices
but do not print them.  texi2dvi barfs if the entries are even there.
1998-04-02 16:21:08 +00:00
Joel Sherrill
87ed029c79 Added "findex" for all directive pages but it turns out that this
blows up both makeinfo and texi2dvi.  So I have commented them out.
1998-04-02 16:18:26 +00:00
Joel Sherrill
7f70ad7daa Added copy of HELP.html. 1998-04-02 15:31:04 +00:00
Joel Sherrill
6288da8e67 Added newlib to support and ada_user to internal. 1998-04-02 15:30:41 +00:00
Joel Sherrill
9a355cb341 changed version to 4.0.0-beta2 1998-03-31 16:59:07 +00:00
Joel Sherrill
55258b4acd Fixed CUSTOM_FILES rule so it properly picked up files included from
make/custom files.
1998-03-31 16:52:32 +00:00
Joel Sherrill
58933e65f0 Make.config 1998-03-31 14:52:21 +00:00
Joel Sherrill
5e34bf4b95 Added "sigemptyset()" call to insure that the memcmp() would work.
It appears that the new glibc does not clear all the bits of the signal
set with a sigprocmask.
1998-03-31 14:19:27 +00:00
Joel Sherrill
4104db2dd9 Taking care of minor build problems 1998-03-30 15:50:33 +00:00
Joel Sherrill
eff6983de7 Making the stanza right and improving the way the isntall directories are built 1998-03-30 14:58:53 +00:00
Joel Sherrill
ca0b18a1be Corrected distribution levels for html 1998-03-30 14:42:11 +00:00
Joel Sherrill
3754660c97 Added distribution level to each manual 1998-03-30 14:27:11 +00:00
Joel Sherrill
3b50aaf2aa Added 4th icon 1998-03-30 14:26:49 +00:00
Joel Sherrill
266ae228c5 Added directories 1998-03-30 14:26:33 +00:00
Joel Sherrill
55ce02c036 Added support for multiple distribution levels. 1998-03-30 14:25:39 +00:00
Joel Sherrill
47311a164a Mediocre graphic just to use as a place holder to show what it looks like. 1998-03-30 14:06:50 +00:00
Joel Sherrill
c5fcc75ec9 Made the POSIX API option follow the configure line. 1998-03-30 14:05:03 +00:00
Joel Sherrill
26580ff1ee Made the HAS_POSIX_API follow the configure line option. 1998-03-30 14:04:44 +00:00
Joel Sherrill
de0d00512f Made the C++ option follow the configure option. 1998-03-30 14:04:20 +00:00
Joel Sherrill
cbf2f54333 Made HAS_POSIX_API have a "no" definition when it is not enabled. 1998-03-30 14:03:59 +00:00
Joel Sherrill
83997e2ff3 Made C++ follow the configure option. 1998-03-30 14:03:34 +00:00
Joel Sherrill
c895f42a17 Were looking at the wrong C++ variable. 1998-03-30 14:03:04 +00:00
Joel Sherrill
8f95b5f67b Moved bsp_postdriver_hook() to a shared file and made it a common
component.
1998-03-30 14:01:19 +00:00
Joel Sherrill
6937fd82f1 Renamed crt0.o to crt0_go32.o to avoid build problems. 1998-03-30 13:59:07 +00:00
Joel Sherrill
334427722c Update from "erik.ivanenko" <erik.ivanenko@utoronto.ca>.
Also removed bsp_postdriver_hook() from every bsp possible and moved
to shared version.
1998-03-30 13:42:13 +00:00
Joel Sherrill
ece79bb1ab GO32 does not have sockets. 1998-03-27 21:08:59 +00:00
Joel Sherrill
fb94e65fa7 Added dependency so html would build from scratch. 1998-03-27 20:50:31 +00:00
Joel Sherrill
0a702cfbd1 Corrected by adding "end markers". 1998-03-27 20:50:14 +00:00
Joel Sherrill
a30359bbdd Changed int to unsigned32 to match cpu.h. 1998-03-27 19:42:58 +00:00
Joel Sherrill
20515fc1f8 Nodes, menus, etc are automatically generated now 1998-03-27 18:53:17 +00:00
Joel Sherrill
1f020c6577 Renamed extra_manuals to oar_manuals. 1998-03-27 17:34:25 +00:00
Joel Sherrill
9809ab1ed5 Removed ruler line since it is automatically inserted now along with
the buttons at the bottom.
1998-03-27 17:30:42 +00:00
Joel Sherrill
e8f7f83279 Localized for use in doc tree. 1998-03-27 16:49:23 +00:00
Joel Sherrill
b753a34503 Added directive and constant prefixes. 1998-03-27 16:48:50 +00:00
Joel Sherrill
75e22db0d5 Completed sweep adding directive and constant prefixes. 1998-03-27 16:47:53 +00:00
Joel Sherrill
3973e40a54 Should have included <rtems.h> before checking for ifdef RTEMS_UNIX.
Bug report from Olivier Hainque <hainque@inf.enst.fr> on SPARC Solaris 2.6.
1998-03-27 16:34:25 +00:00
Joel Sherrill
f331481c9d Conditionally adding RTEMS_ and rtems_ prefixes. 1998-03-27 13:24:52 +00:00
Joel Sherrill
4fa4ea6512 Added Hitachi SH 1998-03-27 13:24:21 +00:00
Joel Sherrill
a3a7527e1f Attempting to add variable so that in C all constants start with RTEMS_
and all directives start with rtems_.
1998-03-27 13:04:02 +00:00
Joel Sherrill
0ef0ff26fd Added POSIX 1003.1h and PowerPC supplement to internal manuals. 1998-03-27 11:53:51 +00:00
Joel Sherrill
fad4de2b99 New file. Basically m68k version with Hitachi SH comments thrown in. 1998-03-26 20:47:42 +00:00
Joel Sherrill
54fc6fe8e8 The script did not handle public distributions at all. 1998-03-26 20:44:35 +00:00
Joel Sherrill
433a01bd45 Added support for easily building different sets of the manuals
for the public, support, partners, and internal use.
1998-03-26 20:40:34 +00:00
Joel Sherrill
7c8c76749f Better handling of local documentation tools and corrected invocation
of texi2www to correct path information.
1998-03-26 20:34:38 +00:00
Joel Sherrill
5a348d3559 Updated for SH port and variable insertion of version. 1998-03-26 20:33:56 +00:00
Joel Sherrill
bc0307e79d Added build of tools to build procedure.
Automatically insert version information into headers and footers..
1998-03-26 20:33:27 +00:00
Joel Sherrill
c027242b55 rtems.html renamed index.html since that is what httpd looks for
automatically in a directory.

rtems_full.html is an index.html for the full support documentation set.
1998-03-26 20:32:41 +00:00
Joel Sherrill
090f1a42d2 Attempt at separating public, support, partners, and internal. 1998-03-26 20:31:13 +00:00
Joel Sherrill
8a8b751941 Added variables for dates and revision info 1998-03-26 20:30:52 +00:00
Joel Sherrill
9cb1040c02 Enhanced. 1998-03-26 20:30:01 +00:00
Joel Sherrill
2e9dfd596e Installed in partners subdirectory 1998-03-26 20:29:49 +00:00
Joel Sherrill
b317e78c1a removed @ifinfo around something needed for html structure 1998-03-26 20:29:08 +00:00
Joel Sherrill
e8b63db4fa Do not copy headers, use make 1998-03-26 20:28:13 +00:00
Joel Sherrill
9ec289caea More appropriate for public consumption 1998-03-26 17:16:53 +00:00
Joel Sherrill
3c7117d936 Made more appropriate for public consumption. 1998-03-26 17:15:03 +00:00
Joel Sherrill
fb9a80f99d renamed to user's guide. 1998-03-26 17:10:03 +00:00
Joel Sherrill
3cc03ac859 HAS_CPLUSPLUS should have been RTEMS_HAS_CPLUSPLUS. 1998-03-26 12:39:49 +00:00
Joel Sherrill
5e0fbcc15f Moved memcpy to newlib/libc/machine/m68k 1998-03-25 19:02:37 +00:00
Joel Sherrill
c80add4623 m68k software interrupt stack support from Chris Johns and Eric Norum. 1998-03-25 18:46:47 +00:00
Joel Sherrill
059dbcf5f5 Added group and example around tree pictures in html. 1998-03-25 18:36:19 +00:00
Joel Sherrill
c4e090299a Corrected argument passing. 1998-03-25 14:14:46 +00:00
Joel Sherrill
85047f024f Corrected definition of main and boot_card to be more ANSI compliant. 1998-03-25 14:00:41 +00:00
Joel Sherrill
0f262505c3 Corrected invocation of boot_card(). 1998-03-25 13:59:55 +00:00
Joel Sherrill
ddf142da51 Added _XOPEN_SOURCE definition to allow use of UNIX IPC. 1998-03-24 20:53:48 +00:00
Joel Sherrill
abbd5b1bea changed version to 4.0.0-beta1 1998-03-24 19:14:47 +00:00
Joel Sherrill
e6c92eefbd Changed RTEMS cpu to hppa1.1. 1998-03-24 18:44:40 +00:00
Joel Sherrill
526ebe88a8 Added rule to transform hppa1.1 to hppa1_1 since hppa1.1 is not a
valid cpp symbol.
1998-03-24 18:44:25 +00:00
Joel Sherrill
bdac86b583 Real definition for the beginning of the data section per Eric Norum's
suggestion.
1998-03-24 17:13:03 +00:00
Joel Sherrill
72b397aafa Corrected register constraints per suggestion from Thomas Doerfler, IMD
<td@imd.m.isar.de>.
1998-03-24 17:10:44 +00:00
Joel Sherrill
d662fef884 More cpu model flags converted to using cpp predefines. 1998-03-24 16:33:32 +00:00
Joel Sherrill
3ec7bfc7c4 Rename hppa1_1 to hppa1.1 and switched to using __XXX__ macros for
the CPU family name constants.
1998-03-24 16:24:39 +00:00
Joel Sherrill
222788b43d new file 1998-03-24 14:33:28 +00:00
Joel Sherrill
237f8b0d71 Renamed hppa1_1 to hppa1.1 1998-03-24 14:24:57 +00:00
Joel Sherrill
42dc81e206 Renamed hppa1_1 to hppa1.1 1998-03-23 23:08:10 +00:00
Joel Sherrill
e4829a055d renamed ppc to powerpc 1998-03-23 22:54:55 +00:00
Joel Sherrill
d53130befa Updated now that the phony crt0.c in newlib defines all odd symbols
that gcc automatically generates references to.
1998-03-23 19:54:35 +00:00
Joel Sherrill
015183572d *** empty log message *** 1998-03-23 19:53:08 +00:00
Joel Sherrill
5839b0c140 Converted to conditionally uses strerr code to better work with glibc2. 1998-03-23 19:51:40 +00:00
Joel Sherrill
98bcbda39d Patches from Eric Norum:
Here are some patches to the gen68360 BSP.  The improvements include:
        Boot prom run-time selection of DRAM size (1/4/16 Mbytes)
        Full 32-bit ethernet address obtained from boot prom.
        Updated README.
1998-03-23 18:35:41 +00:00
Joel Sherrill
61bbe54311 Update from Eric Norum:
Here are some patches to the gen68360 BSP.  The improvements include:
        Boot prom run-time selection of DRAM size (1/4/16 Mbytes)
        Full 32-bit ethernet address obtained from boot prom.
        Updated README.
1998-03-23 18:35:07 +00:00
Joel Sherrill
4e01c9c496 Added BSP specific start since it had become VERY complex to attempt
to share the start code across i386 BSPs.
1998-03-21 15:44:26 +00:00
Joel Sherrill
77bf1b1a62 Corrected typo in copyright notice. 1998-03-21 15:37:43 +00:00
Joel Sherrill
e2a2ec6016 Switch to using a shared main() for all of the embedded BSPs
based on the GNU tools.  This usually involved correcting the
type of bsp_start(), bsp_cleanup(), adjusting the start code to
call the right start routine (the shared boot_card()), and then
removing code from bsp_start() which was performed in the new
boot_card()/main() path.
1998-03-21 15:37:18 +00:00
Joel Sherrill
2b4aec86fc Fixed spacing to be consistent with other CPUs. 1998-03-21 15:31:13 +00:00
Joel Sherrill
04c99873c9 Fixed RTEMS_PROG_CC_WORKS and RTEMS_PROG_CXX_WORKS so they could
successfully work on powerpc-rtems and hppa1.1-rtems.
1998-03-21 15:27:00 +00:00
Joel Sherrill
5b3cf09202 Added enough symbols to the conftest.c program to make sure it would
successfully link on both the powerpc and hppa1.1.
1998-03-21 15:25:47 +00:00
Joel Sherrill
771dac2a27 POSIX not properly conditionalized 1998-03-21 14:34:58 +00:00
Joel Sherrill
670b2edf77 Fixed typo. 1998-03-20 19:08:26 +00:00
Joel Sherrill
db4aaf8d59 Patch from Eric Norum <eric@skatter.usask.ca>:
I've included a version of make/custom/gen68360.cfg that works with
    this.  Note that I've removed the option of using `-m68020
    -msoft-float -mno-bitfield' as an alternative to using `-mcpu32'.
    The alternative won't work with the new system (since it predefines
    __mc68020__ and not __mcpu32__), and didn't really work before anyway
    (since the newlib that gets linked was built with `-m68020
    -msoft-float' and so could contain bitfield operators).
1998-03-20 17:39:56 +00:00
Joel Sherrill
25804b6077 Patch from Eric Norum <eric@skatter.usask.ca>:
Here is my attempt at bringing m68k.h into line with the predefined
symbols provided by egcs-1.0.2-prerelease (with R. Kirkham's patch so
that -mcpu32, etc. implies -msoft-float).
1998-03-20 17:38:53 +00:00
Joel Sherrill
22393efc82 Added Hitachi SH port info. 1998-03-20 17:22:23 +00:00
Joel Sherrill
f8b27df985 New port from Ralf Corsepius <corsepiu@faw.uni-ulm.de>. 1998-03-20 17:20:45 +00:00
Joel Sherrill
50cf94da7e SH port submitted from Ralf Corsepius <corsepiu@faw.uni-ulm.de>. 1998-03-20 17:16:31 +00:00
Joel Sherrill
a7a08713fb Patch from Ralf Corsepius to properly detect that Cygwin32 does not
support the -pipe option on the compiler.
1998-03-20 16:52:10 +00:00
Joel Sherrill
aa24c61b74 Fixed MANAGERS_NOT_WANTED. 1998-03-20 16:30:51 +00:00
Joel Sherrill
725f310e09 Removed blank line. 1998-03-20 16:28:36 +00:00
Joel Sherrill
7331714cf9 Added Constants, Feature Flags, and Macros (included in Functions).
No status information was included.
1998-03-18 18:15:01 +00:00
Joel Sherrill
c78be42127 First attempt at adding constants and feature flags 1998-03-17 23:10:33 +00:00
Joel Sherrill
6984a19876 Completed status pass on functions and data types. 1998-03-17 18:50:14 +00:00
Joel Sherrill
3cffce87d6 Completed first pass at function status.
Added most data types without status information.
1998-03-17 16:37:57 +00:00
Joel Sherrill
2a087f30a4 Added types, status of functions, cleaned up output of summarize. 1998-03-16 22:43:37 +00:00
Joel Sherrill
3349409381 Added function status and data types 1998-03-16 18:08:38 +00:00
Joel Sherrill
aedf4527f7 Cleaned up format and added data types. 1998-03-16 18:08:25 +00:00
Joel Sherrill
34683feee2 Added Function field. 1998-03-16 17:08:52 +00:00
Joel Sherrill
53d804ff91 summarize now generates a nicely formatted function status summary. 1998-03-16 17:06:12 +00:00
Joel Sherrill
4936b6545f Function implmentation status information correct. 1998-03-16 17:05:47 +00:00
Joel Sherrill
e7acb6028a First time summary chapter is included in the document. 1998-03-16 16:15:32 +00:00
Joel Sherrill
d2865dceeb Fix from Chris Johns for inconsistent invocation of make. 1998-03-16 13:52:11 +00:00
Joel Sherrill
17ab8f5bc8 Added blank lines. 1998-03-14 18:06:27 +00:00
Joel Sherrill
2071990d66 Added summary chapter. 1998-03-14 18:06:08 +00:00
Joel Sherrill
22c9e0ece5 New file. 1998-03-14 18:05:51 +00:00
Joel Sherrill
5e53171dfa Added functions from POSIX standard. 1998-03-14 17:43:56 +00:00
Joel Sherrill
76fa649972 Added functions from POSIX standard. 1998-03-14 17:09:27 +00:00
Joel Sherrill
24331760fa Added copyright header 1998-03-14 16:33:20 +00:00
Joel Sherrill
0874502b51 Added functions from POSIX standard. 1998-03-14 16:31:11 +00:00
Joel Sherrill
68feecfd86 Outline complete and apparently correct. 1998-03-11 22:56:23 +00:00
Joel Sherrill
2d19ed6c69 Baseline 1998-03-11 22:06:41 +00:00
Joel Sherrill
e25b7eecf2 Corrected to indicate test cases which were skipped. 1998-03-03 20:43:14 +00:00
Joel Sherrill
23683dd5fa Changed to remove warning. 1998-03-03 20:42:30 +00:00
Joel Sherrill
607e0a2527 Switched from "extern int errno" to "#include <errno.h>". 1998-03-03 16:20:52 +00:00
Joel Sherrill
79597c724b Removed use of dc. David Fiddes reported that this is part of the
GNU tool bc which is not always installed under Linux and seldom
present under non-UNIX environments like Win32.
1998-02-27 18:18:47 +00:00
Joel Sherrill
0799dec022 Patch from Eric Norum:
Here's another small patch.  The changes to socket.h are to provide
  some definitions that UNIX BSD socket programmers expect.  The
  memcpy.c contains a memcpy routine optimized for the CPU32+.  When I
  run the ttcp benchmark with this routine I get host->68360 transfers
  around 165 kbytes/sec (about a 25% improvement) and 68360->host
    transfers of around 290 kbytes/sec (about a 50% improvement).
1998-02-23 21:33:43 +00:00
Joel Sherrill
9b39bab01d Modified to make it possible for an ISR to return a mutex which did
not use priority ceiling or priority inheritance protocols.
1998-02-20 20:23:57 +00:00
Joel Sherrill
ee7f4e3468 updated 1998-02-20 20:23:12 +00:00
Joel Sherrill
b1b4fd5aa6 Modified to reflect new restrictions on mutex being released. 1998-02-20 19:59:41 +00:00
Joel Sherrill
de76809e19 Removed extra line. 1998-02-20 19:59:23 +00:00
Joel Sherrill
a66186ec6a Added misisng line continuation. 1998-02-20 19:57:53 +00:00
Joel Sherrill
2c45683a02 Increased stack space to let test run to completion. 1998-02-20 19:04:23 +00:00
Joel Sherrill
88a877b30c changed version to 980219 1998-02-19 23:02:45 +00:00
Joel Sherrill
96c73abbc2 Patch from Eric Norum:
While trying to work through this problem I decided that the
  build-time selection of the console I/O operation (polling or
  interrupt) was too clumsy.  Here's a patch that allows run-time
  (actually init-time) selection of the console I/O mode.

  It also shows the need for another `flags' or `options'  field in
  the rtems_driver_address_table structure...
1998-02-19 23:02:16 +00:00
Joel Sherrill
fde74a3e14 Increased stack space of tasks. 1998-02-19 22:55:02 +00:00
Joel Sherrill
b3dcd9a271 Accounted for fixed system overhead. 1998-02-19 22:54:35 +00:00
Joel Sherrill
41f61bcca1 Updated so test tools are installed even when --disable-tests is
specified.  Otherwise a target specific runtest is not installed.
1998-02-19 22:54:14 +00:00
Joel Sherrill
6e73334ecd update from Ralf Corsepius 1998-02-19 22:53:28 +00:00
Joel Sherrill
6eba9b7922 Increased stack size of initialization task. 1998-02-19 22:52:55 +00:00
Joel Sherrill
2617b3450b Restructured so all times are placed in variables and printed in batch
mode at the end of the test.  This eliminates the possibility of IO
blocking a task unexpectedly and messing up the test.
1998-02-19 17:08:54 +00:00
Joel Sherrill
51c195d560 New files missed in previous merge. 1998-02-19 16:23:56 +00:00
Joel Sherrill
00632e5337 changed version to 980218 1998-02-18 20:33:44 +00:00
Joel Sherrill
73249891c8 Went back to polled console. 1998-02-18 20:30:53 +00:00
Joel Sherrill
c7744ee03b Ralf Corsepius noted that there was a dead path in _Thread_Initialize. 1998-02-18 19:34:51 +00:00
Joel Sherrill
bf4cdb70d5 Patch from Chris Johns to add the interrupt class destructure. 1998-02-18 14:11:21 +00:00
Joel Sherrill
60b791ada1 updated copyright to 1998 1998-02-17 23:46:28 +00:00
Joel Sherrill
33b304f949 updated copyright to 1998 1998-02-17 23:45:57 +00:00
Joel Sherrill
f86ec4236f Added .eh_frame, C++ constructor, and C++ destructor sections. 1998-02-17 23:35:54 +00:00
Joel Sherrill
818c361b94 Renamed init.o to exinit.o to avoid naming conflicts with tests. 1998-02-17 23:34:15 +00:00
Joel Sherrill
78fdf2b8c0 Installing sptables with version information. 1998-02-17 23:33:53 +00:00
Joel Sherrill
98401e0a4f mods from Ralf Corsepius 1998-02-17 23:33:16 +00:00
Joel Sherrill
70a88c31dd renamed init.c exinit.c 1998-02-17 22:16:02 +00:00
Joel Sherrill
e810408ea7 First cut at automatic insertion of version information. 1998-02-17 21:39:36 +00:00
Joel Sherrill
5d1ea96d42 added -Wno-unused to debug flags 1998-02-17 20:42:10 +00:00
Joel Sherrill
540292a24d Ralf Corsepius pushing us farther down the autconf path:
"Ladies and Gentlement, we proudly present: a roughly hacked autoconf-ed
  rtems-glom.in" (:-)

  BTW, to follow up to the discussion about installation points, rtems-glom in
  its current shape is an ideal example of a target dependent file. If
  bsp-specific configure-scripts would exist, it might also be a bsp-dependent
  file that contains RTEMS_BSP hard-coded (by configure) into it.
1998-02-17 19:23:47 +00:00
Joel Sherrill
ac61209b11 Added unused warning per discussion on rtems-snapshots list. 1998-02-17 19:16:18 +00:00
Joel Sherrill
9646d5bea1 Patch from Eric Norum <eric@skatter.usask.ca>:
I've gone through and cleaned up the TFTP driver so that it fits
  into the libio system.  Here's the comment from the new driver:

  /*
   * Usage:
   *
   * To open `/bootfiles/image' on `hostname' for reading:
   *         fd = open ("/TFTP/hostname/bootfiles/image", O_RDONLY);
   *
   * The `hostname' can be a symbolic name or four
   * dot-separated decimal values.
   *
   * To open a file on the host which supplied the BOOTP
   * information just leave the `hostname' part empty:
   *         fd = open ("/TFTP//bootfiles/image", O_RDONLY);
   *
   */

  You can `fopen' TFTP files the same way:

                  fp = fopen (fullname, "r");
                  nread = fread (cbuf, sizeof cbuf[0], sizeof cbuf, fp);

  The diff's are included below.  I've also modified the TFTP demo
  program and the bootstrap PROM example.  They should be on my ftp
  site `soon'.

  The one thing I don't like is the way I had to do an end-run on the
  libio routines to get errno passed back from my driver to the
  application (since there are some errno codes that don't map to RTEMS
  status codes).  My approach was to set errno in the driver and have
  the driver routine return an RTEMS status code that I `know' isn't in
  the errno_assoc[] in libio.c.

  Perhaps there should be an RTEMS_TRANPARENT_ERRNO status code (or
  something similar) which driver routines could return to indicate
  that the driver routine has set errno and that the libio routines
  shouldn't attempt to map the returned status code to errno.

  Actually, I think the entire I/O system needs looking at -- as
  you've already mentioned.  The hacks I've dropped in to syscalls.c to
  make fstat work, for example, are *not* shining examples of good
  code......
1998-02-17 18:46:38 +00:00
Joel Sherrill
e81ef51bf1 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
Yep, I have a bunch of bug-fixes and additions pending (Yet another monster
  patch, ... I can hear you scream :-).

  1) configure.in : one AC_CONFIG_HEADER(...) line too much.

  2) configure.in: gcc28 support is enabled by default, i.e. if no
  --enable-gcc28 option is passed on the command line. I am not sure if this
  is intentional.

  IMO, AC_ARG_ENABLE for --enable-gcc28 should look like:

  AC_ARG_ENABLE(gcc28, \
  [  --enable-gcc28                   enable use of gcc 2.8.x features], \
  [case "${enableval}" in
    yes) RTEMS_USE_GCC272=no ;;
    no) RTEMS_USE_GCC272=yes ;;
    *)  AC_MSG_ERROR(bad value ${enableval} for gcc-28 option) ;;
  esac],[RTEMS_USE_GCC272=yes])

  3) At the end of c/src/exec/score/cpu/m68k/m68k.h
  > #ifdef __cplusplus
  > }
  > #endif
  >
  > #endif /* !ASM */
  in my opinion these two statements should be swapped:
  > #endif /* !ASM */
  >
  > #ifdef __cplusplus
  > }
  > #endif

  I didn't try to compile for m68k, but does't this give an error? Is it
  compensated somewhere else - or didn't I look carefully enough?

  5) configure.in: --enable-cpp should probably be renamed to --enable-cxx, as
  gnu-programs use "cxx" to specify C++ specific configure options, while cpp
  is used for the preprocessor (e.g egcs uses --with-cxx-includedir, autoconf
  internally uses $CXX),

  6) The macro files from aclocal/*.m4 contain the buggy sed-rules formerly
  contained in aclocal..m4, i.e. the sed/sort-bug fix to aclocal.m4 didn't
  make it to aclocal/*.m4. I think I should feel guilty for that - Obviously I
  submitted the contents of an old aclocal-directory last time. - Sorry.

  7) For sh-rtems, we currently need to add additional managers to
  MANAGERS_REQUIRED (from inside of custom/*.cfg). Currently MANAGERS_REQUIRED
  is defined in make/compilers/*.cfg. This  seems to prevent overriding
  MANAGERS_REQUIRED from custom/*.cfg files - Obviously the files are included
  in such a way that the settings from compilers/*cfg always override settings
  from custom/*.cfg files.

  Furthermore, I think, defining MANAGERS_* inside gcc-<target>.cfg files is
  not correct - MANAGERS are not gcc-variant-dependent, but depend
  on targets/bsps and therefore should be defined in a bsp/target dependent
  file, e.g. in custom/*.cfg or target.cfg.in.

  I think defining default settings for MANAGERS* in custom/default.cfg could
  be an appropriate location. But this requires all custom/*.cfg files to
  include default.cfg, which *-posix.cfg files don't seem to do.

  Therefore I would like propose to move MANAGERS* to target.cfg.in - they are
  included by all custom/*.cfg files. Perhaps we/you should use this
  opportunity to merge parts from custom/default.cfg into target.cfg.in. This
  ensures to have the setting included once per target makefile and will open
  the opportunity to have autoconf doing additional work on
  bsp-configurations.



  Peanuts sofar, ... but here it comes ... (:-)

  8) I am preparing a major enhancement to autoconf support for
  gnutools/compilers. It is not yet finished, but usable and I'll therefore
  attach a preliminary version to this mail.

  Motivation:
  * Fix problems with --enable-gcc28, if target-cc is not gcc28 compatible
  * Fix -pipe problems
  * Fix problems with hard-coded paths in configuration files (esp. posix)
  * Fix consistency problems with explictly given gnutools and gcc's gnutools

  Currently included:
  * detection and checking of host and target compiler (gcc/g++)
  * checking if target gnutools are in path
  * checking if <target>-gcc -specs works (autodisabling gcc28 if not)
  * checking if <target>-gcc -pipe works

  Todo :
  * *posix.cfg files are not yet adapted => The hard-coded paths for these
  systems are still in use.
  * Check if the host compiler $CC is properly propagated to the Makefiles (I
  doubt it, but this should not matter)
  * Check if rtems' generic tools still work properly (It looks like, but who
  knows)
  * Integrate CXX support into default.cfg or gcc-target-default.cfg (It looks
  like C++ support is only used by posix BSPs)
  * Automatically handle RANLIB/MKLIB  for targets
  *  Plenty ...  (:-)

  Open problems:
  * Untested for non-gcc compatible host and target compilers. This  should be
  no problem if the tools are named follow gnutool's naming convention and are
  included in $PATH while running configure.
  * Intentionally using different tools than that gcc has been configured for,
  e.g. use a different assembler ? This should be still possible if
  XX_FOR_TARGET is hard-coded into custom/*.cfg. I don't see why anybody
  should want to do this, but who knows?

  I have tested this version on linux and solaris hosts, with gcc's
  directories mounted at weird non-standard mount points, using egcs
  (linux/sh-rtemscoff), gcc-2.7.2.2 using native tools (solaris), gcc-2.7.2.3
  w/ gnutools (solaris/linux). I don't expect it to break anything, but of
  cause I can't promise it. It will break most/all *-posix.cfg configuration
  almost for certain, but not more as rtems' current *posix.cfg configurations
  already do (hard-coded configurations).

  I am not sure if this is ready to be included into the next snapshot or not.
  Perhaps you might try this on your systems and if it you don't notice
  serious bugs you might put it into the snapshot for public testing (I don't
  like this, but I don't see another possiblity to test generality).

  I enclose a patch for configure.in and some configuration files which
  comprizes fixes for all items mentioned except of #3 . Don't forget to run
  "aclocal -I aclocal; autoconf;" after applying the patch (:-).
1998-02-17 14:12:01 +00:00
Joel Sherrill
aa8a8c726b Patch from Ralf Corsepius <corsepiu@@faw.uni-ulm.de>:
Yep, I have a bunch of bug-fixes and additions pending (Yet another monster
  patch, ... I can hear you scream :-).

  1) configure.in : one AC_CONFIG_HEADER(...) line too much.

  2) configure.in: gcc28 support is enabled by default, i.e. if no
  --enable-gcc28 option is passed on the command line. I am not sure if this
  is intentional.

  IMO, AC_ARG_ENABLE for --enable-gcc28 should look like:

  AC_ARG_ENABLE(gcc28, \
  [  --enable-gcc28                   enable use of gcc 2.8.x features], \
  [case "${enableval}" in
    yes) RTEMS_USE_GCC272=no ;;
    no) RTEMS_USE_GCC272=yes ;;
    *)  AC_MSG_ERROR(bad value ${enableval} for gcc-28 option) ;;
  esac],[RTEMS_USE_GCC272=yes])

  3) At the end of c/src/exec/score/cpu/m68k/m68k.h
  > #ifdef __cplusplus
  > }
  > #endif
  >
  > #endif /* !ASM */
  in my opinion these two statements should be swapped:
  > #endif /* !ASM */
  >
  > #ifdef __cplusplus
  > }
  > #endif

  I didn't try to compile for m68k, but does't this give an error? Is it
  compensated somewhere else - or didn't I look carefully enough?

  5) configure.in: --enable-cpp should probably be renamed to --enable-cxx, as
  gnu-programs use "cxx" to specify C++ specific configure options, while cpp
  is used for the preprocessor (e.g egcs uses --with-cxx-includedir, autoconf
  internally uses $CXX),

  6) The macro files from aclocal/*.m4 contain the buggy sed-rules formerly
  contained in aclocal..m4, i.e. the sed/sort-bug fix to aclocal.m4 didn't
  make it to aclocal/*.m4. I think I should feel guilty for that - Obviously I
  submitted the contents of an old aclocal-directory last time. - Sorry.

  7) For sh-rtems, we currently need to add additional managers to
  MANAGERS_REQUIRED (from inside of custom/*.cfg). Currently MANAGERS_REQUIRED
  is defined in make/compilers/*.cfg. This  seems to prevent overriding
  MANAGERS_REQUIRED from custom/*.cfg files - Obviously the files are included
  in such a way that the settings from compilers/*cfg always override settings
  from custom/*.cfg files.

  Furthermore, I think, defining MANAGERS_* inside gcc-<target>.cfg files is
  not correct - MANAGERS are not gcc-variant-dependent, but depend
  on targets/bsps and therefore should be defined in a bsp/target dependent
  file, e.g. in custom/*.cfg or target.cfg.in.

  I think defining default settings for MANAGERS* in custom/default.cfg could
  be an appropriate location. But this requires all custom/*.cfg files to
  include default.cfg, which *-posix.cfg files don't seem to do.

  Therefore I would like propose to move MANAGERS* to target.cfg.in - they are
  included by all custom/*.cfg files. Perhaps we/you should use this
  opportunity to merge parts from custom/default.cfg into target.cfg.in. This
  ensures to have the setting included once per target makefile and will open
  the opportunity to have autoconf doing additional work on
  bsp-configurations.



  Peanuts sofar, ... but here it comes ... (:-)

  8) I am preparing a major enhancement to autoconf support for
  gnutools/compilers. It is not yet finished, but usable and I'll therefore
  attach a preliminary version to this mail.

  Motivation:
  * Fix problems with --enable-gcc28, if target-cc is not gcc28 compatible
  * Fix -pipe problems
  * Fix problems with hard-coded paths in configuration files (esp. posix)
  * Fix consistency problems with explictly given gnutools and gcc's gnutools

  Currently included:
  * detection and checking of host and target compiler (gcc/g++)
  * checking if target gnutools are in path
  * checking if <target>-gcc -specs works (autodisabling gcc28 if not)
  * checking if <target>-gcc -pipe works

  Todo :
  * *posix.cfg files are not yet adapted => The hard-coded paths for these
  systems are still in use.
  * Check if the host compiler $CC is properly propagated to the Makefiles (I
  doubt it, but this should not matter)
  * Check if rtems' generic tools still work properly (It looks like, but who
  knows)
  * Integrate CXX support into default.cfg or gcc-target-default.cfg (It looks
  like C++ support is only used by posix BSPs)
  * Automatically handle RANLIB/MKLIB  for targets
  *  Plenty ...  (:-)

  Open problems:
  * Untested for non-gcc compatible host and target compilers. This  should be
  no problem if the tools are named follow gnutool's naming convention and are
  included in $PATH while running configure.
  * Intentionally using different tools than that gcc has been configured for,
  e.g. use a different assembler ? This should be still possible if
  XX_FOR_TARGET is hard-coded into custom/*.cfg. I don't see why anybody
  should want to do this, but who knows?

  I have tested this version on linux and solaris hosts, with gcc's
  directories mounted at weird non-standard mount points, using egcs
  (linux/sh-rtemscoff), gcc-2.7.2.2 using native tools (solaris), gcc-2.7.2.3
  w/ gnutools (solaris/linux). I don't expect it to break anything, but of
  cause I can't promise it. It will break most/all *-posix.cfg configuration
  almost for certain, but not more as rtems' current *posix.cfg configurations
  already do (hard-coded configurations).

  I am not sure if this is ready to be included into the next snapshot or not.
  Perhaps you might try this on your systems and if it you don't notice
  serious bugs you might put it into the snapshot for public testing (I don't
  like this, but I don't see another possiblity to test generality).

  I enclose a patch for configure.in and some configuration files which
  comprizes fixes for all items mentioned except of #3 . Don't forget to run
  "aclocal -I aclocal; autoconf;" after applying the patch (:-).
1998-02-17 14:09:30 +00:00
Joel Sherrill
81e0232b13 Update from Ralf Corsepius:
6) The macro files from aclocal/*.m4 contain the buggy sed-rules formerly
  contained in aclocal..m4, i.e. the sed/sort-bug fix to aclocal.m4 didn't
  make it to aclocal/*.m4. I think I should feel guilty for that - Obviously I
  submitted the contents of an old aclocal-directory last time. - Sorry.
1998-02-17 13:49:06 +00:00
Joel Sherrill
3771cc6ee8 Update from Ralf Corsepius:
Yep, I have a bunch of bug-fixes and additions pending (Yet another monster
  patch, ... I can hear you scream :-).

  1) configure.in : one AC_CONFIG_HEADER(...) line too much.

  5) configure.in: --enable-cpp should probably be renamed to --enable-cxx, as
  gnu-programs use "cxx" to specify C++ specific configure options, while cpp
  is used for the preprocessor (e.g egcs uses --with-cxx-includedir, autoconf
  internally uses $CXX),
1998-02-17 13:48:43 +00:00
Joel Sherrill
b4589477a7 Swapped C++ and ASM "endifs" 1998-02-17 13:21:37 +00:00
Joel Sherrill
a858910778 Incorporated Ralf Corsepius' idea for new -q flags to properly support
"gmake debug".
1998-02-11 22:13:46 +00:00
Joel Sherrill
fc56b90cd3 Don't install tools using variant name. 1998-02-11 21:57:20 +00:00
Joel Sherrill
360930c376 Install size info using "standard" suffix. 1998-02-11 21:56:30 +00:00
Joel Sherrill
2bb990f0a5 Fixed hppa1.1 configuration. 1998-02-11 21:20:43 +00:00
Joel Sherrill
c2c5fc23d8 new test cases 1998-02-11 15:03:38 +00:00
Joel Sherrill
94a6c986f7 new directory structure for hwapi 1998-02-11 14:58:23 +00:00
Joel Sherrill
7175b59b43 hwapi added 1998-02-11 14:50:49 +00:00
Joel Sherrill
9aceddaf7c updates 1998-02-11 14:50:31 +00:00
Joel Sherrill
84b0f7c99d Robin Kirkham reported that the install point was incorrect in this file. 1998-02-10 16:22:57 +00:00
Joel Sherrill
b68e057ebe Fixed to correctly operate on target variants like debug and profile. 1998-02-07 19:56:00 +00:00
Joel Sherrill
e496c1f1ed Should not install build-tools using target variant options. 1998-02-07 19:43:38 +00:00
Joel Sherrill
1e52499574 Updated copyrights 1998-02-06 14:14:30 +00:00
Joel Sherrill
5599d6e9e6 Added @table/@end table capability along with the avdas.d test case where
this capability was first used.
1998-02-06 13:48:44 +00:00
Joel Sherrill
f02ffcaa6a Problem report from Brian Cuthie regarding incorrect calculation
of BSS size.  The conversion from a count of u8's to a count of
u32's was shifting in the wrong direction.  This error had been in
the start code a long time.  It had not caused problems because
the BSS is typically much smaller than the C heap which typically
follows it in memory.  Plus since this code was executed at start
time, all that really happened was an extra zeroing of some memory.
1998-02-06 13:47:09 +00:00
Joel Sherrill
02d19d8123 Added code to more correctly process abstract types (handle, range, etc). 1998-02-05 20:05:26 +00:00
Joel Sherrill
b37137b3ea Removed special ix86-rtems stanza. 1998-02-04 15:56:12 +00:00
Joel Sherrill
7a524954fe Change suggested by Ralf Corsepius:
I am not sure if this is related to this problem, but here is an observation:

  All config.sub scripts from rtems' intrastructure packages internally
  transform i386-rtems into i386-pc-rtems

      newlib-1.8.0-rtems/config.sub i386-rtems --> i386-pc-rtems
      egcs-1.0/config.sub i386-rtems ---> i386-pc-rtems
      egcs-1.0.1/config.sub i386-rtems ---> i386-pc-rtems
      bintutils-2.8.1.0.19/config.sub i386-rtems ---> i386-pc-rtems
      gas-98xxxx/config.sub i386-rtems ---> i386-pc-rtems

  The only exception is rtems itself:

      rtems/config.sub i386-rtems ---> i386-rtems

  I am not sure if this influences i386-rtems + c++/posix, but this indicates
  that rtems' config.sub script should to be updated.
  To fix this, simply copying config.sub e.g. from egcs and removing all
  i[3456]-rtems* case statement lines from configure.in should be sufficient.

  BTW, from autoconf's point of view i386-pc-rtems is the correct target
  conforming autoconf's naming conventions, but using i386-rtems for all
  packages (infrastructure and rtems) should make no difference.
1998-02-04 15:54:31 +00:00
Joel Sherrill
e44e678b45 Cleaned up the definition of CONSOLE_USE_POLLED and CONSOLE_USE_INTERRUPTS. 1998-02-04 15:47:44 +00:00
Joel Sherrill
0312defbeb Patch from Ralf Corsepius to reduce the amount of memory consumed by
the workspace by default.
1998-02-04 15:35:26 +00:00
Joel Sherrill
6c77bbab39 New autoconf feature from Ralf Corsepius:
It adds make rules for reconfiguring build-trees ("make Makefile") and
  adds dependency rules for configure and friends (i.e. calls autoconf).
  Most of this code has been "borrowed" from automake and was adapted to
  rtems.

  Addionally, I added automatic generation of the "aclocal.m4"-file by
  "aclocal" (from the automake package). Therefore I splitted aclocal.m4
  into several separate files (attached to this mail), each containing one
  of rtems customized autoconf/m4-macros and have put them into a new
  subdirectory "aclocal". Normal users won't be influenced and won't even
  need this, unless they try to modify configure.in.

  The main advantage of this is: these aclocal/m4-macros become reusable
  and easier to administer. As a disadvantage, rtems becomes dependent of
  having aclocal/automake installed. To keep building rtems functional if
  autoconf or aclocal isn't installed, the related Makefile commands are
  prefixed by "-" -- only an error message should be issued by "make".
1998-02-04 14:54:27 +00:00
Joel Sherrill
77ea27fc16 Ralf Corsepius noticed that generally was spelled incorrectly. 1998-02-04 14:47:23 +00:00
Joel Sherrill
f00d7add72 Added call to libc_wrapup() in _exit. This fixes a problem where
the atexit routines on the global reentrancy structure were not
invoked.  But it does not seem like a 100% correct solution.
1998-02-03 18:30:05 +00:00
Joel Sherrill
52dd75da50 Corrected spelling error so interrupt driven console would work. 1998-02-03 18:29:05 +00:00
Joel Sherrill
594a413fae Fixed so installed Makefile structure work. 1998-02-02 16:55:57 +00:00
Joel Sherrill
5c3511e5cf Big patch form Ralf Corsepius described in this email:
Here is the result of my nightly work to get RTEMS_ROOT=$srcdir working
  with different shells and relative/absolute paths.

  What I did is relatively simple in principle:
  Instead of setting RTEMS_ROOT in configure.in and then let configure
  substitute @RTEMS_ROOT@ inside the Makefiles, I now let each Makefile
  set RTEMS_ROOT from each Makefile's @top_srcdir@ value.

  The difference is subtile, but with enormous side effects:
  - If RTEMS_ROOT is set in configure, then the same single value will be
  propagated to all Makefiles. This breaks using relative paths, as the
  relative path to the root of the source tree is used inside of all
  subdirectory Makefiles.
  - Now each Makefile.in sets RTEMS_ROOT = @top_srcdir@.  top_srcdir  is
  computed individually by configure for each single Makefile.in, hereby
  receiving the correct value, no matter if relative or absolute paths are
  used.

  To get this working, I needed to remove setting RTEMS_ROOT from
  target.cfg.in, because this overrides the value of RTEMS_ROOT from each
  individual Makefile.


  Furthermore, I removed RTEMS_CUSTOM from the Makefiles and replaced all
  "include $(RTEMS_CUSTOM)" directives with"include
  $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP)". Perhaps you don't like this,
  but I think, to have one variable less is clearer and easier to
  understand than having several variables refering to the next one.


  I enclose a small patch to this mail, which
  - fixes the config.h problem (to finally clearify misunderstands)
  - removes assignment/subsitution of RTEMS_ROOT from configure.in
  - contains a workaround for the application Makefile's RTEMS_ROOT
  problem (reported by Eric)
  - removes some unused lines from the toplevel Makefile.in
  - removes assignment of RTEMS_ROOT from make/target.cfg.in
1998-01-30 21:49:51 +00:00
Joel Sherrill
421dfef68e Corrected Linux port for glibc2 1998-01-30 20:59:22 +00:00
Joel Sherrill
243ce5d741 correction 1998-01-30 20:57:53 +00:00
Joel Sherrill
bb9084dba9 configure.in 1998-01-30 20:57:43 +00:00
Joel Sherrill
b4767da586 Modified output of @Example style in MsWord output routine so it would
be one paragraph with manual line breaks rather than multiple paragraphs..
1998-01-30 19:17:25 +00:00
Joel Sherrill
3a85d03d4e Change to remove warning on glibc2 systems per Ralf Corsepius's
suggestion.
1998-01-28 15:39:30 +00:00
Joel Sherrill
16fc19518a Fix from Eric Norum:
There's an explicit invocation of `make' in c/Makefile.in.  This
  breaks for those of us with different `gmake' and `make' programs.
1998-01-27 20:24:52 +00:00
Joel Sherrill
4da42c64d4 Removed some stanzas per Ralf Corsepius:
> 4) The toplevel Makefile.in contains rules named make_subdir and
  > clean_modules, which probably can be deleted, IMO.
  > At least make_subdir doesn't give any sense anymore. (I had removed it
  > im my original patch).
1998-01-27 14:30:01 +00:00
Joel Sherrill
13331814f7 not submitted 1998-01-27 14:14:20 +00:00
Joel Sherrill
35eb035a15 Fixed missing carriage return at the bottom of the file reported
by Ralf Corsepius
1998-01-27 14:02:21 +00:00
Joel Sherrill
2ece449623 new file 1998-01-26 19:53:28 +00:00
Joel Sherrill
2936b425fd Solaris port updates from Chris Johns 1998-01-23 17:45:05 +00:00
Joel Sherrill
48971e5ed0 Cleaned up a bit. 1998-01-23 17:06:36 +00:00
Joel Sherrill
bd620fe64a Added information about multilib problems. 1998-01-23 17:06:17 +00:00
Joel Sherrill
173c59c841 minor updates .. mostly version 1998-01-23 16:57:29 +00:00
Joel Sherrill
1d01241029 Fixed some "NodeNameIncludesChapterName" problems which were uncovered
doing the HWAPI manual.
1998-01-23 16:56:40 +00:00
Joel Sherrill
4a7c0451ad Reverted change ... 1998-01-22 22:46:55 +00:00
Joel Sherrill
fdff6bf20c Added some GRUB information from Phil Wilshire. 1998-01-22 17:50:27 +00:00
Joel Sherrill
ba02475531 Corrected/simplified setting of RTEMS_ROOT. 1998-01-22 15:20:43 +00:00
Joel Sherrill
9ad1f135fa Added autoconf support for strerror/sys_errlist per Ralf Corsepius'
direction.  This fixes a problem reported by Steve Evans of Radstone
since he is using glibc2.
1998-01-21 18:28:09 +00:00
Joel Sherrill
d73ed76b03 Changed reference from PROJECT_ROOT to RTEMS_ROOT. 1998-01-21 16:50:45 +00:00
Joel Sherrill
419fdf1248 Corrected prototypes for main per Ralf Corsepius' report of warnings
generated when egcs is used with "-Wall -pedantic".
1998-01-21 16:50:18 +00:00
Joel Sherrill
972dc40ea7 Added Code to dop the output in a format which a custom Visual Basic
Application Cindy has written can transform into a nice Word document.
1998-01-21 15:15:12 +00:00
Joel Sherrill
6ab91d9724 Removed warning per Chris Johns' suggestion. 1998-01-20 20:32:15 +00:00
Joel Sherrill
fbaf52eb26 Removed warning per Chris John's suggestion. 1998-01-20 20:31:21 +00:00
Joel Sherrill
cb5bfe40fd Removed CONFIG_DIR and PROJECT_HOME directories. 1998-01-20 19:41:09 +00:00
Joel Sherrill
6d6f1b34e1 Fixed libhwapi to reflect eeprom to non volatile memory rename. 1998-01-20 19:30:48 +00:00
Joel Sherrill
bffb938799 Removed PROJECT_HOME and CONFIG_DIR variables. 1998-01-20 19:30:30 +00:00
Joel Sherrill
3294650cc3 Added _times_r. 1998-01-19 22:31:23 +00:00
Joel Sherrill
866c465f53 more info from Eric 1998-01-19 22:27:56 +00:00
Joel Sherrill
4dc0fd685b Patch from Eric Norum:
With this in place, it is possible to fdopen a TCP stream socket and
  getc/fprintf/etc. on the STDIO stream!
1998-01-19 22:22:25 +00:00
Joel Sherrill
6f9c75c322 Ralf Corsepius reported a number of missing CVS Id's:
> RTEMS is under CVS control and has been since rtems 3.1.16 which was
  > around May 1995.  So I just to add the $Id$.  If you notice other files
  > with missing $Id$'s let me know.  I try to keep w\up with it.

  Now that you have asked -- I'll attach a list of files lacking an RCS-Id to
  this mail. This list has been generated by a little sh-script I'll also
  enclose.
1998-01-16 16:56:48 +00:00
Joel Sherrill
3a7782b09e Jennifer found some uninitialized variables:
+ major and minor number elements in rtems_termios_open.

  + arg->ioctl_return in rtems_termios_ioctl routine.
1998-01-16 15:37:20 +00:00
Joel Sherrill
ecacc1196c Ralf Corsepius <corsepiu@faw.uni-ulm.de> suggested removing these
lines so setting RTEMS_BSP in an environment variable works even
from the top level directory.
1998-01-15 22:51:41 +00:00
Joel Sherrill
2f03a608dc Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
RTEMS_CHECK_FILES_IN uses a sequence of find, sort and sed to collect
  all *.in files in a given subdirectory.

  The current version uses : `find $1 -name $2 -print | sed 's%\.in%%' |
  sort` with $1 being a subdirectory $2 set to Makefile.in.

  This works as long all subdirectories start with a letter that is
  lexically bigger than the letter M, but will fail otherwise.
1998-01-15 22:48:30 +00:00
Joel Sherrill
87904ba261 Error reported by Duncan Smith <dds@flavors.com>:
>> >>There is a 30 day error in  _TOD_Days_since_last_leap_year[2..3]
    >> >
    >> >Thanks.
    >> >What's the condition to hit this error?
    >> >Every year 4n+2 and 4n+3 ?
    >> >(i.e. 1998, 1999, 2002, 2003, ...)
    >> >
    >> OK:  96 97       00 01       04 05 ...
    >> Bad:       98 99       02 03       06 07 ...

There is also a problem in newlib 1.7.x reported at the same time:

  >> I found another, that would strike only on 2/29/2000, or other leapyears.
  >> Only a problem on 1 day.
  >>
  >> Joel:  FYI, there is a bug in Newlib localtime.c, localtime or (_tm_time).
  >> Ours is modified for dst and timezones, but the bug was in original source.
  >> I have not looked at the latest public source (nor do I know where to find
  >> it).
1998-01-15 21:39:15 +00:00
Joel Sherrill
300c8a76ff Added "done" to end of list of BSPs found. 1998-01-15 21:31:37 +00:00
Joel Sherrill
566aea7ddb Fixed code for --disable-rtems-inlines so that it would complete
configuration successfully.

Added code to detect configuring macros and POSIX API at the same time.
There is no macro implementation for the POSIX API.
1998-01-15 20:29:51 +00:00
Joel Sherrill
35a1ec9933 Updates from Eric Norum. Changed CPU CFLAG and went to a common name
for the network driver attach entry point.
1998-01-06 20:18:21 +00:00
Joel Sherrill
2872e0bb1c Changed initial settings of first time. 1998-01-06 15:47:37 +00:00
Joel Sherrill
b2225d72ba Fixed spacing. 1998-01-06 15:40:35 +00:00
Joel Sherrill
2934c3e3d8 Updated for the first time in a long while. 1997-12-23 16:24:21 +00:00
Joel Sherrill
4f7fd59a87 Added CONFIGURE_GNAT_KEYS to correct the number of keys configured
for GNAT.  It was the number of Ada tasks when in fact the run-time
only required a single key.

Also added the CONFIGURE_MAXIMUM_FAKE_ADA_TASKS constant to account
for resources allocated for each non-Ada task/thread which invokes
the Ada run-time implicitly through an Ada call.
1997-12-23 16:03:43 +00:00
Joel Sherrill
ede9a6914b Removed reference to CC_FOR_TARGET since I don't want anyone overriding
it anyway. :)

Added hints about --prefix and --program-prefix options.
1997-12-22 22:40:59 +00:00
Joel Sherrill
fcb114c188 Made --enable-gcc28 the default. 1997-12-22 20:33:55 +00:00
Joel Sherrill
c257ec4eb4 Fixes from Eric Norum. C++ support added in previous version was broken:
1) In my haste to add C++ constructor/destructors to the 68360
   linkcmds scripts I managed to break all existing 68360 programs.
   Linker scripts which actually produce a working executable are
   contained below.  The problem was that the constructor/destructors
   weren't included before the etext symbol.

On top of that Eric and I appear to have problems with attachments:

   2) In deciphering the above problem I think I stumbled across the
   reason you've had with patches mailed from me.  I noticed that the
   linkcmds (and linkcmds.bootp) scripts in the latest distribution have
   a control-M (carriage return) at the end of each line.  Could you
   check the files below before installing them in the distribution and
   see that there aren't returns in the files?  Maybe if I send
   everything as a tar attatchment things will work better.
1997-12-22 18:23:58 +00:00
Joel Sherrill
608641e6d2 Corrected prototypes for all termios console write driver entries to
properly reflect the const on the buffer pointer being passed in.
1997-12-22 17:29:51 +00:00
Joel Sherrill
2ab1b3ac52 Now generating this file with autoconf to avoid having to embed so
much target specific information in the script.
1997-12-22 17:28:32 +00:00
Joel Sherrill
86765accd2 Changed invocation of size_rtems to match new autoconf'ed version. 1997-12-22 17:27:49 +00:00
Joel Sherrill
4bf453a349 Changed from .align to .p2align to avoid differences in meaning of
.align between i386-rtems (real number on .align) and i386-go32-rtems
(power of 2).
1997-12-22 17:27:17 +00:00
Joel Sherrill
6d5769fd35 Added size_rtems as a generated file. 1997-12-22 17:26:19 +00:00
Joel Sherrill
bfa613bdf8 Added lines to build sizeinfo.txt which is automatically generated now
by size_rtems.
1997-12-22 15:06:49 +00:00
Joel Sherrill
8fe6d358bf Moved -qnolinkcmds option so arguments passed on the command line are
interpreted at the right point per Eric Norum's discovery:

    The problem with the my previous `fix' for adding linker commands
    was with the ordering of the options to the linker.

    For example, to make a larger heap size, the application Makefile would
    CFLAGS_LD = -Wl,--defsym -Wl,HeapSize=0x40000

    The command passed to the linker would be :
    m68k-rtems-ld .... -T xxx/linkcmds .... --defsym HeapSize=0x40000 .....

    This doesn't work because the script in linkcmds inserts a default
    value for HeapSize if HeapSize is not defined by the time the linker
    looks at the linkcmds script.

    The solution seems to be to move the -T linkcmds%s in the bsp_specs
    file out of the link specfication and into the lib specification -- a
    little unorthodox, perhaps, but it seems to work!
1997-12-20 16:59:11 +00:00
Joel Sherrill
1587af614b Update from Eric Norum to include C++ support. 1997-12-20 16:37:29 +00:00
Joel Sherrill
f7fa7d76ce Modified bsp_specs per Eric Norum's suggestion to handle -qnolinkcmds
switch which lets the user specify a different linker script.
1997-12-19 14:48:19 +00:00
Joel Sherrill
d637822384 Pass in PROJECT_HOME so rtems-glom can run if the make is invoked
just in this directory.
1997-12-16 19:02:12 +00:00
Joel Sherrill
87cec4844b Changed RTEMS_BSP to RTEMS_BSP_LIST. 1997-12-16 18:40:08 +00:00
Joel Sherrill
9e86f6d6df Corrected minor things including changing RTEMSBSP to RTEMS_BSP. 1997-12-16 18:39:28 +00:00
Joel Sherrill
d2632274d6 Switched command line override variable RTEMSBSP to RTEMS_BSP
and internally generated list of BSPs to RTEMS_BSP_LIST to make
BSP override from the top level directory consistent.
1997-12-16 18:33:45 +00:00
Joel Sherrill
674c900f24 Modified a lot of files to take a first cut at supporting building from
any directory in the build tree.  The only variable which must be set
before the command "gmake" is invoked is RTEMS_BSP (e.g. RTEMS_BSP=erc32).
1997-12-10 16:58:00 +00:00
Joel Sherrill
f99d4f83cc Added missing dependency for libmisc.a based on a bug report by Phil Wilshire. 1997-12-07 16:58:59 +00:00
Joel Sherrill
c436b5b84d Fixed indexing bug reported by Phil Wilshire. 1997-12-07 16:58:13 +00:00
Joel Sherrill
80a16ec48d Redid hwapi makefile search to remove need for -follow option to find.
Avoid generating Makefiles for KA9Q and C++ when they are disabled.
1997-12-06 15:44:46 +00:00
Joel Sherrill
af231b4fde Removed need for -follow option to find. 1997-12-06 15:43:26 +00:00
Joel Sherrill
ccb806c59d Changed the uuencode line to work better with VPATH setups. 1997-12-06 15:12:07 +00:00
Joel Sherrill
01a5f6b2c6 Moved include of rtems/score/cpu.h to make sure TRUE and FALSE were defined.
This simple error resulted in the wrong FP context structure being used
for hardware contexts on the m68k.  This was a difficult problem to find.
1997-12-06 15:09:30 +00:00
Joel Sherrill
b5fe39d2a9 Reworked mkdir line to invoke smaller lines. 1997-12-04 18:38:33 +00:00
Joel Sherrill
744df7952d Added better/more correct support for Linux and Solaris simulators. 1997-12-04 18:38:05 +00:00
Jennifer Averett
3013e18f74 Modified SPARC to PowerPC. Modified specific requirements to be
for the PowerPC instead of the SPARC.
1997-12-02 16:27:15 +00:00
Jennifer Averett
bfad6e21ed Added definations for serial_per_sec, serial_rate, and serial_xon_xoff. 1997-12-02 16:02:45 +00:00
Jennifer Averett
ba2d45e6a7 Modified referances to SPARC to PowerPC. Updated the Information Table to
match the one in CPU.H.  Added spurious_handler and exceptions_in_RAM items.
Added definations for clicks_per_usec, spurious_handler,exceptions_in_RAM,
serial_external_clock, serial_cts_rts, timer_average_overhead, and
timer_least_valid.
1997-12-02 15:38:10 +00:00
Joel Sherrill
7150f00f5b Inclusion of PC386 BSP submitted by Pedro Miguel Da Cruz Neto Romano
<pmcnr@camoes.rnl.ist.utl.pt> and Jose Rufino <ruf@asterix.ist.utl.pt>
of NavIST (http://pandora.ist.utl.pt/).
1997-12-01 22:06:48 +00:00
Joel Sherrill
ba1a2af91e Fixed test for RTEMS_HAS_POSIX_API so the executive POSIX API related
Makefiles would be properly generated.
1997-12-01 21:27:24 +00:00
Joel Sherrill
b9ca4ba9c9 Even more cleanup to make sure all the --enable/disable options avoid
generating Makefiles where possible.

Added code to make sure make/custom file and bsp directory exist for
configured bsps.  This code also accounts for "aliased" BSPs.
1997-12-01 17:07:52 +00:00
Joel Sherrill
f4cec63dfa Since test suite Makefiles are not always generated, use wildcard
to determine which directories to descend into.
1997-11-30 18:36:52 +00:00
Joel Sherrill
0f3936522e Corrected call to rtems_termios_open. 1997-11-30 18:36:13 +00:00
Joel Sherrill
68732ef351 Corrected comment. 1997-11-30 18:35:22 +00:00
Joel Sherrill
1f3ec87f55 Do not generate make/os at install point. 1997-11-30 18:34:29 +00:00
Joel Sherrill
377178181c Serious cleanup to reduce the number of explicitly listed Makefiles,
eliminated autoconf looking for commands which are unused, and reduce the
number of Makefiles generated.
1997-11-30 18:34:11 +00:00
Joel Sherrill
bbb281698f Removed warnings. 1997-11-29 18:21:00 +00:00
Joel Sherrill
b4dfd17e64 Added credit for host.cfg stuff from Ralf Corsepius (corsepiu@faw.uni-ulm.de). 1997-11-29 18:20:36 +00:00
Joel Sherrill
1670eede8b Changes from Ralf Corsepius (corsepiu@faw.uni-ulm.de) to automatically
generate the list of Makefiles in the configure script.
1997-11-29 18:20:04 +00:00
Joel Sherrill
80868140c3 Patch from Chris Johns to filter out the trace bit on CPU models
which have hardware support for a separate interrupt stack.
1997-11-29 17:51:27 +00:00
Joel Sherrill
61fc72c9dc Removed warning. 1997-11-18 22:33:32 +00:00
Joel Sherrill
91daf55291 New file. 1997-11-18 22:33:17 +00:00
Joel Sherrill
c7ca28cf37 Removed warning under linux port. 1997-11-18 22:32:55 +00:00
Joel Sherrill
ce41c5bb62 Removed warnings. 1997-11-18 22:32:38 +00:00
Joel Sherrill
405829bdbf Added argument as required by new version of termios_open. 1997-11-18 22:32:25 +00:00
Joel Sherrill
53cea31742 Fixed assignment to dereference ch. 1997-11-18 22:32:00 +00:00
Joel Sherrill
d54de3fd8a Changed from DOS style CR/LF to Unix style. 1997-11-18 22:31:37 +00:00
Joel Sherrill
cb4cf6a75a Added CONFIGURE_MEMORY_USER_OVERHEAD constant per Chris Johns request. 1997-11-18 22:30:51 +00:00
Joel Sherrill
a50148aff1 Merged code from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to generate
the information in the make/os/XYZ.cfg files using autoconf.
1997-11-18 22:29:32 +00:00
Joel Sherrill
83bb7781d7 Modified to rezongize CPU-rtemsXYZ rather than just CPU-rtems. 1997-11-18 22:28:45 +00:00
Joel Sherrill
b5ddb7486e Submitted by Ralf Corsepius <corsepiu@faw.uni-ulm.de>. 1997-11-18 22:28:13 +00:00
Joel Sherrill
d24ceb38f7 interrupt driven change from Eric Norum 1997-11-15 18:15:36 +00:00
Joel Sherrill
a307f79f17 Fixed prototype 1997-11-10 17:50:50 +00:00
Joel Sherrill
52e1708d71 Set return code to avoid spurious errors. 1997-11-10 17:31:11 +00:00
Joel Sherrill
87926ab663 Test document. 1997-10-31 19:44:42 +00:00
Joel Sherrill
f70c6adca3 New test file. 1997-10-31 19:44:32 +00:00
Joel Sherrill
2744eec495 Replaced the algorithm used to build the texinfo nodes and menus. This
was necessary to fix some bugs and to support the "@subsubsection",
"@raise", and "@lower" commands.  The major known bug was that
single section chapters were not being processed correctly.

Added the -c option so chapter names do not always have to included
in the node names.
1997-10-31 19:44:23 +00:00
Joel Sherrill
5a5bd13bac added katsutoshi Shibuya 1997-10-24 19:29:01 +00:00
Joel Sherrill
51eb8d55a0 Changed prototype of read routine. 1997-10-23 18:49:34 +00:00
Joel Sherrill
87d3d02640 Switched to new style for read support routine. 1997-10-23 18:49:02 +00:00
Joel Sherrill
cfefaa6e9e Added TOD driver from Katsutoshi Shibuya. 1997-10-23 18:48:35 +00:00
Joel Sherrill
51961e4211 Removed GEN68360_INIT. 1997-10-23 18:48:01 +00:00
Joel Sherrill
4106f7f74b Update from Eric Norum. 1997-10-23 18:47:43 +00:00
Joel Sherrill
aa239a7ec2 Updated console driver to use new read routine conventions. 1997-10-23 18:47:23 +00:00
Joel Sherrill
208a922cdf Added TOD code for MVME162 BSP from Katsutoshi Shibuya. 1997-10-23 18:46:03 +00:00
Joel Sherrill
514cf30bb5 Added new test for termios style consoles from Eric Norum. 1997-10-23 15:12:46 +00:00
Joel Sherrill
5993d021dc Added console_reserve_resources. 1997-10-23 15:12:08 +00:00
Joel Sherrill
edd1329f41 Overhauled console driver to use termios and to simultaneously support
both ports.
1997-10-23 15:11:27 +00:00
Joel Sherrill
b628637805 Added prototype for console_reserve_resources. 1997-10-23 15:10:13 +00:00
Joel Sherrill
ee9669fc37 Added termios test. 1997-10-23 15:09:50 +00:00
Joel Sherrill
3ee825e830 fixed comment 1997-10-23 15:00:32 +00:00
Joel Sherrill
118a81295d New termios.c from Eric Norum.
Added new entry point to add in per physical port resource requirements.
1997-10-23 13:13:46 +00:00
Joel Sherrill
3dbcece75a Added test case for rtems_interrupt_catch checking that the pointer
for the returned old_isr_handler was non-NULL.
1997-10-21 18:41:36 +00:00
Joel Sherrill
a18ccfe0a7 Fixed a number of warnings regarding comparisons between signed and
unsigned numbers.
1997-10-21 18:39:49 +00:00
Joel Sherrill
48220699fd Fixed endian problem in printing object names. 1997-10-21 18:39:27 +00:00
Joel Sherrill
a7e2729c61 Converted to termios style device driver. 1997-10-21 18:38:24 +00:00
Joel Sherrill
cdfd74a538 Added check that return argument pointer for old_isr_handler was valid. 1997-10-21 18:37:58 +00:00
Joel Sherrill
d7072e56f5 Moved rtems directory up one directory in the install point. It was
formerly under $(target) and is now at the same level.
1997-10-21 18:37:32 +00:00
Joel Sherrill
97faafa58e Added termios submission from Eric Norum and Katsutoshi Shibuya. 1997-10-21 18:36:48 +00:00
Joel Sherrill
a75c783660 Converted from using a message queue for the raw input queue to using a
ring buffer in conjunction with a counting semaphore.
1997-10-21 17:03:18 +00:00
Joel Sherrill
55e13228e3 Added termios submission from Eric Norum and Katsutoshi Shibuya. 1997-10-21 17:03:17 +00:00
Joel Sherrill
ae35953d04 Added termios submission from Eric Norum and Katsutoshi Shibuya. 1997-10-21 16:18:03 +00:00
Joel Sherrill
4fd617952e Added casts and fixed line break. 1997-10-21 16:17:12 +00:00
Joel Sherrill
f33a3f2a76 Control and Data addresses were swapped for port A. 1997-10-16 21:06:47 +00:00
Joel Sherrill
d17d4d2f6a Moved selection of console port to custom file. 1997-10-15 21:27:00 +00:00
Joel Sherrill
84ff8b7bf9 New version of this file from Eric Norum. 1997-10-13 17:38:18 +00:00
Joel Sherrill
d9fe8e230a Fixed some spacing. 1997-10-09 20:21:43 +00:00
Joel Sherrill
f00108f5f7 Fixed incorrect reference to RTEMS_BSP instead of RTEMS_BSP_FAMILY. 1997-10-09 18:35:02 +00:00
Joel Sherrill
a86443fbac Added search of libcpu and fpsp. 1997-10-09 18:33:46 +00:00
Joel Sherrill
c3a0358161 Renamed mlink to make_subdir.
Removed a junk line.
1997-10-08 20:09:58 +00:00
Joel Sherrill
b54624299a Modified to search RTEMS library before Newlib C library. 1997-10-08 19:52:47 +00:00
Joel Sherrill
58e3dc799a Fix from Eric Norum so FPSP is installed before any FP code is actually
exercise.
1997-10-08 18:25:30 +00:00
Joel Sherrill
89f5f5a1d8 Fix from Eric Norum to assemble under COFF. 1997-10-08 18:23:58 +00:00
Joel Sherrill
7de0960c0b Update from Eric Norum:
Change label names so they can be seen from the debugger.
        Provide a start symbol -- gets rid of a loader warning message.
1997-10-08 18:19:43 +00:00
Joel Sherrill
6fd3979f63 Added comment about using --enable-gcc28 and --enable-libcdir
options together.
1997-10-08 17:57:04 +00:00
Joel Sherrill
98e4ebf594 Fixed typo in the pointer to the license terms. 1997-10-08 15:45:54 +00:00
Joel Sherrill
a2016b9965 Removed include directory at "build" point and the link of this directory
to lib/include.

Went to using a PROJECT_INCLUDE variable.
1997-10-08 14:42:08 +00:00
Joel Sherrill
f05f7045a5 Updated information on building your own application. 1997-10-08 14:06:17 +00:00
Joel Sherrill
f5afb698cd Reworked building of make subdirectory and contents in the object
tree.
1997-10-08 14:05:38 +00:00
Joel Sherrill
0c618b67e3 Redid the installation of the "make" directory at the install point.
It is no longer a link.  It is a copy.
1997-10-07 20:47:49 +00:00
Joel Sherrill
3a321e2310 Fixed some weird line duplications. Thanks to Chris Johns. 1997-10-06 21:32:47 +00:00
Joel Sherrill
ffa6183035 Increased interrupt stack space. 1997-10-06 21:30:16 +00:00
Joel Sherrill
b6770d1662 Fixed comment. 1997-10-06 21:29:29 +00:00
Joel Sherrill
7e4938ca42 Make Post an atomic operation. 1997-10-06 21:28:40 +00:00
Joel Sherrill
d14418b6cb Added _Thread_Enable_dispatch to already_timedout path on Wait_support. 1997-10-06 21:28:18 +00:00
Joel Sherrill
7d5566ec7d Fixed bug where include not actually created. 1997-10-06 21:26:11 +00:00
Joel Sherrill
e8ee2f324c If the specified time period is less than a clock tick, then
it is arbitrarily assumed to be 1 clock tick.
1997-10-05 16:26:04 +00:00
Joel Sherrill
8959fccf62 fixed typo 1997-09-30 14:49:56 +00:00
Joel Sherrill
63cebf6ce8 Fixed typos. 1997-09-30 14:44:28 +00:00
Joel Sherrill
f795ca905a Uncommented gettimeofday_r to resolve missing symbol. 1997-09-21 17:44:50 +00:00
Joel Sherrill
8cd3748d70 Removed duplicate listing of install in MTARGETS.
Add monitor test.
1997-09-21 17:44:14 +00:00
Joel Sherrill
5beb562450 Cleaned up as part of adding the Monitor test. 1997-09-21 16:58:57 +00:00
Joel Sherrill
f37e656d55 Added Monitor test. 1997-09-21 16:57:46 +00:00
Joel Sherrill
8f367d6baa Bug fix from Eric Norum:
After weeks of trying to figure why my RTEMS/KASQ server crashes now
    and then I found a nasty bug I introduced in adding multiple-driver
    support to libio.  The bug only affects `add-on' driver classes (like
    the networking code).  Old-style file descriptors were not affected.

    The bug cleared 32 bytes of memory (unspecified location) whenever a
    `close' of a socket was performed!  I was clearing an IOP I hadn't
    allocated -- and the pointer wasn't initiallized, either!
1997-09-19 18:31:05 +00:00
Joel Sherrill
6b4ca3125e Merged changes from Eric Norum:
Enable 68360 watchdog.  The watchdog control register is a
    `write-once' register, so the watchdog has to be enabled in the boot
    roms if it is to be used at all.  To make the change transparent I
    added a default feed of the watchdog to the clock interrupt handler.
    This can be overridden if the application wants to handle the
    watchdog.  The only difficulty with this change is that an
    application has to either include the clock driver or handle the
    watchdog explicitely.  I don't think this is much of a problem since
    I am pretty sure that almost every application includes the clock
    driver.
1997-09-18 16:01:52 +00:00
Joel Sherrill
a72e3dd1cb updated 1997-09-16 13:08:58 +00:00
Joel Sherrill
fc4675f073 syslog added 1997-09-15 19:01:33 +00:00
Joel Sherrill
8f35817acf eliminated potential for overfilling buffer on read 1997-09-15 18:52:26 +00:00
Joel Sherrill
8d053460ff Fix from Eric Norum. Here is the comment:
Enable SDMA operation during FREEZE.  It seems that
        disabling SDMA during freeze makes the SMC channels
        work erratically.
1997-09-03 22:05:51 +00:00
Joel Sherrill
cf5ef6d52d More specific information on error code. 1997-09-03 15:36:05 +00:00
Joel Sherrill
ad9250cfe3 Fixed IO Manager calls to remove an argument which was used in 3.2.1
but not in newer RTEMS.
1997-08-28 22:23:10 +00:00
Joel Sherrill
e9932367e7 Switched to new style which does not require hackspecs.awk. 1997-08-28 21:54:59 +00:00
Joel Sherrill
de5e24f83f Removed hackspecs.awk in move from -mrtems to -qrtems. 1997-08-28 21:52:27 +00:00
Joel Sherrill
7d352a49b7 Added RTEMS_IO_ERROR status code. 1997-08-28 13:59:41 +00:00
Joel Sherrill
b47be20cf5 Added IO_Error status code and fixed No_Memory error number. 1997-08-28 13:57:29 +00:00
Joel Sherrill
d1b60f0f36 Corrected reference to LIBC_LIBM to work on all targets. 1997-08-27 20:34:23 +00:00
Joel Sherrill
3473f60548 Added error numbers and changed default error code from 0 to -1 for
error number mapping.
1997-08-27 20:33:49 +00:00
Joel Sherrill
f80faebea7 Modified to support the BSP family concept. 1997-08-27 20:33:11 +00:00
Joel Sherrill
49c2f58948 Modified to have correct address for vector table on multiple models. 1997-08-27 20:31:34 +00:00
Joel Sherrill
2a1a547092 Added rule so TARGET_VARIANTS are dependent on the environment stuff. 1997-08-27 20:29:26 +00:00
Joel Sherrill
39ffc7da6d Use own pdir option was reversed. 1997-08-26 19:25:20 +00:00
Joel Sherrill
2d60095868 Patches from Chris Johns to clean up test. 1997-08-26 19:24:22 +00:00
Joel Sherrill
588a2382a2 removed -lm 1997-08-26 19:19:21 +00:00
Joel Sherrill
12a17af309 Corrected to compile with egcs. 1997-08-26 18:10:59 +00:00
Joel Sherrill
5316519a3a Added support for TARGET_VARIANTS. 1997-08-26 18:09:16 +00:00
Joel Sherrill
e63e254e4c Corrected bug per Katsutoshi Shibuya's report:
The definition of "BEGIN_DATA" should not be null; should be ".data".
    Also, the definition of "BEGIN_BSS" should be ".bss".  For this error,
    the compiled object has codes that write on the text segment area.
    It is fatal when the code runs on ROM.
1997-08-22 19:19:07 +00:00
Joel Sherrill
b57992a382 Removed assert condition when not initialized or there are 0 periods. 1997-08-22 19:17:54 +00:00
Joel Sherrill
b1459dc199 Moved reentrant wrappers into their own file. 1997-08-22 19:17:09 +00:00
Joel Sherrill
78d87bd3f3 Fixed iop/memory leak bug reported by Dan Dickey. 1997-08-22 19:16:47 +00:00
Joel Sherrill
8affd6f1fc Removed redundant stanza. 1997-08-22 19:16:22 +00:00
Joel Sherrill
9b1f5678c2 Fixed infinite recursion bug in PTHREAD_MUTEX_INITIALIZER. 1997-08-22 19:11:02 +00:00
Joel Sherrill
799a5b9f8d Added commit about missing support for condition initializer. 1997-08-22 19:10:44 +00:00
Joel Sherrill
2d99737533 start no longer a global symbol per Eric Norum's request.
Also, I ran across a nasty problem the first time I tried
    downloading and running an application compiled with the new
    snapshot.  To make a very long story short, the `start' in
    ...../m68k/gen6860/start360/start360.s must not be global.  The
    change is simple -- just remove the
            .globl start
    from start360.s.
1997-08-22 13:08:56 +00:00
Joel Sherrill
5b9ec35166 Added command line options for next, previous, and up node.
Added error check to insure we don't write over a .texi file given
to us as input.
1997-08-15 16:40:21 +00:00
Joel Sherrill
d074e129e8 Switched to new version of mc68681.h 1997-08-04 22:22:59 +00:00
Joel Sherrill
19fd3340b7 moved mc68230.h from main include directory to motorola 1997-08-04 22:22:31 +00:00
Joel Sherrill
0789abefbc new implementation of mc68681.h 1997-08-04 22:17:17 +00:00
Joel Sherrill
89a3278463 Fixed type 1997-08-04 22:12:39 +00:00
Joel Sherrill
3dd837212a Corrected typo 1997-08-04 22:03:03 +00:00
Joel Sherrill
a397c9c1ac Corrected descent to a hardcoded directory and made it dependent on the cpu model 1997-08-04 21:59:14 +00:00
Joel Sherrill
8bc90517d0 Fixed typo and removed duplicated code 1997-08-04 21:58:30 +00:00
Joel Sherrill
4ef9e99b64 First attempt at values for PPC 1997-08-04 21:58:00 +00:00
Joel Sherrill
50b5f9dbad Trying to support all models 1997-08-04 21:57:06 +00:00
Joel Sherrill
c74169bd6d Trying to support all models. 1997-08-04 21:56:48 +00:00
Joel Sherrill
c9647b37a1 consolex built for all models. 1997-08-04 21:56:00 +00:00
Joel Sherrill
81d965778e moved header files into the motorola and zilog subdirectories 1997-08-04 21:55:30 +00:00
Joel Sherrill
669123e1d3 Correcting difference between mvme162lx and mvme162. All versions have
four serial ports.
1997-08-04 21:53:42 +00:00
Joel Sherrill
02d08803b6 moved header files into the motorola and zilog subdirectories 1997-08-04 21:50:35 +00:00
Joel Sherrill
033ec54463 Modified to reflect changes in mc68681.h header file. 1997-08-04 21:49:47 +00:00
Joel Sherrill
b7396176fd Header files moved into zilog subdirectory. 1997-08-04 21:45:27 +00:00
Joel Sherrill
9b02488484 Moved files into the zilog and motorola subdirectories. 1997-08-04 21:44:05 +00:00
Joel Sherrill
b61e6e1b14 Added GNAT configuration parameters. 1997-08-04 21:43:36 +00:00
Joel Sherrill
7510f18c5b Added include/motorola and include/zilog directories to the
install tree and cleaned up spacing.
1997-08-04 21:42:22 +00:00
Joel Sherrill
c46732c700 Added ppc-rtems as alternative name.
Moved files around in list of Makefile's to better support
--disable-tests option.
1997-08-04 21:41:38 +00:00
Joel Sherrill
28a4b1dc17 moved from main include directory 1997-08-04 21:39:07 +00:00
Joel Sherrill
1f552a0efd Fixed wildcard in copy command. 1997-08-04 20:06:33 +00:00
Joel Sherrill
0e5dd4288c Added comments to help avoid editting generated file. 1997-08-04 20:06:16 +00:00
Joel Sherrill
1ca951cebf Added information based on comments from Katsu Shibuya. 1997-08-04 20:05:48 +00:00
Joel Sherrill
6059e1116d Fixed node links. 1997-08-04 20:04:43 +00:00
Joel Sherrill
6943b0eaf3 removed binary files 1997-08-04 20:04:25 +00:00
Joel Sherrill
b2fed4811d Added these files to contain bodies for routines included in the API
but which did not have real bodies.  This is necessary for languages
like Ada95 which must have real entries in a library for bindings.
1997-08-02 17:55:09 +00:00
Joel Sherrill
30e3029a90 Added conditional for KA9Q. 1997-08-01 20:58:10 +00:00
Joel Sherrill
1f581ec6c2 Added include of termios.h which was accidentally left out. 1997-08-01 20:57:21 +00:00
Joel Sherrill
bcbd75d4b7 Added consolex to wrapup 1997-08-01 20:56:36 +00:00
Joel Sherrill
a7fcfd0f61 Corrected typo. 1997-08-01 20:56:24 +00:00
Joel Sherrill
978a9ba017 Added --enable-gmake-print-directory option and ods68302 bsp. 1997-08-01 20:22:57 +00:00
Joel Sherrill
3f70e3cb93 Corrected typo where "+ " was pasted in from another window.
Added c/src/lib/libbsp/m68k/mvme162/consolex/Makefile to list.
1997-08-01 20:22:29 +00:00
Joel Sherrill
adf7b5c4ba Made to work. 1997-08-01 20:15:02 +00:00
Joel Sherrill
29a9e5d1e2 Removed warnings. 1997-08-01 20:14:57 +00:00
Joel Sherrill
9deb5b8b28 Katsutoshi Shibuya (shibuya@mxb.meshnet.or.jp)of BU-Denken Co., Ltd.
(Sapporo, Japan) submitted the extended console driver for the
MVME162LX BSP and the POSIX tcsetattr() and tcgetattr() routines.
This device driver supports four serial ports, cooked IO, and
provides a portable base for Zilog 8530 based console drivers.
1997-08-01 18:12:11 +00:00
Joel Sherrill
0074691a67 Merged very large and much appreciated patch from Chris Johns
<cjohns@plessey.com.au>.  This patch includes the ods68302 bsp,
the RTEMS++ class library, and the rtems++ test.
1997-07-31 22:13:29 +00:00
Joel Sherrill
91333c27bd Merged very large and much appreciated patch from Chris Johns
<cjohns@plessey.com.au>.  This patch includes the ods68302 bsp,
the RTEMS++ class library, and the rtems++ test.
1997-07-31 22:04:17 +00:00
Joel Sherrill
13f09e64e5 Added support for rtems_message_queue_get_number_pending. 1997-07-31 19:48:23 +00:00
Joel Sherrill
e7d8b58826 Added rtems_message_queue_get_number_pending directive. 1997-07-31 19:01:42 +00:00
Joel Sherrill
a2fa8c2525 Added comment to indicate what the commented out C_PIECES indicated. 1997-07-31 19:01:05 +00:00
Joel Sherrill
b930f43d2d Corrected bug in Makefile 1997-07-31 19:00:09 +00:00
Joel Sherrill
60593076c8 Corrected problem where directories where not being properly created.
Change path to indicate expected snapshot date.
1997-07-31 18:59:59 +00:00
Joel Sherrill
db91520362 corrected typos and changes LANGUAGE to RTEMS-LANGUAGE. 1997-07-31 18:45:58 +00:00
Joel Sherrill
03c8223b96 Added more info. 1997-07-31 18:45:32 +00:00
Joel Sherrill
c3fec1c035 Added info on what data type is expected by the clock_get directive
for the pointer to a "return area"..
1997-07-31 18:44:10 +00:00
Joel Sherrill
d1f19f09db Added rtems_message_queue_get_number_pending directive. 1997-07-31 18:24:06 +00:00
Joel Sherrill
e24e9b5ba5 fixed typo 1997-07-18 15:05:05 +00:00
Joel Sherrill
372a382ab4 Fixed typo of "::" 1997-07-18 15:04:19 +00:00
Joel Sherrill
bb566a02c2 Reordered specs. 1997-07-10 20:24:00 +00:00
Joel Sherrill
0b172df9f0 fixed milliseconds and microseconds to tick conversion routines. 1997-07-10 20:23:27 +00:00
Joel Sherrill
bf3a7a5a9a Added information on different MVME162 models. 1997-07-10 19:16:40 +00:00
Joel Sherrill
487c4f62d3 Strip the trace bit from the SR register when dispatching a thread when
exiting from an ISR. This allows the trace bit to be set on a per task
basis and tracing to be limited to that task.
1997-07-10 19:09:16 +00:00
Joel Sherrill
900a3ab184 Repository damaged -- file re-added 1997-07-09 23:57:56 +00:00
Joel Sherrill
eb14a2ffb2 Repository damaged -- files readded. 1997-07-09 23:55:39 +00:00
Joel Sherrill
a14d2af958 Changed name from entry to thread_entry to be more compatible with
Ada interface where entry is a keyword.
1997-07-09 23:52:08 +00:00
Joel Sherrill
db17316d4c Used macro instead of hard coded number. 1997-07-09 23:51:21 +00:00
Joel Sherrill
2a02b0abd5 Added postswitch extension. 1997-07-09 23:50:45 +00:00
Joel Sherrill
b5fc21c686 Added post switch extension. 1997-07-09 23:50:28 +00:00
Joel Sherrill
2c5d78baee Corrected typos and spacing. 1997-07-09 23:46:59 +00:00
Joel Sherrill
250394f6da Added mvme162lx bsp configuration.
M68040 FPSP was already part of the tree but was not being built.
1997-07-09 23:42:09 +00:00
Joel Sherrill
1d320bac21 This code was in the tree but not actually being compiled. There
were a number of minor problems which had to be fixed to get it
to compile including modifying the compile rule to handle C++ comments,
changing the syntax of the include statement, and getting rid of "%"
as part of register names.
1997-07-09 23:41:20 +00:00
Joel Sherrill
8fabc27347 Added sp, sfc, and fpcsr register defines. 1997-07-09 23:33:08 +00:00
Joel Sherrill
2e6d68c475 Updated to the PowerPC. 1997-07-02 17:54:33 +00:00
Joel Sherrill
ce90366e29 updated to properly reflect powerpc 1997-07-02 17:49:23 +00:00
Joel Sherrill
563f7e0f1c New files -- PowerPC supplement is based on the SPARC supplement.
This version has had some initial work done to convert it to
be PowerPC specific.
1997-07-01 18:39:44 +00:00
Joel Sherrill
85ecda876c This commit was generated by cvs2svn to compensate for changes in r930,
which included commits to RCS files with non-trunk default branches.
1997-06-16 21:30:08 +00:00
Joel Sherrill
a66872f657 base PDL 2 TEXI 1997-06-16 21:30:08 +00:00
Joel Sherrill
d4bc481ded Initial revision 1997-06-16 21:30:07 +00:00
Joel Sherrill
e7f86efe5b new file 1997-06-04 18:54:18 +00:00
Joel Sherrill
139b2e4a00 added CVS Id string 1997-06-04 18:32:07 +00:00
Joel Sherrill
25c5bee547 added CVS Id string 1997-06-04 16:06:28 +00:00
Joel Sherrill
dfce927227 Added CVS Id string 1997-06-04 16:04:51 +00:00
Joel Sherrill
02f19bf5f8 changed version number 1997-06-04 16:04:17 +00:00
Joel Sherrill
bf56ac8608 changed edition and version information 1997-06-04 15:15:59 +00:00
Joel Sherrill
022fbf3e99 Fixed formatting problem where @example did not start early enough. 1997-06-04 15:15:28 +00:00
Joel Sherrill
7e8a1fc947 final corrections before 4.1.0 documentation freeze. 1997-06-04 13:04:36 +00:00
Joel Sherrill
b42675fa4c corrected name of test suite 1997-06-03 23:04:25 +00:00
Joel Sherrill
1e97a20280 fixed comment 1997-06-03 23:00:45 +00:00
Joel Sherrill
0803ab0b7e *** empty log message *** 1997-06-03 23:00:20 +00:00
Joel Sherrill
9b3853a58a Removed configuration information. 1997-06-03 22:58:48 +00:00
Joel Sherrill
430d81a28c new file 1997-06-03 22:57:58 +00:00
Joel Sherrill
08c192b75b Removed Configuration Information. 1997-06-03 22:54:45 +00:00
Joel Sherrill
8640cc9922 new files. 1997-06-03 22:52:39 +00:00
Joel Sherrill
4fd88bce5b Removed configuration information. 1997-06-03 22:52:34 +00:00
Joel Sherrill
5d0f4a56d1 new files 1997-06-03 22:49:47 +00:00
Joel Sherrill
7c49880096 new file. 1997-06-03 22:49:19 +00:00
Joel Sherrill
8ed37e3c2d corrected to compile with the new binding. 1997-06-03 22:47:47 +00:00
Joel Sherrill
1b141533fd Corrected for this test. 1997-06-03 22:40:57 +00:00
Joel Sherrill
2bef691c95 Added correct contents 1997-06-03 22:39:55 +00:00
Joel Sherrill
536324918f new file 1997-06-03 22:38:10 +00:00
Joel Sherrill
2ef9d4a4bc Corrected maximum number of messages to be non-zero 1997-06-03 22:22:52 +00:00
Joel Sherrill
6e98a517dc removed reference to Stub Device Driver 1997-06-03 22:21:18 +00:00
Joel Sherrill
f94917d7f8 Replaced prototype for Last_Task which was accidentally removed when
the Configuration Tables were deleted from the Ada specification.
1997-06-03 22:18:54 +00:00
Joel Sherrill
4606374097 Changed RTEMS.Boolean to Standard.Boolean to avoid typing problems. 1997-06-03 22:16:25 +00:00
Joel Sherrill
e3b4ccde04 Fixed incorrect invocation of Message_Queue_Create 1997-06-03 22:11:55 +00:00
Joel Sherrill
79e0b6fdc7 fixed typo which resulted in Message_Queue_Create being invoked incorrectly. 1997-06-03 22:10:18 +00:00
Joel Sherrill
688ecaa0c0 Fixed calls to Message_Queue_Create to include maximum message size
parameter.
1997-06-03 22:08:59 +00:00
Joel Sherrill
e17ffea657 Changed to variable length messages. 1997-06-03 22:06:49 +00:00
Joel Sherrill
bc35a6ef27 Changed Task_Entry_Point to Task_Entry to be correct per 4.0.0. 1997-06-03 21:48:57 +00:00
Joel Sherrill
1338cdb964 Changed type Task_Entry_Point to Task_Entry to be correct per 4.0.0. 1997-06-03 21:46:18 +00:00
Joel Sherrill
c7f646b5f7 Fixed all references to Semaphore_Create to have the correct
argument sequence.
1997-06-03 21:43:20 +00:00
Joel Sherrill
9db72b4ba8 New file. 1997-06-03 21:39:35 +00:00
Joel Sherrill
4b06706929 new file 1997-06-03 21:27:16 +00:00
Joel Sherrill
b4be04e8dd Removed Configuration Table information. 1997-06-03 20:24:11 +00:00
Joel Sherrill
7b93a327e2 Corrected call to Semaphore_Create to have the proper calling sequence 1997-06-03 20:20:39 +00:00
Joel Sherrill
b67e6ecd2f Removed Configuration Table information 1997-06-03 20:20:23 +00:00
Joel Sherrill
43437e9755 new file 1997-06-03 20:20:10 +00:00
Joel Sherrill
f222e9d452 Removed unnecessary dependency on RTEMS_Test_Support which existed
in the RTEMS Ada implementation but does not exist in this binding.
1997-06-03 19:26:36 +00:00
Joel Sherrill
a1ceec8681 new file 1997-06-03 19:25:56 +00:00
Joel Sherrill
be1618a2c0 removed reference to the Stub Device Driver 1997-06-03 19:21:25 +00:00
Joel Sherrill
d6a9988d25 Changed mode and priority of initialization task. 1997-06-03 19:18:15 +00:00
Joel Sherrill
5687a1e90d Changed attribute of Initialization Task to Floating_Point 1997-06-03 18:38:58 +00:00
Joel Sherrill
ac953f2429 new files 1997-06-03 18:38:40 +00:00
Joel Sherrill
dc300dfc67 new file 1997-06-03 18:37:40 +00:00
Joel Sherrill
82870abbb2 new file 1997-06-03 18:28:38 +00:00
Joel Sherrill
91c78ffd38 Changed from RTEMS.Boolean to Standard.Boolean to avoid problems. 1997-06-03 18:28:23 +00:00
Joel Sherrill
93bd5185c9 new files 1997-06-03 18:07:51 +00:00
Joel Sherrill
6666ea8875 Added True and False constants for RTEMS.Boolean types. This necessitated
making sure every True/False reference was fully qualified.
1997-06-03 18:07:30 +00:00
Joel Sherrill
9bec37b866 Switched to proper types for booleans and increased the stack space
for the tasks in this test.
1997-06-03 18:06:46 +00:00
Joel Sherrill
87e951a21d Added RTEMS boolean constants. 1997-06-03 16:04:00 +00:00
Joel Sherrill
a7156d1368 Modifed to make the test run to completion. Primarily provided
the Buffer type and support routines although some work was
required to account for the directives which required message
size information.
1997-06-03 16:00:00 +00:00
Joel Sherrill
981500206f Commented out exception handling code since these routines are not
called from Ada tasks.  It is questionable whether the exception
handling would work correctly.
1997-06-03 15:40:24 +00:00
Joel Sherrill
4db9c861dc removed with of unchecked_conversion 1997-06-03 15:39:28 +00:00
Joel Sherrill
e351c26a8e sptest.adb: update Semaphore_Create calling sequence
sp12.adb: doubled the initialization task stack size
1997-06-03 15:25:28 +00:00
Joel Sherrill
4c3340ced8 Added Pending_Events and lined up other event constants 1997-06-03 15:22:09 +00:00
Joel Sherrill
c1ef8346c3 Fixed problems which prevented the test from compiling and running to
completion.
1997-06-03 15:12:23 +00:00
Joel Sherrill
d348ad96d5 added more constants and fixed numer 1997-06-03 15:11:39 +00:00
Joel Sherrill
7d366f1c98 changed reference for Configuration Table from BSP to RTEMS. 1997-06-03 00:56:11 +00:00
Joel Sherrill
a6b44a8a63 added Signal constants, Is_Status_Successful, and Attribute constants. 1997-06-03 00:55:42 +00:00
Joel Sherrill
d0f426a1bf *** empty log message *** 1997-06-03 00:34:04 +00:00
Joel Sherrill
7e3dcbc175 added rtems_interrupt_level_attribute routien to return a properly
shifted interrupt_level attribute field and RTEMS_INTERRUPT_MASK.
1997-06-03 00:33:48 +00:00
Joel Sherrill
e56a2ef367 updated to run 1997-06-03 00:32:50 +00:00
Joel Sherrill
f2078ec712 New style main procedure which creates the test's RTEMS initialization task
as an RTEMS task.  This avoid problems resulting from differences in the
tasking mode/priority of Ada tasks from the typical way an RTEMS initialization
task is created.
1997-06-03 00:13:05 +00:00
Joel Sherrill
8e7b8105d6 added subtract of 1 to Task_Number to account for the creation
of the initialization task
1997-06-02 23:47:05 +00:00
Joel Sherrill
ad9865e5f3 *** empty log message *** 1997-06-02 23:46:41 +00:00
Joel Sherrill
d766b7fd8c added Minimum_Stack_Size and Mode constants 1997-06-02 23:46:15 +00:00
Joel Sherrill
529cdccdb2 new file 1997-06-02 22:41:03 +00:00
Joel Sherrill
7f79b6737d readded body for "main" procedures 1997-06-02 22:37:28 +00:00
Joel Sherrill
77ff3d1058 removed configuration table definition in Ada 1997-06-02 22:14:51 +00:00
Joel Sherrill
cf1ced661d new file - automatically generated by a script 1997-06-02 21:53:05 +00:00
Joel Sherrill
196a6b9c35 Changed license and copyright notice.
Added "development" style CVS Id
1997-06-02 21:16:14 +00:00
Joel Sherrill
2b7fc9cce2 New file -- works in conjunction with support/init.c. 1997-06-02 21:12:42 +00:00
Joel Sherrill
b7c2ccc7ce Removed Ada Configuration Table definition. 1997-06-02 20:59:29 +00:00
Joel Sherrill
9917d5da01 added screen files from 3.2.1 1997-06-02 20:57:52 +00:00
Joel Sherrill
f3f06f79c3 added new files from test area.
This code has successfully been used to run sp01.
1997-06-02 20:52:48 +00:00
Joel Sherrill
bf9ae83ac4 modified copyright notice to be the same as RTEMS 4.0.0.
changed the CVS ID string to be a "development" version.
1997-06-02 20:32:11 +00:00
Joel Sherrill
6d4e604be8 Initial revision 1997-06-02 20:19:03 +00:00
Joel Sherrill
a94c5a5d69 Changed bitwise OR's used to build up option and attribute sets
to be correct in either C or Ada.

Added the interrupt disable, enable, flash, and is in progress directives.

changed "97" to "1997"
1997-05-31 15:55:10 +00:00
Joel Sherrill
1499931de9 Changed bitwise OR's used to build up option and attribute sets
to be correct in either C or Ada.

Added the interrupt disable, enable, flash, and is in progress directives.
1997-05-31 15:54:51 +00:00
Joel Sherrill
17a3c690be fixed typos 1997-05-30 22:57:25 +00:00
Joel Sherrill
92c2ae1f30 updated to reflect Ada 1997-05-30 21:15:28 +00:00
Joel Sherrill
b64905a74e new file -- Ada specific 1997-05-30 21:15:20 +00:00
Joel Sherrill
61389eac9f first cut at Ada bindings manual 1997-05-29 21:53:58 +00:00
Joel Sherrill
1ca853b288 updated version number 1997-05-29 21:53:46 +00:00
Joel Sherrill
3a8256db27 first cut at adding an Ada bindings manual 1997-05-29 21:53:39 +00:00
Joel Sherrill
00d2a82897 Added support for context switching the data used by the gcc m68k
software floating point emulation code.  Code implemented by
Karen Sara Looney <Karen.Looney@colorado.edu> with much
email assistance from Joel.
1997-05-28 20:36:35 +00:00
Joel Sherrill
5c995d728c version changed 1997-05-28 20:34:49 +00:00
Joel Sherrill
32cbfa76cb *** empty log message *** 1997-05-28 20:34:15 +00:00
Joel Sherrill
04e5f1c352 updated to add ka9q documents 1997-05-28 20:34:00 +00:00
Joel Sherrill
3dc513e299 4.0.0 release docs 1997-05-28 13:57:50 +00:00
Joel Sherrill
1f0f3e3560 added ka9q stack 1997-05-27 23:39:29 +00:00
Joel Sherrill
7922df5975 changed version number to 4.1.0. 1997-05-27 18:27:59 +00:00
Joel Sherrill
ae68ff0857 Initial revision 1997-05-27 12:40:11 +00:00
Joel Sherrill
a3035e7102 base RTEMS documentation 1997-05-27 12:40:10 +00:00
Joel Sherrill
b65131dc23 This commit was generated by cvs2svn to compensate for changes in r832,
which included commits to RCS files with non-trunk default branches.
1997-05-27 12:40:10 +00:00
Joel Sherrill
f5bd03cf5f KA9Q stack removed prior to testing for 4.0.0 public release. 1997-05-23 21:44:19 +00:00
Joel Sherrill
69df7da3a6 updated to correct problem in decoding arguments provided to configure. 1997-05-22 18:13:24 +00:00
Joel Sherrill
edd127027a patch from Eric Norum 1997-05-21 12:59:40 +00:00
Joel Sherrill
e8cdda4f11 Corrected by adding check for NULL address passed into get_status
directive.
1997-04-25 18:13:49 +00:00
Joel Sherrill
f8f5106965 Added to comment header block to include new status directive. 1997-04-25 18:13:26 +00:00
Joel Sherrill
5ed089672b Updated to point to README.configure for build instructions. 1997-04-25 18:13:00 +00:00
Joel Sherrill
18647b7613 updated to reflect new license per John Gwynne's permission. 1997-04-25 16:58:10 +00:00
Joel Sherrill
8a7fafb384 Updated to reflect changes since 3.6.0 1997-04-23 18:17:01 +00:00
Joel Sherrill
7346e5fc58 incorrect screen name for multiprocessing tests. 1997-04-22 20:43:23 +00:00
Joel Sherrill
0a6fb223b6 Patch from Chris John <cjohns@awa.com.au> to add use of a select statement
in the unix port idle thread task.  This should keep the entire application
from blocking when any component does a blocking application.  Also added
TOD_MICROSECONDS_TO_TICKS.
1997-04-22 20:19:25 +00:00
Joel Sherrill
e0de6ef3ad promote TOD_MICROSECONDS_TO_TICKS through API as RTEMS_MICROSECONDS_PER_TICK. 1997-04-22 20:19:12 +00:00
Joel Sherrill
f254555238 multiprocessing fixed on linux by fixing cpu.c so correct form of
semctl was being invoked.
1997-04-22 19:57:02 +00:00
Joel Sherrill
e71ce0712c updated with new license information per Tony Bennett. 1997-04-22 17:47:16 +00:00
Joel Sherrill
84ff7c236b File changed to reflect change in license and copyright. 1997-04-22 17:42:17 +00:00
Joel Sherrill
03f2154e51 headers updated to reflect new style copyright notice as part
of switching to the modified GNU GPL.
1997-04-22 17:20:27 +00:00
Joel Sherrill
b91726f324 LICENSE file is now only in top directory.
README updated.
1997-04-22 17:04:49 +00:00
Joel Sherrill
c06db39873 incorporated feedback from Mark. 1997-04-22 16:50:29 +00:00
Joel Sherrill
bc1f4343c8 changed license to modified GPL 1997-04-22 13:07:36 +00:00
Joel Sherrill
75a1a9406c corrected some email addresses 1997-04-22 13:06:00 +00:00
Joel Sherrill
784cbc4521 corrected Tony Bennett's email address 1997-04-22 12:59:41 +00:00
Joel Sherrill
5bb2ed0713 Added support for HW API package 1997-04-22 12:39:23 +00:00
Joel Sherrill
d4cf164458 Added support for Hardware API. This will be distributed as a separate
component which can be loaded on top of the RTEMS source tree.
1997-04-22 12:37:11 +00:00
Joel Sherrill
971cd229d1 Corrected spelling of --enable-gcc28 argument 1997-04-18 18:41:51 +00:00
Joel Sherrill
1d61610a78 Modified to reflect change from 255 posix priority levels to 254. 1997-04-18 18:39:01 +00:00
Joel Sherrill
59097e784f Changed format of comment blocks to C comments. 1997-04-18 18:38:19 +00:00
Joel Sherrill
7e7143e223 Duplicated timerisr symbol as _timerisr to avoid tool naming problems. 1997-04-18 18:37:48 +00:00
Joel Sherrill
58ae19abb2 Updated to reflect --enable-gcc28 and --enable-libcdir options. 1997-04-18 18:33:53 +00:00
Joel Sherrill
dda5cf445b Corrected incorrect settings for locations of psx and sp test screens. 1997-04-18 17:50:01 +00:00
Joel Sherrill
e412baeca0 Modifications to add --enable-libcdir and --enable-gcc28. These
trip options which allow the RTEMS makefile structure to support
both gcc 2.7.2.2 and gcc 2.8 whenever that is released.
1997-04-18 12:45:32 +00:00
Joel Sherrill
fb07f40407 Added gen68360_040. 1997-04-17 14:38:27 +00:00
Joel Sherrill
9fbba98c99 Fixed path which points to shared directory for all BSPs. 1997-04-16 17:47:48 +00:00
Joel Sherrill
334b01f17e fixed spacing 1997-04-16 17:46:26 +00:00
Joel Sherrill
f9f375ed0e added fpsp support. 1997-04-16 17:45:52 +00:00
Joel Sherrill
f8f370b645 Update from Eric Norum. 1997-04-16 17:45:35 +00:00
Joel Sherrill
34217ccf59 Updated to reflect Tony Bennett's new email address and the incorporation
of the ka9q stack, m68040 fpsp, gen68360_040 bsp submitted by Eric Norum.
1997-04-16 17:42:20 +00:00
Joel Sherrill
5bf6ffb42f Added FPSP support for MC68040 1997-04-16 17:34:40 +00:00
Joel Sherrill
010e758254 Added CVS Id's 1997-04-16 17:34:23 +00:00
Joel Sherrill
f9b93da8b4 Added the MC68040 Floating Point Support Package. This was ported
to RTEMS by Eric Norum.  It is freely distributable and was acquired
from the Motorola WWW site.  More info is in the FPSP README.
1997-04-16 17:33:04 +00:00
Joel Sherrill
83e39b2631 Added --disable-tcpip option.
Add discussion of the pecularities of the i386-go32-rtems configuration.
1997-04-16 17:31:52 +00:00
Joel Sherrill
6881e0cb4b Reduced number of POSIX thread priorities from 255 to 254 to avoid conflicts
of lowest priority with the RTEMS IDLE thread.  This was causing the lowest
priority GNAT Ada task to never run.
1997-04-15 18:02:18 +00:00
Joel Sherrill
c24fef3e90 Added directories to place test output screens into as part of fixing
difftest.
1997-04-15 18:00:03 +00:00
Joel Sherrill
b1a4ca8446 Added line to install test screens so difftest does not have to have
a path back into the source tree.  This would be better for binary
distributions as well since you now have the correct output at the
install point.
1997-04-15 17:40:38 +00:00
Joel Sherrill
b5847517fc Switched all bsps which had an implementation of sbrk.c which only
returned an error to using a single shared copy of this file.
1997-04-15 17:37:12 +00:00
Joel Sherrill
ecc4594a2e Removed many BSPs' copy of setvec.c and let them share the same
implementation as all m68k BSPs.
1997-04-15 17:28:26 +00:00
Joel Sherrill
bc7d465dcd replaced linking of source from mvme147 drivers with use of vpath to
simply search into that directory and get the necessary files.
1997-04-11 18:41:38 +00:00
Joel Sherrill
18e5d86bb9 removed commented out line performing a link 1997-04-11 18:40:04 +00:00
Joel Sherrill
6bcceb87ab enabled floating point and fixed confdef reference to initialization
tasks table.
1997-04-09 21:00:33 +00:00
Joel Sherrill
61a183a90e new test 1997-04-09 20:19:35 +00:00
Joel Sherrill
dfdaf4acf1 added cpuuse and rtmonuse 1997-04-09 20:19:22 +00:00
Joel Sherrill
c46ce85495 printing task names now instead of id numbers 1997-04-09 20:19:07 +00:00
Joel Sherrill
fc7bc517db new files. 1997-04-09 20:18:54 +00:00
Joel Sherrill
9d5152f121 added rtmonuse and cpuuse directories 1997-04-09 20:07:22 +00:00
Joel Sherrill
8f695a1b67 added cpuuse and rtmonuse directories 1997-04-09 20:07:09 +00:00
Joel Sherrill
e39e6f77cf added code to prevent attempts to clean up the library when rtems is
down.
1997-04-09 20:05:59 +00:00
Joel Sherrill
0956b52390 correct incorrect register addresses for port a. 1997-04-09 20:05:37 +00:00
Joel Sherrill
8c0dc2c8c8 removed unused is_character_ready routine. 1997-04-09 20:05:12 +00:00
Joel Sherrill
3fc076d757 added support for tracking thread cpu usage. 1997-04-09 20:04:52 +00:00
Joel Sherrill
192259f630 enhanced printf statements 1997-04-09 20:04:36 +00:00
Joel Sherrill
48e3459586 corrected spacing. 1997-04-09 20:04:22 +00:00
Joel Sherrill
bbb846b405 added SYSTEM_STATE_SHUTDOWN 1997-04-09 20:03:59 +00:00
Joel Sherrill
eafd6989b7 enhanced rtems_shutdown_executive to insure that no attempt will
be made to shut the system down when it is down.
1997-04-09 20:03:35 +00:00
Joel Sherrill
113ef9fc7e added support for statistics on rate monotonic periods. 1997-04-09 20:02:29 +00:00
Joel Sherrill
0c3cd61642 Rate monotonic period and cpu usage monitor libraries and tests added. 1997-04-09 19:59:17 +00:00
Joel Sherrill
d2afb931a3 blank lines deleted 1997-04-09 19:58:27 +00:00
Joel Sherrill
48d6de3482 Adding missing files. 1997-04-09 14:46:16 +00:00
Joel Sherrill
e2d7955973 Added ka9q tcpip stack and network driver for the gen68360. This effort
was done based on the 3.6.0 release and had to be autoconf'ed locally.
It is turned on is the bsp enables it and it is not explicitly disabled
via the configure option --disable-tcpip.   As many warnings as possible
were removed locally after the code was merged.  Only the gen68360
and mvme136 bsps were compiled this way.

The ka9q port and network driver were submitted by Eric Norum
(eric@skatter.USask.Ca).

The network demo programs are not included in the tree at this point.
1997-04-09 14:05:50 +00:00
Joel Sherrill
bed475e288 added cast to eliminate warning. 1997-04-08 11:53:54 +00:00
Joel Sherrill
f8700f776e corrected printf specifications and added casts as necessary to eliminate
warnings.
1997-04-07 21:33:28 +00:00
Joel Sherrill
de4f2810a7 added ifdef to avoid warning for unused variable. 1997-04-07 21:31:59 +00:00
Joel Sherrill
1c666fcea1 corrected integer only definitions of "FP CHECK" routines to eliminate
warnings.
1997-04-07 21:31:39 +00:00
Joel Sherrill
9ffcaa4a8a changed signed int to unsigned int to eliminate a warning. 1997-04-07 21:30:58 +00:00
Joel Sherrill
bd71da714e removed noreturn attribute to eliminate warnings. 1997-04-07 21:30:42 +00:00
Joel Sherrill
82478528de commented out sccs_id's to eliminate warnings. 1997-04-07 21:30:16 +00:00
Joel Sherrill
dd1d1c7382 added prototype and return statement to eliminate warnings. 1997-04-07 21:29:49 +00:00
Joel Sherrill
f1fc782e5f commented out sccs_id's to eliminate warnings.
main.c: added return statement to eliminate a warning.
1997-04-07 21:29:09 +00:00
Joel Sherrill
318976f8dd removed reference to no_bsp.
added prototypes.
1997-04-07 21:28:21 +00:00
Joel Sherrill
de1d7160c6 commented out sccs_id to eliminate warnings 1997-04-07 21:27:59 +00:00
Joel Sherrill
2938c1a3f3 added or fixed includes of page_table.h to eliminate warnings. 1997-04-07 21:27:22 +00:00
Joel Sherrill
588c9ede55 added cast to eliminate warning 1997-04-07 21:26:49 +00:00
Joel Sherrill
930b3d5c2d added prototype for delay. 1997-04-07 21:26:34 +00:00
Joel Sherrill
3bc409ce61 added global statement for start entry point 1997-04-07 21:26:22 +00:00
Joel Sherrill
437366fdd2 removed noreturn from prototype to avoid warnings. 1997-04-07 21:25:42 +00:00
Joel Sherrill
2bad8aa57c added cast to eliminate warning. 1997-04-07 21:25:21 +00:00
Joel Sherrill
759a9d9edd added return statement to avoid warning. 1997-04-07 21:24:28 +00:00
Joel Sherrill
d6ba279565 added initialization of variable to eliminate warning. 1997-04-07 21:24:02 +00:00
Joel Sherrill
0b508554a8 added include of unistd.h to eliminate warning for no prototype for write(). 1997-04-07 21:23:43 +00:00
Joel Sherrill
c6e895df6e added ifdef around variables to eliminate warnings when cross 1997-04-07 21:22:59 +00:00
Joel Sherrill
12d6f1418a added "ifndef" to avoid redefinition warning. 1997-04-07 21:22:15 +00:00
Joel Sherrill
424ab48994 added volatile to Switch_necessary structure member to avoid warning. 1997-04-07 21:21:55 +00:00
Joel Sherrill
d911f4c2c0 added test to avoid spurious error 1997-04-07 21:21:21 +00:00
Joel Sherrill
4e8c5a6bdc added prototype for missing routine. 1997-04-07 21:20:57 +00:00
Joel Sherrill
d749165100 added "return" to eliminate warning. 1997-04-07 21:20:48 +00:00
Joel Sherrill
2ff1d5498e added "ifndef" to avoid redefinition warning 1997-04-07 21:20:35 +00:00
Joel Sherrill
82ab443e24 added prototypes for two assembly language routines to eliminate warnings. 1997-04-07 21:20:16 +00:00
Joel Sherrill
32ef3dc4f6 commented out sccs_id to eliminate warning. 1997-04-07 21:19:59 +00:00
Joel Sherrill
11259ab7f2 added plea for someone to implement software stack switching for m68000-ish
cores.
1997-04-07 21:19:15 +00:00
Joel Sherrill
77d20fb28d Replaced warning message for cpus which do not have hardware support
for an interrupt stack.  Hopefully this will encourage someone to
implement software stack switching on the m68k.
1997-04-07 21:18:50 +00:00
Joel Sherrill
2e4bc8b434 initialized variable to eliminate warning 1997-04-07 21:17:42 +00:00
Joel Sherrill
94784cf8e5 changed signed int to unsigned to eliminate warning 1997-04-07 21:16:47 +00:00
Joel Sherrill
17c4511e3c added "ifndef" for ASM to avoid redefinition warnings. 1997-04-07 21:16:31 +00:00
Joel Sherrill
872cc62e7f updated to put bsps in alphabetical order 1997-04-07 21:15:24 +00:00
Joel Sherrill
1c24fe7ffc corrected one of the references to an environment variable which
is no longer used since autoconf is in place.
1997-04-02 16:27:05 +00:00
Joel Sherrill
51f5d64cf4 corrected printf format to avoid warning 1997-04-02 16:26:39 +00:00
Joel Sherrill
892a536da9 initialized variables or removed unused variables to remove warnings 1997-04-02 16:26:28 +00:00
Joel Sherrill
475fb331ff disabled posix api for the no_cpu-rtems configuration in configure.in
and regenerated configure.
1997-04-02 15:39:20 +00:00
Joel Sherrill
bbbd11c1eb added Jiri for autoconf'ing 1997-04-02 15:00:52 +00:00
Joel Sherrill
9a11e1ff0d was checking for null cpu_table -- short have been checking configuration
table.
1997-04-02 14:58:19 +00:00
Joel Sherrill
254b445071 This set of changes is the build of what was required to convert to
GNU autoconf.  This is the first large step in allowing an RTEMS
user to perform a one-tree build (per crossgcc FAQ) including RTEMS
in the build process.  With this change RTEMS is configured in
built in the same style as the GNU tools, yet retains the basic
structure of its traditional Makefiles (ala Tony Bennett).
Jiri Gaisler (jgais@wd.estec.esa.nl) deserves (and received)
a big thank you for doing this.

There are still issues to be resolved but as of this commit, all target
which can be built on a linux host have been using a modified version
of the source Jiri submitted.  This source was merged and most targets
built in the tree before this commit.

There are some issues which remain to be resolved but they are primarily
related to host OS dependencies, script issues, the use of gawk
for hack_specs, and the dependence on gcc snapshots.  These will
be resolved.
1997-04-01 23:07:52 +00:00
Joel Sherrill
467eae4da5 Fixed symbols. 1997-03-21 19:20:40 +00:00
Joel Sherrill
1a3e4faccb added decrementer entry. 1997-03-21 19:20:25 +00:00
Joel Sherrill
84e5b57f7b Removed Fake input ifdef code. 1997-03-21 19:19:33 +00:00
Joel Sherrill
691259b774 Fixed timerisr symbol. 1997-03-21 19:18:11 +00:00
Joel Sherrill
e667a0bc88 Rewrote to avoid references to C symbols from assembly. This entirely
circumvents the problem of leading underscores.
1997-03-21 19:17:46 +00:00
Joel Sherrill
51c9fb48df Fixes incorrect reference to start symbol. 1997-03-21 19:17:05 +00:00
Joel Sherrill
d0e126a63d updates from John Gwynne 1997-03-11 15:53:05 +00:00
Joel Sherrill
6335022e20 updates from John Gwynne 1997-03-11 15:42:59 +00:00
Joel Sherrill
c43b34cf34 modified _Chain_Insert_unprotected to have the form required to be used
as the sole statement in an if or else statement
1997-03-11 15:42:14 +00:00
Joel Sherrill
0302021856 swapped increment of _ISR_Nest_level and _Thread_Dispatch_disable_level 1997-03-11 15:41:19 +00:00
Joel Sherrill
1dc3500b21 added include of rtems.h so the proper macro definitions would be present. 1997-03-10 19:38:30 +00:00
Joel Sherrill
41c581549b made some of this conditional on unix lib 1997-03-10 19:38:06 +00:00
Joel Sherrill
a3cfa9f031 initialized a stack variable to avoid a warning. 1997-03-10 19:37:44 +00:00
Joel Sherrill
d627c0c4f7 created. Split getpid() from types.c to allow it to be overridden by
cxe1001 of the ACVC 2.0.1.  This allows gnat/rtems to pass the partition
tests.
1997-03-10 16:57:08 +00:00
Joel Sherrill
fec60e9272 Fixed bug where the initial detachstate was not being set properly 1997-03-10 16:56:08 +00:00
Joel Sherrill
1149658ec0 updated version to 4.0.0 1997-03-08 03:57:09 +00:00
Joel Sherrill
9128179112 added support for posix tests 1997-03-08 03:53:59 +00:00
Joel Sherrill
133fb0e552 Larger Workspace when it is a POSIX API. Actually this is just to cover
the extra stack used when GNAT tasks are in the system.  This needs to be
cleaned up.
1997-03-08 03:53:37 +00:00
Joel Sherrill
f926b34f66 Modified calls to _Thread_Change_priority to take a third argument. The new
argument indicates whether the task is to be placed at the head or tail of
its priority fifo when it is lowering its own priority.  POSIX normally
follows the RTEMS API conventions but GNAT expects that all lowering of
a task's priority by the task itself will result in being placed at the
head of the priority FIFO.  Normally, this would only occur as the result
of lose of inherited priority.
1997-03-08 03:51:55 +00:00
Joel Sherrill
dab057a9b3 Modified calls to _Thread_Change_priority to take a third argument. The new
argument indicates whether the task is to be placed at the head or tail of
its priority fifo when it is lowering its own priority.  POSIX normally
follows the RTEMS API conventions but GNAT expects that all lowering of
a task's priority by the task itself will result in being placed at the
head of the priority FIFO.  Normally, this would only occur as the result
of lose of inherited priority.

The RTEMS API always puts tasks at the end of their priority group except
upon loss of inherited priority.
1997-03-08 03:51:09 +00:00
Joel Sherrill
232d6c1cf1 Removed getpid from this file and made it its own file. This lets it
get replaced as required.
1997-03-08 03:50:17 +00:00
Joel Sherrill
5cdcbd22d1 Added commit to indicate exepcted _Thread_Dispatch_disable_level. Hopefully
no one will ever get confused here again and try to enable dispatching. :(
1997-03-08 03:47:34 +00:00
Joel Sherrill
aea06ed443 Modifications to make go32 build using new i386-go32-rtems toolset
and gcc 2.8.x -specs options.
1997-01-29 15:54:31 +00:00
Joel Sherrill
cd912a09ae new file explaining issues related to this bsp. 1997-01-29 15:35:13 +00:00
Joel Sherrill
f3f238783d Fixed this where it works. It includes the libpc.a and libc.a from
djgpp v1.x.
1997-01-29 15:22:49 +00:00
Joel Sherrill
cb585c3159 erc32 bsp supercedes sis 1997-01-29 00:32:23 +00:00
Joel Sherrill
2a3d1fd2cb Made stopping for the pause an option which can be configured in the
targopts.h file.
1997-01-29 00:31:56 +00:00
Joel Sherrill
551cb1c66c Minor change to eliminate incorrect use of unaligned register. 1997-01-29 00:30:51 +00:00
Joel Sherrill
dcec5a4d60 Merged newlib's libgloss support for rtems into this directory. This
should simplify the build process.
1997-01-29 00:29:25 +00:00
Joel Sherrill
634e746544 All RTEMS system call implementation renamed to be __rtems_*. 1997-01-29 00:28:47 +00:00
Joel Sherrill
2f933718b5 The CONSOLE_USE_INTERRUPTS and CONSOLE_USE_POLLED macros are now
defined in the targopts.h file.
1997-01-29 00:28:30 +00:00
Joel Sherrill
541dfb2a06 Removed definitions which are now in targopts.h. This eliminates the
need for the "sed'ing" of this file.  This should be a significant win
when addressing non-unix host and non-gnu toolsets.
1997-01-29 00:22:24 +00:00
Joel Sherrill
36dbb51561 added type to macro to eliminate warning for untyped use of a register. 1997-01-29 00:21:53 +00:00
Joel Sherrill
3aa50294e8 Added comment. 1997-01-29 00:14:15 +00:00
Joel Sherrill
136b1e2286 Removed defines now handled by targopts.h. 1997-01-29 00:13:50 +00:00
Joel Sherrill
ee7cf7d462 Added include of rtems/score/cpu.h 1997-01-29 00:13:11 +00:00
Joel Sherrill
b918108283 Added include of targopts.h. 1997-01-29 00:13:00 +00:00
Joel Sherrill
985796a39a Changed include of asm.h so it is in brackets not quotes. asm.h is
in a standard location and should be referenced as such.
1997-01-29 00:12:31 +00:00
Joel Sherrill
5ddfa53b08 Fixed spacing on comments. 1997-01-29 00:11:16 +00:00
Joel Sherrill
375a6c0612 Fixed spacing on comment. 1997-01-29 00:10:28 +00:00
Joel Sherrill
860e77a42f Fixed comments.
Fixed so this file can be included from assembly code.
1997-01-29 00:09:49 +00:00
Joel Sherrill
95a1d50860 Added comment. 1997-01-29 00:08:14 +00:00
Joel Sherrill
74468994a8 fixed spacing problem 1997-01-29 00:07:15 +00:00
Joel Sherrill
f7e46cf019 With the transition from command line macro definitions to targopts.h,
it was necessary to include system.h before checking if anything was
defined.
1997-01-28 23:35:01 +00:00
Joel Sherrill
68d887326e removed include of unnecessary include file. 1997-01-28 23:33:40 +00:00
Joel Sherrill
52d99d4a34 Switch to using newlib's implementation of time(). 1997-01-28 23:33:22 +00:00
Joel Sherrill
b1b5a7cb43 new file used by gcc 2.8.x -specs option 1997-01-28 23:16:16 +00:00
Joel Sherrill
fc5e2d7328 fixed comments on vanilla 68000 SW interrupt stack (or the lack thereof) 1997-01-15 20:21:48 +00:00
Joel Sherrill
d135fc52cd _CPU_Trap_Table_area is now conditional based on whether or not
the application requires rtems to allocate a trap table
1997-01-08 16:22:22 +00:00
Joel Sherrill
c6126e57fb removed assert() for stat on non-devices. Now it returns -1. This
makes gnat pass about 55 more tests in the acvc.
1997-01-08 16:21:38 +00:00
Joel Sherrill
1019ae4c4d added some casts to reduce warnings reported by users with Microtec C++
compiler.
1997-01-08 16:20:47 +00:00
Joel Sherrill
0d051533b9 added type definitions for all supported task entry formats 1997-01-08 16:19:47 +00:00
Joel Sherrill
ffe316d526 Suggested changes from Mark Jordan which eliminate warnings and errors
he received using the Microtec C++ compiler.  Most of these are
either missing casts from/to (void *), heavy handed use of enumerated
types, or simply assumed conversions.  There is at least one actual
bug in an error path in thread.c in which the wrong argument was
passed to _Thread_Stack_Free and was not being caught by gcc.
1996-12-02 22:50:33 +00:00
Joel Sherrill
e1a06d1bae Changes to reflect new revision of erc32 per Jiri Gaisler's suggestions.
This is current as of sis 2.6.
1996-12-02 22:47:38 +00:00
Joel Sherrill
6764c84186 minor changes to eliminate warnings from C++ compilers per user suggesstions. 1996-12-02 22:42:30 +00:00
Joel Sherrill
7f96eef797 Replacement for the sis bsp which supports the simulator and real
hardware.  From Jiri Gaisler <jgais@wd.estec.esa.nl>.  Supports sis
2.6 and later.
1996-12-02 22:36:28 +00:00
Joel Sherrill
c766caced2 New bsp for the erc32/sis from Jiri Gaisler <jgais@wd.estec.esa.nl> which
runs on either the real hardware or the sparc instruction simulator.
This bsp requires sis version 2.6 or later.  This bsp supercedes the
sis bsp.
1996-12-02 22:35:22 +00:00
Joel Sherrill
29d8227e6d Updates from Derrick Ostertag <ostertag@transition.com> to fix bug in
interrupt handling.
1996-12-02 19:48:29 +00:00
Joel Sherrill
f4b7e29710 Update from Chris Johns <cjohns@awa.com.au> to add better support for
68000 class CPUs.
1996-12-02 19:43:22 +00:00
Joel Sherrill
331d9e3b91 Added asserts for unhandled conditions which need to result in error
statuses being returned to gnat runtime in order for it to raise
use_errors.  This was needed to identify the places in gnat's runtime
which needed to be addressed.
1996-11-08 20:08:52 +00:00
Joel Sherrill
9e406d983a added ENOSYS support 1996-10-15 21:58:32 +00:00
Joel Sherrill
fe6ef776a7 updated to format of 3.6.0 1996-10-15 21:39:27 +00:00
Joel Sherrill
6c58b6fea3 updated to format of 3.6.0 console drivers 1996-10-15 21:39:15 +00:00
Joel Sherrill
39cafa5c15 updated to format of 3.6.0 clock drivers 1996-10-15 21:39:06 +00:00
Joel Sherrill
27f0d42495 added support for cpu time used field in tcb 1996-10-15 21:38:43 +00:00
Joel Sherrill
f8c63338c3 added cpu time used field to tcb 1996-10-15 21:38:33 +00:00
Joel Sherrill
af999a8f8a added i386ex from Erik Ivanenko 1996-10-15 21:38:16 +00:00
Joel Sherrill
60e2964537 new file 1996-10-15 21:01:55 +00:00
Joel Sherrill
d1dbcab950 reference to Force CPU-386 removed.
added standard comments about driver entries.
1996-10-15 21:00:41 +00:00
Joel Sherrill
752cd8fb98 initial version from Erik 1996-10-15 20:57:04 +00:00
Joel Sherrill
2d0383b60e patches to erc32.h to correct handling of timer mirror from Jiri Gaisler. 1996-10-14 19:17:37 +00:00
Joel Sherrill
355c262c4a i386_nofp cpu model entry incorrectly had floating point enabled. 1996-10-01 17:36:57 +00:00
Joel Sherrill
93bea77b56 changed INLINE to inline since INLINE is no longer defined by RTEMS 1996-09-30 20:16:05 +00:00
Joel Sherrill
855edeca4f fixed incorrect placement of CPU_STRUCTURE_ALIGNMENT macro. 1996-09-30 20:15:01 +00:00
Joel Sherrill
8880e9c7a9 changed version string to 3.6.0 1996-09-30 20:14:27 +00:00
Joel Sherrill
348ba429c0 changed stack size of posix initialization threads to double the minimum
stack size so more of acvc would pass.
1996-09-30 20:14:08 +00:00
Joel Sherrill
6ae41fd035 updated for Release 3.6.0 to reflect status of posix threads. 1996-09-30 20:07:07 +00:00
Joel Sherrill
caf87fd78d data and control addresses were swapped for channel a of the scc 1996-09-27 15:49:44 +00:00
Joel Sherrill
b6082b01f5 added missing word in ACKNOWLEDGEMENTS 1996-09-20 14:25:24 +00:00
Joel Sherrill
1f4f392a5f new files 1996-09-18 22:23:15 +00:00
Joel Sherrill
0836603ae8 new files submitted by Craig Lebakken (lebakken@minn.net) and Derrick Ostertag
(ostertag@transition.com)
1996-09-18 21:13:10 +00:00
Joel Sherrill
7abd27bda1 added cast 1996-09-18 21:07:37 +00:00
Joel Sherrill
c3e3d0766d address arithmetic changed to be more portable 1996-09-18 21:07:14 +00:00
Joel Sherrill
4a5e65186b new test submitted by Craig Lebakken (lebakken@minn.net) and Derrick Ostertag
(ostertag@transition.com)
1996-09-18 21:06:49 +00:00
Joel Sherrill
d6b2bbaf1b new files submitted by Craig Lebakken (lebakken@minn.net) and Derrick Ostertag
(ostertag@transition.com)
1996-09-18 20:56:35 +00:00
Joel Sherrill
5697c2817c pointer arithmetic reworked to be more portable 1996-09-18 20:55:53 +00:00
Joel Sherrill
be95da0e19 casts added to numerous arguments, prototypes corrected, and
proper include files added.
1996-09-18 20:55:13 +00:00
Joel Sherrill
0c35efe816 dummy function added to satisfy ANSI 1996-09-18 20:54:05 +00:00
Joel Sherrill
5e9a59462c modified to support non-GNU compilers and to use calloc rather than
malloc for per-thread reentrancy structure allocation.
1996-09-18 20:53:35 +00:00
Joel Sherrill
1f2d5dfcb3 added malloc_walk
miscellaneous corrections in casting.
1996-09-18 20:52:47 +00:00
Joel Sherrill
b1c215e8ab added prototype for malloc_walk 1996-09-18 20:52:16 +00:00
Joel Sherrill
94218b8ebd loop to clear workspace memory changed to use sizeof rather than
hardcoded 4 to be compatible with CPUs with 64-bit ints
1996-09-18 20:51:48 +00:00
Joel Sherrill
56e0b884f7 corrected prototype of _Objects_Get_next 1996-09-18 20:50:58 +00:00
Joel Sherrill
3861130b35 uses address object rather than direct pointer arithmetic 1996-09-18 20:50:27 +00:00
Joel Sherrill
4944b5bfe5 OBJECTS_NAME_ALIGNMENT definition changed to use sizeof rather than
hardcoded 4 to be compatible with CPUs with 64-bit ints
1996-09-18 20:50:04 +00:00
Joel Sherrill
857c52f90e MP_PACKET_MINIMUN_HETERO_CONVERSION definition changed to use sizeof
rather than hardcoded 4 to be compatible with CPUs with 64-bit ints
1996-09-18 20:49:36 +00:00
Joel Sherrill
533f89f12f modified declaration of CORE_message_queue_Buffer_control to avoid use
of GNU C extension
1996-09-18 20:48:56 +00:00
Joel Sherrill
2069773571 use address object to avoid direct pointer arithmetic 1996-09-18 20:47:39 +00:00
Joel Sherrill
d1193c7e82 corrected white space problems
added CPU_STRUCTURE_ALIGNMENT to default context structures
1996-09-18 20:47:31 +00:00
Joel Sherrill
a4d97d942b new files submitted by Craig Lebakken (lebakken@minn.net) and Derrick Ostertag
(ostertag@transition.com).
1996-09-18 20:45:27 +00:00
Joel Sherrill
5961dbab25 added AMD 29K port 1996-09-18 20:29:00 +00:00
Joel Sherrill
0465d12889 added mvme147s from Dominique le Campion 1996-09-18 14:23:44 +00:00
Joel Sherrill
afe99c27db new file submitted by Dominique le Campion. 1996-09-18 14:17:54 +00:00
Joel Sherrill
cc51de913a extended Task_id and Task_name arrays to avoid indexing past end of array. 1996-09-17 21:38:59 +00:00
Joel Sherrill
1d9d044ec7 Reversed logic in conditional to correctly distinguish between
FIFO and priority disciplines.
1996-09-17 21:33:07 +00:00
Joel Sherrill
41be2e8943 added routine _POSIX_Timespec_subtract 1996-09-17 21:31:30 +00:00
Joel Sherrill
aa48536498 Added code to insure that the post switch extension was executed and
to made signals sent to a particular thread from an ISR operated correctly.
This behavior was required by the exception detection/reporting code
in the gnat runtime.
1996-09-17 21:31:10 +00:00
Joel Sherrill
9093c3c29b Corrected implementation of timed wait on condition variables. First
the timeout is given as a wall-time not an interval as was previously
implemented.  Second, the interpretation of ETIMEDOUT behavior was
incorrect as all possible error cases needed to be checked before
this error was returned.  This caused problems when the wall-time
specified was in the past.
1996-09-17 21:29:51 +00:00
Joel Sherrill
ded66f8f41 added prototype for _POSIX_Timespec_subtract 1996-09-17 21:26:25 +00:00
Mark Johannes
09093ee617 Fixed test to match change to pthread_cond_timedwait which now takes a wall
time.

Commented out calls to pthread_cond_wait and pthread_cond_timedwait without
the mutex locked before calling.
1996-09-12 20:41:27 +00:00
Joel Sherrill
cda277fc4b added $Id$ to file headers
cpu.h: added prototype for _CPU_ISR_Get_level()
1996-09-11 19:16:07 +00:00
Joel Sherrill
0971cd5b5a added $ string to file header 1996-09-11 19:15:09 +00:00
Joel Sherrill
5bb00a8bd3 added $Id$ string to file header 1996-09-11 19:13:44 +00:00
Joel Sherrill
9c0d032e8b new files 1996-09-11 19:12:43 +00:00
Joel Sherrill
b944007b11 added definition of EXT_INT5 1996-09-08 16:24:43 +00:00
Joel Sherrill
3d07c8b71d added mips64orion entries for SHM_LOCK_VALUE and SHM_UNLOCK_VALUE 1996-09-08 16:24:13 +00:00
Joel Sherrill
bdef2d8131 idtmem.S: changed reference to include files to correct location
iface.c: commented out routines now provided by rtems

setvec.c: remov
1996-09-08 16:23:35 +00:00
Joel Sherrill
eaa34e75ae changed reference to include files to correct location 1996-09-08 16:22:29 +00:00
Joel Sherrill
3335420529 moved PTHREAD_MINIMUM_STACK_SIZE from pthread.c to pthread.h so it would be
visible to other files.
1996-09-08 16:22:05 +00:00
Joel Sherrill
e7a36a98b1 Ada task stack size minimize is twice that for regular pthreads. 1996-09-08 16:21:48 +00:00
Joel Sherrill
ed5a518d09 moved PTHREAD_MINIMUM_STACK_SIZE from pthread.c to here so it would be
visible to other files.
1996-09-08 16:21:16 +00:00
Joel Sherrill
d1d3796ce9 changed to reflect status of R4600 work. 1996-09-06 19:57:39 +00:00
Joel Sherrill
8445e57d8c removed need for exceptbdr.h file 1996-09-06 19:57:21 +00:00
Joel Sherrill
f198c63d6a new file for MIPS port by Craig Lebakken (lebakken@minn.net) and
Derrick Ostertag (ostertag@transition.com).
1996-09-06 18:11:41 +00:00
Joel Sherrill
f29032c587 added MIPS port by Craig Lebakken (lebakken@minn.net) and Derrick Ostertag
(ostertag@transition.com).
1996-09-06 18:09:25 +00:00
Joel Sherrill
2ffcc2ed9f modified test to take into account change in default value of
inheritsched pthread attribute from implicit to explicit scheduling
parameters.
1996-09-06 15:17:39 +00:00
Joel Sherrill
7fea679b6f changed _TOD_Is_set from a function to a boolean variable 1996-09-06 15:16:19 +00:00
Joel Sherrill
65c421ffc5 default thread attributes: default value for inheritsched changed from
explicit to inherit scheduler to be consistent with FSU pthreads for gnat.

_POSIX_Threads_Create_extension: now inherit signal blocked mask from
creator if the new thread is a posix thread.

_POSIX_Threads_Initialize_user_threads: make sure posix initialization
threads start with a useful priority.  If they inherit the priority
of the creating thread, they will end up at the same priority as the
idle thread.  Since the idle thread does not yield, they will not run.
1996-09-05 20:45:05 +00:00
Joel Sherrill
297be5c8f1 pthread_mutex_setprioceiling: fixed bug where returned priority was
not converted from core priority to posix priority.
1996-09-05 20:41:10 +00:00
Joel Sherrill
7e230f1032 added printf of status when not successful 1996-09-05 20:31:32 +00:00
Joel Sherrill
9a5cbef006 nanosleep: negative value for tv_sec is no longer an error. It now
is changed into being a 0 delay.
1996-09-05 20:29:07 +00:00
Joel Sherrill
f254b93fd8 nanosleep no longer consider a negative value of tv_sec to be an error.
Instead it is an indication of a request for a small delay.
1996-09-05 20:03:19 +00:00
Joel Sherrill
62bf651fe5 new file to support GNU Ada.
currently the only routine in this file simply returns the minimum stack
size for each thread.
1996-08-29 16:39:01 +00:00
Joel Sherrill
b5c04b68e5 fixed typo .. changed == to != 1996-08-27 15:19:51 +00:00
Joel Sherrill
5a2348090f check that we were passed a valid mutex and ignore errors from the
later pthread_mutex_lock.  This makes our behavior more compatible
with that of FSU pthreads.
1996-08-27 15:19:33 +00:00
Mark Johannes
e4cc41762c Changed all EFAULTS to EINVALs 1996-08-23 15:58:24 +00:00
Mark Johannes
3adf786d12 filled in screen 1996-08-23 15:56:50 +00:00
Mark Johannes
237088cfdf Filled in screen 1996-08-23 15:56:22 +00:00
Mark Johannes
78f5dae669 Filled in the screen 1996-08-23 15:55:02 +00:00
Mark Johannes
e2ceeca77e Added build_time statement to provide a tm for the test 1996-08-23 15:50:53 +00:00
Mark Johannes
257adbab17 Changed test 5 to test 10 at bottom 1996-08-23 15:17:16 +00:00
Mark Johannes
0b710dbbb0 pthread_create: changed EINVAL for no more threads back to EAGAIN 1996-08-23 14:47:58 +00:00
Mark Johannes
df70c6b3b0 Commented out the EINVAL for mutex not acquired befor cond_wait call 1996-08-22 20:18:44 +00:00
Mark Johannes
6702bffccd updated to support ENOTSUP 1996-08-21 15:49:21 +00:00
Mark Johannes
256a462255 Added Einval case for mutex not initialized 1996-08-20 21:41:08 +00:00
Mark Johannes
c5c5f8cb3e Changed all EFAULTs to EINVALs 1996-08-19 15:30:25 +00:00
Mark Johannes
02f041e40b pthread_mutex_init: added error messages for NULL mutex and EBUSY 1996-08-19 15:27:37 +00:00
Joel Sherrill
cd3868cdd3 updates from Tony Bennett (tbennett@divnc.com) 1996-08-15 21:09:02 +00:00
Joel Sherrill
0600e86f61 _Thread_Start_multitasking: added code to initialize the floating point
context of the first thread to execute.
1996-08-15 21:05:21 +00:00
Mark Johannes
9ac3e76569 changed ENOMEM error message 1996-08-15 19:38:46 +00:00
Mark Johannes
7fb19bbb79 init: added tests for pthread_kill and kill errors. 1996-08-15 19:27:08 +00:00
Joel Sherrill
851b18db1f changed error code 1996-08-15 18:59:34 +00:00
Joel Sherrill
fdf6917aaa changed error for too many threads to EAGAIN 1996-08-15 18:59:00 +00:00
Joel Sherrill
f3e191461c clock_gettime: changed assert condition to a standard error code
clock_getres: now checking for a null pointer being passed in
1996-08-15 18:58:09 +00:00
Joel Sherrill
b03ab63061 sched_rr_get_interval: converted assert condition into a standard error
code and added check for a NULL interval being passed in.
1996-08-15 18:57:07 +00:00
Joel Sherrill
57dae56225 added constant to indicate there is no mutex associated with this
condition variable
1996-08-15 18:56:09 +00:00
Mark Johannes
de45ddc655 pthread_kill: fixed the move of SIG_IGN not SA_SIGINFO 1996-08-15 16:29:00 +00:00
Mark Johannes
948721cd19 pthread_kill: moved check for SA_SIGINFO to allow for validation of all
parameters.  Also changed returns to macro of -1 and errno set.
1996-08-15 16:24:44 +00:00
Mark Johannes
48e685ceae fixed typo for NOTSUP -> ENOTSUP 1996-08-15 16:22:59 +00:00
Joel Sherrill
fb7d080c98 pthread_mutex_init returns EAGAIN not ENOMEM when there are too many mutexes. 1996-08-14 20:25:57 +00:00
Joel Sherrill
ac81b6cae6 added test cases for NULL being passed to pthread attribute get routines 1996-08-14 19:41:47 +00:00
Joel Sherrill
ff53a6d4fa added test case for pthread_attr_getscope being passed a NULL contentionscope 1996-08-14 19:30:49 +00:00
Mark Johannes
4e63ae5ae2 commented of ENOTSUP until fixed in newlib 1996-08-14 17:20:45 +00:00
Mark Johannes
aae1c9324a pthread_cond_timedwait: added error cases for abstime 1996-08-14 17:20:03 +00:00
Mark Johannes
87c8fd09ed system.h: added task3 and changed condition variable config to 1 1996-08-14 17:19:03 +00:00
Mark Johannes
b0c483edb9 task3: added to test error case in Wait_support for lock on mutex 1996-08-14 17:18:02 +00:00
Mark Johannes
520949bf98 init: added error case for wait timedwait, and wait support 1996-08-14 17:16:14 +00:00
Joel Sherrill
645fc95482 pthread_attr_setscope: returns ENOTSUP not ENOSYS for unsupport scope 1996-08-14 15:27:14 +00:00
Mark Johannes
dce801df4e pthread_cond_destroy: added enable dispatch to EBUSY case 1996-08-13 21:32:49 +00:00
Mark Johannes
95b76bc02b pthread_codn_destroy: EBUSY case moved and uses Thread_queue_First 1996-08-13 21:10:06 +00:00
Mark Johannes
456b376940 pthread_cond_destroy: EBUSY case now uses Thread_queue_First 1996-08-13 20:50:54 +00:00
Mark Johannes
c53eb2c3e7 removed count from Thread_queue_Control 1996-08-13 20:46:10 +00:00
Mark Johannes
a66fcc57aa removed Thread_queue_Get_number_waiting 1996-08-13 20:43:51 +00:00
Joel Sherrill
392b35ef88 deleted a line for spacing correction 1996-08-13 20:38:30 +00:00
Mark Johannes
48b40d8ba7 _POSIX_Condition_variables_Wait_support: changed status of lock and unlock to return EINVAL is there is an error 1996-08-13 19:53:51 +00:00
Mark Johannes
c8a4ed6d2a task_2: added comments and print statement for task exit 1996-08-13 19:06:45 +00:00
Mark Johannes
1d428a3c16 task_1: added comments and print statement for task exit 1996-08-13 19:06:12 +00:00
Mark Johannes
c9c94387d1 Init.c: added timewait case, added broadcast case 1996-08-13 19:05:27 +00:00
Mark Johannes
76f03c642c _POSIX_Condition_variables_Wait_support: fixed the timeout sequence. 1996-08-13 19:03:29 +00:00
Joel Sherrill
b2e8026e64 fixed spacing 1996-08-13 15:43:12 +00:00
Joel Sherrill
9b67f17052 corrected problem in which sigtimedwait() was being invoked with
the wrong mask.

removed code which was commented out.  This code was in another test.
1996-08-13 15:36:28 +00:00
Joel Sherrill
fc960ab03c chenaged format of output 1996-08-13 15:35:36 +00:00
Joel Sherrill
0d59c7a81f added include of errno.h so the test can check for EINTR. 1996-08-13 14:47:52 +00:00
Joel Sherrill
85f5b4ab06 nanosleep now returns -1 and EINTR when a signal interrupts EINTR. 1996-08-13 14:47:31 +00:00
Joel Sherrill
f48c906895 removed errors for TOD not set yet.
made nanosleep return -1/EINTR for being interrupted for a signal.
1996-08-13 14:24:00 +00:00
Joel Sherrill
aac34f7bbc added page break before sysconf() 1996-08-13 14:23:16 +00:00
Mark Johannes
e9624663a1 task_1: added to handle cases of waiting tasks on condition variables 1996-08-12 21:52:37 +00:00
Mark Johannes
a7f4c5a1ff system.h: added protoypes for task and task2, added mutex id, and task ids 1996-08-12 21:51:44 +00:00
Mark Johannes
aad3fe61d7 Init.c: added cases for signal, wait and broadcast 1996-08-12 21:49:54 +00:00
Mark Johannes
08515de591 Task2: new task for broadcast case 1996-08-12 21:49:14 +00:00
Joel Sherrill
5da2ae8b72 added test cases for clock_getres 1996-08-12 21:15:15 +00:00
Joel Sherrill
1087564111 clock_getres: added error check for NULL pointer being passed in. 1996-08-12 20:59:41 +00:00
Joel Sherrill
3fbfbcd5f4 sleep: wrong page number 1996-08-12 20:48:13 +00:00
Joel Sherrill
702a31c756 removed comment about NO_UNINITIALIZED_WARNINGS since that macro
no longer exists.
1996-08-12 20:08:36 +00:00
Joel Sherrill
221bd65cca added test case for stack too large 1996-08-12 20:00:02 +00:00
Joel Sherrill
5f08fd6179 nanosleep: verify rqtp parameter is non-NULL.
nanosleep: return 0 time remaining for a yield case.
1996-08-12 19:55:09 +00:00
Joel Sherrill
c4f5e752e6 added test cases for clock_gettime (invalid id), clock_settime (invalid_id),
nanosleep (yield cpu), and numerous error cases in nanosleep
1996-08-12 19:54:12 +00:00
Joel Sherrill
d60d9505ca added test case for non-NULL parameter to time() 1996-08-12 19:20:18 +00:00
Joel Sherrill
40cfab477e time: It is not an error if the TOD is not set. 1996-08-12 19:19:03 +00:00
Mark Johannes
9b77fee2bc Wait_support: removed the calls to mutex core to posix status codes 1996-08-12 19:00:12 +00:00
Mark Johannes
3b97b7a083 mutex.h: removes the promotion of core status code to POSXI status codes 1996-08-12 18:58:12 +00:00
Joel Sherrill
1402ee257d fixed spacing ; moved a dummy MP support routine to clean up printout. 1996-08-12 18:56:04 +00:00
Joel Sherrill
c7a9c6675e _POSIX_Mutex_Get: made null id an error 1996-08-12 18:06:27 +00:00
Joel Sherrill
ccdf4c579f pthread_mutex_getprioceiling: added error check for null old_ceiling
pthread_mutex_setprioceiling: added comment indicating an error was
impossible to generate.
1996-08-12 18:05:47 +00:00
Joel Sherrill
d06e9ca36a added numerous error test cases. 1996-08-12 18:04:38 +00:00
Mark Johannes
b1af454f18 mutex.h: promoted out _POSIX_Mutex_From_core_mutex_status 1996-08-12 17:41:37 +00:00
Mark Johannes
af04a79173 _POSIX_Condition_variables_Wait_support: added _POSIX_Mutex_From_core_mutex_status for the two calls to the mutex manager 1996-08-12 17:40:56 +00:00
Mark Johannes
cdcea6ceb6 _POSIX_Condition_variables_Signal_support: added setting mutex back to NULL
if the queue has been emptied of waiting tasks.

_POSIX_Condition_variables_Wait_support: added error check for different mutexesfor the same condition variable.  Also added _Thread_queue_Enter_critical_section
1996-08-12 17:21:04 +00:00
Joel Sherrill
f126ae2a86 pthread_mutexattr_setprioceiling: fixed typo 1996-08-12 17:04:13 +00:00
Joel Sherrill
db8e901180 pthread_mutexattr_setprioceiling: valid priority ceiling check looked at
value in attribute structure instead of passed in priority
1996-08-12 17:02:39 +00:00
Joel Sherrill
684c3c49c3 pthread_mutexattr_getprotocol: added check for attribute structure being
initialized
1996-08-12 16:29:14 +00:00
Mark Johannes
0cd15947c8 Init: added pthread_cond_init with an attr non-NULL, initialized the attr again 1996-08-12 15:15:51 +00:00
Mark Johannes
5263668f6d Init: added prliminary phtread_cond_init and destroy cases. 1996-08-12 14:49:02 +00:00
Mark Johannes
da4e38d98e system.h: added condition variable #define for 10 condition variables 1996-08-12 14:48:13 +00:00
Joel Sherrill
da2e5396d7 added test cases for errors in pthread_mutexattr_getpshared 1996-08-09 21:16:01 +00:00
Joel Sherrill
b9444fb905 added code to catch NULL pointers for return values passed to get routines 1996-08-09 19:58:58 +00:00
Joel Sherrill
13adea03e0 added test cases for EINVAL cases in pthread_mutexattr_destroy 1996-08-09 19:55:04 +00:00
Joel Sherrill
c03aeaffbe added test case for pthread_mutexattr_init being passed a null pointer. 1996-08-09 19:50:26 +00:00
Joel Sherrill
76117f2bd9 changed style of output to match other tests 1996-08-09 19:20:54 +00:00
Mark Johannes
1406a4b661 system.h: initial cvs 1996-08-09 19:10:50 +00:00
Joel Sherrill
c7dd091f65 lowered maximum number of threads to 2 to make test case easier.
include sched.h so test can invoke scheduler routines.
1996-08-09 18:48:33 +00:00
Joel Sherrill
d0b52492cd added test case for sched_yield.
changed format of some output.
1996-08-09 18:47:58 +00:00
Joel Sherrill
f643e23046 added test cases for errors in sched_get_priority_min and
sched_get_priority_max.

added test case for sched_yield.
1996-08-09 18:47:38 +00:00
Joel Sherrill
8699a7008e sched_yield: was not invoking the dispatcher. 1996-08-09 18:45:10 +00:00
Mark Johannes
695dd0b64c Init: added condattr - destroy, init, set and get cases 1996-08-09 18:28:21 +00:00
Joel Sherrill
66dfd0ba6e added test cases for invalid key ids 1996-08-09 17:44:04 +00:00
Joel Sherrill
d858fdbbaf merged remote object id and invalid id error cases. 1996-08-09 17:30:13 +00:00
Joel Sherrill
760ee96da9 reduced maximum keys to 2 to more easily generate error 1996-08-09 16:02:06 +00:00
Joel Sherrill
5b08e20b5e changed printf's which could be puts's to puts 1996-08-09 16:01:50 +00:00
Joel Sherrill
54e34e7a47 new test to test scheduling policy and paremeter paths in pthread_create. 1996-08-08 23:02:13 +00:00
Mark Johannes
13642cbc74 Init: Original file - tests for condition variables. 1996-08-08 22:26:55 +00:00
Joel Sherrill
79f189e26c split test into multiple tasks. 1996-08-08 21:58:26 +00:00
Joel Sherrill
76de65b371 added cases to increase coverage of pthread_create. cases added tested
error paths as well as inherit scheduling attributes.
1996-08-08 21:46:40 +00:00
Joel Sherrill
2b61358815 added test to complete coverage of pthread_setschedparam and increase
coverage of pthread_create
1996-08-08 20:47:49 +00:00
Mark Johannes
8ca831af38 Init: spacing 1996-08-08 19:21:47 +00:00
Mark Johannes
e35157311c Task_1: changed comment and task name to task1. 1996-08-08 19:20:13 +00:00
Mark Johannes
9f1a034e75 Init.c: added priority ceiling task cases. 1996-08-08 19:19:09 +00:00
Mark Johannes
77597ddd32 Added task2 and task3 prototypes and ids 1996-08-08 18:50:39 +00:00
Mark Johannes
481d8f8fa4 Signal_info_handler: added multiple signal cases to finish out the test 1996-08-08 18:44:09 +00:00
Joel Sherrill
4357da1801 changed phrase "RTEMS is support" to "RTEMS is supposed" 1996-08-08 18:27:44 +00:00
Mark Johannes
2a9a479d90 CORE_mutex_Status: added CORE_MUTEX_STATUS_CEILING_VIOLATED to enum 1996-08-08 18:27:11 +00:00
Mark Johannes
567ac4579d _POSIX_signals_Clear_signals: added this routine
_POSIX_signals_Get_highest: changed initial starting signal to SIGHUP, still needs SIGFIRSTNOTRT
1996-08-08 18:24:29 +00:00
Joel Sherrill
8b1c1ae6f0 print_current_time: added leading underscore to variables allocated
inside macros.
1996-08-08 16:53:32 +00:00
Joel Sherrill
66e519c1c1 ERC32_Force_interrupt implementation replaced per Jiri Gaisler's experience
on the real erc32 hardware.
1996-08-08 16:52:24 +00:00
Joel Sherrill
f55d898c6b added ss_high_priority field to support sporadic server. 1996-08-08 16:51:14 +00:00
Joel Sherrill
644c0fa618 added complete test cases for pthread_once. 1996-08-08 16:28:24 +00:00
Mark Johannes
b67f5bfb91 _MPCI_Register_packet_processor: changed protoype first parameter type to MP_packet_Classes 1996-08-08 12:35:20 +00:00
Mark Johannes
6b722e2747 _MPCI_Register_packet_processor: Changed prototype of fist parameter name to the_class 1996-08-08 12:32:50 +00:00
Mark Johannes
3fd3da452b _MPCI_Register_packet_processor: changes first parameter type to MP_packet_Classes 1996-08-08 12:31:01 +00:00
Joel Sherrill
2014063fec sporadic server debugged and working. This required minor changes in all
sporadic server related routines.
1996-08-07 22:06:08 +00:00
Joel Sherrill
ecc912f466 added more error cases to complete testing of pthread_equal when
RTEMS_DEBUG is enabled.
1996-08-07 22:05:15 +00:00
Joel Sherrill
42418a9d3c added test cases for ESRCH from pthread_join and pthread_detach 1996-08-07 22:00:57 +00:00
Joel Sherrill
84b03316d1 removed if 0 for basic sporadic server case accidentally left in. 1996-08-07 21:38:18 +00:00
Joel Sherrill
7e811af1eb basic sporadic server test.
sporadic server with priority ceiling mutex test.
1996-08-07 21:27:25 +00:00
Mark Johannes
a14684c356 _POSIX_Mutex_From_core_mutex_status: added priority ceiling violation case 1996-08-07 20:58:59 +00:00
Mark Johannes
cc757febff _CORE_Mutex_seize: added checks for priority ceiling violation, also added
checks to ensure priority was not lowered.
1996-08-07 20:57:28 +00:00
Joel Sherrill
c123a08496 added complete test cases for pthread_attr_getschedparam,
pthread_attr_setschedparam, and pthread_getschedparam.

added test cases for error paths for pthread_setschedparam.
1996-08-07 15:52:30 +00:00
Joel Sherrill
4bab8e2d35 get_errno: no longer needed by gnat runtime 1996-08-06 17:45:12 +00:00
Mark Johannes
0f99198845 _CORE_mutex_Seize: added change priority case if the mutex was obtained. 1996-08-06 16:26:11 +00:00
Joel Sherrill
a61f1a4682 _POSIX_Threads_Delete_extension: reorder to eliminate use of local pointer
variable before set.

pthread_join: using local variable so user can pass NULL pointer as argument
1996-08-06 16:24:41 +00:00
Mark Johannes
06883e131c POSIX_Mutex_Default_attributes: changed prio_ceiling to maximum priority 1996-08-06 16:24:06 +00:00
Joel Sherrill
b521ae2fa7 pthread_getspecific: use local variable so references to tcb are completed
before enabling dispatching
1996-08-06 16:23:09 +00:00
Joel Sherrill
20de2722aa join/detach basic tests pass 1996-08-02 18:25:16 +00:00
Joel Sherrill
375f37dfda removed unused prototypes 1996-08-02 16:46:56 +00:00
Joel Sherrill
870f2976f4 test successfully exercises all of pthread_attr_* set and get routines 1996-08-01 21:02:54 +00:00
Joel Sherrill
22b4b2e0d2 added page delimiters for comment blocks 1996-08-01 19:24:57 +00:00
Joel Sherrill
16bae520ac added 3 nops following write to wim since a restore following it is
subject to causing unpredictable window underflow/overflows.
1996-08-01 15:06:00 +00:00
Joel Sherrill
c65a0cee2f added key test 1996-07-31 17:17:48 +00:00
Mark Johannes
adae080a0e Fixed default vectors initialization, sigaction which had a redundant
if clause for DFT action.
1996-07-15 14:02:14 +00:00
Joel Sherrill
69c9543543 basic test cases passed 1996-07-04 18:09:23 +00:00
Joel Sherrill
ce78b89451 added test case for timeout using pthread_mutex_timedlock 1996-07-04 17:38:55 +00:00
Joel Sherrill
c6d15c2c26 first test cases for mutex manager pass 1996-07-04 17:01:48 +00:00
Joel Sherrill
e21cf313ca another attempt at the rtems_posix_api ifdef 1996-07-03 14:24:07 +00:00
Joel Sherrill
503dc05890 switched from "STATIC INLINE" to "RTEMS_INLINE_ROUTINE" 1996-07-03 14:20:03 +00:00
Joel Sherrill
5fc0dc11a0 changed version 1996-07-03 14:19:09 +00:00
Joel Sherrill
729c8f2e9d updated for 3.5.17 1996-07-02 18:14:52 +00:00
Joel Sherrill
df8d1440d1 *** empty log message *** 1996-07-02 18:13:59 +00:00
Joel Sherrill
e399e18241 updated to reflect latest gnu tools versions 1996-07-02 17:47:51 +00:00
Joel Sherrill
b7acc57fef updated to reflect 3.5.17 1996-07-02 17:46:34 +00:00
Joel Sherrill
8d7a1d76e2 minor changes to insure the few posix-ish routines needed in non-posix
mode have stubs.
1996-06-18 19:06:58 +00:00
Joel Sherrill
c486e917b3 changed reboot to a macro to avoid the "noreturn returns" warning. 1996-06-18 19:06:19 +00:00
Joel Sherrill
7d74395fe9 corrected typo 1996-06-18 16:43:12 +00:00
Joel Sherrill
f88310da6c initial modifications to test sigtimedwait. 1996-06-15 19:56:19 +00:00
Joel Sherrill
108ef35570 initial modifications to support sigtimedwait. 1996-06-15 19:55:39 +00:00
Joel Sherrill
7f13a93288 fields for init threads stuff said tasks. 1996-06-14 15:49:31 +00:00
Mark Johannes
9e28da4165 sigtimedwait passes initial test cases of timeout and simple satisfaction. 1996-06-13 22:16:47 +00:00
Mark Johannes
36197e539e first successful run. Has test cases for a simple sigtimedwait() timeout,
a sigtimewait() timeout because it was pthread_kill'ed with a blocked
signal, and a sigtimedwait which is satisfied.
1996-06-13 22:16:08 +00:00
Mark Johannes
4334949d02 added maximum_queued_signals to _POSIX_Default_configuration 1996-06-13 21:01:21 +00:00
Joel Sherrill
eb0551f312 added posix configuration parameter maximum_queued_signals. 1996-06-13 20:47:31 +00:00
Joel Sherrill
3a075f5d18 now passing maximum_queued_signals to posix signals manager initialization 1996-06-13 20:46:43 +00:00
Joel Sherrill
c53cfd0f2d added queued signals and cleaned up setting of process wide signals so
it occurs in only one place.
1996-06-13 20:46:15 +00:00
Joel Sherrill
25a882a611 config.h: added maximum_queued_signals.
psignal.h: fixed typo.
1996-06-13 20:45:38 +00:00
Joel Sherrill
022923e468 Added _Thread_Do_post_task_switch_extension variable. 1996-06-13 16:45:51 +00:00
Joel Sherrill
728b5a7bb4 Added a macro for "empty_line" which will go between test cases. 1996-06-13 16:45:11 +00:00
Joel Sherrill
ce0f7d95d6 Added more test cases for kill() and alarm(). kill() now can unblock a
thread which has the signal unblocked.
1996-06-13 16:44:46 +00:00
Joel Sherrill
1b17790ccd Added code so post context switch extensions can be run on every context
switch.  This was needed to support process wide signals.
1996-06-13 16:43:39 +00:00
Joel Sherrill
e89f8cacbf Added include so _POSIX_signals_Manager_initialization is prototyped. 1996-06-13 16:42:51 +00:00
Joel Sherrill
b85649c47b basic test cases for kill() and alarm().
kill() in particular needs more test cases for full coverage.  The search
for a thread interested in this signal has a lot of paths.
1996-06-13 16:42:21 +00:00
Joel Sherrill
7fc3029a59 added prototype for manager initialization routine. 1996-06-13 16:39:28 +00:00
Joel Sherrill
1094754fd9 new files 1996-06-12 22:52:13 +00:00
Joel Sherrill
da4b6e88ed use exit() from newlib by default. 1996-06-12 22:50:03 +00:00
Joel Sherrill
2e0ebd11ad added initialization of posix signal manager. 1996-06-12 22:49:33 +00:00
Joel Sherrill
281ad526b6 basic kill() which send a signal to pthread_self() appears to work. 1996-06-12 22:49:14 +00:00
Joel Sherrill
4a1bc34b8f added waiting for signal state. 1996-06-12 17:45:34 +00:00
Joel Sherrill
2291b71654 initial implementation of blocking signal routines -- sigwait, sigwaitinfo,
sigtimedwait, sigsuspend, and pause.
1996-06-12 17:45:01 +00:00
Joel Sherrill
937808f500 added comment to make sure we add unblock of thread 1996-06-11 22:55:39 +00:00
Joel Sherrill
ea1a5bef17 first attempt at adding algorithm to select the thread which will
receive a process-directed signal.
1996-06-11 22:52:42 +00:00
Joel Sherrill
20d099eabd deleted field for signals_global_pending. 1996-06-11 22:51:59 +00:00
Joel Sherrill
699fe08a25 Added test case which blocks a signal, sees what signals are pending, sends
that same signal to the executing thread, sees what is pending, then unblocks
that signal so the handler can execute.
1996-06-11 20:46:13 +00:00
Joel Sherrill
c8f5ab5d2e tested blocking a signal, sending it to self, then unblocking it.
make minimum stack size for posix threads double that of the cpu's minimum
requirement.
1996-06-11 20:43:55 +00:00
Joel Sherrill
fb39f191da modified to test pthread_kill() to self and pthread_kill() to a blocked
thread.  nanosleep() can be interrupted and return the time remaining.
1996-06-11 16:04:25 +00:00
Joel Sherrill
12aeff91fe Interruptible by signals state was added to the STATES_BLOCKED set. It
can not be part of the locally blocked set since it by itself does not
indicate that the thread is blocked.
1996-06-11 16:03:15 +00:00
Joel Sherrill
98ed15e30f Basic signal functionality appears to work. pthread_kill() can successfully
send signals to the current thread or to another blocked thread.  nanosleep()
can be interrupted by a signal and return the time remaining.

Post switch extension added to dispatch posix signal handlers.
1996-06-11 16:01:37 +00:00
Joel Sherrill
d0baf81b2f new file. 1996-06-11 16:00:06 +00:00
Joel Sherrill
494740cb7f added psignal.h 1996-06-10 21:04:14 +00:00
Joel Sherrill
1ba858d7ea new files.
This test does a basic checkout of signals with a thread-directed signal
(pthread_kill()) used to interrupt a nanosleep().
1996-06-10 20:51:31 +00:00
Joel Sherrill
1e608b0f5a new file 1996-06-10 20:49:21 +00:00
Joel Sherrill
893103c3c2 moved the time macros to pmacros.h. 1996-06-10 20:49:08 +00:00
Joel Sherrill
0f63c8627e added code to _Thread_Clear_state to check if the state was not currently set. 1996-06-10 20:47:56 +00:00
Joel Sherrill
fdec30ba62 first attempt at the routine which vectors signals. 1996-06-10 20:47:23 +00:00
Joel Sherrill
d03f192a21 *** empty log message *** 1996-06-10 20:46:36 +00:00
Joel Sherrill
81daab3e6b added states for "join at exit" and "interruptible by signal" 1996-06-07 15:22:19 +00:00
Joel Sherrill
05ce4e097a changed code which set errno and then returned -1 to use the macro
set_errno_and_return_minus_one.
1996-06-07 15:21:27 +00:00
Joel Sherrill
fa03f083a3 new file 1996-06-07 15:20:55 +00:00
Joel Sherrill
895efd9edc key destructor is now run at correct point in pthread_exit() sequence and
should be correct for other apis as well.

missing page numbers added on some references.

initial attempt at sig_procmask() and pthread_sigmask().
1996-06-07 13:54:23 +00:00
Joel Sherrill
fce2e9dab3 in newlib now 1996-06-06 21:27:33 +00:00
Joel Sherrill
0a359a7af5 added include of <sched.h> and fixed warnings 1996-06-06 19:16:20 +00:00
Joel Sherrill
782bdfd125 Removed assert's from routines which return the error ENOSYS. 1996-06-06 19:09:27 +00:00
Joel Sherrill
09b1f1ad2c patch from Tony Bennett on the ifdef for O_NDELAY 1996-06-06 17:57:39 +00:00
Joel Sherrill
e754dd1df9 process oriented scheduler routines now return ENOSYS 1996-06-06 17:54:37 +00:00
Joel Sherrill
5d9cb7e00f removed timer_getoverrun() since it was also in ptimer.c 1996-06-06 17:24:44 +00:00
Joel Sherrill
0207c55825 Made the implementation of pthread_equal conditional on RTEMS_DEBUG. If
RTEMS is built for debug, then every possible effort is made to validate
the two ids.  Otherwise, a simple comparison is performed.
1996-06-06 15:36:18 +00:00
Joel Sherrill
65a5c1b192 completed pthread_setschedparam. 1996-06-06 15:32:49 +00:00
Joel Sherrill
ebd40c0638 Added Sporadic Server support to posix threads which required changes
in the core to support multiple algorithms to handle cpu time budgetting
which resulted in a change to the calling sequence of _Thread_Initialize.
1996-06-06 14:55:08 +00:00
Joel Sherrill
2f200c7e64 Added Sporadic Server support to posix threads which required changes
in the core to support multiple algorithms to handle cpu time budgetting
which resulted in a change to the calling sequence of _Thread_Initialize.

Makde _Context_Switch_necessary volatile.
1996-06-06 14:55:01 +00:00
Joel Sherrill
624133c6f4 added Sporadic Server support 1996-06-06 14:53:12 +00:00
Joel Sherrill
ed10d76219 added Sporadic_timer field to support sporadic server 1996-06-06 14:52:53 +00:00
Joel Sherrill
7aa4671d91 added cpu_time_budget field to Thread_Control and removed the global variable
_Thread_Ticks_remaining_in_timeslice.
1996-06-05 21:12:06 +00:00
Joel Sherrill
71698522fe fixed spacing 1996-06-05 18:34:48 +00:00
Joel Sherrill
23305a25c3 added support for the api providing the thread stack area 1996-06-05 14:46:04 +00:00
Joel Sherrill
98162c35fb added boolean to indicate whether or not the stack area was provided
by the api.
1996-06-05 14:45:45 +00:00
Joel Sherrill
9b4e549729 renamed Schedule to schedparam in the posix api control information.
reviewed the interpretation of most of the thread attributes.
1996-06-05 14:45:05 +00:00
Joel Sherrill
7189a40297 added comments to to document the definition of posix priority
and how it corresponds to rtems core priority.
1996-06-05 14:44:03 +00:00
Joel Sherrill
09c1e31dc3 added comments to priority.h to document the definition of posix priority
and how it corresponds to rtems core priority.

Schedule was renamed schedparam
1996-06-05 14:43:52 +00:00
Joel Sherrill
2c207d1f84 make PTHREAD_SCOPE_SYSTEM an unsupported value for contentionscope. 1996-06-04 20:36:37 +00:00
Joel Sherrill
65911c32fb made sure _Thread_Enable_dispatch is not invoked in cases
where _Objects_Get failed
1996-06-04 19:50:15 +00:00
Joel Sherrill
56bd4a361b made sure routines which called _Objects_Get also called
_Thread_Enable_dispatch.
1996-06-04 19:48:08 +00:00
Joel Sherrill
230a0dcbb5 added some of the required functionality to pthread_setschedparam and
pthread_getschedparam.
1996-06-04 19:44:16 +00:00
Joel Sherrill
3ff4688cdd clean up pass 1996-06-04 19:20:53 +00:00
Joel Sherrill
6b067c4eda renamed the local variable attrp to the_attr in pthread_create 1996-06-04 19:15:28 +00:00
Joel Sherrill
95645a45e2 added test case for sched_get_priority_min, sched_get_priority_max,
and sched_rr_get_interval.
1996-06-04 19:06:30 +00:00
Joel Sherrill
24adc5bc3d changed sched_rr_get_interval to use the interval to timespec routine. 1996-06-04 19:05:16 +00:00
Joel Sherrill
c48e0ee2b8 added interpretation of scheduling policy and parameter information to
pthread_create

initial implementation of get/set id routines

better argument checking on scheduler functions.
1996-06-04 16:15:59 +00:00
Joel Sherrill
12c77ab080 added scheduling policy and parameter information 1996-06-04 16:14:55 +00:00
Joel Sherrill
15974b65ea added basic test cases for pthread_self and pthread_equal 1996-06-04 14:32:21 +00:00
Joel Sherrill
8f85799226 added thread queue for list of threads waiting to join.
thread is added to join list in pthread_join.

all threads waiting on the join list are flushed when the thread exits.
1996-06-03 22:08:18 +00:00
Joel Sherrill
552a345d97 added thread queue for list of threads waiting to join. 1996-06-03 22:07:14 +00:00
Joel Sherrill
742b399c66 added priority ceiling support 1996-06-03 21:08:26 +00:00
Joel Sherrill
f39b01e676 added an assert if a pthread_t is not the same size as an Objects_Id 1996-06-03 21:08:16 +00:00
Joel Sherrill
e811d68705 deleted POSIX threads typedef masking Thread_Control
added initial version of pthread_detach and pthread_join
1996-06-03 21:06:51 +00:00
Joel Sherrill
4427a6492e deleted POSIX threads typedef masking Thread_Control 1996-06-03 21:06:12 +00:00
Joel Sherrill
fa4fdd7dfd updated screen 1996-06-03 20:15:16 +00:00
Joel Sherrill
e984c64589 added test code for return of remaining time from sleep(). 1996-06-03 18:59:59 +00:00
Joel Sherrill
685f4d65d4 sleep moved into newlibc.c so the sleep.o object would not be in the library.
This implementation of sleep is now only used when the POSIX API is not
configured.
1996-06-03 18:59:24 +00:00
Joel Sherrill
e88b5894f3 added test case for nanosleep filling in the time remaining structure. 1996-06-03 18:28:30 +00:00
Joel Sherrill
a26ee01ca4 nanosleep now fills in the time remaining structure. 1996-06-03 18:27:48 +00:00
Joel Sherrill
5b748a177d renamed _POSIX_Time_Spec_to_interval to _POSIX_Timespec_to_interval 1996-06-03 17:32:19 +00:00
Joel Sherrill
19962562df added test code for nanosleep and return code from sleep. 1996-06-03 16:30:44 +00:00
Joel Sherrill
5ff991e8a5 created ptimer.c and moved the timer_* routines out of time.c into ptimer.c 1996-06-03 16:29:59 +00:00
Joel Sherrill
a38283590c added constant for seconds between posix epoch (1970) and rtems epoch (1988).
Formerly this constant was in the file src/time.c.
1996-06-03 16:29:35 +00:00
Joel Sherrill
f6e6ed8464 changed so this file is usable from assembly files.
no longer uses efi332.h
1996-06-03 15:49:22 +00:00
Joel Sherrill
52a06419cc added ifdef for sunos 4.x since it does not have strtoul. 1996-06-03 15:47:45 +00:00
Joel Sherrill
5e7b6272fc renamed _TOD_Ticks_since_boot as _Watchdog_Ticks_since_boot so the Watchdog
Handler could timestamp the starting and stopping of timers.  Since
TOD is built on top of Watchdog, this avoided a circular dependency.
1996-05-31 23:27:45 +00:00
Joel Sherrill
c238a2189d added checks to validate values passed to set attribute routines 1996-05-31 21:40:48 +00:00
Joel Sherrill
f31da72ce4 fixed typo in merge of Eric Norum's patch 1996-05-31 20:57:17 +00:00
Joel Sherrill
c832429dcd added nanoseconds per second constant 1996-05-31 19:02:13 +00:00
Joel Sherrill
1e665a5716 corrected minor problem in Eric Norum's changes in the bfffo macro. 1996-05-31 19:01:59 +00:00
Joel Sherrill
e72d995a80 moved sleep() from psignal.c to unistd.c
implemented sigemptyset() sigfillset(), sigaddset(), sigdelset(), and
sigismember().

added checks for valid attribute values to some of the pthread_attr_t sets.
1996-05-31 19:01:26 +00:00
Joel Sherrill
b927fba1c4 commented out cancel handlers related items. 1996-05-31 18:59:57 +00:00
Joel Sherrill
285af80408 moved attribute related constants into the rtems specific sys/types.h
file in newlib.
1996-05-31 18:59:31 +00:00
Joel Sherrill
9594cdbd4e added code to test clock and time related functionality. 1996-05-30 20:49:16 +00:00
Joel Sherrill
7c55e065f9 Added nanoseconds constant 1996-05-30 20:48:33 +00:00
Joel Sherrill
5600661d6a First cut at implementing time, clock_gettime, clock_settime, clock_getres,
sleep, and nanosleep.  Does not yet support per process clock, per thread
clock, interruptible sleep (sleep/nanosleep), or time remaining on nanosleep.
1996-05-30 20:48:10 +00:00
Joel Sherrill
b169590e9a added dummy versions of __kill and __getpid which assert(0) so that
applications which use only the rtems api (i.e. not the posix api) will
link.
1996-05-30 20:34:46 +00:00
Joel Sherrill
53fd6e2979 Eric Norum sent in new versions of the inline assembly macros which
do not generate warnings for unitialized variables.
1996-05-30 19:29:01 +00:00
Joel Sherrill
a96a713c57 tests now specify whether they are using rtems initialization tasks
or posix initialization threads
1996-05-30 14:01:33 +00:00
Joel Sherrill
be1c11edab tests now specify whether using posix initialization threads table
or rtems initialization table in configuration table
1996-05-29 22:48:26 +00:00
Joel Sherrill
dd32d883d7 posix initialization threads table was misnamed "posix initialization
tasks table"
1996-05-29 22:46:05 +00:00
Joel Sherrill
7f72217e97 comment clean up 1996-05-29 21:27:26 +00:00
Joel Sherrill
2a98af841e types.c: spacing
psignal.c: kill recognizes SIGABRT and exits to prevent asserts from
recursively occurring because kill was not implemented and asserted.
1996-05-29 21:02:20 +00:00
Joel Sherrill
5240c71c52 fixed support for posix initialization threads table 1996-05-29 20:58:45 +00:00
Joel Sherrill
2197a2e15f simple version of test which shows pthread_create, pthread_exit, and exit
are basically working.  This test will be enhanced further.
1996-05-29 20:56:57 +00:00
Joel Sherrill
cfcfdf0585 added pthread_exit
first posix thread ran
1996-05-29 20:55:05 +00:00
Joel Sherrill
5e0efa2b3a cleaned up spacing and parentheses 1996-05-29 20:50:52 +00:00
Joel Sherrill
d835a35cbd spacing 1996-05-29 19:28:15 +00:00
Joel Sherrill
ece8c9abd3 first cut at pthread_create 1996-05-29 19:28:01 +00:00
Joel Sherrill
9c877c0df6 addressed minimum stack size attribute.
There is a potential problem if setting PTHREAD_STACK_MIN to 0 does not
work with all applications since it is in limit.h over in newlib.  There
is a potential build order issue with newlib needing to know the rtems
cpu dependent stack size minimum.
1996-05-29 18:46:46 +00:00
Joel Sherrill
98849f4487 *** empty log message *** 1996-05-29 16:55:05 +00:00
Joel Sherrill
613cff6f58 removed all ifdef's on NOT_IMPLEMENTED. 1996-05-29 16:54:52 +00:00
Joel Sherrill
e941ea131d added entry point for posix initialization threads to the posix initialization
threads table structure
1996-05-29 16:54:24 +00:00
Joel Sherrill
d9a0689e35 Addressed RTEMS API initialization tasks table in a system without
RTEMS initialization tasks.
1996-05-29 16:07:21 +00:00
Joel Sherrill
0252200299 Gutted test of rtems api calls and added comments to indicate what the test
should do in their place.  It now compiles and links.
1996-05-29 16:06:47 +00:00
Joel Sherrill
99f9dffaf4 Added default POSIX API configuration table. 1996-05-29 16:05:28 +00:00
Joel Sherrill
019bce7917 It is now not an error to have 0 RTEMS initialization tasks since you could
create POSIX initialization threads.
1996-05-29 16:05:06 +00:00
Joel Sherrill
974ff40e57 renamed signal.c to psignal.c to avoid naming problems.
added mp stubs to cond.c and mutex.c to eliminate link errors.

added pthread_exit to pthread.c
1996-05-29 16:04:31 +00:00
Joel Sherrill
c627b2a3a1 split the inclusion of "EXTERN" data based on whether it was sapi,
score, rtems api, or posix api related.
1996-05-28 21:40:52 +00:00
Joel Sherrill
c6fa38c006 added maximum keys 1996-05-28 19:29:51 +00:00
Joel Sherrill
7640525da4 added enumerated constant for the POSIX API as an error source 1996-05-28 19:29:02 +00:00
Joel Sherrill
5a18e047ac added initial set of api extension callouts 1996-05-28 19:28:32 +00:00
Ralf Corsepius
2b4683a156 This commit was generated by cvs2svn to compensate for changes in r311,
which included commits to RCS files with non-trunk default branches.
1996-05-28 17:13:29 +00:00
Ralf Corsepius
bc69a8591f Import from zlib-1.2.4 1996-05-28 17:13:29 +00:00
Joel Sherrill
962c9b65f2 new file 1996-05-28 16:33:11 +00:00
Joel Sherrill
47d6b1400f commented out interrupt support 1996-05-28 16:32:55 +00:00
Joel Sherrill
da33d26358 added ifndef's for the POSIX maximum field in the POSIX api configuration table 1996-05-28 16:18:34 +00:00
Joel Sherrill
d4b4487779 added posix api initialization call to init.c
deleted a blank line in rtemsapi.c
1996-05-28 16:17:01 +00:00
Joel Sherrill
8165b48f51 comment cleanup 1996-05-28 16:16:28 +00:00
Joel Sherrill
52d9e4d1ac added maximum keys 1996-05-28 16:16:11 +00:00
Joel Sherrill
2eba45de91 made posix configuration information conditional so configurations wanting
only the rtems api don't have to include it.
1996-05-28 14:16:45 +00:00
Joel Sherrill
4b06db7558 fixed typo 1996-05-28 13:25:15 +00:00
Joel Sherrill
cb9637246a changed call to _ISR_Enable() to _ISR_Set_level() in _Thread_Handler.
_ISR_Enable() takes the magic cookie expected by the cpu's status register
instead of a simple isr level.
1996-05-28 13:24:58 +00:00
Joel Sherrill
e6d4b1d086 added initial posix configuration support 1996-05-28 13:13:34 +00:00
Joel Sherrill
3320e526ff new file 1996-05-24 22:58:15 +00:00
Joel Sherrill
87a2a7418b changed version to 3.5.17 1996-05-24 22:56:23 +00:00
Joel Sherrill
28fa54d9b9 added Motorola MVME147 BSP submitted by Dominique le Campion
(Dominique.LECAMPION@enst-bretagne.fr), for Telecom Bretagne and
T.N.I. (Brest, France)
1996-05-24 20:34:49 +00:00
Joel Sherrill
356efa36d6 changed joel's email address 1996-05-24 19:57:09 +00:00
Joel Sherrill
5ebc91e1b5 added acknowledgement for Motorola MVME147 from Dominique le Campion
(Dominique.LECAMPION@enst-bretagne.fr), for Telecom Bretagne and
T.N.I. (Brest, France)
1996-05-24 19:56:07 +00:00
Joel Sherrill
94bac46465 new file 1996-05-24 19:35:25 +00:00
Joel Sherrill
6d12f59dd4 updates from Tony Bennett to correct calling sequences. 1996-05-24 19:34:05 +00:00
Joel Sherrill
86fc81e9f3 new files 1996-05-24 19:33:36 +00:00
Joel Sherrill
568ebf32f4 updates to fix typos 1996-05-24 19:32:37 +00:00
Mark Johannes
abd604ae1c new file 1996-05-24 14:25:49 +00:00
Joel Sherrill
6481405e5c added use of sporadic server scheduling parameters 1996-05-24 14:16:24 +00:00
Joel Sherrill
8442b4c7d2 new files 1996-05-24 14:05:02 +00:00
Joel Sherrill
13fcfde55e clean up on DELAYTIMER_MAX 1996-05-23 22:34:18 +00:00
Joel Sherrill
8a318cdf93 new files 1996-05-23 22:23:44 +00:00
Joel Sherrill
3a9fc7dd40 unused variable 1996-05-23 21:51:54 +00:00
Joel Sherrill
73c5da6a41 new files 1996-05-23 21:51:53 +00:00
Joel Sherrill
7303eea9fc new files 1996-05-23 21:23:12 +00:00
Joel Sherrill
1b297b4af2 new files 1996-05-23 21:10:12 +00:00
Joel Sherrill
d1d7e80784 new files 1996-05-23 20:43:04 +00:00
Joel Sherrill
a1c86cbead new files 1996-05-23 20:37:09 +00:00
Joel Sherrill
3d135eeaa9 cleanup 1996-05-23 19:56:49 +00:00
Joel Sherrill
d3fed0a30f new files 1996-05-23 19:54:08 +00:00
Joel Sherrill
02bfc5682e cleanup status vs. result 1996-05-23 19:31:54 +00:00
Joel Sherrill
318ac69029 new files 1996-05-23 19:23:54 +00:00
Joel Sherrill
7af3a82886 new files 1996-05-23 19:09:21 +00:00
Joel Sherrill
f2cb4ac089 new files 1996-05-23 19:04:18 +00:00
Joel Sherrill
57fc51c2fe new files 1996-05-23 18:55:32 +00:00
Joel Sherrill
41e7a1d8f6 new files 1996-05-23 18:43:59 +00:00
Joel Sherrill
9854e33605 updated to reflect more constants and feature macros 1996-05-23 18:08:15 +00:00
Joel Sherrill
8b2ecf8546 updates from Tony Bennett 1996-05-23 15:37:38 +00:00
Joel Sherrill
64b976a960 added code to insure that delay is always non-zero 1996-05-23 15:36:46 +00:00
Joel Sherrill
a6aded4f0d updates from tony bennett 1996-05-23 15:36:08 +00:00
Joel Sherrill
0553a3a1d8 added as example of how to do a bsp which is not in this tree. 1996-05-23 15:35:56 +00:00
Joel Sherrill
a5f56a4398 *** empty log message *** 1996-05-23 15:35:32 +00:00
Joel Sherrill
859f17ce22 invoke thread stack free routine instead of Workspace free. 1996-05-23 15:35:26 +00:00
Joel Sherrill
d196e48590 updates from Tony Bennett.
Broke the setjmp/longjmp pair in the context switch into a separate routine
so no code depended on local variables surviving the jump.
1996-05-23 15:34:54 +00:00
Joel Sherrill
2328475ccd created posix test suite with test of header files 1996-05-22 22:39:47 +00:00
Joel Sherrill
ef006c1e3b Modified to correct variables which defined the range of object classes
which are tasks.
1996-05-22 22:34:18 +00:00
Joel Sherrill
f4719d5aaf These files have been modified in the initial pass at getting the portion
of the POSIX API necessary to support the GNAT runtime to initially compile.
We now have verified that the specifications for the necessary routines
are correct per the POSIX standards we have.
1996-05-22 22:32:39 +00:00
Joel Sherrill
05195890d7 These files have been modified in the initial pass at getting the portion
of the POSIX API necessary to support the GNAT runtime to initially compile.
We now have verified that the specifications for the necessary routines
are correct per the POSIX standards we have.

The removed files were moved to newlib as they were duplicates of files
already included there.
1996-05-22 22:31:51 +00:00
Ralf Corsepius
ad50f41b43 Import from zlib-1.2.4 1996-05-21 20:18:57 +00:00
Ralf Corsepius
cbaa556350 This commit was generated by cvs2svn to compensate for changes in r257,
which included commits to RCS files with non-trunk default branches.
1996-05-21 20:18:57 +00:00
Joel Sherrill
4e684a317e added posix test directory 1996-05-10 20:24:07 +00:00
Joel Sherrill
92262ab412 fixed typo 1996-05-10 20:23:27 +00:00
Joel Sherrill
3e7b167af1 updated to remove workaround for bug in binutils 2.5.2 ld now that we are
up to 2.6
1996-05-08 21:55:41 +00:00
Joel Sherrill
1c964ffab2 *** empty log message *** 1996-05-08 21:53:50 +00:00
Joel Sherrill
bf6661e20d Updated version to 3.5.15. 1996-05-02 14:39:07 +00:00
Joel Sherrill
996a9cb4e2 Updates from Eric Norum. 1996-05-01 15:25:33 +00:00
Joel Sherrill
dce1c1a10a Updates from Eric Norum to use the mcpu32 flags and fix comments. 1996-05-01 15:24:37 +00:00
Joel Sherrill
a4126225c3 changed version number to 3.5.14 1996-04-24 21:21:14 +00:00
Joel Sherrill
11532ca435 Hacked so gld will accept this so we can purge the aout toolset. This change
should be undone when the m68k-coff cross toolset is updated next time.
1996-04-24 20:05:52 +00:00
Joel Sherrill
1543932387 added comment regarding stack alignment issues to thread stack allocation
routine.
1996-04-24 17:36:35 +00:00
Joel Sherrill
d2d6467d13 Lowered number of messages created to reduce burden on workspace. 1996-04-22 23:58:40 +00:00
Joel Sherrill
8389628c1b updates from Tony Bennett 1996-04-22 16:53:46 +00:00
Joel Sherrill
5a36154a60 addition of optional user provided stack allocator means that we can not
reliably produce the "insufficient memory for stack space" error if this
extension is configured.
1996-04-22 16:53:05 +00:00
Joel Sherrill
1f94ed6bfd Updates from Tony Bennett. 1996-04-22 16:50:17 +00:00
Joel Sherrill
34f3d17b24 Updates from Tony Bennett. rtems_environp removed among other minor things. 1996-04-22 16:49:53 +00:00
Joel Sherrill
f5674938bb Fixed so now supports more than 16 nodes. Tested for up to 24 nodes
by Tony Bennett.  Information table is now malloc'ed.
1996-04-22 16:49:25 +00:00
Joel Sherrill
8faca06664 thread.c: added support for optional user provided stack allocator
wkspace.c: made initialization routine a regular subroutine
1996-04-22 16:46:36 +00:00
Joel Sherrill
6365f81898 made initialization routine a regular subroutine 1996-04-22 16:46:00 +00:00
Joel Sherrill
a155b3c52d interr.h: added stack allocater error code
wkspace.h: made initialization routine a regular subroutine
1996-04-22 16:45:47 +00:00
Joel Sherrill
cc4c1fe424 added stack allocation fields to the cpu table
updates from Tony Bennett.  Most were to insure all variables were properly
initialized and to correct the stray signal number reporting.
1996-04-22 16:44:54 +00:00
Joel Sherrill
96981e3ae6 added stack allocation fields to the cpu table 1996-04-22 16:44:04 +00:00
Joel Sherrill
9a1ccb3595 added stack allocation fields to the cpu table
added CPU_M68K_EXTB_L model flag
1996-04-22 16:43:44 +00:00
Joel Sherrill
f581163abd added stack allocation fields to the cpu table 1996-04-22 16:30:30 +00:00
Joel Sherrill
d0b7c4e61e updartes from Tony Bennett 1996-04-22 16:30:02 +00:00
Joel Sherrill
767a6c614c swapped order of operands on a movw to fix LOAD_SEGMENTS macro 1996-04-20 16:48:30 +00:00
Joel Sherrill
debe9195ce event.c: _Event_Manager_initialization no longer a static inline
sem.c: modified to eliminate Purify warnings
1996-04-19 21:10:58 +00:00
Joel Sherrill
78b2ff196b _Event_Manager_initialization no longer a static inline 1996-04-19 21:10:38 +00:00
Joel Sherrill
c26b62f992 event.h: _Event_Manager_initialization no longer a static inline 1996-04-19 21:10:32 +00:00
Joel Sherrill
8f9e9bdc07 event.h: _Event_Manager_initialization no longer a static inline
support.h:  updated to use RTEMS_APPLICATION macro
1996-04-19 21:10:27 +00:00
Joel Sherrill
3b76313da9 modified to generate fatal error when an unconfigured directive is invoked. 1996-04-19 21:09:20 +00:00
Joel Sherrill
f4d52cd74c changes to compile in macro configuration without warnings. 1996-04-19 19:36:59 +00:00
Joel Sherrill
8cf884279f minor mods to get to compile locally 1996-03-21 20:20:40 +00:00
Joel Sherrill
487a7ca5f7 some instructions altered for older binutils 1996-03-21 20:20:27 +00:00
Joel Sherrill
99e7cbbb48 updated 1996-03-21 20:20:13 +00:00
Joel Sherrill
14966f8153 *** empty log message *** 1996-03-21 20:19:55 +00:00
Joel Sherrill
f398452a64 updated for 68302 and so gen68360 bsp would compile 1996-03-21 20:19:33 +00:00
Joel Sherrill
d08b1c758f update to reflect internal threads reorganization 1996-03-21 20:19:03 +00:00
Joel Sherrill
f99538d871 updated to reflect gen68360 from Eric Norum. 1996-03-21 20:18:05 +00:00
Joel Sherrill
bdf531ee7f include of mc68360.h changed to m68360.h to reflect filename change. 1996-03-06 22:25:11 +00:00
Joel Sherrill
110f4ff717 Added 68360 support submitted by W. Eric Norum (eric@skatter.usask.ca).
Also increased minimum stack size from 1K to 2K.
1996-03-06 22:23:56 +00:00
Joel Sherrill
457b6ae167 Generic 68360 BSP (gen360) submitted by: W. Eric Norum <eric@skatter.usask.ca>.
Contact information:

    W. Eric Norum
    Saskatchewan Accelerator Laboratory
    107 North Road
    University of Saskatchewan
    Saskatoon, Saskatchewan, CANADA
    S7N 5C6
1996-03-06 22:01:11 +00:00
Joel Sherrill
e6424462c3 As part of reducing visibility into rtems and hiding the .inl files
from the application code, this file required more visibility than
is given by default to application code.
1996-03-06 21:37:43 +00:00
Joel Sherrill
1a8fde6ca2 Removed prototyes for static inline routines and moved the comments into
the inline implementation.   The impetus for this was twofold.  First,
it is incorrect to have static inline prototypes when using the macro
implementation.  Second, this reduced the number of lines in the include
files seen by rtems.h by about 2000 lines.

Next we restricted visibility for the inline routines to inside the
executive itself EXCEPT for a handful of objects.  This reduced the
number of include files included by rtems.h by 40 files and reduced
the lines in the include files seen by rtems.h by about 6000 lines.

In total, these reduced the compile time of the entire RTEMS tree by 20%.
This results in about 8 minutes savings on the SparcStation 10 morgana.
1996-03-06 21:34:57 +00:00
Joel Sherrill
8e76546421 Removed prototyes for static inline rgutines and moved the comments into
the inline implementation.   The impetus for this was twofold.  First,
it is incorrect to have static inline prototypes when using the macro
implementation.  Second, this reduced the number of lines in the include
files seen by rtems.h by about 2000 lines.

Next we restricted visibility for the inline routines to inside the
executive itself EXCEPT for a handful of objects.  This reduced the
number of include files included by rtems.h by 40 files and reduced
the lines in the include files seen by rtems.h by about 6000 lines.

In total, these reduced the compile time of the entire RTEMS tree by 20%.
This results in about 8 minutes savings on the SparcStation 10 morgana.
1996-03-06 21:26:28 +00:00
Joel Sherrill
ba3911317a The name of the test support routine pause was changed to rtems_test_pause
to avoid conflict with the standard POSIX routine pause(2).
1996-02-22 20:14:36 +00:00
Joel Sherrill
66d9e3ad29 Changed io manager initialization routine to not be static and added it here. 1996-02-21 22:37:55 +00:00
Joel Sherrill
10017a7223 Changed io manager initialization routine to not be static. 1996-02-21 22:37:47 +00:00
Joel Sherrill
4ff19203e0 changed io manager initialization routine to not be static 1996-02-21 22:37:18 +00:00
Joel Sherrill
0e0d88ba6a Dispersal of internal thread handler resulted in removal of some
variables and renaming of others.
1996-02-21 14:47:58 +00:00
Joel Sherrill
8cbbe312b6 Dispersal of internal thread handler resulted in the SYSI task being
only required in a multiprocessor system.  It was replace by the MPCI
Receive Server.  As a result, the CPU Table field for extra stack for
the SYSI task was changed to be extra stack for the MPCI Receive Server.
1996-02-21 14:47:03 +00:00
Joel Sherrill
adf98bd423 Removed the internal thread objects and dispersed its contents to
the thread handler (IDLE), MPCI object (SYSI now MP Receive)
and initialize_executive_early (IO initialization).  The SYSI task
no longer exists in a single processor configuration.  This reduces
single processor Workspace requirements by a TCB and a stack which
is often larger than the minimum stack size.  Moving the IO initialization
plus accompanying BSP hooks eliminated an initialization ordering problem
in which a global task could be created before the MPCI was initialized.
1996-02-21 14:44:11 +00:00
Joel Sherrill
75f09e52de Dispersal of internal thread handler resulted in IDLE thread becoming
part of the Thread Handler.  This required the name of the optional
CPU dependent IDLE thread implementation to change.
1996-02-21 14:43:34 +00:00
Joel Sherrill
c4b8161d88 MPCI Receive became a thread and the prototype changed. 1996-02-21 14:37:32 +00:00
Joel Sherrill
56d34e6ca9 Removed the internal thread objects and dispersed its contents to
the thread handler (IDLE), MPCI object (SYSI now MP Receive)
and initialize_executive_early (IO initialization).  The SYSI task
no longer exists in a single processor configuration.  This reduces
single processor Workspace requirements by a TCB and a stack which
is often larger than the minimum stack size.  Moving the IO initialization
plus accompanying BSP hooks eliminated an initialization ordering problem
in which a global task could be created before the MPCI was initialized.
1996-02-21 14:32:02 +00:00
Joel Sherrill
b2b52cbc2a Removed arguments from _Thread_Start_multitasking. 1996-02-14 19:00:00 +00:00
Joel Sherrill
f972294dc7 idle thread now created before system initialization thread.
Also system initialization thread only created in MP systems.
1996-02-14 18:59:37 +00:00
Joel Sherrill
744d287835 removed arguments from _Thread_Start_multitasking 1996-02-14 18:48:39 +00:00
Joel Sherrill
df26b78853 white space problem 1996-02-14 17:06:57 +00:00
Joel Sherrill
389fa85047 Moved some initialization from the system initialization thread to
initialize_executive_early.  This was done to clear up an ordering problem
in which global tasks could be created before the MPCI layer was initialized.
1996-02-14 17:06:40 +00:00
Joel Sherrill
8bde6ea9ca removed post switch extension 1996-02-13 22:16:36 +00:00
Joel Sherrill
da646dd837 fixed bug when outbyte had argument in wrong order relative to those invoking it 1996-02-13 22:15:52 +00:00
Joel Sherrill
94b3ec5970 changed post task extension from user set to api set and added flag
in each thread which must be set when the post switch extension is to be run.
1996-02-13 22:14:48 +00:00
Joel Sherrill
6ca11842a5 added clear of _ISR_Signals_to_thread_executing 1996-02-13 22:14:25 +00:00
Joel Sherrill
391f662854 more comments added and existing ones cleaned up in synchronization paths 1996-02-13 15:38:37 +00:00
Joel Sherrill
b38955b043 comma removed from end of last enumerated element 1996-02-13 15:38:03 +00:00
Joel Sherrill
18269cef34 comment added to describe synchronization logic in timeout routine 1996-02-13 15:37:33 +00:00
Joel Sherrill
a31ddf784b *** empty log message *** 1996-02-12 14:36:09 +00:00
Joel Sherrill
8c8a924d5e As part of implementing the new isr synchronization algorithm using a
single enumerated set of states the set of event manager variables changed.
1996-02-09 14:31:39 +00:00
Joel Sherrill
107ce47b4b new isr synchronization algorithm using a single enumerated set of states. 1996-02-09 14:30:42 +00:00
Joel Sherrill
6dae1c2d0b added rtems_interrupt_is_in_progress 1996-02-09 14:25:33 +00:00
Joel Sherrill
8a38f3b1e5 added clear of _ISR_Signals_to_thread_executing 1996-02-09 14:21:37 +00:00
Joel Sherrill
f3dabb0439 changed synchronization algorithm to be a single list of enumerated states 1996-02-08 22:16:35 +00:00
Joel Sherrill
d57392d0e1 alignment on workspace changed from CPU_ALIGNMENT to CPU_HEAP_ALIGNMENT 1996-02-08 16:18:38 +00:00
Joel Sherrill
4f60309bdd Swapped order of nested acquisition check and check for returning unsatisfied. 1996-02-01 22:09:07 +00:00
Joel Sherrill
f00a0522a4 synchronization state bugs address 1996-02-01 21:54:40 +00:00
Joel Sherrill
665356af66 invalid use of tcb field resource count 1996-02-01 19:39:21 +00:00
6206 changed files with 484669 additions and 183322 deletions

8
.cvsignore Normal file
View File

@@ -0,0 +1,8 @@
Makefile
Makefile.in
aclocal.m4
config.cache
config.log
config.status
configure
depcomp

343
COPYING Normal file
View File

@@ -0,0 +1,343 @@
#
# $Id$
#
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Library General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
Appendix: How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) 19yy <name of author>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) 19yy name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General
Public License instead of this License.

13
INSTALL
View File

@@ -2,14 +2,10 @@
# $Id$
#
NOTE: The string <release> should be replaced with
the appropriate release number of RTEMS.
Building RTEMS
==============
See the file README.configure.
This file only discusses the installation of .tgz files.
For more detailed information on the installation of RTEMS,
refer to the Release Notes manual in the file
/pub/rtems/releases/<release>/doc/c_or_ada/relnotes.tgz on
lancelot.gcs.redstone.army.mil.
UNCOMPRESSING .tgz FILES
===========================
@@ -43,8 +39,7 @@ NOTES:
(most) UNIX machines, zcat is associated with compress (.Z files).
(3) If you do not have gzip 1.2.4, it is available from numerous sites
including this one. Other sites include prep.ai.mit.edu and
gatekeeper.dec.com.
including this one. Other sites include ftp.gnu.org and ftp.cdrom.com.
(4) The GNU archive files included in this distribution are packaged
exactly like they are on official GNU ftp sites. When extracting

129
LICENSE
View File

@@ -3,116 +3,21 @@
#
LICENSE INFORMATION
For the purposes of this document the Real Time Executive for
Missile Systems (RTEMS) is defined to include all source code,
documentation, shell utilities developed by On-Line Applications
Research Corporation (OAR) under contract of the U.S. Army
Missile Command. OAR obtained the copyright for RTEMS and
subsequently assigned ownership of said copyright to the
U.S. Government. As part of this transfer, OAR waived all
claims of ownership for RTEMS. Since OAR no longer makes claims
of ownership of RTEMS, OAR in no event shall be held liable
for damages including any general, special, incidental or
consequential damages arising out of the use or inability
to use the RTEMS software or documentation or of the support
services provided (including but not limited to loss of data or
data being rendered inaccurate or losses sustained by you or
third parties or a failure of the program to operate with any
other programs), even if advised of the possibility of such damages.
Simply stated any file containing the U.S. Government
copyright notice or relocatables derived from one or more of
these files are covered by this agreement.
RTEMS may be reproduced by or for the U.S. Government pursuant
to the copyright license under the clause at DFARS 252.227-7013.
The following notice must appear in all copies of RTEMS and its
derivatives:
COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994.
On-Line Applications Research Corporation (OAR).
All rights assigned to U.S. Government, 1994.
This material may be reproduced by or for the U.S. Government
pursuant to the copyright license under the clause at DFARS
252.227-7013. This notice must appear in all copies of this
material and its derivatives.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code and documentation must retain the
above copyright notice, this list of conditions and the following
disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
Redistributions in binary form must contain or make available the
RTEMS source code.
3. All advertising materials mentioning features or use of this software
must display the following acknowledgement:
This product includes software developed for the U.S. Government
by On-Line Applications Research Corp.
4. Neither the name of the author nor the U.S. Government may be used to
endorse or promote products derived from this software without specific
prior written permission.
RTEMS is provided "AS IS" without warranty of any kind, either
expressed or implied, including, but not limited to, the implied
warranties of merchantability, title and fitness for a
particular purpose. The U.S. Government does not warrant that
the RTEMS software or documentation will satisfy your requirements
or that the software and documentation are without defect or error
or that the operation of the software will be uninterrupted.
The U.S. Government shall in no event shall be held liable for
damages including any general, special, incidental or consequential
damages arising out of the use or inability to use the RTEMS software
or documentation or of the support services provided (including
but not limited to loss of data or data being rendered
inaccurate or losses sustained by you or third parties or a
failure of the program to operate with any other programs), even
if the U.S. Government has been advised of the possibility of such damages.
The U.S. Government reserves the right to revise this material
and to make changes from time to time in the content hereof without
obligation to notify anyone or any organization of such revision
or changes.
OAR remains the sole organization authorized by contract to
distribute or provide support and training for the Real-Time
Executive for Multiprocessor Systems (RTEMS).
In order to promote future research activities within the U.S.
Government, we request that potential users of RTEMS notify us
as to the systems that RTEMS is being utilized. This will allow
us to publicize our Dual-Use / Reuse capabilities in support of
the current administration's goals. This can be accomplished by
calling the RTEMS phone numbers published in the documentation
or by electronic mail to "rtems@redstone.army.mil". Your
cooperation is greatly appreciated. Again, thank you for using
RTEMS.
RTEMS
U.S. ARMY Missile Command
ATTN: AMSMI-RD-GC-S
Redstone Arsenal, AL 35898-5254
Voice: (205) 842-6906
FAX: (205) 842-6917
EMAIL: rtems@redstone.army.mil
On-Line Applications Research Corporation.
2227 Drake Avenue SW
Suite 10-F
Huntsville, AL 35805
(205) 883-0131
RTEMS is free software; you can redistribute it and/or modify it under
terms of the GNU General Public License as published by the
Free Software Foundation; either version 2, or (at your option) any
later version. RTEMS is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details. You should have received
a copy of the GNU General Public License along with RTEMS; see
file COPYING. If not, write to the Free Software Foundation, 675
Mass Ave, Cambridge, MA 02139, USA.
As a special exception, including RTEMS header files in a file,
instantiating RTEMS generics or templates, or linking other files
with RTEMS objects to produce an executable application, does not
by itself cause the resulting executable application to be covered
by the GNU General Public License. This exception does not
however invalidate any other reasons why the executable file might be
covered by the GNU Public License.

42
Makefile.am Normal file
View File

@@ -0,0 +1,42 @@
#
# top level directory for RTEMS build tree
#
## The target's toplevel Makefile now is in c/src
##
## $Id$
##
AUTOMAKE_OPTIONS = foreign 1.4
ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
SUBDIRS = doc make tools @TARGET_SUBDIRS@
AUTOMAKE_FILES = automake/subdirs.am automake/local.am automake/lib.am
ACLOCAL_FILES += aclocal/ar-s.m4 aclocal/bsp-alias.m4 \
aclocal/canonical-host.m4 aclocal/canonical-target-name.m4 \
aclocal/canonicalize-tools.m4 aclocal/check-bsps.m4 \
aclocal/check-bsp-cache.m4 aclocal/check-cpu.m4 aclocal/check-cxx.m4 \
aclocal/check-itron.m4 aclocal/check-multiprocessing.m4 \
aclocal/check-networking.m4 aclocal/check-newlib.m4 \
aclocal/check-posix.m4 aclocal/check-rdbg.m4 aclocal/enable-bare.m4 \
aclocal/enable-cxx.m4 aclocal/enable-gcc28.m4 aclocal/enable-hwapi.m4 \
aclocal/enable-inlines.m4 aclocal/enable-itron.m4 \
aclocal/enable-libcdir.m4 aclocal/enable-multiprocessing.m4 \
aclocal/enable-networking.m4 aclocal/enable-posix.m4 \
aclocal/enable-rdbg.m4 aclocal/enable-rtemsbsp.m4 \
aclocal/enable-tests.m4 aclocal/gcc-pipe.m4 aclocal/gcc-specs.m4 \
aclocal/i386-gas-code16.m4 aclocal/path-ksh.m4 aclocal/path-perl.m4 \
aclocal/prog-cc.m4 aclocal/prog-cxx.m4 aclocal/project-root.m4 \
aclocal/rtems-top.m4 aclocal/sysv-ipc.m4 aclocal/target.m4 \
aclocal/tool-paths.m4 aclocal/tool-prefix.m4
noinst_SCRIPTS = bootstrap
EXTRA_DIST = $(AUTOMAKE_FILES) $(ACLOCAL_FILES) README.configure SUPPORT \
VERSION LICENSE $(noinst_SCRIPTS)
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(ACLOCAL_FILES)
include $(top_srcdir)/automake/subdirs.am
include $(top_srcdir)/automake/host.am

4
README
View File

@@ -2,6 +2,10 @@
# $Id$
#
Building RTEMS
==============
See the file README.configure.
Directory Overview
==================

250
README.configure Normal file
View File

@@ -0,0 +1,250 @@
#
# $Id$
#
1. Autoconf support
===================
This version of RTEMS is configured with GNU autoconf. RTEMS can be
configured and built either standalone or together with the compiler
tools in the Cygnus one-tree structure. Using autoconf also means
that RTEMS now can be built in a separate build directory.
2. Installation
===============
2.1 Standalone build
To configure RTEMS for a specific target, run configure in the build
directory. In addition to the standard configure options, the following
RTEMS-specific option are supported:
--disable-rtems-inlines
--disable-posix
--disable-itron
--disable-networking
--enable-cxx
--enable-bare-cpu-model=<MODEL>
--enable-bare-cpu-cflags=<FLAGS>
--enable-gcc28 (also use enable-libcdir when disabled)
--enable-libcdir=<DIRECTORY> (do not use if gcc 2.8 is enabled)
--enable-multiprocessing
--enable-rtemsbsp="bsp1 bsp2 ..."
--enable-tests
--enable-rdbg (only valid for i386 and some PowerPC BSPs)
In addition, the following standard autoconf options are frequently
used when configuring RTEMS installations:
--prefix=INSTALL_DIRECTORY
--program-prefix=
By default, inline routines are used instead of macros where possible.
Macros can be selected using the --disable-inlines option. [NOTE:
Some APIs may not support macro versions of their inline routines.]
By default, the RTEMS POSIX 1003.1b interface is built for targets that support
it. It can be disabled with the --disable-posix option.
By default, the RTEMS uITRON interface is built for targets that support
it. It can be disabled with the --disable-itron option.
By default, the RTEMS networking support is built for targets which
support it. It can be specifically disabled for those targets
with the --disable-networking option.
By default, the RTEMS remote debugger server support is not built.
It can be specifically enabled for the targets that support it.
with the --enable-rdbg option. NB : the RTEMS networking support
must be enabled to support the remote debugger server.
By default, the RTEMS support of C++ is disabled. It can be enabled
with the --enable-cxx option. If the rtems++ C++ library is installed
it will also be build.
By default, the RTEMS test suites are NOT configured -- only the
sample tests are built. The --enable-tests will not configure
the RTEMS test suite. The default speeds up the build
and configure process when the tests are not desired.
By default, RTEMS is built using arguments and build rules which are
NOT compatible with gcc 2.7.2.2. If using a gcc which supports the
-specs option, then the --enable-gcc28 option may be used to enable
this feature. You should use the --enable-gcc28 option when using
either the egcs source tree, testgcc snapshots, or gcc 2.8.0 or newer.
If you --disable-gcc28, then you MUST specify the location of the
Standard C Library with the --enable-libcdir option. [NOTE: These
options are considered obsolete and may be removed in a future
RTEMS release.]
By default, multiprocessing is is not built. It can be enabled
for those BSPs supporting it by the --enable-multiprocessing option.
By default, all bsps for a target are built. The bare BSP is not built
unless directlty specified. There are two ways of changing this:
+ use the --enable-rtemsbsp otion which will set the specified
bsps as the default bsps, or
+ set the RTEMS_BSP variable during make (see below).
The --enable-rtemsbsp= option configures RTEMS for a specific target
architecture. The following targets are supported:
(none) will build the host-based version on Linux,
Solaris and HPUX.
a29k-rtems only standalone, uses non-gnu compiler
i386-rtems
i960-rtems
hppa1.1-rtems
m68k-rtems
mips64orion-rtems
no_cpu-rtems
powerpc-rtems
sparc-rtems
bare see notes
The cross-compiler is set to $(target)-gcc by default. This can be
overriden by:
+ using the --program-prefix option to configure to specify the
string which will prepended to the tool names. Be sure to include
a trailing "-". For example, to use a m68k-coff toolset, use the
--program-prefix=m68k-coff- option.
To build, run make in the build directory. To specify which bsps to build,
add the RTEMS_BSP="bsp1 bsp2 .." to the make command. Specifying multiple
BSPs to build only works from the top level build directory.
Installation is done under $(prefix)/rtems.
As an example, to build and install the mvme136 and dmv152 bsps for m68k do:
(path_to_rtems_src)/configure --target=m68k-rtems
make RTEMS_BSP="mvme136 dmv152"
make install RTEMS_BSP="mvme136 dmv152"
The sample tests are built by 'make all', do a 'make test' to build the full
test suite.
2.2 Build with Cygnus one-tree release
To build and install RTEMS with the one-tree structure, just copy the rtems
directory to the tree. The one-tree configure.in and Makefile.in has to be
replaced with the RTEMS-aware versions. The build options are the same as
for the standalone build.
2.3 Target Dependent Notes
bare:
1. See the README in the bare bsp source directory. This should
contain all info you need.
2. The bare bsp source contains a script to show how to build it.
3. The configure flags must be used to get the bare bsp to work.
The --enable-bare-cpu-model and --enable-bare-cpu-cflags are the
only pieces of information. The module is usually a gcc module
such as m68302 or mcpu32. The flags are passed directly to gcc.
Use "" if more than one option is specified.
3. To use the installed RTEMS library
=====================================
To use the installed RTEMS bsps to build applications, the application
makefile has to include a bsp-specific makefile that will define the
RTEMS variables necessary to find include files and libraries. The
bsp-specific makefile is installed at
$(RTEMS_MAKEFILE_PATH)/Makefile.inc
For the erc32 bsp installed at /usr/local/cross, the environment
variable RTEMS_MAKEFILE_PATH would be set as follows to the
following:
/usr/local/cross/sparc-rtems/rtems/erc32/Makefile.inc
4. Supported target bsps
========================
The following bsps are supported:
host-based : posix (on linux, solaris and hpux)
a29k : portsw
i386 : i386ex pc386
i960 : cvme961
hppa1.1 : simhppa
m68k : dmv152 efi332 efi68k gen68302 gen68340 gen68360
gen68360_040 idp mvme136 mvme147 mvme147s mvme162 ods68302
no_cpu : no_bsp
mips64orion : p4600 p4650 (p4000 port with either R4600 or R4650)
powerpc : papyrus psim helas403
sh : gensh1
sparc : erc32
any : bare
5. Makefile structure
=====================
The makefiles have been re-organised. Most gnu-based bsps now use three
main makefiles:
+ custom/default.cfg,
+ custom/bsp.cfg and
+ ompilers/gcc-target-default.cfg.
Default.cfg sets the deafult values of certain common build options.
Bsp.cfg set bsp-specific build options and can also override the
default settings.
Gcc-target-default.cfg contains the common gcc definitions. Some targets
(a29k, no_cpu, and posix) still use the old structure.
6. Adding a bsp
===============
The top-level configure.in has to be modified if a new target is added
or if a new bsp is to be built by default. The additions required is
basically to add which makefiles are to be created by configure and
to add the target to the selection statement. To re-generate
configure, autoconf-2.12 is needed.
7. Tested configurations
========================
All gnu-based bsps have been built on Linux.
The native (posix) ports have been built and run only on Linux.
The following configurations have NOT been tested:
+ Anything on Nextstep, HPUX and Irix.
+ The a29k port.
8. Pre-requisites
=================
Gawk version 2 or higher.
GNU make version 3.72 or higher.
Bash.
gcc version ???
TODO
====
The install-if-change script requires bash. On solaris systems, this should
be changed to ksh, since ksh is provided with solaris (bash not).
A fairly rescent version of gawk is needed to build RTEMS. This should be
changed so that a plain vanilla awk also works. [NOTE: This dependency
should disappear when the "gcc 2.8 -specs" is finished.]
'make install' should only install necessary files, not the full
PROJECT_RELEASE directory as now.
Posix port on solaris-2.5 fails due to undefined built-in functions
(gcc-2.7.2, might be my installation).
Improve support for 'make CFLAGS=xxx'.

24
SUPPORT
View File

@@ -2,17 +2,21 @@
# $Id$
#
For support and training contact:
On-Line Applications Research Corporation (OAR) offers support,
customization, and training for RTEMS. Custom RTEMS development services
includes porting RTEMS to new processors and the development of custom board
support packages and device drivers. In addition, OAR is available
to assist in the development of your real-time embedded application.
On-Line Applications Research
2227 Drake Avenue SW Suite 10-F
For more information, email Mark Johannes at mark@OARcorp.com
or contact OAR at:
On-Line Applications Research Corporation
4910-L Corporate Drive
Huntsville AL 35805
(205) 883-0131
Voice: (205) 722-9985
Fax: (205 722-0985
OAR offers support and classes for RTEMS as well as custom
development services such as ports to new processors and
the development of custom board support packages and device
drivers.
OAR developed RTEMS under contract to the U.S. Army Missile Command.
RTEMS maintenance and development is funded solely by RTEMS users.
The future of RTEMS depends on its user base.

7
VERSION Normal file
View File

@@ -0,0 +1,7 @@
#
# This file is automatically generated -- DO NOT EDIT!!!
#
# $Id$
#
RTEMS Version 4.5.1-pre2

25
aclocal/ar-s.m4 Normal file
View File

@@ -0,0 +1,25 @@
dnl
dnl $Id$
dnl
AC_DEFUN(RTEMS_AR_FOR_TARGET_S,
[
AC_CACHE_CHECK(whether $AR_FOR_TARGET -s works,
rtems_cv_AR_FOR_TARGET_S,
[
cat > conftest.$ac_ext <<EOF
int foo( int b )
{ return b; }
EOF
if AC_TRY_COMMAND($CC_FOR_TARGET -o conftest.o -c conftest.$ac_ext) \
&& AC_TRY_COMMAND($AR_FOR_TARGET -sr conftest.a conftest.o) \
&& test -s conftest.a ; \
then
rtems_cv_AR_FOR_TARGET_S="yes"
else
rtems_cv_AR_FOR_TARGET_S="no"
fi
rm -f conftest*
])
])

22
aclocal/bsp-alias.m4 Normal file
View File

@@ -0,0 +1,22 @@
dnl
dnl $Id$
dnl
dnl RTEMS_BSP_ALIAS(BSP_ALIAS,BSP_RETURNED)
dnl convert a bsp alias $1 into its bsp directory $2
AC_DEFUN(RTEMS_BSP_ALIAS,
[
# account for "aliased" bsps which share source code
case $1 in
mcp750) $2=motorola_powerpc ;; # Motorola PPC board variant
mvme2307) $2=motorola_powerpc ;; # Motorola PPC board variant
mvme162lx) $2=mvme162 ;; # m68k - mvme162 board variant
gen68360_040) $2=gen68360 ;; # m68k - 68360 in companion mode
p4600) $2=p4000 ;; # mips64orion - p4000 board w/IDT 4600
p4650) $2=p4000 ;; # mips64orion - p4000 board w/IDT 4650
pc486) $2=pc386 ;; # i386 - PC with i486DX
pc586) $2=pc386 ;; # i386 - PC with Pentium
pc686) $2=pc386 ;; # i386 - PC with PentiumPro
*) $2=$1;;
esac
])

27
aclocal/canonical-host.m4 Normal file
View File

@@ -0,0 +1,27 @@
dnl $Id$
AC_DEFUN(RTEMS_CANONICAL_HOST,
[dnl
AC_REQUIRE([AC_CANONICAL_HOST])
RTEMS_HOST=$host_os
changequote(,)dnl
case "${target}" in
# hpux unix port should go here
i[34567]86-*linux*) # unix "simulator" port
RTEMS_HOST=Linux
;;
i[34567]86-*freebsd*) # unix "simulator" port
RTEMS_HOST=FreeBSD
;;
i[34567]86-pc-cygwin*) # Cygwin is just enough unix like :)
RTEMS_HOST=Cygwin
;;
sparc-sun-solaris*) # unix "simulator" port
RTEMS_HOST=Solaris
;;
*)
;;
esac
changequote([,])dnl
AC_SUBST(RTEMS_HOST)
])dnl

View File

@@ -0,0 +1,40 @@
dnl
dnl $Id$
dnl
dnl canonicalize target cpu
dnl NOTE: Most rtems targets do not fullfil autoconf's
dnl target naming conventions "processor-vendor-os"
dnl Therefore autoconf's AC_CANONICAL_TARGET will fail for them
dnl and we have to fix it for rtems ourselves
AC_DEFUN(RTEMS_CANONICAL_TARGET_CPU,
[
AC_CANONICAL_SYSTEM
AC_MSG_CHECKING(rtems target cpu)
changequote(,)dnl
case "${target}" in
# hpux unix port should go here
i[34567]86-*linux*) # unix "simulator" port
RTEMS_CPU=unix
;;
i[34567]86-*freebsd*) # unix "simulator" port
RTEMS_CPU=unix
;;
i[34567]86-pc-cygwin*) # Cygwin is just enough unix like :)
RTEMS_CPU=unix
;;
no_cpu-*rtems*)
RTEMS_CPU=no_cpu
;;
sparc-sun-solaris*) # unix "simulator" port
RTEMS_CPU=unix
;;
*)
RTEMS_CPU=`echo $target | sed 's%^\([^-]*\)-\(.*\)$%\1%'`
;;
esac
changequote([,])dnl
AC_SUBST(RTEMS_CPU)
AC_MSG_RESULT($RTEMS_CPU)
])

View File

@@ -0,0 +1,89 @@
dnl
dnl $Id$
dnl
dnl Set target tools
dnl
dnl 98/06/23 Ralf Corsepius (corsepiu@faw.uni-ulm.de)
dnl fixing cache/environment variable handling
dnl adding checks for cygwin/egcs '\\'-bug
dnl adding checks for ranlib/ar -s problem
dnl
dnl 98/02/12 Ralf Corsepius (corsepiu@faw.uni-ulm.de)
dnl
AC_DEFUN(RTEMS_GCC_PRINT,
[
$1=`$CC_FOR_TARGET --print-prog-name=$2`
])
AC_DEFUN(RTEMS_PATH_TOOL,
[
AC_MSG_CHECKING([target's $2])
AC_CACHE_VAL(ac_cv_path_$1,:)
AC_MSG_RESULT([$ac_cv_path_$1])
if test -n "$ac_cv_path_$1"; then
dnl retrieve the value from the cache
$1=$ac_cv_path_$1
else
dnl the cache was not set
if test -z "[$]$1" ; then
if test "$rtems_cv_prog_gcc" = "yes"; then
# We are using gcc, ask it about its tool
# NOTE: Necessary if gcc was configured to use the target's
# native tools or uses prefixes for gnutools (e.g. gas instead of as)
RTEMS_GCC_PRINT($1,$2)
fi
else
# The user set an environment variable.
# Check whether it is an absolute path, otherwise AC_PATH_PROG
# will override the environment variable, which isn't what the user
# intends
AC_MSG_CHECKING([whether environment variable $1 is an absolute path])
case "[$]$1" in
/*) # valid
AC_MSG_RESULT("yes")
;;
*) # invalid for AC_PATH_PROG
AC_MSG_RESULT("no")
AC_MSG_ERROR([***]
[Environment variable $1 should either]
[be unset (preferred) or contain an absolute path])
;;
esac
fi
AC_PATH_PROG($1,"$program_prefix"$2,$3)
fi
])
AC_DEFUN(RTEMS_CANONICALIZE_TOOLS,
[AC_REQUIRE([RTEMS_PROG_CC])dnl
dnl FIXME: What shall be done if these tools are not available?
RTEMS_PATH_TOOL(AR_FOR_TARGET,ar,no)
RTEMS_PATH_TOOL(AS_FOR_TARGET,as,no)
RTEMS_PATH_TOOL(LD_FOR_TARGET,ld,no)
RTEMS_PATH_TOOL(NM_FOR_TARGET,nm,no)
dnl special treatment of ranlib
RTEMS_PATH_TOOL(RANLIB_FOR_TARGET,ranlib,no)
if test "$RANLIB_FOR_TARGET" = "no"; then
# ranlib wasn't found; check if ar -s is available
RTEMS_AR_FOR_TARGET_S
if test $rtems_cv_AR_FOR_TARGET_S = "yes" ; then
dnl override RANLIB_FOR_TARGET's cache
ac_cv_path_RANLIB_FOR_TARGET="$AR_FOR_TARGET -s"
RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
else
AC_MSG_ERROR([***]
[Can't figure out how to build a library index]
[Neither ranlib nor ar -s seem to be available] )
fi
fi
dnl NOTE: These may not be available if not using gnutools
RTEMS_PATH_TOOL(OBJCOPY_FOR_TARGET,objcopy,no)
RTEMS_PATH_TOOL(SIZE_FOR_TARGET,size,no)
RTEMS_PATH_TOOL(STRIP_FOR_TARGET,strip,no)
])

View File

@@ -0,0 +1,17 @@
dnl $Id$
dnl RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
AC_DEFUN(RTEMS_CHECK_BSP_CACHE,
[
AC_REQUIRE([RTEMS_CHECK_CPU])dnl sets RTEMS_CPU, target
AC_REQUIRE([RTEMS_ENV_RTEMSBSP])dnl set RTEMS_BSP
AC_REQUIRE([RTEMS_TOP])dnl sets RTEMS_TOPdir
AC_CACHE_CHECK("for RTEMS_CPU_MODEL", rtems_cv_RTEMS_CPU_MODEL,
. $RTEMS_TOPdir/c/[$]$1/make/[$]$1.cache)
RTEMS_CPU_MODEL=$rtems_cv_RTEMS_CPU_MODEL
AC_SUBST(RTEMS_CPU_MODEL)
AC_CACHE_CHECK("for RTEMS_BSP_FAMILY", rtems_cv_RTEMS_BSP_FAMILY,
. $RTEMS_TOPdir/c/[$]$1/make/[$]$1.cache)
RTEMS_BSP_FAMILY=$rtems_cv_RTEMS_BSP_FAMILY
AC_SUBST(RTEMS_BSP_FAMILY)
])dnl

46
aclocal/check-bsps.m4 Normal file
View File

@@ -0,0 +1,46 @@
dnl $Id$
dnl Report all available bsps for a target,
dnl check if a bsp-subdirectory is present for all bsps found
dnl
dnl RTEMS_CHECK_BSPS(bsp_list)
AC_DEFUN(RTEMS_CHECK_BSPS,
[
AC_REQUIRE([RTEMS_CHECK_CPU])dnl sets RTEMS_CPU, target
AC_REQUIRE([RTEMS_TOP])dnl sets RTEMS_TOPdir
AC_MSG_CHECKING([for bsps])
files=`ls $srcdir/$RTEMS_TOPdir/c/src/lib/libbsp/$RTEMS_CPU`
for file in $files; do
case $file in
shared*);;
Makefile*);;
READ*);;
CVS*);;
pxfl*);;
ac*);;
config*);;
# Now account for BSPs with build variants
gen68360) rtems_bsp="$rtems_bsp gen68360 gen68360_040";;
p4000) rtems_bsp="$rtems_bsp p4600 p4650";;
mvme162) rtems_bsp="$rtems_bsp mvme162 mvme162lx";;
motorola_powerpc) rtems_bsp="$rtems_bsp mvme2307 mcp750";;
pc386) rtems_bsp="$rtems_bsp pc386 pc486 pc586 pc686";;
*) $1="[$]$1 $file";;
esac;
done
dnl ;;
dnl esac
AC_MSG_RESULT([[$]$1 .. done])
])dnl
AC_DEFUN(RTEMS_CHECK_CUSTOM_BSP,
[dnl
AC_REQUIRE([RTEMS_TOP])
AC_MSG_CHECKING([for make/custom/[$]$1.cfg])
if test -r "$srcdir/$RTEMS_TOPdir/make/custom/[$]$1.cfg"; then
AC_MSG_RESULT([yes])
else
AC_MSG_ERROR([no])
fi
])dnl

17
aclocal/check-cpu.m4 Normal file
View File

@@ -0,0 +1,17 @@
dnl $Id$
dnl check if RTEMS support a cpu
AC_DEFUN(RTEMS_CHECK_CPU,
[dnl
AC_REQUIRE([RTEMS_TOP])
AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])
# Is this a supported CPU?
AC_MSG_CHECKING([if cpu $RTEMS_CPU is supported])
if test -d "$srcdir/$RTEMS_TOPdir/c/src/exec/score/cpu/$RTEMS_CPU"; then
AC_MSG_RESULT(yes)
else
AC_MSG_ERROR(no)
fi
])dnl

21
aclocal/check-cxx.m4 Normal file
View File

@@ -0,0 +1,21 @@
dnl $Id$
dnl
AC_DEFUN(RTEMS_CHECK_CXX,
[dnl
AC_REQUIRE([RTEMS_CHECK_CPU])dnl
AC_REQUIRE([RTEMS_PROG_CC_FOR_TARGET])dnl
AC_REQUIRE([RTEMS_PROG_CXX_FOR_TARGET])dnl
AC_CACHE_CHECK([whether to build rtems++],
rtems_cv_HAS_CPLUSPLUS,
[ if test "$RTEMS_HAS_CPLUSPLUS" = "yes"; then
if test -n "$CXX_FOR_TARGET"; then
rtems_cv_HAS_CPLUSPLUS="yes"
else
rtems_cv_HAS_CPLUSPLUS="no"
fi
else
rtems_cv_HAS_CPLUSPLUS="no"
fi])
HAS_CPLUSPLUS="$rtems_cv_HAS_CPLUSPLUS";
AC_SUBST(HAS_CPLUSPLUS)dnl
])

29
aclocal/check-itron.m4 Normal file
View File

@@ -0,0 +1,29 @@
dnl $Id$
dnl
AC_DEFUN(RTEMS_CHECK_ITRON_API,
[dnl
AC_REQUIRE([RTEMS_CHECK_CPU])dnl
AC_REQUIRE([RTEMS_ENABLE_ITRON])dnl
AC_CACHE_CHECK([whether BSP supports libitron],
rtems_cv_HAS_ITRON_API,
[dnl
case "$RTEMS_CPU" in
unix*)
rtems_cv_HAS_ITRON_API="no"
;;
*)
if test "${RTEMS_HAS_ITRON_API}" = "yes"; then
rtems_cv_HAS_ITRON_API="yes";
else
rtems_cv_HAS_ITRON_API="disabled";
fi
;;
esac])
if test "$rtems_cv_HAS_ITRON_API" = "yes"; then
HAS_ITRON_API="yes";
else
HAS_ITRON_API="no";
fi
AC_SUBST(HAS_ITRON_API)dnl
])

View File

@@ -0,0 +1,31 @@
dnl
dnl $Id$
dnl
AC_DEFUN(RTEMS_CHECK_MULTIPROCESSING,
[dnl
AC_REQUIRE([RTEMS_ENV_RTEMSBSP])dnl
AC_REQUIRE([RTEMS_TOP])dnl
AC_REQUIRE([RTEMS_CHECK_CPU])dnl
AC_REQUIRE([RTEMS_ENABLE_MULTIPROCESSING])dnl
AC_CACHE_CHECK([whether BSP supports multiprocessing],
rtems_cv_HAS_MP,
[dnl
RTEMS_BSP_ALIAS(${$1},bspdir)
if test -d "$srcdir/${RTEMS_TOPdir}/c/src/lib/libbsp/${RTEMS_CPU}/${bspdir}/shmsupp"; then
if test "$RTEMS_HAS_MULTIPROCESSING" = "yes"; then
rtems_cv_HAS_MP="yes" ;
else
rtems_cv_HAS_MP="disabled";
fi
else
rtems_cv_HAS_MP="no";
fi])
if test "$rtems_cv_HAS_MP" = "yes"; then
HAS_MP="yes"
else
HAS_MP="no"
fi
AC_SUBST(HAS_MP)
])

View File

@@ -0,0 +1,29 @@
dnl $Id$
dnl
AC_DEFUN(RTEMS_CHECK_NETWORKING,
[dnl
AC_REQUIRE([RTEMS_CHECK_CPU])dnl
AC_REQUIRE([RTEMS_ENABLE_NETWORKING])dnl
AC_CACHE_CHECK([whether BSP supports networking],
rtems_cv_HAS_NETWORKING,
[dnl
case "$RTEMS_CPU" in
unix*)
rtems_cv_HAS_NETWORKING="no"
;;
*)
if test "${RTEMS_HAS_NETWORKING}" = "yes"; then
rtems_cv_HAS_NETWORKING="yes";
else
rtems_cv_HAS_NETWORKING="disabled";
fi
;;
esac])
if test "$rtems_cv_HAS_NETWORKING" = "yes"; then
HAS_NETWORKING="yes";
else
HAS_NETWORKING="no";
fi
AC_SUBST(HAS_NETWORKING)dnl
])

31
aclocal/check-newlib.m4 Normal file
View File

@@ -0,0 +1,31 @@
dnl $Id$
AC_DEFUN(RTEMS_CHECK_NEWLIB,
[dnl
AC_REQUIRE([RTEMS_PROG_CC_FOR_TARGET])dnl
AC_REQUIRE([RTEMS_CANONICALIZE_TOOLS])dnl
AC_CACHE_CHECK([for newlib],
rtems_cv_use_newlib,
[
rtems_save_CC=$CC
CC=$CC_FOR_TARGET
dnl some versions of newlib provide not_required_by_rtems
AC_TRY_LINK(
[extern int not_required_by_rtems() ;],
[not_required_by_rtems()],
rtems_cv_use_newlib="yes")
dnl older versions of newlib provided rtems_provides_crt0
if test -z "$rtems_cv_use_newlib"; then
AC_TRY_LINK(
[extern int rtems_provides_crt0 ;],
[rtems_provides_crt0 = 0],
rtems_cv_use_newlib="yes",
rtems_cv_use_newlib="no")
fi
CC=$rtems_save_CC])
RTEMS_USE_NEWLIB="$rtems_cv_use_newlib"
AC_SUBST(RTEMS_USE_NEWLIB)
])

30
aclocal/check-posix.m4 Normal file
View File

@@ -0,0 +1,30 @@
dnl $Id$
dnl
AC_DEFUN(RTEMS_CHECK_POSIX_API,
[dnl
AC_REQUIRE([RTEMS_ENV_RTEMSBSP])dnl
AC_REQUIRE([RTEMS_CHECK_CPU])dnl
AC_REQUIRE([RTEMS_ENABLE_POSIX])dnl
AC_CACHE_CHECK([whether BSP supports libposix],
rtems_cv_HAS_POSIX_API,
[dnl
case "$RTEMS_CPU" in
unix*)
rtems_cv_HAS_POSIX_API="no"
;;
*)
if test "${RTEMS_HAS_POSIX_API}" = "yes"; then
rtems_cv_HAS_POSIX_API="yes";
else
rtems_cv_HAS_POSIX_API="disabled";
fi
;;
esac])
if test "$rtems_cv_HAS_POSIX_API" = "yes"; then
HAS_POSIX_API="yes";
else
HAS_POSIX_API="no";
fi
AC_SUBST(HAS_POSIX_API)dnl
])

24
aclocal/check-rdbg.m4 Normal file
View File

@@ -0,0 +1,24 @@
dnl $Id$
dnl
AC_DEFUN(RTEMS_CHECK_RDBG,
[dnl
AC_REQUIRE([RTEMS_TOP])dnl
AC_REQUIRE([RTEMS_CHECK_CPU])dnl
AC_REQUIRE([RTEMS_CHECK_NETWORKING])dnl
AC_REQUIRE([RTEMS_ENABLE_RDBG])dnl
AC_CACHE_CHECK([whether BSP supports librdbg],
rtems_cv_HAS_RDBG,
[
if test -d "$srcdir/${RTEMS_TOPdir}/c/src/librdbg/src/${RTEMS_CPU}/${$1}";
then
rtems_cv_HAS_RDBG="yes" ;
elif test -d "$srcdir/${RTEMS_TOPdir}/c/src/librdbg/src/${RTEMS_CPU}/any";
then
rtems_cv_HAS_RDBG="yes" ;
else
rtems_cv_HAS_RDBG="no";
fi
])
HAS_RDBG="$rtems_cv_HAS_RDBG"
AC_SUBST(HAS_RDBG)
])

21
aclocal/enable-bare.m4 Normal file
View File

@@ -0,0 +1,21 @@
AC_DEFUN(RTEMS_ENABLE_BARE,
[
AC_ARG_ENABLE(bare-cpu-cflags,
[ --enable-bare-cpu-cflags specify a particular cpu cflag]
[ (bare bsp specific)],
[case "${enableval}" in
no) BARE_CPU_CFLAGS="" ;;
*) BARE_CPU_CFLAGS="${enableval}" ;;
esac],
[BARE_CPU_CFLAGS=""])
AC_ARG_ENABLE(bare-cpu-model,
[ --enable-bare-cpu-model specify a particular cpu model]
[ (bare bsp specific)],
[case "${enableval}" in
no) BARE_CPU_MODEL="" ;;
*) BARE_CPU_MODEL="${enableval}" ;;
esac],
[BARE_CPU_MODEL=""])
])

13
aclocal/enable-cxx.m4 Normal file
View File

@@ -0,0 +1,13 @@
dnl $Id$
AC_DEFUN(RTEMS_ENABLE_CXX,
[
AC_ARG_ENABLE(cxx,
[ --enable-cxx enable C++ support,]
[ and build the rtems++ library],
[case "${enableval}" in
yes) RTEMS_HAS_CPLUSPLUS=yes ;;
no) RTEMS_HAS_CPLUSPLUS=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for enable-cxx option) ;;
esac], [RTEMS_HAS_CPLUSPLUS=no])
])

12
aclocal/enable-gcc28.m4 Normal file
View File

@@ -0,0 +1,12 @@
dnl $Id$
AC_DEFUN(RTEMS_ENABLE_GCC28,
[
AC_ARG_ENABLE(gcc28,
[ --enable-gcc28 enable use of gcc 2.8.x features],
[case "${enableval}" in
yes) RTEMS_USE_GCC272=no ;;
no) RTEMS_USE_GCC272=yes ;;
*) AC_MSG_ERROR(bad value ${enableval} for gcc-28 option) ;;
esac],[RTEMS_USE_GCC272=no])
])

15
aclocal/enable-hwapi.m4 Normal file
View File

@@ -0,0 +1,15 @@
dnl $Id$
dnl
dnl FIXME: this needs to be reworked
AC_DEFUN(RTEMS_ENABLE_HWAPI,
[dnl
AC_ARG_ENABLE(hwapi, \
[ --enable-hwapi enable hardware API library],
[case "${enableval}" in
yes) RTEMS_HAS_HWAPI=yes ;;
no) RTEMS_HAS_HWAPI=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for hwapi option) ;;
esac],[RTEMS_HAS_HWAPI=no])
AC_SUBST(RTEMS_HAS_HWAPI)dnl
])dnl

13
aclocal/enable-inlines.m4 Normal file
View File

@@ -0,0 +1,13 @@
dnl $Id$
AC_DEFUN(RTEMS_ENABLE_INLINES,
[AC_ARG_ENABLE(rtems-inlines,
[ --enable-rtems-inlines enable RTEMS inline functions]
[ (default:enabled, disable to use macros)],
[case "${enableval}" in
yes) RTEMS_USE_MACROS=no ;;
no) RTEMS_USE_MACROS=yes ;;
*) AC_MSG_ERROR(bad value ${enableval} for disable-rtems-inlines option) ;;
esac],[RTEMS_USE_MACROS=no])
AC_SUBST(RTEMS_USE_MACROS)dnl
])

35
aclocal/enable-itron.m4 Normal file
View File

@@ -0,0 +1,35 @@
dnl $Id$
AC_DEFUN(RTEMS_ENABLE_ITRON,
[
## AC_BEFORE([$0], [RTEMS_CHECK_ITRON_API])dnl
AC_ARG_ENABLE(itron,
[ --enable-itron enable itron interface],
[case "${enableval}" in
yes) RTEMS_HAS_ITRON_API=yes ;;
no) RTEMS_HAS_ITRON_API=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for enable-itron option) ;;
esac],[RTEMS_HAS_ITRON_API=yes])
changequote(,)dnl
case "${target}" in
# hpux unix port should go here
i[34567]86-pc-linux*) # unix "simulator" port
RTEMS_HAS_ITRON_API=no
;;
i[34567]86-*freebsd*) # unix "simulator" port
RTEMS_HAS_ITRON_API=no
;;
no_cpu-*rtems*)
RTEMS_HAS_ITRON_API=no
;;
sparc-sun-solaris*) # unix "simulator" port
RTEMS_HAS_ITRON_API=no
;;
*)
;;
esac
changequote([,])dnl
AC_SUBST(RTEMS_HAS_ITRON_API)
])

10
aclocal/enable-libcdir.m4 Normal file
View File

@@ -0,0 +1,10 @@
dnl $Id$
AC_DEFUN(RTEMS_ENABLE_LIBCDIR,
[
AC_ARG_ENABLE(libcdir,
[ --enable-libcdir=directory set the directory for the C library],
[ RTEMS_LIBC_DIR="${enableval}" ; \
test -d ${enableval} || AC_MSG_ERROR("$enableval is not a directory" ) ] )
AC_SUBST(RTEMS_LIBC_DIR)dnl
])

View File

@@ -0,0 +1,13 @@
dnl $Id$
AC_DEFUN(RTEMS_ENABLE_MULTIPROCESSING,
[
AC_ARG_ENABLE(multiprocessing,
[ --enable-multiprocessing enable multiprocessing interface],
[case "${enableval}" in
yes) RTEMS_HAS_MULTIPROCESSING=yes ;;
no) RTEMS_HAS_MULTIPROCESSING=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for enable-multiprocessing option) ;;
esac],[RTEMS_HAS_MULTIPROCESSING=no])
AC_SUBST(RTEMS_HAS_MULTIPROCESSING)dnl
])

View File

@@ -0,0 +1,15 @@
dnl $Id$
AC_DEFUN(RTEMS_ENABLE_NETWORKING,
[
## AC_BEFORE([$0], [RTEMS_CHECK_NETWORKING])dnl
AC_ARG_ENABLE(networking,
[ --enable-networking enable TCP/IP stack],
[case "${enableval}" in
yes) RTEMS_HAS_NETWORKING=yes ;;
no) RTEMS_HAS_NETWORKING=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for enable-networking option) ;;
esac],[RTEMS_HAS_NETWORKING=yes])
AC_SUBST(RTEMS_HAS_NETWORKING)dnl
])

35
aclocal/enable-posix.m4 Normal file
View File

@@ -0,0 +1,35 @@
dnl $Id$
AC_DEFUN(RTEMS_ENABLE_POSIX,
[
## AC_BEFORE([$0], [RTEMS_CHECK_POSIX_API])dnl
AC_ARG_ENABLE(posix,
[ --enable-posix enable posix interface],
[case "${enableval}" in
yes) RTEMS_HAS_POSIX_API=yes ;;
no) RTEMS_HAS_POSIX_API=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for enable-posix option) ;;
esac],[RTEMS_HAS_POSIX_API=yes])
changequote(,)dnl
case "${target}" in
# hpux unix port should go here
i[34567]86-pc-linux*) # unix "simulator" port
RTEMS_HAS_POSIX_API=no
;;
i[34567]86-*freebsd*) # unix "simulator" port
RTEMS_HAS_POSIX_API=no
;;
no_cpu-*rtems*)
RTEMS_HAS_POSIX_API=no
;;
sparc-sun-solaris*) # unix "simulator" port
RTEMS_HAS_POSIX_API=no
;;
*)
;;
esac
changequote([,])dnl
AC_SUBST(RTEMS_HAS_POSIX_API)
])

15
aclocal/enable-rdbg.m4 Normal file
View File

@@ -0,0 +1,15 @@
dnl $Id$
AC_DEFUN(RTEMS_ENABLE_RDBG,
[
AC_BEFORE([$0], [RTEMS_CHECK_RDBG])dnl
AC_ARG_ENABLE(rdbg,
[ --enable-rdbg enable remote debugger],
[case "${enableval}" in
yes) RTEMS_HAS_RDBG=yes ;;
no) RTEMS_HAS_RDBG=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for enable-rdbg option) ;;
esac],[RTEMS_HAS_RDBG=no])
AC_SUBST(RTEMS_HAS_RDBG)dnl
])

View File

@@ -0,0 +1,36 @@
dnl $Id$
dnl Override the set of BSPs to be built.
dnl used by the toplevel configure script
dnl RTEMS_ENABLE_RTEMSBSP(rtems_bsp_list)
AC_DEFUN(RTEMS_ENABLE_RTEMSBSP,
[
AC_BEFORE([$0], [RTEMS_ENV_RTEMSBSP])dnl
AC_ARG_ENABLE(rtemsbsp,
[ --enable-rtemsbsp=bsp1 bsp2 .. BSPs to include in build],
[case "${enableval}" in
yes|no) AC_MSG_ERROR([missing argument to --enable-rtemsbsp=\"bsp1 bsp2\"]);;
*) $1=$enableval;;
esac],[$1=""])
])
dnl Pass a single BSP via an environment variable
dnl used by per BSP configure scripts
AC_DEFUN(RTEMS_ENV_RTEMSBSP,
[dnl
AC_BEFORE([$0], [RTEMS_ENABLE_RTEMSBSP])dnl
AC_BEFORE([$0], [RTEMS_PROJECT_ROOT])dnl
AC_BEFORE([$0], [RTEMS_CHECK_CUSTOM_BSP])dnl
AC_MSG_CHECKING([for RTEMS_BSP])
AC_CACHE_VAL(rtems_cv_RTEMS_BSP,
[dnl
test -n "${RTEMS_BSP}" && rtems_cv_RTEMS_BSP="$RTEMS_BSP";
])dnl
if test -z "$rtems_cv_RTEMS_BSP"; then
AC_MSG_ERROR([Missing RTEMS_BSP])
fi
RTEMS_BSP="$rtems_cv_RTEMS_BSP"
AC_MSG_RESULT(${RTEMS_BSP})
AC_SUBST(RTEMS_BSP)
])

15
aclocal/enable-tests.m4 Normal file
View File

@@ -0,0 +1,15 @@
dnl $Id$
AC_DEFUN(RTEMS_ENABLE_TESTS,
[
# If the tests are enabled, then find all the test suite Makefiles
AC_MSG_CHECKING([if the test suites are enabled? ])
AC_ARG_ENABLE(tests,
[ --enable-tests enable tests (default:disabled)],
[case "${enableval}" in
yes) tests_enabled=yes ;;
no) tests_enabled=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for tests option) ;;
esac], [tests_enabled=no])
AC_MSG_RESULT([$tests_enabled])
])

21
aclocal/gcc-pipe.m4 Normal file
View File

@@ -0,0 +1,21 @@
dnl
dnl $Id$
dnl
dnl Check whether the target compiler accepts -pipe
dnl
AC_DEFUN(RTEMS_GCC_PIPE,
[AC_REQUIRE([RTEMS_PROG_CC])
AC_REQUIRE([AC_CANONICAL_HOST])
AC_CACHE_CHECK(whether $CC_FOR_TARGET accepts --pipe,rtems_cv_gcc_pipe,
[
rtems_cv_gcc_pipe=no
if test "$rtems_cv_prog_gcc" = "yes"; then
echo 'void f(){}' >conftest.c
if test -z "`${CC_FOR_TARGET} --pipe -c conftest.c 2>&1`";then
rtems_cv_gcc_pipe=yes
fi
rm -f conftest*
fi
])
])

20
aclocal/gcc-specs.m4 Normal file
View File

@@ -0,0 +1,20 @@
dnl
dnl $Id$
dnl
dnl Check whether the target compiler accepts -specs
dnl
AC_DEFUN(RTEMS_GCC_SPECS,
[AC_REQUIRE([RTEMS_PROG_CC])
AC_CACHE_CHECK(whether $CC_FOR_TARGET accepts -specs,rtems_cv_gcc_specs,
[
rtems_cv_gcc_specs=no
if test "$rtems_cv_prog_gcc" = "yes"; then
touch confspec
echo 'void f(){}' >conftest.c
if test -z "`${CC_FOR_TARGET} -specs confspec -c conftest.c 2>&1`";then
rtems_cv_gcc_specs=yes
fi
fi
rm -f confspec conftest*
])])

View File

@@ -0,0 +1,27 @@
dnl
dnl $Id$
dnl
dnl check for i386 gas supporting 16 bit mode
dnl - binutils 2.9.1.0.7 and higher
AC_DEFUN(RTEMS_I386_GAS_CODE16,
[ if test "${target_cpu}" = "i386"; then
AC_CACHE_CHECK([for 16 bit mode assembler support],
rtems_cv_prog_gas_code16,
[cat > conftest.s << EOF
.code16
data32
addr32
lgdt 0
EOF
if AC_TRY_COMMAND($AS_FOR_TARGET -o conftest.o conftest.s); then
rtems_cv_prog_gas_code16=yes
else
rtems_cv_prog_gas_code16=no
fi])
RTEMS_GAS_CODE16="$rtems_cv_prog_gas_code16"
fi
AC_SUBST(RTEMS_GAS_CODE16)
])

14
aclocal/path-ksh.m4 Normal file
View File

@@ -0,0 +1,14 @@
dnl $Id$
AC_DEFUN(RTEMS_PATH_KSH,
[
dnl NOTE: prefer bash over ksh over sh
AC_PATH_PROGS(KSH,bash ksh sh)
if test -z "$KSH"; then
dnl NOTE: This cannot happen -- /bin/sh must always exist
AC_MSG_ERROR(
[***]
[ Cannot determine a usable shell bash/ksh/sh]
[ Please contact your system administrator] );
fi
])

12
aclocal/path-perl.m4 Normal file
View File

@@ -0,0 +1,12 @@
dnl $Id$
AC_DEFUN(RTEMS_PATH_PERL,
[
AC_PATH_PROG(PERL,perl)
if test -z "$PERL" ; then
AC_MSG_WARN(
[***]
[ perl was not found]
[ Note: Some tools will not be built.])
fi
])

92
aclocal/prog-cc.m4 Normal file
View File

@@ -0,0 +1,92 @@
dnl
dnl $Id$
dnl
dnl Check for target gcc
dnl
dnl 98/05/20 Ralf Corsepius (corsepiu@faw.uni-ulm.de)
dnl Completely reworked
AC_DEFUN(RTEMS_PROG_CC,
[
AC_BEFORE([$0], [AC_PROG_CPP])dnl
AC_BEFORE([$0], [AC_PROG_CC])dnl
AC_BEFORE([$0], [RTEMS_CANONICALIZE_TOOLS])dnl
AC_REQUIRE([RTEMS_TOOL_PREFIX])dnl
AC_REQUIRE([RTEMS_ENABLE_LIBCDIR])dnl
dnl Only accept gcc and cc
dnl NOTE: This might be too restrictive for native compilation
AC_PATH_PROGS(CC_FOR_TARGET, "$program_prefix"gcc "$program_prefix"cc )
test -z "$CC_FOR_TARGET" \
&& AC_MSG_ERROR([no acceptable cc found in \$PATH])
dnl backup
rtems_save_CC=$CC
rtems_save_CFLAGS=$CFLAGS
dnl temporarily set CC
CC=$CC_FOR_TARGET
AC_PROG_CC_WORKS
AC_PROG_CC_GNU
if test $ac_cv_prog_gcc = yes; then
GCC=yes
dnl Check whether -g works, even if CFLAGS is set, in case the package
dnl plays around with CFLAGS (such as to build both debugging and
dnl normal versions of a library), tasteless as that idea is.
ac_test_CFLAGS="${CFLAGS+set}"
ac_save_CFLAGS="$CFLAGS"
CFLAGS=
AC_PROG_CC_G
if test "$ac_test_CFLAGS" = set; then
CFLAGS="$ac_save_CFLAGS"
elif test $ac_cv_prog_cc_g = yes; then
CFLAGS="-g -O2"
else
CFLAGS="-O2"
fi
else
GCC=
test "${CFLAGS+set}" = set || CFLAGS="-g"
fi
rtems_cv_prog_gcc=$ac_cv_prog_gcc
rtems_cv_prog_cc_g=$ac_cv_prog_cc_g
rtems_cv_prog_cc_works=$ac_cv_prog_cc_works
rtems_cv_prog_cc_cross=$ac_cv_prog_cc_cross
dnl restore initial values
CC=$rtems_save_CC
CFLAGS=$rtems_save_CFLAGS
unset ac_cv_prog_gcc
unset ac_cv_prog_cc_g
unset ac_cv_prog_cc_works
unset ac_cv_prog_cc_cross
])
AC_DEFUN(RTEMS_PROG_CC_FOR_TARGET,
[
dnl check target cc
RTEMS_PROG_CC
dnl check if the compiler supports --specs
RTEMS_GCC_SPECS
dnl check if the target compiler may use --pipe
RTEMS_GCC_PIPE
dnl check if the compiler supports --specs if gcc28 is requested
if test "$RTEMS_USE_GCC272" != "yes" ; then
if test "$rtems_cv_gcc_specs" = "no"; then
AC_MSG_WARN([*** disabling --enable-gcc28])
RTEMS_USE_GCC272=yes
fi
fi
test "$rtems_cv_gcc_pipe" = "yes" && CC_FOR_TARGET="$CC_FOR_TARGET --pipe"
dnl FIXME: HACK for egcs/cygwin mixing '\\' and '/' in gcc -print-*
case $host_os in
*cygwin*) GCCSED="| sed 's%\\\\%/%g'" ;;
*) ;;
esac
AC_SUBST(GCCSED)
])

81
aclocal/prog-cxx.m4 Normal file
View File

@@ -0,0 +1,81 @@
dnl
dnl $Id$
dnl
dnl Check for target g++
dnl
dnl 98/05/20 Ralf Corsepius (corsepiu@faw.uni-ulm.de)
dnl Completely reworked
AC_DEFUN(RTEMS_PROG_CXX,
[
AC_BEFORE([$0], [AC_PROG_CXXCPP])dnl
AC_BEFORE([$0], [AC_PROG_CXX])dnl
AC_BEFORE([$0], [RTEMS_CANONICALIZE_TOOLS])dnl
AC_REQUIRE([RTEMS_TOOL_PREFIX])dnl
AC_REQUIRE([RTEMS_ENABLE_LIBCDIR])dnl
dnl Only accept g++ and c++
dnl NOTE: This might be too restrictive for native compilation
AC_PATH_PROGS(CXX_FOR_TARGET, "$program_prefix"g++ "$program_prefix"c++)
test -z "$CXX_FOR_TARGET" \
&& AC_MSG_ERROR([no acceptable c++ found in \$PATH])
dnl backup
rtems_save_CXX=$CXX
rtems_save_CXXFLAGS=$CXXFLAGS
dnl temporarily set CXX
CXX=$CXX_FOR_TARGET
AC_PROG_CXX_WORKS
AC_PROG_CXX_GNU
if test $ac_cv_prog_gxx = yes; then
GXX=yes
dnl Check whether -g works, even if CXXFLAGS is set, in case the package
dnl plays around with CXXFLAGS (such as to build both debugging and
dnl normal versions of a library), tasteless as that idea is.
ac_test_CXXFLAGS="${CXXFLAGS+set}"
ac_save_CXXFLAGS="$CXXFLAGS"
CXXFLAGS=
AC_PROG_CXX_G
if test "$ac_test_CXXFLAGS" = set; then
CXXFLAGS="$ac_save_CXXFLAGS"
elif test $ac_cv_prog_cxx_g = yes; then
CXXFLAGS="-g -O2"
else
CXXFLAGS="-O2"
fi
else
GXX=
test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
fi
rtems_cv_prog_gxx=$ac_cv_prog_gxx
rtems_cv_prog_cxx_g=$ac_cv_prog_cxx_g
rtems_cv_prog_cxx_works=$ac_cv_prog_cxx_works
rtems_cv_prog_cxx_cross=$ac_cv_prog_cxx_cross
CXX=$rtems_save_CXX
CXXFLAGS=$rtems_save_CXXFLAGS
dnl restore initial values
unset ac_cv_prog_gxx
unset ac_cv_prog_cc_g
unset ac_cv_prog_cxx_works
unset ac_cv_prog_cxx_cross
dnl somehow autoconf macros leave this file
rm -f conftest.C
])
AC_DEFUN(RTEMS_PROG_CXX_FOR_TARGET,
[
RTEMS_PROG_CXX
if test "$rtems_cv_prog_cc_cross" != "$rtems_cv_prog_cxx_cross"; then
AC_MSG_ERROR([***]
[Inconsistency in compiler configuration:]
[Target C compiler and Target C++ compiler]
[must both either be cross compilers or native compilers]
[Hint: If building a posix bsp: LD_LIBRARY_PATH?] )
fi
])

27
aclocal/project-root.m4 Normal file
View File

@@ -0,0 +1,27 @@
dnl
dnl $Id$
dnl
AC_DEFUN(RTEMS_PROJECT_ROOT,
[dnl
AC_REQUIRE([RTEMS_TOP])
if test "$TARGET_SUBDIR" = "." ; then
PROJECT_ROOT=$RTEMS_TOPdir/'$(top_builddir)';
else
PROJECT_ROOT=../$RTEMS_TOPdir/'$(top_builddir)'
fi
AC_SUBST(PROJECT_ROOT)
RTEMS_ROOT=$RTEMS_TOPdir/'$(top_builddir)'/c/$RTEMS_BSP
AC_SUBST(RTEMS_ROOT)
PACKHEX="\$(PROJECT_ROOT)/tools/build/packhex"
AC_SUBST(PACKHEX)
PROJECT_INCLUDE="\$(PROJECT_ROOT)/$RTEMS_BSP/lib/include"
AC_SUBST(PROJECT_INCLUDE)
PROJECT_RELEASE="\$(PROJECT_ROOT)/$RTEMS_BSP"
AC_SUBST(PROJECT_RELEASE)
])

40
aclocal/rtems-top.m4 Normal file
View File

@@ -0,0 +1,40 @@
dnl $Id$
dnl
dnl RTEMS_TOP($1)
dnl
dnl $1 .. relative path from this configure.in to the toplevel configure.in
dnl
AC_DEFUN(RTEMS_TOP,
[dnl
AC_BEFORE([$0], [AC_CONFIG_AUX_DIR])dnl
AC_BEFORE([$0], [AM_INIT_AUTOMAKE])dnl
AC_ARG_WITH(target-subdir,
[ --with-target-subdir=DIR],
TARGET_SUBDIR="$withval",
TARGET_SUBDIR=".")
## HACK to allow gnu-make conditionals in automake-Makefiles.
ENDIF=endif
AC_SUBST(ENDIF)
RTEMS_TOPdir="$1";
AC_SUBST(RTEMS_TOPdir)
dnl Determine RTEMS Version string from the VERSION file
dnl Hopefully, Joel never changes its format ;-
AC_MSG_CHECKING([for RTEMS Version])
if test -r "${srcdir}/${RTEMS_TOPdir}/VERSION"; then
changequote(,)dnl
RTEMS_VERSION=`grep Version ${srcdir}/${RTEMS_TOPdir}/VERSION | \
sed -e 's%RTEMS[ ]*Version[ ]*\(.*\)[ ]*%\1%g'`
changequote([,])dnl
else
AC_MSG_ERROR(Unable to find ${RTEMS_TOPdir}/VERSION)
fi
if test -z "$RTEMS_VERSION"; then
AC_MSG_ERROR(Unable to determine version)
fi
AC_MSG_RESULT($RTEMS_VERSION)
])dnl

133
aclocal/sysv-ipc.m4 Normal file
View File

@@ -0,0 +1,133 @@
dnl
dnl $Id$
dnl
dnl Check for System V IPC calls used by Unix simulators
dnl
dnl 98/07/17 Dario Alcocer alcocer@netcom.com
dnl Ralf Corsepius corsepiu@faw.uni-ulm.de
dnl
dnl Note: $host_os should probably *not* ever be used here to
dnl determine if host supports System V IPC calls, since some
dnl (e.g. FreeBSD 2.x) are configured by default to include only
dnl a subset of the System V IPC calls. Therefore, to make sure
dnl all of the required calls are found, test for each call explicitly.
dnl
dnl All of the calls use IPC_PRIVATE, so tests will not unintentionally
dnl modify any existing key sets. See the man pages for semget, shmget,
dnl msgget, semctl, shmctl and msgctl for details.
AC_DEFUN(RTEMS_UNION_SEMUN,
[
AC_CACHE_CHECK([whether $RTEMS_HOST defines union semun],
rtems_cv_HAS_UNION_SEMUN,
[AC_TRY_COMPILE([
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/sem.h>],
[union semun arg ;],
[rtems_cv_HAS_UNION_SEMUN="yes"],
[rtems_cv_HAS_UNION_SEMUN="no"])
if test "$rtems_cv_HAS_UNION_SEMUN" = "yes"; then
AC_DEFINE(HAS_UNION_SEMUN)
fi])
])
AC_DEFUN(RTEMS_SYSV_SEM,
[AC_REQUIRE([AC_PROG_CC])
AC_REQUIRE([RTEMS_CANONICAL_HOST])
AC_CACHE_CHECK(whether $RTEMS_HOST supports System V semaphores,
rtems_cv_sysv_sem,
[
AC_TRY_RUN(
[
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/sem.h>
#if !HAS_UNION_SEMUN
union semun {
int val;
struct semid_ds *buf;
ushort *array;
} ;
#endif
int main () {
union semun arg ;
int id=semget(IPC_PRIVATE,1,IPC_CREAT|0400);
if (id == -1)
exit(1);
arg.val = 0; /* avoid implicit type cast to union */
if (semctl(id, 0, IPC_RMID, arg) == -1)
exit(1);
exit(0);
}
],
rtems_cv_sysv_sem="yes", rtems_cv_sysv_sem="no", :)
])
])
AC_DEFUN(RTEMS_SYSV_SHM,
[AC_REQUIRE([AC_PROG_CC])
AC_REQUIRE([RTEMS_CANONICAL_HOST])
AC_CACHE_CHECK(whether $RTEMS_HOST supports System V shared memory,
rtems_cv_sysv_shm,
[
AC_TRY_RUN([
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/shm.h>
int main () {
int id=shmget(IPC_PRIVATE,1,IPC_CREAT|0400);
if (id == -1)
exit(1);
if (shmctl(id, IPC_RMID, 0) == -1)
exit(1);
exit(0);
}
],
rtems_cv_sysv_shm="yes", rtems_cv_sysv_shm="no", :)
])
])
AC_DEFUN(RTEMS_SYSV_MSG,
[AC_REQUIRE([AC_PROG_CC])
AC_REQUIRE([RTEMS_CANONICAL_HOST])
AC_CACHE_CHECK(whether $RTEMS_HOST supports System V messages,
rtems_cv_sysv_msg,
[
AC_TRY_RUN([
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/msg.h>
int main () {
int id=msgget(IPC_PRIVATE,IPC_CREAT|0400);
if (id == -1)
exit(1);
if (msgctl(id, IPC_RMID, 0) == -1)
exit(1);
exit(0);
}
],
rtems_cv_sysv_msg="yes", rtems_cv_sysv_msg="no", :)
])
])
AC_DEFUN(RTEMS_CHECK_SYSV_UNIX,
[AC_REQUIRE([RTEMS_CANONICAL_HOST])
if test "$RTEMS_CPU" = "unix" ; then
RTEMS_UNION_SEMUN
RTEMS_SYSV_SEM
if test "$rtems_cv_sysv_sem" != "yes" ; then
AC_MSG_ERROR([System V semaphores don't work, required by simulator])
fi
RTEMS_SYSV_SHM
if test "$rtems_cv_sysv_shm" != "yes" ; then
AC_MSG_ERROR([System V shared memory doesn't work, required by simulator])
fi
RTEMS_SYSV_MSG
if test "$rtems_cv_sysv_msg" != "yes" ; then
AC_MSG_ERROR([System V messages don't work, required by simulator])
fi
fi
])

129
aclocal/target.m4 Normal file
View File

@@ -0,0 +1,129 @@
dnl $Id$
AC_DEFUN(RTEMS_CONFIG_SUBDIRS,
[
define([RTEMS_TGT_SUBDIRS],
ifdef([RTEMS_TGT_SUBDIRS], [RTEMS_TGT_SUBDIRS ],)[$1])dnl
target_subdirs="RTEMS_TGT_SUBDIRS"
AC_SUBST(target_subdirs)
])
dnl This is a subroutine of AC_OUTPUT.
dnl It is called after running config.status.
dnl AC_OUTPUT_SUBDIRS(DIRECTORY...)
AC_DEFUN(RTEMS_OUTPUT_SUBDIRS,
[
if test "$no_recursion" != yes; then
if test $target_alias != $host_alias; then
target_subdir="$target_alias"
else
target_subdir="."
fi
# Remove --cache-file and --srcdir arguments so they do not pile up.
ac_sub_configure_args=
ac_prev=
for ac_arg in $ac_configure_args; do
if test -n "$ac_prev"; then
ac_prev=
continue
fi
case "$ac_arg" in
-cache-file | --cache-file | --cache-fil | --cache-fi \
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
ac_prev=cache_file ;;
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
;;
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
ac_prev=srcdir ;;
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
;;
*) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
esac
done
test -d $target_subdir || mkdir $target_subdir
for ac_config_dir in $1; do
# Do not complain, so a configure script can configure whichever
# parts of a large source tree are present.
if test ! -d $srcdir/$ac_config_dir; then
continue
fi
echo configuring in $target_subdir/$ac_config_dir
case "$srcdir" in
## .) ;;
*)
if test -d $target_subdir/$ac_config_dir || mkdir $target_subdir/$ac_config_dir; then :;
else
AC_MSG_ERROR(can not create `pwd`/$target_subdir/$ac_config_dir)
fi
;;
esac
ac_popdir=`pwd`
cd $target_subdir/$ac_config_dir
changequote(, )dnl
# A "../" for each directory in /$ac_config_dir.
ac_dots=`echo $target_subdir/$ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
changequote([, ])dnl
case "$srcdir" in
## .) # No --srcdir option. We are building in place.
## ac_sub_srcdir=$srcdir ;;
/*) # Absolute path.
ac_sub_srcdir=$srcdir/$ac_config_dir ;;
*) # Relative path.
ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
esac
# Check for guested configure; otherwise get Cygnus style configure.
if test -f $ac_sub_srcdir/configure; then
ac_sub_configure=$ac_sub_srcdir/configure
elif test -f $ac_sub_srcdir/configure.in; then
ac_sub_configure=$ac_configure
else
AC_MSG_WARN(no configuration information is in $ac_config_dir)
ac_sub_configure=
fi
# The recursion is here.
if test -n "$ac_sub_configure"; then
# Make the cache file name correct relative to the subdirectory.
if test "$target_alias" != "$host_alias"; then
ac_sub_cache_file=$cache_file
else
case "$cache_file" in
/*) ac_sub_cache_file=$cache_file ;;
*) # Relative path.
ac_sub_cache_file="$ac_dots$cache_file" ;;
esac
fi
ifdef([AC_PROVIDE_AC_PROG_INSTALL],
[ case "$ac_given_INSTALL" in
changequote(, )dnl
[/$]*) INSTALL="$ac_given_INSTALL" ;;
changequote([, ])dnl
*) INSTALL="$ac_dots$ac_given_INSTALL" ;;
esac
])dnl
echo "[running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file] --srcdir=$ac_sub_srcdir"
# The eval makes quoting arguments work.
if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure \
$ac_sub_configure_args --srcdir=$ac_sub_srcdir \
--with-target-subdir=$target_subdir --cache-file=$ac_sub_cache_file
then :
else
AC_MSG_ERROR($ac_sub_configure failed for $ac_config_dir)
fi
fi
cd $ac_popdir
done
fi
])

23
aclocal/tool-paths.m4 Normal file
View File

@@ -0,0 +1,23 @@
AC_DEFUN(RTEMS_TOOLPATHS,
[
# tooldir='$(exec_prefix)/'$target_alias
# Temporary work-around until building in source tree is supported
AC_REQUIRE([RTEMS_PROJECT_ROOT])
tooldir='$(PROJECT_ROOT)'
AC_SUBST(tooldir)
project_includedir='$(tooldir)'/include
AC_SUBST(project_includedir)
project_libdir='$(tooldir)/lib$(MULTISUBDIR)'
AC_SUBST(project_libdir)
project_bindir='$(tooldir)/bin'
AC_SUBST(project_bindir)
rtems_bspdir='$(prefix)/${RTEMS_BSP}'
AC_SUBST(rtems_bspdir)
rtems_makedir='$(prefix)/make'
AC_SUBST(rtems_makedir)
])

22
aclocal/tool-prefix.m4 Normal file
View File

@@ -0,0 +1,22 @@
dnl
dnl $Id$
dnl
dnl Set program_prefix
dnl
dnl 98/05/20 Ralf Corsepius (corsepiu@faw.uni-ulm.de)
dnl Extracted from configure
AC_DEFUN(RTEMS_TOOL_PREFIX,
[AC_REQUIRE([AC_CANONICAL_TARGET])dnl
AC_REQUIRE([AC_CANONICAL_BUILD])dnl
changequote(,)dnl
if [ "${program_prefix}" = "NONE" ] ; then
if [ "${target}" = "${host}" ] ; then
program_prefix=
else
program_prefix=${target}-
fi
fi
changequote([,])dnl
])

28
automake/host.am Normal file
View File

@@ -0,0 +1,28 @@
## $Id$
## NOTE: This is a temporary work-around to keep
## RTEMS's non automake standard make targets working.
## Once automake is fully integrated these make targets
## and this file will probably be removed
debug:
@echo
@echo "\"make debug\" is obsolete, instead use:"
@echo " make VARIANT=DEBUG"
@echo
.PHONY: debug
profile:
@echo
@echo "\"make profile\" is obsolete, instead use:"
@echo " make VARIANT=PROFILE"
@echo
preinstall-am: $(PREINSTALL_FILES)
preinstall: preinstall-am
.PHONY: preinstall preinstall-am
depend-am:
depend: depend-am
.PHONY: depend depend-am

9
automake/leaf.am Normal file
View File

@@ -0,0 +1,9 @@
include $(RTEMS_ROOT)/make/leaf.cfg
ifndef make-cxx-exe
define make-cxx-exe
$(LINK.cc) $(AM_CFLAGS) $(AM_LDFLAGS) \
$(LDLIBS) -o $@ \
$(LINK_OBJS) $(LINK_LIBS)
endef
@ENDIF@

18
automake/lib.am Normal file
View File

@@ -0,0 +1,18 @@
##
## $Id$
##
include $(RTEMS_ROOT)/make/leaf.cfg
define make-library
$(RM) $@
$(AR) $(ARFLAGS) $@ $^
$(RANLIB) $@
endef
$(PROJECT_RELEASE)/lib:
@$(mkinstalldirs) $@
TMPINSTALL_FILES = $(PROJECT_RELEASE)/lib
.PRECIOUS: $(LIB)

80
automake/local.am Normal file
View File

@@ -0,0 +1,80 @@
## $Id$
## NOTE: This is a temporary work-around to keep
## RTEMS's non automake standard make targets working.
## Once automake is fully integrated these make targets
## and this file will probably be removed
## translate VARIANT into VARIANT_V
VARIANT = OPTIMIZE
VARIANT_OPTIMIZE_V = OPTIMIZE
VARIANT_DEBUG_V = DEBUG
VARIANT_PROFILE_V = PROFILE
VARIANT_optimize_V = OPTIMIZE
VARIANT_debug_V = DEBUG
VARIANT_profile_V = PROFILE
VARIANT_V = $(VARIANT_$(VARIANT)_V)
## Setup the variant build subdirectory
ARCH_OPTIMIZE_V = o-optimize
ARCH_DEBUG_V = o-debug
ARCH_PROFILE_V = o-profile
ARCH__V = $(ARCH_OPTIMIZE_V)
ARCH = $(ARCH_$(VARIANT_V)_V)
## Setup the library suffix
LIBSUFFIX_OPTIMIZE_V =
LIBSUFFIX_DEBUG_V = _g
LIBSUFFIX_PROFILE_V = _p
LIBSUFFIX__V = $(LIBSUFFIX_OPTIMIZE_V)
LIB_VARIANT = $(LIBSUFFIX_$(VARIANT_V)_V)
LIBSUFFIX_VA = $(LIB_VARIANT).a
## These are supposed to be set in make/custom/<bsp>.cfg
## CFLAGS_OPTIMIZE_V =
## CFLAGS_DEBUG_V =
## CFLAGS_PROFILE_V =
CFLAGS__V = $(CFLAGS_OPTIMIZE_V)
AM_CFLAGS += $(CFLAGS_$(VARIANT_V)_V)
debug:
@echo
@echo "\"make debug\" is obsolete, instead use:"
@echo " make VARIANT=DEBUG"
@echo
.PHONY: debug
profile:
@echo
@echo "\"make profile\" is obsolete, instead use:"
@echo " make VARIANT=PROFILE"
@echo
.PHONY: profile
preinstall-am: $(PREINSTALL_FILES)
preinstall: preinstall-am
.PHONY: preinstall preinstall-am
depend-am:
depend: depend-am
.PHONY: depend depend-am
${ARCH}:
mkdir ${ARCH}
clean-local:
$(RM) -r o-optimize o-debug o-profile $(CLEANDIRS)
$(RM) Depends-o-optimize.tmp Depends-o-debug.tmp Depends-o-profile.tmp
distclean-local:
$(RM) Depends-o-optimize Depends-o-debug Depends-o-profile
PROJECT_TOOLS = $(PROJECT_RELEASE)/build-tools

36
automake/subdirs.am Normal file
View File

@@ -0,0 +1,36 @@
## $Id$
## Borrowed from automake-1.4 and adapted to RTEMS
## NOTE: This is a temporary work-around to keep
## RTEMS's non automake standard make targets working.
## Once automake is fully integrated these make targets
## and this file will probably be removed
depend-recursive \
preinstall-recursive:
@set fnord $(MAKEFLAGS); amf=$$2; \
dot_seen=no; \
target=`echo $@ | sed s/-recursive//`; \
list='$(SUBDIRS)'; for subdir in $$list; do \
echo "Making $$target in $$subdir"; \
if test "$$subdir" = "."; then \
dot_seen=yes; \
local_target="$$target-am"; \
else \
local_target="$$target"; \
fi; \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
## This trick allows "-k" to keep its natural meaning when running a
## recursive rule.
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
done; \
if test "$$dot_seen" = "no"; then \
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
fi; test -z "$$fail"
preinstall: preinstall-recursive
.PHONY: preinstall-recursive
depend: depend-recursive
.PHONY: depend-recursive

122
bootstrap Executable file
View File

@@ -0,0 +1,122 @@
#!/bin/sh
#
# helps bootstrapping, when checked out from CVS
# requires GNU autoconf and GNU automake
#
# $Id$
# this is not meant to be exported outside the source tree
# NOTE: Inspired by libtool's autogen script
# to be run from the toplevel directory of RTEMS'
# source tree
progname=`basename $0`
top_srcdir=`dirname $0`
verbose="";
quiet="false"
mode="generate"
usage()
{
echo
echo "usage: ${progname} [-h|-q|-v]"
echo
echo "options:"
echo " -h .. display this message and exit";
echo " -q .. quiet, don't display directories";
echo " -v .. verbose, pass -v to automake when invoking automake"
echo " -c .. clean, remove all aclocal/autoconf/automake generated files"
echo
exit 1;
}
if test ! -f $top_srcdir/VERSION; then
echo "${progname}:"
echo " Installation problem: Can't find file VERSION"
exit 1;
fi
while test $# -gt 0; do
case $1 in
-h|--he|--hel|--help)
usage ;;
-q|--qu|--qui|--quie|--quiet)
quiet="true";
shift;;
-v|--ve|--ver|--verb|--verbo|--verbos|--verbose)
verbose="-v";
shift;;
-c|--cl|--cle|--clea|--clean)
mode="clean";
shift;;
-*) echo "unknown option $1" ;
usage ;;
*) echo "invalid parameter $1" ;
usage ;;
esac
done
case $mode in
generate)
case $top_srcdir in
/* ) aclocal_dir=$top_srcdir/aclocal
;;
*) aclocal_dir=`pwd`/$top_srcdir/aclocal
;;
esac
confs=`find . -name 'configure.in' -print`
for i in $confs; do
dir=`dirname $i`;
( test "$quiet" = "true" || echo "$dir";
cd $dir;
aclocal -I $aclocal_dir;
autoconf;
test -n "`grep CONFIG_HEADER configure.in`" && autoheader ;
test -f Makefile.am && automake $verbose ;
test -f Makefile.am && test -n "`grep 'stamp-h\.in' Makefile.in`" \
&& echo timestamp > stamp-h.in
)
done
;;
clean)
test "$quiet" = "true" || echo "removing automake generated Makefile.in files"
files=`find . -name 'Makefile.am' -print | sed -e 's%\.am%\.in%g'` ;
for i in $files; do if test -f $i; then
rm -f $i
test "$verbose" = "-v" && echo "$i"
fi; done
test "$quiet" = "true" || echo "removing configure files"
files=`find . -name 'configure' -print` ;
test "$verbose" = "-v" && test -n "$files" && echo "$files" ;
for i in $files; do if test -f $i; then
rm -f $i
test "$verbose" = "-v" && echo "$i"
fi; done
test "$quiet" = "true" || echo "removing aclocal.m4 files"
files=`find . -name 'aclocal.m4' -print` ;
test "$verbose" = "-v" && test -n "$files" && echo "$files" ;
for i in $files; do if test -f $i; then
rm -f $i
test "$verbose" = "-v" && echo "$i"
fi; done
find . -name '*~' -print | xargs rm -f
find . -name '*.orig' -print | xargs rm -f
find . -name '*.rej' -print | xargs rm -f
find . -name 'config.status' -print | xargs rm -f
find . -name 'config.log' -print | xargs rm -f
find . -name 'config.cache' -print | xargs rm -f
find . -name 'Makefile' -print | xargs rm -f
find . -name '.deps' -print | xargs rm -rf
find . -name '.libs' -print | xargs rm -rf
find . -name 'stamp-h.in' | xargs rm -rf
;;
esac

13
c/.cvsignore Normal file
View File

@@ -0,0 +1,13 @@
Makefile
Makefile.in
aclocal.m4
config.cache
config.guess
config.log
config.status
config.sub
configure
depcomp
install-sh
missing
mkinstalldirs

View File

@@ -13,18 +13,18 @@ much better product.
The following persons/organizations have made contributions:
+ Dr. Mikhail (Misha) Savitski (mms@eiscathq.irf.se) of the EISCAT Scientific
Association submitted the BSP and other miscellaneous support for the
Motorola MVME162 (M68040LC CPU) VMEbus single board computer.
+ Dr. Mikhail (Misha) Savitski (mikhail.savitski@styrex.se) of the EISCAT
Scientific Association submitted the BSP and other miscellaneous support
for the Motorola MVME162 (M68040LC CPU) VMEbus single board computer.
+ Division Inc. of Chapel Hill, NC for sponsoring On-Line Applications
Research to port RTEMS to the Hewlett-Packard PA-RISC architecture (V1.1)
and the addition of HP-UX as a development host. Tony Bennett
(tbennett@divnc.com) was assisted in this effort by Joel Sherrill
(jsherril@redstone.army.mil). Tony also deserves a big pat on the
back for contributing significantly to the overall organization
of the development environment and directory structure. RTEMS
is much easier to build because of Tony.
(tbennett@chapelhill.hp.com) was assisted in this effort by Joel Sherrill
(joel@OARcorp.com). Tony also deserves a big pat on the back for
contributing significantly to the overall organization of the development
environment and directory structure. RTEMS is much easier to build
because of Tony.
+ Greg Allen of Division Inc. of Chapel Hill, NC for
porting RTEMS to HP-UX. This port treats a UNIX computer as simply
@@ -47,7 +47,7 @@ The following persons/organizations have made contributions:
+ Bryce Cogswell (cogswell@cs.uoregon.edu) submitted the support for MS-DOS
as a development environment as well as djgpp/go32 as a target environment.
+ Andy Bray (andy@i-cubed.demon.co.uk) of I-CUBED Ltd. in Cambridge U.K.
+ Andy Bray (andy@chaos.org.uk) of I-CUBED Ltd. in Cambridge U.K.
for porting RTEMS to the PowerPC. This effort included support for the
IBM 403 as well as the Motorola 601, 603, and 604 variants. A special
thanks to Dom Latter (dom@i-cubed.demon.co.uk) for being an RTEMS
@@ -71,6 +71,103 @@ The following persons/organizations have made contributions:
for developing and supporting the SPARC Instruction Simulator used to
develop and test this port.
+ Eric Norum (eric@skatter.usask.ca) of the Saskatchewan Accelerator
Laboratory submitted the support for the Motorola MC68360 CPU
including the `gen68360' BSP.
+ Dominique le Campion (Dominique.LECAMPION@enst-bretagne.fr), for
Telecom Bretagne and T.N.I. (Brest, France) submitted the BSP for
the Motorola MVME147 board (68030 CPU + 68881 FPU) and the MVME147s
variant of this board.
+ Craig Lebakken (lebakken@minn.net) and Derrick Ostertag
(ostertag@transition.com) of Transition Networks of Eden Prairie, MN
for porting RTEMS to the MIPS and AMD 29K architectures. This submission
includes complete support for the R4650 as well as partial support
for the R4600.
+ Erik Ivanenko (ccms@utcc.utoronto.ca) of the University of Toronto
for submitting the i386ex bsp.
+ Jiri Gaisler (jgais@wd.estec.esa.nl) converted RTEMS to using GNU
autoconf. This effort is greatly appreciated.
+ Eric Norum (eric@skatter.usask.ca) of the Saskatchewan Accelerator
Laboratory submitted a BSP for the m68360 when operating in companion
mode with a m68040 and a port of the Motorola MC68040 Floating Point
Support Package (FPSP) to RTEMS.
+ Eric Norum (eric@skatter.usask.ca) of the Saskatchewan Accelerator
Laboratory submitted a port of the KA9Q TCP/IP stack to RTEMS as
well as a network device driver for the gen68360 BSP. To address
performance issues and licensing concerns, Eric followed this up
by replacing the KA9Q TCP/IP stack with a port of the FreeBSD stack.
+ Chris Johns (cjohns@plessey.com.au) submitted the ods68302 BSP which
offers easier configuration than its counterpart gen68302. Chris
also submitted the RTEMS++ C++ class library and test code for
that library.
+ Katsutoshi Shibuya (shibuya@mxb.meshnet.or.jp) of BU-Denken Co., Ltd.
(Sapporo, Japan) submitted the extended console driver for the
MVME162LX BSP and the POSIX tcsetattr() and tcgetattr() routines.
This device driver supports four serial ports, cooked IO, and
provides a portable base for Zilog 8530 based console drivers.
+ Eric Norum (eric@skatter.usask.ca) and Katsutoshi Shibuya
(shibuya@mxb.meshnet.or.jp) jointly developed the termios support.
+ Ralf Corsepius (corsepiu@faw.uni-ulm.de) of the Research Institute for
Applied Knowledge Processing at the University of Ulm (FAW), Germany,
for numerous enhancements to the RTEMS autoconf support as well as
for the Hitachi SH port. His contributions are too many to list but
also include work on RPMs for RTEMS tools.
+ Dario Alcocer <alcocer@connectnet.com> submitted a port of the
RTEMS port to FreeBSD.
+ David Fiddes <D.J.Fiddes@hw.ac.uk>, Rod Barman (rodb@ptgrey.com) and
Stewart Kingdon (kingdon@ptgrey.com) submitted Motorola ColdFire
support. This work was supported in part by Real World Interface, Inc.
+ Geoffroy Montel (g_montel@yahoo.com), for CNET/DSM (Rennes, France),
submitted the BSP for Motorola 68340/68349 based boards.
+ Thomas Doerfler (td@imd.m.isar.de) of IMD in
Puchheim,Germany submitted some improvements to the PPC403
support and added the helas403 BSP.
+ Jay Monkman (jmonkman@frasca.com) of Frasca International, Inc
submitted the support for the Motorola MPC860 CPU including the
'eth_comm' BSP
+ Charles Gauthier <Charles.Gauthier@iit.nrc.ca> of the Institute for
Information Technology for the National Research Council of Canada
submitted the Motorola MVME167 BSP.
+ Tony Ambardar (tonya@ece.ubc.ca) at the University of British Columbia
ported RTEMS to the TS-1325 embedded PC from Technologic Systems
(http://www.t-systems.com), and provided patches to enable software
floating-point emulation for x86 targets.
+ Jay Kulpinski (jskulpin@eng01.gdds.com) of General Dynamics Defense
Systems (Pittsfield, MA) submitted a board support package for the
Motorola MVME230x PowerPC family, borrowing from the PSIM and MPC750
BSPs. This includes support for the Raven ASIC, DEC21140 ethernet,
16550 serial port, and MK48T59 NVRAM.
+ Eric Valette <valette@crf.canon.fr> and Emmanuel Raguet <raguet@crf.canon.fr>
of Canon CRF - Communication Dept for numerous submissions including
remote debugging on the i386 and PowerPC, port of RPC, port of the
GoAhead web server, BSP for the Motorola MCP750 PowerPC board, and
numerous improvements to the i386 and PowerPC ports of RTEMS
including a new enhanced interrupt management API that reduces
interrupt latency while making it easier to support external interrupt
controllers.
+ Mark Bronson <mark@ramix.com> of RAMIX for submitting i960RP
support and the rxgen960 board support package.
Finally, the RTEMS project would like to thank those who have contributed
to the other free software efforts which RTEMS utilizes. The primary RTEMS
development environment is from the Free Software Foundation (the GNU

42
c/Makefile.am Normal file
View File

@@ -0,0 +1,42 @@
##
## $Id$
##
AUTOMAKE_OPTIONS = foreign 1.4
ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
## NOTE: This Makefile.am is rather fragile to the value of RTEMS_BSP
## Esp. make clean and make distclean have unwanted side-effects
## if RTEMS_BSP is not properly set up.
RTEMS_BSP = $(RTEMS_BSP_LIST)
## The '.' in SUBDIRS ensures that local make-targets (xxx-am) will be
## triggered before $(RTEMS_BSP_LIST) subdirectories are made.
SUBDIRS = make . $(RTEMS_BSP)
## Use @RTEMS_BSP_LIST@ here, using $(RTEMS_BSP_LIST) would trigger
## this rule for invalid BSPs
@RTEMS_BSP_LIST@: src/configure
@set fnord $(MAKEFLAGS); amf=$$2; \
test -n "${RTEMS_BSP}" && for i in ${RTEMS_BSP}; do \
echo "Configuring RTEMS_BSP=$$i"; \
test -d $$i || mkdir $$i; \
( cd $$i && \
RTEMS_BSP=$$i $(rtems_bsp_configure) \
&& $(MAKE) $(AM_MAKEFLAGS) preinstall ) \
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
done
## Let all RTEMS' make targets depend on ${RTEMS_BSP}
all-local: ${RTEMS_BSP}
preinstall-am: ${RTEMS_BSP}
depend-am: ${RTEMS_BSP}
## Pull in extra files intro the distribution
EXTRA_DIST = ACKNOWLEDGEMENTS README.DOS REQUIRES PROBLEMS TESTED README \
UPDATE_HELP
DIST_SUBDIRS = ${RTEMS_BSP}
## -------------------------------------------------------
include $(top_srcdir)/../automake/subdirs.am
include $(top_srcdir)/../automake/host.am

View File

@@ -4,23 +4,19 @@
This is the list of outstanding problems in this release.
+ The POSIX threads and real time extensions code in this tree does
not work yet and is intentionally not in the normal build path.
+ AMD 29k port is based on a non-GNU toolset.
+ The test spfatal is out of date and as a result will NOT execute
correctly. The addition of POSIX and consequent ongoing initialization
reorganization makes it pointless to fix this until the POSIX support
is completely in place.
+ The m68000 support is nearly complete now. The missing piece
inside the executive proper is support for the software interrupt
stack. Also, the m68k family has become quite large and an
understanding of the compatibility of the peripherals on the various
members of the 683xx family would allow someone to designate some
of the drivers submitted for the gen683xx BSPs as useful on other
members.
+ The m68k family has become quite large and an understanding of the
compatibility of the peripherals on the various members of the 683xx
family would allow someone to designate some of the drivers submitted
for the gen683xx BSPs as useful on other members.
+ The only i960 family member tested is the CA. No support for the
+ The only supported i960 family member is the CA. No support for the
floating point support found in other family members is present.
This also implies that RTEMS may "think" of something as generic
across the i960 family when in fact it is specific to the CA.
@@ -31,14 +27,9 @@ This is the list of outstanding problems in this release.
It is better to define these in the linkcmds file. It is also nice
to use the linkcmds file to place overlays for on-board hardware.
+ The __read() system call in all of the BSPs using single
character input/output needs to be smarter. The following
issues need to be addressed:
+ echoing of characters on input
+ CR/NL echoing
+ backspaces
+ tabs
+ Not all of the BSP console drivers have been converted to termios.
Look at the m68k/gen68360, sparc/erc32, and powerpc/psim BSPs for
examples.
+ UNIX port notes:
@@ -46,21 +37,37 @@ This is the list of outstanding problems in this release.
+ There are conflicts between the names of native library routines
which MUST be used and those in the POSIX support. This must
be addressed.
be addressed. The POSIX API cannot be used with this port as a
result of this.
+ Someone suggested writing a mini-system call interface to
include with RTEMS which would eliminate name conflicts. This
would allow the RTEMS POSIX API to be tested in this configuration.
+ Some of the tests may execute correctly and not produce the exact
ordering of lines in the screen file. This appears to be a combination
of a number of factors including buffering, processor speed, IO
device overhead, and clock interrupt rate.
+ The compiler configuration files (c/make/gcc-XYZ.cfg) are largely
the same when the different targets have the same CPU. It would
be desirable to have a gcc-CPU.cfg or gcc-CPU_MODEL.cfg (e.g.
gcc-m68k.cfg or gcc-m68020.cfg) and have the file gcc-TARGET.cfg
include this and possibly override default settings.
device overhead, and clock interrupt rate. The biggest problem is that
some tests depend on polled IO with no unexpected context switches.
These may not be resolvable while maintaining the spirit of the test.
+ The clock device drivers should really avoid doing the division
by 1000 in the clock tick ISR to convert microseconds into
milliseconds. This only applies to clock drivers which generate
an ISR each millisecond and only call rtems_clock_tick every
so many ISRs.
+ Cross-check configure --enable-* flags.
+ warn/refuse to configure when --enable-libcdir and
--enable-gcc28 are given.
+ force --enable-libcdir when --disable-gcc28 is given
+ make profile does not currently work for a variety of reasons. Few
BSPs include profile versions of the libraries in their bsp_specs
file. There is no mechanism to sample data for gperf to process.
All of this will need to be addressed before "make profile" is truly
useful.
+ Bare BSP does not compile for all configurations yet. This is
primarily due to libcpu support code assuming that the BSP has
made something available which is not with a bare BSP.

View File

@@ -5,18 +5,10 @@
This is the top level of the RTEMS directory structure. The following
is a description of the files and directories in this directory:
LICENSE
Required legalese.
Makefile
Makefile.in
The top-level Make command file used to build the C implementation
of RTEMS. [RTEMS assumes the use of GNU make.]
Modules
Example Modules command files used to configure the user's environment
for RTEMS. These require the Modules system administration package
available from numerous ftp sites.
README
This file.

View File

@@ -1,72 +0,0 @@
#
# $Id$
#
tools
-----
The RTEMS build procedure was designed with the capabilitiies of a
typical UNIX computer in mind. Making this procedure work under MS-DOS
is not that difficult but requires that MS-DOS versions of a number
of UNIX utilities be acquired and installed. For time being, the
best advice which can be offered is:
"This is a nasty question, since when I first set up the DOS machine
(long before I acquired RTEMS) I ftp'd a bunch of different tool
sets (all from SimTel), and then picked individual tools from each
set that worked best for me. The djgpp tools are probably a good
starting point, especially to get a working sed. Next the gnu tools
in SimTel/msdos/gnuish, and then others. Sorry I can't give you more
specific names. The only real requirement for the tools is that
they *must* accept redirection of command line arguments from a file
using the '@' notation (i.e., "mkdir @/tmp/args" reads the argument
list from file /tmp/args)."
There is a special version (source and executable) of GNU make 3.71 for
MS-DOS which minimizes the amount of memory used by recursive makes
available on lancelot.gcs.redstone.army.mil in the file:
/pub/msdos/gmake371.tgz
Many of the RTEMS specific utilities used in the build and installation
are UNIX shell scripts. On a UNIX host, these are normally interpreted
by the Bourne Again Shell (BASH) or the Korn Shell (ksh). Most of these
scripts can be successfully executed with the following shell from the
MS-DOS archives from Simtel.
SimTel/msdos/sysutil/ms_sh23b.zip
Please be sure to use the 16-bit version. The Simtel archives are
available from ftp.cdrom.com as well as a number of mirror sites.
go32
----
go32 dumps the stack when a program seg-faults, and if this happens while
on an alternate stack an infinite loop can ensue. Setting the environment
variable GO32="core /tmp/core" will prevent more than 20 lines or
so of stack information from being dumped after a crash, and the output
will go to a file rather than the screen.
The go32 debuggers get confused by the relocated stacks used by tasks,
and tend to crash when variables are inspected.
djgcc include files
-------------------
In general, we use RTEMS include files because these contain the proper
declarations for the libc, and in particular, the stdio functions.
When calling go32-specific functions it is necessary to include some
djgpp include files, as well. Unfortunately, there are some disagreements
between RTEMS and djgpp as to how certain functions and types are
declared. In these cases, the RTEMS source have been modified to
special-case the differences.
other
-----
* Pressing F12 will immediately abort the program.
See lib/libbsp/i386/go32/console/inch.c.
* lib/libbsp/i386/go32/timer uses the on-board timer chip by default,
which has a resolution of about 1 microsecond. However, if executing
on a Pentium processor you can use the on-chip 64-bit cycle counter,
which counts at whatever clock rate your processor runs at. To enable
this, set RTEMS_CPU_MODEL=pentium in make/custom/go32.cfg.

View File

@@ -5,9 +5,9 @@
1. The installation procedure assumes that "gcc" is installed
and is in your path for the installation of local tools.
2. gcc 2.6.3 with crossgcc patches (ftp.cygnus.com:/pub/embedded)
2. gcc 2.7.2 with crossgcc patches (ftp.cygnus.com:/pub/embedded/crossgcc)
3. binutils 2.5.2
3. binutils 2.6 with crossgcc patches.
4. newlib with RTEMS configurations.

View File

@@ -2,45 +2,69 @@
# $Id$
#
The RTEMS Project does not have all of the development computers or
target boards included in the RTEMS distribution. Many of the BSPs
are user supplied and we try to insure that they compile before each
full release. This file describes the range of configurations the
RTEMS project can internally test.
Host Development Systems
========================
All RTEMS development is done on a Sun SPARCStation running Solaris 2.3 and
all other host systems are not tested internally.
Target Systems
==============
The following table describes the testability of each BSP by the RTEMS project:
The RTEMS project uses Intel x86 based computers running the RedHat
distribution of the Linux operating system internally for development.
This release has been tested on the following Languages/CPUs/Targets using
RedHat Linux 5.1 as the host environment:
CPU CPU
FAMILY MODEL TARGET STATUS
====== ========= =================== =================
FAMILY MODEL TARGET SUITES
======== ========= ======================= ===============
m66k mfc5200 no BSP (note 9)
m68k m68000 efi68k (note 1)
m68k m68020 Motorola MVME136 TESTED INTERNALLY
m68k m68020 Motorola MVME136 (note 1, 6)
m68k m68030 Motorola MVME147 (note 1)
m68k m68030 Motorola MVME147s (note 1)
m68k m68lc040 Motorola MVME162 (note 1)
m68k m68lc040 Motorola MVME162LX (note 1)
m68k m68ec040 Motorola IDP (note 1)
m68k m68040 Motorola MVME167 (note 1, 6)
m68k m68020 DY-4 DMV152 (note 1)
m68k m68302 generic 68302 (note 1)
m68k m68302 ods 68302 (note 1)
m68k m68332 efi332 (note 1)
i386 i386_fp Force CPU-386 TESTED INTERNALLY
i386 i486 DJGPP/PC-AT TESTED INTERNALLY
i386 pentium DJGPP/PC-AT TESTED INTERNALLY
m68k m68360 generic 68360 (note 1, 6)
m68k m68360 68360 in companion mode (note 1, 6)
i386 i386_fp Force CPU-386 (note 1, 7)
i386 i386ex generic i386ex (note 1, 6)
i386 i386ex Technologic Systems TS-1325 (note 1, 6)
i386 i386+ PC clone (pc386) (note 1, 6)
i386 i486 PC clone (pc486) (note 1, 6)
i386 Pentium PC clone (pc586) (note 1, 6)
i386 i486 DJGPP/PC-AT (note 7)
i386 pentium DJGPP/PC-AT (note 7)
i960 i960ca Cyclone CVME961 (note 4)
hppa hppa7100 simhppa (note 2)
ppc 403 Papyrus (note 2)
UNIX NA Solaris 2 (SPARC) TESTED INTERNALLY (inlines)
UNIX NA Solaris 2 (SPARC) TESTED INTERNALLY (macros)
UNIX NA Linux (i386) (note 5)
i960 i960ha no BSP (note 9)
i960 i960rp rxgen960 (note 1)
hppa hppa7100 simhppa (note 1)
mips idt4600 p4000 (note 1)
mips idt4650 p4000 (note 1)
powerpc ppc403 helas403 (note 1, 6)
powerpc ppc403 Papyrus (note 1)
powerpc ppc403 psim (note 5)
powerpc ppc603e Radstone PPCn_60x (note 1, 8)
powerpc ppc603e DY-4 DMV-177 (note 1)
powerpc ppc603e Vista Score603e (note 1)
powerpc ppc603e Motorola MVME2307 (note 1)
powerpc mpc750 Motorola MCP750 (note 1)
powerpc mpc821 no BSP (note 9)
powerpc mpc823 no BSP (note 9)
powerpc mpc860 eth_comm (custom) (note 1, 6)
sh sh7032 generic sh1 (note 1)
sh sh7035 generic sh2 (note 1)
sparc erc32 generic erc32 ALL TESTS (note 5)
a29k a29k port sw (note 2)
UNIX NA Solaris 2 (SPARC) (note 2)
UNIX NA Solaris 2 (SPARC) (note 2)
UNIX NA Linux (i386) ALL TESTS (inlines)
UNIX NA Linux (i386) ALL TESTS (macros)
UNIX NA HPUX (PA-RISC) (note 2)
no_cpu NA no_bsp (note 3)
NOTES:
"NOT TESTED" indicates that this was not tested in the testing cycle
immediately preceding the snapshot.
(1) Target board is not owned by RTEMS Project. The target is known
to compile and link with all appropriate tests successfully.
@@ -48,9 +72,23 @@ The following table describes the testability of each BSP by the RTEMS project:
"ALL TESTS" does not include the multiprocessor tests.
(2) RTEMS Project cannot internally compile or test this target.
The HP-UX is not recognized in the configure script.
The a29k does not use GNU tools and may suffer from bit rot.
(3) Target is not intended to be executed. It is only an example.
(4) The RTEMS Project owns this board but it is broken at the moment.
(4) The board owned by the RTEMS Project is broken. The BSP is known
to compile and link with all appropriate tests successfully.
(5) The RTEMS Project owns a Linux host but does not regularly test this BSP.
(5) This BSP is tested on a CPU software simulator.
(6) This BSP was tested by an RTEMS volunteer and reported to work.
(7) The BSP is deprecated. For information on what would be
required to update it contact rtems@OARcorp.com.
(8) The Radstone ppcn_60x BSP was written by Radstone and designed
to support any Radstone PowerPC board with only minor modifications.
(9) This CPU model is supported but there are no BSPs using this CPU
model included in the current distribution.

56
c/TOOL_TARGETS Normal file
View File

@@ -0,0 +1,56 @@
#
# $Id$
#
The following are targets for the GNU tools (egcs, binutils, newlib, and gdb)
that are for RTEMS, their object format, and status notes
hppa:
hppa1.1-rtems ELF
i386:
i386-rtems ELF
i386-rtemself ELF
i386-rtemscoff COFF Obsoleted
i386-go32-rtems COFF Obsoleted - no supporting BSP
i960:
i960-rtems COFF Switch to ELF when possible
i960-rtemscoff COFF
i960-rtemself ELF Not currently in any tools
NOTE: i960-elf is in post binutils 2.9.1 snapshots.
m68k:
m68k-rtems COFF Switch to ELF when possible
m68k-rtemscoff COFF
m68k-rtemself ELF Not in all tools
NOTE: m68k-elf is in post egcs 1.1.2 snapshots.
mips:
mips*-rtems ELF Big endian
mips*el-rtems ELF Little endian
NOTE: Little endian configuration is not in all tools and
is untested for RTEMS itself.
powerpc:
powerpc-rtems ELF
powerpcle-rtems ELF Little endian
NOTE: Little endian configuration is not in all tools and
is untested for RTEMS itself.
sh:
sh-rtems COFF
sh-rtemscoff COFF
sh-rtemself ELF
NOTE: ELF is not completely stable for SH yet.
sparc:
sparc-rtems ELF
sparc-rtemself ELF
sparc-rtemsaout A.OUT

View File

@@ -1,32 +0,0 @@
#
# $Id$
#
Misc. support tools for RTEMS workspaces.
More will be added later as they are converted from Teamware
to CVS.
install-if-change
Smart install script that also can append suffixes as it
installs (suffixes used for debug and profile variants).
Requires bash or ksh.
rcs-clean
deletes all files from the current directory that can be
re-created from RCS. Careful to not delete locked files.
May be used by 'gmake clobber'
lock-directory
unlock-directory
traverse a directory structure making it unwritable.
Useful to keep people from accidentally overwriting
"released" trees if they get confused about which
module they have loaded.
rtems-glom
glom together all the rtems libraries in order to simplify
the link line used by applications.
Produces rtems.rel.
Not used by the RTEMS src tree at all.
Strictly optional.

View File

@@ -1,364 +0,0 @@
/*
* cklength - check the length of lines in a file
*
* This program check to see if the files passed to it on the command line
* contain a line which exceeds the maximum allowable length. The default
* maximum line length is 80.
*
* usage: cklength [ -v ] [ arg ... ] files...
* -l length -- maximum line length
* -v -- verbose
*
* $Id$
*/
#define GETOPTARGS "l:nNv"
char *USAGE = "\
usage: cklength [ -v ] [ arg ... ] files... \n\
-l length -- maximum line length\n\
-n -- report line numbers for offending lines\n\
-N -- report line numbers and length for offending lines\n\
-v -- verbose\n\
\n\
Print the name of files which have at least 1 line which exceeds the\n\
maximum line length. The default maximum line length is 80.\n\
";
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include <ctype.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <memory.h>
#include <stdarg.h>
#define BUFFER_SIZE 512
#define SUCCESS 0
#define FAILURE -1
#define Failed(x) (((int) (x)) == FAILURE)
#define TRUE 1
#define FALSE 0
#define STREQ(a,b) (strcmp(a,b) == 0)
#define NUMELEMS(arr) (sizeof(arr) / sizeof(arr[0]))
/*
* Definitions for unsigned "ints"; especially for use in data structures
* that will be shared among (potentially) different cpu's (we punt on
* byte ordering problems tho)
*/
typedef unsigned char u8;
typedef unsigned short u16;
typedef unsigned long u32;
/*
* vars controlled by command line options
*/
int verbose = FALSE; /* be verbose */
int report_line_numbers = FALSE; /* report line numbers of offenders */
int report_line_length = FALSE; /* report line length of offenders */
int line_length = 80; /* maximum allowable line length */
extern char *optarg; /* getopt(3) control vars */
extern int optind, opterr;
extern int errno;
char *progname; /* for error() */
int process(char *arg);
void error(int errn, ...);
long getparm(char *s, long min, long max, char *msg);
#define ERR_ERRNO (1<<((sizeof(int) * 8) - 2)) /* hi bit; use 'errno' */
#define ERR_FATAL (ERR_ERRNO / 2) /* fatal error ; no return */
#define ERR_ABORT (ERR_ERRNO / 4) /* fatal error ; abort */
#define ERR_MASK (ERR_ERRNO | ERR_FATAL | ERR_ABORT) /* all */
#define stol(p) strtol(p, (char **) NULL, 0)
int Open(), Read(), Write();
int
main(int argc, char **argv, char **env)
{
register int c;
int showusage = FALSE; /* usage error? */
int rc = 0;
/*
* figure out invocation leaf-name
*/
if ((progname = strrchr(argv[0], '/')) == (char *) NULL)
progname = argv[0];
else
progname++;
argv[0] = progname; /* for getopt err reporting */
/*
* Check options and arguments.
*/
opterr = 0; /* we'll report all errors */
while ((c = getopt(argc, argv, GETOPTARGS)) != EOF)
switch (c)
{
case 'l': /* line length */
line_length = atoi( optarg );
if ( line_length < 0 || line_length > BUFFER_SIZE )
error(ERR_FATAL, "(%d) is illegal line length\n",line_length);
break;
case 'n': /* toggle report_line_numbers */
report_line_numbers = ! report_line_numbers;
break;
case 'N': /* toggle both reports */
report_line_numbers = ! report_line_numbers;
report_line_length = ! report_line_length;
break;
case 'v': /* toggle verbose */
verbose = ! verbose;
break;
case '?':
showusage = TRUE;
}
if (showusage)
{
(void) fprintf(stderr, "%s", USAGE);
exit(1);
}
/*
* traverse and process the arguments
*/
for ( ; argv[optind]; optind++)
if (Failed(process(argv[optind])))
rc = FAILURE;
return rc;
}
/*
* process(arg)
*/
int
process(char *arg)
{
FILE *in;
char *bptr;
char buffer[ BUFFER_SIZE ];
int line_number;
int length;
int count;
int rc = SUCCESS; /* succeed by default */
in = fopen( arg, "r" );
if (!in)
error( ERR_ERRNO | ERR_FATAL, "Unable to open file (%s)\n", arg );
count = 0;
for ( line_number=1 ; ; line_number++ ) {
bptr = fgets( buffer, BUFFER_SIZE, in );
if (!bptr)
break;
/*
* Don't count the carriage return.
*/
length = strlen( buffer ) - 1;
if ( length <= line_length )
continue;
if ( count == 0 ) {
fprintf( stderr, "%s\n", arg );
if ( !report_line_numbers )
break;
}
if ( verbose )
fprintf( stderr, "TOO LONG:%d: %s\n", line_number, buffer );
if ( report_line_numbers ) {
if ( report_line_length )
fprintf( stderr, "%d: %d\n" , line_number, length );
else
fprintf( stderr, "%d\n" , line_number );
}
count++;
}
fclose( in );
return rc;
}
/*
* error(errn, arglist)
* report an error to stderr using printf(3) conventions.
* Any output is preceded by '<progname>: '
*
* Uses ERR_FATAL bit to request exit(errn)
* ERR_ABORT to request abort()
* ERR_ERRNO to indicate use of errno instead of argument.
*
* If resulting 'errn' is non-zero, it is assumed to be an 'errno' and its
* associated error message is appended to the output.
*/
/*VARARGS*/
void
error(int error_flag, ...)
{
va_list arglist;
register char *format;
extern char *sys_errlist[];
extern int sys_nerr;
int local_errno;
extern int errno;
(void) fflush(stdout); /* in case stdout/stderr same */
local_errno = error_flag & ~ERR_MASK;
if (error_flag & ERR_ERRNO) /* use errno? */
local_errno = errno;
va_start(arglist, error_flag);
format = va_arg(arglist, char *);
(void) fprintf(stderr, "%s: ", progname);
(void) vfprintf(stderr, format, arglist);
va_end(arglist);
if (local_errno)
if ((local_errno > 0) && (local_errno < sys_nerr))
(void) fprintf(stderr, " (%s)\n", sys_errlist[local_errno]);
else
(void) fprintf(stderr, " (unknown errno=%d)\n", local_errno);
else
(void) fprintf(stderr, "\n");
(void) fflush(stderr);
if (error_flag & (ERR_FATAL | ERR_ABORT))
{
if (error_flag & ERR_FATAL)
{
error(0, "fatal error, exiting");
exit(local_errno ? local_errno : 1);
}
else
{
error(0, "fatal error, aborting");
abort();
}
}
}
long
getparm(char *s,
long min,
long max,
char *msg)
{
long val;
if ( ! strchr("0123456789-", *s))
{
error(ERR_FATAL, "'%s' is not a number", s);
return min;
}
val = strtol(s, (char **) NULL, 0);
if ((val < min) || (val > max))
{
if (min == max)
error(ERR_FATAL, "%s can only be %ld", s, min);
else
error(ERR_FATAL, "%s must be between %ld and %ld", msg, min, max);
}
return val;
}
/*
* Open()
* Perform open(2), returning the file descriptor. Prints
* error message if open fails.
*/
int
Open(char *file,
int oflag,
int mode)
{
int O_fd;
if (Failed(O_fd = open(file, oflag, mode)))
error(
ERR_ERRNO | ERR_FATAL,
"open('%s', 0x%x, 0%o) failed", file, oflag, mode
);
return O_fd;
}
/*
* Read()
* Perform read(2); prints error message if fails.
*/
int
Read(int file,
char *buffer,
unsigned int count)
{
int nbytes;
if (Failed(nbytes = read(file, buffer, count)))
error(
ERR_ERRNO | ERR_FATAL,
"read(%d, 0x%x, %d) failed", file, buffer, count
);
return nbytes;
}
/*
* Write()
* Perform write(2); prints error message if fails.
*/
int
Write(int file,
char *buffer,
unsigned int count)
{
int nbytes;
if (Failed(nbytes = write(file, buffer, count)))
error(
ERR_ERRNO | ERR_FATAL,
"write(%d, 0x%x, %d) failed", file, buffer, count
);
return nbytes;
}

View File

@@ -1,351 +0,0 @@
/*
* eolstrip - strip white space from end of lines
*
* This program strips the white space from the end of every line in the
* specified program.
*
* usage: eolstrip [ -v ] [ arg ... ] files...
* -v -- verbose
*
* $Id$
*/
#define GETOPTARGS "vt"
char *USAGE = "\
usage: cklength [ -v ] [ arg ... ] files... \n\
-v -- verbose\n\
-t -- test only .. DO NOT OVERWRITE FILE!!!\n\
\n\
Strip the white space from the end of every line on the list of files.\n\
";
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include <ctype.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <memory.h>
#include <stdarg.h>
#define BUFFER_SIZE 2048
#define MAX_PATH 2048
#define SUCCESS 0
#define FAILURE -1
#define Failed(x) (((int) (x)) == FAILURE)
#define TRUE 1
#define FALSE 0
#define STREQ(a,b) (strcmp(a,b) == 0)
#define NUMELEMS(arr) (sizeof(arr) / sizeof(arr[0]))
/*
* Definitions for unsigned "ints"; especially for use in data structures
* that will be shared among (potentially) different cpu's (we punt on
* byte ordering problems tho)
*/
typedef unsigned char u8;
typedef unsigned short u16;
typedef unsigned long u32;
/*
* vars controlled by command line options
*/
int verbose = FALSE; /* be verbose */
int test_only = FALSE; /* test only */
extern char *optarg; /* getopt(3) control vars */
extern int optind, opterr;
extern int errno;
char *progname; /* for error() */
int process(char *arg);
void error(int errn, ...);
long getparm(char *s, long min, long max, char *msg);
#define ERR_ERRNO (1<<((sizeof(int) * 8) - 2)) /* hi bit; use 'errno' */
#define ERR_FATAL (ERR_ERRNO / 2) /* fatal error ; no return */
#define ERR_ABORT (ERR_ERRNO / 4) /* fatal error ; abort */
#define ERR_MASK (ERR_ERRNO | ERR_FATAL | ERR_ABORT) /* all */
#define stol(p) strtol(p, (char **) NULL, 0)
int Open(), Read(), Write();
int
main(int argc, char **argv, char **env)
{
register int c;
int showusage = FALSE; /* usage error? */
int rc = 0;
/*
* figure out invocation leaf-name
*/
if ((progname = strrchr(argv[0], '/')) == (char *) NULL)
progname = argv[0];
else
progname++;
argv[0] = progname; /* for getopt err reporting */
/*
* Check options and arguments.
*/
opterr = 0; /* we'll report all errors */
while ((c = getopt(argc, argv, GETOPTARGS)) != EOF)
switch (c)
{
case 't': /* toggle test only mode */
test_only = ! test_only;
break;
case 'v': /* toggle verbose */
verbose = ! verbose;
break;
case '?':
showusage = TRUE;
}
if (showusage)
{
(void) fprintf(stderr, "%s", USAGE);
exit(1);
}
/*
* traverse and process the arguments
*/
for ( ; argv[optind]; optind++)
if (Failed(process(argv[optind])))
rc = FAILURE;
return rc;
}
/*
* process(arg)
*/
int
process(char *arg)
{
FILE *in;
FILE *out = (FILE *) 0;
char outname[ MAX_PATH ];
char *bptr;
char buffer[ BUFFER_SIZE ];
int length;
int line_number;
int rc = SUCCESS; /* succeed by default */
in = fopen( arg, "r" );
if (!in)
error( ERR_ERRNO | ERR_FATAL, "Unable to open file (%s)\n", arg );
if ( !test_only ) {
sprintf( outname, "%s.eoltmp", arg );
out = fopen( outname, "w" );
if (!out)
error( ERR_ERRNO | ERR_FATAL, "Unable to open file (%s)\n", arg );
}
if ( verbose )
fprintf( stderr, "Processing %s\n", arg );
for ( line_number=1 ; ; line_number++ ) {
bptr = fgets( buffer, BUFFER_SIZE, in );
if (!bptr)
break;
/*
* Don't count the carriage return.
*/
length = strlen( buffer ) - 1;
if ( buffer[ length ] != '\n' )
error(ERR_ERRNO|ERR_FATAL, "Line %d too long in %s\n", line_number, arg);
while ( isspace( buffer[ length ] ) )
buffer[ length-- ] = '\0';
if ( test_only ) {
fprintf( stderr, "%s\n", arg );
break;
}
fprintf( out, "%s\n", buffer );
}
fclose( in );
if ( !test_only ) {
fclose( out );
rename( outname, arg );
}
return rc;
}
/*
* error(errn, arglist)
* report an error to stderr using printf(3) conventions.
* Any output is preceded by '<progname>: '
*
* Uses ERR_FATAL bit to request exit(errn)
* ERR_ABORT to request abort()
* ERR_ERRNO to indicate use of errno instead of argument.
*
* If resulting 'errn' is non-zero, it is assumed to be an 'errno' and its
* associated error message is appended to the output.
*/
/*VARARGS*/
void
error(int error_flag, ...)
{
va_list arglist;
register char *format;
extern char *sys_errlist[];
extern int sys_nerr;
int local_errno;
extern int errno;
(void) fflush(stdout); /* in case stdout/stderr same */
local_errno = error_flag & ~ERR_MASK;
if (error_flag & ERR_ERRNO) /* use errno? */
local_errno = errno;
va_start(arglist, error_flag);
format = va_arg(arglist, char *);
(void) fprintf(stderr, "%s: ", progname);
(void) vfprintf(stderr, format, arglist);
va_end(arglist);
if (local_errno)
if ((local_errno > 0) && (local_errno < sys_nerr))
(void) fprintf(stderr, " (%s)\n", sys_errlist[local_errno]);
else
(void) fprintf(stderr, " (unknown errno=%d)\n", local_errno);
else
(void) fprintf(stderr, "\n");
(void) fflush(stderr);
if (error_flag & (ERR_FATAL | ERR_ABORT))
{
if (error_flag & ERR_FATAL)
{
error(0, "fatal error, exiting");
exit(local_errno ? local_errno : 1);
}
else
{
error(0, "fatal error, aborting");
abort();
}
}
}
long
getparm(char *s,
long min,
long max,
char *msg)
{
long val;
if ( ! strchr("0123456789-", *s))
{
error(ERR_FATAL, "'%s' is not a number", s);
return min;
}
val = strtol(s, (char **) NULL, 0);
if ((val < min) || (val > max))
{
if (min == max)
error(ERR_FATAL, "%s can only be %ld", s, min);
else
error(ERR_FATAL, "%s must be between %ld and %ld", msg, min, max);
}
return val;
}
/*
* Open()
* Perform open(2), returning the file descriptor. Prints
* error message if open fails.
*/
int
Open(char *file,
int oflag,
int mode)
{
int O_fd;
if (Failed(O_fd = open(file, oflag, mode)))
error(
ERR_ERRNO | ERR_FATAL,
"open('%s', 0x%x, 0%o) failed", file, oflag, mode
);
return O_fd;
}
/*
* Read()
* Perform read(2); prints error message if fails.
*/
int
Read(int file,
char *buffer,
unsigned int count)
{
int nbytes;
if (Failed(nbytes = read(file, buffer, count)))
error(
ERR_ERRNO | ERR_FATAL,
"read(%d, 0x%x, %d) failed", file, buffer, count
);
return nbytes;
}
/*
* Write()
* Perform write(2); prints error message if fails.
*/
int
Write(int file,
char *buffer,
unsigned int count)
{
int nbytes;
if (Failed(nbytes = write(file, buffer, count)))
error(
ERR_ERRNO | ERR_FATAL,
"write(%d, 0x%x, %d) failed", file, buffer, count
);
return nbytes;
}

View File

@@ -1,12 +0,0 @@
#
# $Id$
#
ifc is an MS-DOS executable which is equivalent to the program
install-if-change. It was compiled using Borland C 2.00.
cklength is a precompiled version of the program cklength.c from
the main source tree.
fixtimer is a program to restore the clock if the program does not
exit cleanly.

View File

@@ -1,286 +0,0 @@
#
# $Id$
#
begin 664 cklength
M?T5,1@$" 0 " ( ! $,% #0 "T8 T "
M!0 H !H %P 8 T $ - "@ H 4 P
M -0 !$ ! ! ! 7
M2P %TL % $ $ !=, (73 &\ %? < 0
M @ %U A=0 (@ !P O=7-R+VQI8B]L9"YS
M;RXQ $, !6 20 #P
M #@ $4 /0 !P !# &@
M A 30 #\ *0 $X !" D
M $@ W $8 )@ "
M ! %( 4P Z *@ 00
M $H 'P $L !5 3P L .P %0 H
M-@ #$ P 40
M
M
M G
M '0 C ; N
M "( -0 E #D R - !X
M "T ,P !$ *P
M ^ "\ 3 % !'
M 0#4 , $ $ Z # "
M ! U0 P P 0BT , 0 $*W #
M % !"S P !@ 0P4 , < $32
M # ( !$^ P "0 1/L , H $3
M] # + !% P # A=, , T
M (74 # . "%]@ P #P ACP , !
M (9" # 1 P $@ ,
M !, # 4 P %0
M , !8 # 7 P &
M , !D ! (8. 2 " !$_0 $0 "P !8
M 0P4 =!( < = (8U 2 (@ "&$0 $@
M "< 1/L !$ H U (8O 2 / "&0@ $$0
M$0 $4 AB8 !( !. (9# 01 1 5P "',@
M$0#_\0 %P 1+ 2!( < !B $2> $@2 ' 9P !$8@
M "H$@ !P &\ AD8 !0"$ !$ !T (73 1 /_Q B@ "
M&*0 $@ ) A@( !( "7 (8% 2
MG !$T@ $@ " *( ACT !!$ ! "J (9$ 01 1
M M "&E@ )@$0 $0 , AB !( #' (8\ 01
M 0 S0 "%U $0#_\0 -8 0[H !0!( < #> (9&
M 4 1 1 Y "&E@ )@$0 $0 /$ AC@ !( #W (8
M+ 2 _P "&" $@ 04 AD, !"$ !$ $-
M (<N 01 1 !$P "&+ $@ 1H 1 H !8!( <
M $@ (8_ 01 0 !,P "'+P $$0 $0 3H AC( !(
M $_ (<P 01 1 !1@ "&&@ $@ 4P AS$
M!!$ !$ %3 (8^ 01 0 !9P "&0@ $0#_\0 6X A?8
M !$ __$ &( (87 2 !C@ "&1 $$0 $0 9<
M 1,( /!( < &I $3\ 1 * !M@ !%TL $0#_\0
M ;T 10 !!$ P '* $2, $@2 ' !SP "&(P $@
M =8 0R( !( < 'H $3^ 1 + !]0 !#10 '4
M$@ !P ?H AD !!$ ! (& (8= 2 "#0 !$^
M $@ "0 A, AA0 !( 9V5T;W!T %]?1%1/4E],25-47U\
M7W-T87)T ')E860 871O:0!?7T-43U)?3$E35%]? '-T<G1O; !P<F]G;F%M
M90!V9G!R:6YT9@!?96YV:7)O;@!?96YD %=R:71E %)E860 9V5T<&%R;0!?
M:6]B %]'3$]"04Q?3T9&4T547U1!0DQ%7P!A8F]R= !A=&5X:70 97AI= !?
M:6YI= !V97)B;W-E %]S>7-?;F5R<@!S>7-?97)R;&ES= !F8VQO<V4 55-!
M1T4 7T193D%-24, <')O8V5S<P!?7VEO8@!?<WES7V5R<FQI<W0 =W)I=&4
M<W1R<F-H<@!?97AI= !E;G9I<F]N &5R<FYO '-T<F-H<@!E<G)O<@!R97!O
M<G1?;&EN95]L96YG=&@ ;W!T:6YD &]P96X ;W!T87)G &9G971S &]P=&5R
M<@!R97!O<G1?;&EN95]N=6UB97)S %]E9&%T80!?4%)/0T5$55)%7TQ)3DM!
M1T5?5$%"3$5? &9O<&5N '-Y<U]N97)R %]?9&]?9VQO8F%L7V1T;W)S %]?
M0U1/4E]%3D1?7P!?971E>'0 7VQI8E]V97)S:6]N $]P96X 9F9L=7-H %]?
M9&]?9VQO8F%L7V-T;W)S %]?1%1/4E]%3D1?7P!M86EN &QI;F5?;&5N9W1H
M '-T<FQE;@!?9FEN:0!F<')I;G1F &QI8F,N<V\N,0 AD, C$P
M AS$ !#$P AS !!$P AR\ _$P AD8 U
M$P " AD0 !($P AI8 P$P A@( K%0 A@4
M L%0 A@@ Y%0 A@L X%0 A@X :%0
M AA$ >%0 AA0 !5%0 AA< !'%0 AAH !"%0
M AAT !3%0 AB Q%0 AB, !.%0 AB8 B
M%0 ABD J%0 ABP \%0 AB\ @%0 AC(
M ! %0 AC4 =%0 AC@ W%0 "\$" X .@0*(#H$2<
M(Z @@) 0* 20$ !0 !"]@$ 1 !$D!(CX$ 0O(! 0 !P $
M "0$ 0DA $94L( *4 J $E 1 "A< (:6$N$,U"+ $ "D! 0 !"
MYP$ ! $+H 0 ('#X @! $0 1-0"(^R HK__$H #9(2(^S0 F $
M@*(@ * F4$" E@)@!)(0( "2 F $T ) "X"B( 2O__]E *@ 9*2@ "
M@ ,$0 1!$ $2B$B/LH2I@ M $ !&?P@ 0 *"$/_PRO__]T 0 $1$
M $1 $+!D!(C"(''X B!Z G>._F*@0 !BB$" L! @ - &0 ! $+!DA @
M+Q, (: HB $H !- B80@0@ $T 9 - "80B0 B !T")A"!$ (;0 B$(
MT"9 !$ (? (B#$(0 AB< (8E "&%0 19 0 !22$ 90 !"KI02H:"
MHC__ H ,X"B(&PB@ 1$0 AQ2 F HB!N@*(@/P* "J HB!. H '- $
M(/@0O__P%0 10* !. HB!V H 'M $H/00O__J%0 14 0IO0 B# E!
M"!$ (: HJ( "+__XM0B(0 3 !%$0@ $ (N2$F&H$+__W14 $70!"#X
M@* ")!@/_\0O__7T"0@^("@ B08#__T"0@^- $X/R H (D& __Q"__\_0
M).#\@* ")!@/_\0O__+T"2@]!"__\FB$" !@*1@ "* L1 "'%0 AA$
M (:0$B$X$P 19(28<A $)VU *@\$ 0F60$" !DA "- "(+R1*B "T 9
M"("B( "@ 1(0 A] "8+R1*B "0 #] &0 B HC__(H K 0/__0!""\
MD (@ = D(+R1*B "T 9 "("B( 2O__SDA $(''X B!Z G>.]F) 0 !@3
M !%0 !"6I(28="JD@ $H !Z80( 1& $P 19(28=A !%E! &* 0
M( &H![WX)0 ABT (:0$ 4DA B $ 0DV4$ 5@*(@ * #4! 0 !"
M2Y 0 !2B C__$0 AM "(0" I$ (!( *X"DX 2@ +$0 AA, $60%*$X
MDA)A^$ 0C64$ 8T 6@^("B( "@ B$0 AM "(/2 HB H !Q, $60
M%*$XDA)B )00 !! $(HE@>]^- %H/B HB H $A$ (;0 B#\@*(@ *
M D3 !%D!2A.)(28AB4$ 00 !"&Y80 !$0@ (I@3@ 1, $60%*$XDA)B
M($ 0A24$ 0I@3@ 1"__\B@!" !0 !"&Y 0 !6P$" @<?@"('H "=X[^0
M\B>@2/0GH$SV)Z!0^">@5/HGH%@1 "&0 !"$I 2(2@1' LBX "!$0 "
MC@ ( H !*('H$P1 "'\@(@N. 'H$@5 "&-0 AI 6H3@3 !%DA)B*$
M0?/4 J$(D!:A.)(0 !! $(!E! $8"F8 "@ :$0 A@2 !*0$B$X$0
MAM "(1" ID (-H #!$ (85 "&E!*B6)<N8 *0%J$X$P 19(28C! $'=
MU + "A" X1 "&D!(A.!, $62$F(X0 !!UI00 !D0@ '$0 AI 2(3@3
M !%0 !!T)(28E 1 "&0 !!W) 2(3@1# @(X " * !41" @(X " *
M R IF H !1$ $41 !%$( Y(2(EB2$B)P?___M) 0( ! $&MD!
M&9 0( 3 !%?___KI(28GA $'+ 0 (''X B!Z G>._F* 0 !@1 !%
MD!(BD$ 0<;23 @*(@ !* F0$ 0$0@ !, $62$F*@?___G)00 ! 0
M@ :L! &9(0( ! $&\E! @ + 0 B I@ 9!H !("F !H$@ 1 0 ("F
M0!H2@ ($0@ !, $62$F*XE! $'___XF6$ :,( !Q, $62$F+0E!
M&Y80 !E___^"F! &H''X B!Z G>._F* 0 !B0$ 0DA &4 0:*4$ :
ML! "("F/_\2@ ($1@ !, $62$F+PE! $)80 !E___]PF! &H''X B!
MZ G>._F* 0 !B0$ 0DA &4 09.4$ :L! "("F/_\2@ ($1@ !,
M $62$F,0E! $)80 !E___]>F! &H''X B!Z G>._F* 0 !B0$ 0DA
M&4 0824$ :L! "("F/_\2@ ($1@ !, $62$F,PE! $)80 !E___],
MF! &H''X B!Z G>._F!$ $32 B/X@*)@ * F@$B/XT 0 )_" "@
M!" $T 0 ("B( 2O__[ 0 (''X B!Z G>._F)WCOZ"!Z G>._F!$
M $34 B/L@**__Q* V2$B/LT )@!("B( "@ )E! @ )8"8 22$" D@)@
M!- "0 N HB $K___90"H &2DH H #!$ $01 !$HA(C[*$J8 +0! 1
MG\( $ "@A#_\,K___= $ !$1 !$0 !!$) 2(PB!Q^ (@>@ (''X B!
MZ G>._H(''X B!Z _____P #_____ ! '5S
M86=E.B @8VML96YG=&@@(%L@+78@72!;(&%R9R N+BX@72!F:6QE<RXN+B *
M(" @(" @(" @(" @+6P@;&5N9W1H(" @+2T@;6%X:6UU;2!L:6YE(&QE;F=T
M: H@(" @(" @(" @(" M;B @(" @(" @(" M+2!R97!O<G0@;&EN92!N=6UB
M97)S(&9O<B!O9F9E;F1I;F<@;&EN97,*(" @(" @(" @(" @+4X@(" @(" @
M(" @+2T@<F5P;W)T(&QI;F4@;G5M8F5R<R!A;F0@;&5N9W1H(&9O<B!O9F9E
M;F1I;F<@;&EN97,*(" @(" @(" @(" @+78@(" @(" @(" @+2T@=F5R8F]S
M90H*4')I;G0@=&AE(&YA;64@;V8@9FEL97,@=VAI8V@@:&%V92!A="!L96%S
M=" Q(&QI;F4@=VAI8V@@97AC965D<R!T:&4*;6%X:6UU;2!L:6YE(&QE;F=T
M:"X@(%1H92!D969A=6QT(&UA>&EM=6T@;&EN92!L96YG=&@@:7,@.# N"@
M &PZ;DYV *"5D*2!I<R!I;&QE9V%L(&QI;F4@;&5N9W1H"@ E<P
M '( 56YA8FQE('1O(&]P96X@9FEL92 H)7,I"@ E
M<PH %1/3R!,3TY'.B5D.B E<PH "5D.B E9 H )60*
M E<SH@ " H)7,I"@ ("AU;FMN;W=N(&5R<FYO/25D*0H "@
M !F871A;"!E<G)O<BP@97AI=&EN9P !E>&ET:6YG &9A=&%L(&5R
M<F]R+"!A8F]R=&EN9P # Q,C,T-38W.#DM G)7,G(&ES(&YO="!A
M(&YU;6)E<@ E<R!C86X@;VYL>2!B92 E;&0 E<R!M=7-T(&)E
M(&)E='=E96X@)6QD(&%N9" E;&0 &]P96XH)R5S)RP@,'@E>"P@,"5O*2!F
M86EL960 <F5A9"@E9"P@,'@E>"P@)60I(&9A:6QE9 !W<FET
M92@E9"P@,'@E>"P@)60I(&9A:6QE9 (74 $ (; # !$T@
M - $3X 0 0#H !0 !"+0 * ")0 8 0-4 "P
M ! 5 , A?8 @ .0 4 !P !< 0LP
M!P !"MP ( !. D ,
M # P,+__\P$ #
M \,+__\ $ # !(,+__[0$ # !4,+__Z@$ # !@,+__YP$
M # !L,+__Y $ # !X,+__X0$ # "$,+__W@$ # "0,+__
MVP$ # "<,+__V $ # "H,+__U0$ # "T,+__T@$ # #
M,+__SP$ # #,,+__S $ # #8,+__R0$ # #D,+__Q@$ #
M #P,+__PP$ # #\,+__P $ # $(,+__O0$ ! $4"
M % $
M 0 __$ $ U # ! ! .@ P @ 0-4
M , , $(M # $ !"MP P !0
M 0LP , 8 $,% # ' !$T@ P "
M 1/@ , D $3[ # * !$_0 P
M"P 10 , P (73 # - "%U
M P #@ A?8 , \ (8\ # 0 "&0@
M P $0 , !( # 3
M P % , !4 # 6
M P %P , !@ # 9
M #P ! #_\0 !8 0 __$ B $
M /_Q +0 !$U @ " $, 0R( < !2 (8\
M ! 0 8 ! #_\0 &L 0T4 < !Z
M $ /_Q A ! #_\0 (\ 1-$ ( < "E
M $31 ' M "&00 0 $ ,( 0 __$
M #) (8. 2 T !$_0 $0 "P -X 0P4 =!(
M < #E (8U 2 Z@ "&$0 $@ .\ 1/L
M !$ H #] (8O 2 !! "&0@ $$0 $0 0T AB8
M !( $6 (9# 01 1 !'P "',@ $0#_\0 20
M 1+ 2!( < $J $2> $@2 ' !+P !$8@ "H$@ !P
M 3< AD8 !0"$ !$ $\ (73 1 /_Q !4@ "&*0 $@
M 5@ A@( !( %? (8% 2 !9 !$T@
M$@ " 6H ACT !!$ ! %R (9$ 01 1 !? "&E@
M )@$0 $0 8@ AB !( &/ (8\ 01 0 !E0 "
M%U $0#_\0 9X 0[H !0!( < &F (9& 4 1 1 !
MK "&E@ )@$0 $0 ;D AC@ !( &_ (8+ 2
M !QP "&" $@ <T AD, !"$ !$ '5 (<N 01
M 1 !VP "&+ $@ >( 1 H !8!( < 'H (8_
M 01 0 !^P "'+P $$0 $0 @( AC( !( (' (<
MP 01 1 "#@ "&&@ $@ A0 AS$ !!$ !$ (;
M (8^ 01 0 "+P "&0@ $0#_\0 C8 A?8 !$ __$
M )0 (87 2 "5@ "&1 $$0 $0 E\ 1,( /!(
M < )Q $3\ 1 * "?@ !%TL $0#_\0 H4 10
M!!$ P *2 $2, $@2 ' "EP "&(P $@ IX 0R(
M !( < *P $3^ 1 + "O0 !#10 '4$@ !P L(
M AD !!$ ! +. (8= 2 "U0 !$^ $@ "0
M ML AA0 !( 9V\S,B]C:VQE;F=T: !C<G1I+G, =F%L=65S+5AA
M+F, 8W)T<W1U9F8N8P!?7V1O7V=L;V)A;%]C=&]R<U]A=7@ 9V-C,E]C;VUP
M:6QE9"X 9F]R8V5?=&]?9&%T80!C:VQE;F=T:"YC &=C8S)?8V]M<&EL960N
M &QI8F=C8S(N8P!C<G1S='5F9BYC %]?9&]?9VQO8F%L7V-T;W)S7V%U> !G
M8V,R7V-O;7!I;&5D+@!F;W)C95]T;U]D871A &-R=&XN<P!G971O<'0 7U]$
M5$]27TQ)4U1?7P!?<W1A<G0 <F5A9 !A=&]I %]?0U1/4E],25-47U\ <W1R
M=&]L '!R;V=N86UE '9F<')I;G1F %]E;G9I<F]N %]E;F0 5W)I=&4 4F5A
M9 !G971P87)M %]I;V( 7T=,3T)!3%]/1D93151?5$%"3$5? &%B;W)T &%T
M97AI= !E>&ET %]I;FET '9E<F)O<V4 7W-Y<U]N97)R '-Y<U]E<G)L:7-T
M &9C;&]S90!54T%'10!?1%E.04U)0P!P<F]C97-S %]?:6]B %]S>7-?97)R
M;&ES= !W<FET90!S=')R8VAR %]E>&ET &5N=FER;VX 97)R;F\ <W1R8VAR
M &5R<F]R ')E<&]R=%]L:6YE7VQE;F=T: !O<'1I;F0 ;W!E;@!O<'1A<F<
M9F=E=', ;W!T97)R ')E<&]R=%]L:6YE7VYU;6)E<G, 7V5D871A %]04D]#
M14154D5?3$E.2T%'15]404),15\ 9F]P96X <WES7VYE<G( 7U]D;U]G;&]B
M86Q?9'1O<G, 7U]#5$]27T5.1%]? %]E=&5X= !?;&EB7W9E<G-I;VX 3W!E
M;@!F9FQU<V@ 7U]D;U]G;&]B86Q?8W1O<G, 7U]$5$]27T5.1%]? &UA:6X
M;&EN95]L96YG=&@ <W1R;&5N %]F:6YI &9P<FEN=&8 $ %
MFP UD "]D # %$X ((X
M $8\ ! *",I4W5N3U,@-2XS($=E;F5R:6,@4V5P=&5M
M8F5R(#$Y.3, &%S.B!30S,N,"!E87)L>2!A8V-E<W,@,#$@4V5P(#$Y.3,*
M $=#0SH@*$=.52D@,BXV+C, &%S.B!30S,N,"!E87)L>2!A8V-E<W,@,#$@
M4V5P(#$Y.3,* $=#0SH@*$=.52D@,BXV+C, &%S.B!30S,N,"!E87)L>2!A
M8V-E<W,@,#$@4V5P(#$Y.3,* $=#0SH@*$=.52D@,BXV+C, &%S.B!30S,N
M,"!E87)L>2!A8V-E<W,@,#$@4V5P(#$Y.3,* $=#0SH@*$=.52D@,BXV+C,
M;&0Z("A31U4I(%-U;D]3+T5,1B H3$LM,2XS*0 0 "D 8?
M"V0 1,( (60 1,( +3P /(
M 7H <( EX L(
M SH !$H !5H !=(
M !EH !LX !SX !
MX8 !]( "#( ".8
M "5( "<( "D8 "G8
M "R( #&8 $GH %+(
M & %.8 ) %0X -< %3H #0 %
M6H #4 %9( #8 %;X #< %>8 #@
M %A( #D %CX #H %FH $8 %IX
M %T( &T %]( "X &"20 !\L 1,( "YI;G1E
M<G +FAA<V@ +F1Y;G-Y;0 N9'EN<W1R "YR96QA+F)S<P N<F5L82YP;'0
M+G1E>'0 +FEN:70 +F9I;FD +F-T;W)S "YD=&]R<P N<F]D871A "YG;W0
M+F1Y;F%M:6, +G!L= N9&%T80 N8G-S "YS>6UT86( +G-T<G1A8@ N<W1A
M8BYI;F1E> N8V]M;65N= N<W1A8@ N<VAS=')T86( +G-T86(N:6YD97AS
M='( +G-T86)S='( '9A;'5E<RU882YC "\Q,#DS+V]N,3 Y,U]W<R]U<W(O
M<W)C+VQI8B]L:6)C+P!P;W)T+V=E;B]V86QU97,M6&$N8P %AT(#L@5CTR
M+C +VYE="]M;W)G86YA+W5S<C$O<G1E;7,M,RXU+C P+V,O8G5I;&0M=&]O
M;',O<W)C "]U<W(O8V-S+VQI8B]V86QU97,M6&$N;P ;&EB9V-C,BYC "]U
M<W(T+T=.050O9V-C+3(N-BXS+P N+VQI8F=C8S(N8P!G8V,R7V-O;7!I;&5D
M+@!I;G0Z=#$]<C$[+3(Q-#<T.#,V-#@[,C$T-S0X,S8T-SL 8VAA<CIT,CUR
M,CLP.S$R-SL ;&]N9R!I;G0Z=#,]<C$[+3(Q-#<T.#,V-#@[,C$T-S0X,S8T
M-SL =6YS:6=N960@:6YT.G0T/7(Q.S [+3$[ &QO;F<@=6YS:6=N960@:6YT
M.G0U/7(Q.S [+3$[ &QO;F<@;&]N9R!I;G0Z=#8]<C$[,#$P,# P,# P,# P
M,# P,# P,# P,# [,#<W-S<W-S<W-S<W-S<W-S<W-S<W-SL ;&]N9R!L;VYG
M('5N<VEG;F5D(&EN=#IT-SUR,3LP,# P,# P,# P,# P.S Q-S<W-S<W-S<W
M-S<W-S<W-S<W-S<W.P!S:&]R="!I;G0Z=#@]<C$[+3,R-S8X.S,R-S8W.P!S
M:&]R="!U;G-I9VYE9"!I;G0Z=#D]<C$[,#LV-34S-3L <VEG;F5D(&-H87(Z
M=#$P/7(Q.RTQ,C@[,3(W.P!U;G-I9VYE9"!C:&%R.G0Q,3UR,3LP.S(U-3L
M9FQO870Z=#$R/7(Q.S0[,#L 9&]U8FQE.G0Q,SUR,3LX.S [ &QO;F<@9&]U
M8FQE.G0Q-#UR,3LX.S [ &-O;7!L97@@:6YT.G0Q-3US.')E86PZ,2PP+#,R
M.VEM86<Z,2PS,BPS,CL[ &-O;7!L97@@9FQO870Z=#$V/7(Q-CLT.S [ &-O
M;7!L97@@9&]U8FQE.G0Q-SUR,3<[.#LP.P!C;VUP;&5X(&QO;F<@9&]U8FQE
M.G0Q.#UR,3@[.#LP.P!V;VED.G0Q.3TQ.0!A<F-H7W1Y<&4Z5#(P/65!4D-(
M7S,R0DE4.C L05)#2%\V-$))5#HQ+#L <F5G7V-L87-S.E0R,3UE3D]?4D5'
M4SHP+$=%3D5204Q?4D5'4SHQ+$907U)%1U,Z,BQ!3$Q?4D5'4SHS+$Q)35]2
M14=?0TQ!4U-%4SHT+#L ;6%C:&EN95]M;V1E.E0R,CUE5D])1&UO9&4Z,"Q1
M26UO9&4Z,2Q(26UO9&4Z,BQ04TEM;V1E.C,L4TEM;V1E.C0L4$1);6]D93HU
M+$1);6]D93HV+%1);6]D93HW+$]);6]D93HX+%%&;6]D93HY+$A&;6]D93HQ
M,"Q4449M;V1E.C$Q+%-&;6]D93HQ,BQ$1FUO9&4Z,3,L6$9M;V1E.C$T+%1&
M;6]D93HQ-2Q30VUO9&4Z,38L1$-M;V1E.C$W+%A#;6]D93HQ."Q40VUO9&4Z
M,3DL0U%);6]D93HR,"Q#2$EM;V1E.C(Q+$-326UO9&4Z,C(L0T1);6]D93HR
M,RQ#5$EM;V1E.C(T+$-/26UO9&4Z,C4L0DQ+;6]D93HR-BQ#0VUO9&4Z,C<L
M0T-8;6]D93HR."Q#0U].3T]6;6]D93HR.2Q#0UA?3D]/5FUO9&4Z,S L0T-&
M4&UO9&4Z,S$L0T-&4$5M;V1E.C,R+$U!6%]-04-(24Y%7TU/1$4Z,S,L.P!M
M;V1E7V-L87-S.E0R,SUE34]$15]204Y$3TTZ,"Q-3T1%7TE.5#HQ+$U/1$5?
M1DQ/050Z,BQ-3T1%7U!!4E1)04Q?24Y4.C,L34]$15]#0SHT+$U/1$5?0T]-
M4$Q%6%])3E0Z-2Q-3T1%7T-/35!,15A?1DQ/050Z-BQ-05A?34]$15]#3$%3
M4SHW+#L <'1R9&EF9E]T.G0Q '-I>F5?=#IT- !W8VAA<E]T.G0S %51271Y
M<&4Z=#$Q %-)='EP93IT,0!54TET>7!E.G0T $1)='EP93IT-@!51$ET>7!E
M.G0W %-&='EP93IT,3( 1$9T>7!E.G0Q,P!W;W)D7W1Y<&4Z=#$ 1$ES=')U
M8W0Z5#(T/7,X:&EG:#HQ+# L,S([;&]W.C$L,S(L,S([.P!$275N:6]N.G0R
M-3UU.',Z,C0L,"PV-#ML;#HV+# L-C0[.P!F=6YC7W!T<CIT,C8]*C(W/68Q
M.0!?7V1O7V=L;V)A;%]D=&]R<SI&,3D
M $ ! @ ! -0 #4 $0
M 0 ) !0 ( 0#H Z FP #
M 0 $ #P L " $#5 U0 5@ ! !H $
M $ !< # @ !"+0 BT ")0 0
M ? ! ( 0K< *W %0 # $0 0 , *0
M 0 " $+, "S #D P \ $ # #, !
M!@ !#!0 P4 '- ! Y 0 8 1-(
M 32 )@ 0 /P $ & $3X $^
M , $ $4 ! !@ !$^P !/L "
M ! !, 0 8 1/T 3] @
M 0 4P $ " $4 % -+ (
M %L ! P "%TP !=, ! ! 0
M !@ !@ , A=0 74 (@ $ 0 ( :0
M $ ' (7V %]@ $8 $ # &X !
M P "&/ !CP % ! !T " , AD(
M 9" \ @ >0 ( &0@
M 90 $P "D $ $ ($ # !]8 "XP
M 0 ") 0 B/ $@
M 0 , E0 $ (H0 $; !
M )X ! ".@ !^ ! P
M "D P EF ,8 $ K@
M , )EX "; ! +T #
= ";Y &'P 0 !
end

View File

@@ -1,111 +0,0 @@
/*
* $Id$
*/
#include <stdio.h>
#include <dos.h>
#define IO_RTC 0x70 /* RTC */
#define RTC_SEC 0x00 /* seconds */
#define RTC_MIN 0x02 /* minutes */
#define RTC_HRS 0x04 /* hours */
#define RTC_WDAY 0x06 /* week day */
#define RTC_DAY 0x07 /* day of month */
#define RTC_MONTH 0x08 /* month of year */
#define RTC_YEAR 0x09 /* month of year */
#define RTC_STATUSA 0x0a /* status register A */
#define RTCSA_TUP 0x80 /* time update, don't look now */
#define RTC_STATUSB 0x0b /* status register B */
#define RTC_DIAG 0x0e /* status register E - bios diagnostic */
#define RTCDG_BITS "\020\010clock_battery\007ROM_cksum\006config_unit\005memory_size\004fixed_disk\003invalid_time"
/* convert 2 digit BCD number */
static int bcd( unsigned int i )
{
return ((i/16)*10 + (i%16));
}
static unsigned int rtcin( unsigned int what )
{
outportb( IO_RTC, what );
return inportb( IO_RTC+1 );
}
void fix_date( void )
{
int s;
struct date date;
struct time time;
/* initialize brain-dead battery powered clock */
outportb( IO_RTC, RTC_STATUSA );
outportb( IO_RTC+1, 0x26 );
outportb( IO_RTC, RTC_STATUSB );
outportb( IO_RTC+1, 2 );
outportb( IO_RTC, RTC_DIAG );
s = inportb( IO_RTC+1 );
if (s) printf("RTC BIOS diagnostic error %b\n", s, RTCDG_BITS);
/* check for presence of clock */
s = rtcin(RTC_STATUSA);
if ( s == 0xff || s == 0 ) {
printf( "Real-time clock not found\n" );
return;
}
/* ready for a read? */
while ((s & RTCSA_TUP) == RTCSA_TUP)
s = rtcin(RTC_STATUSA);
date.da_year = bcd(rtcin(RTC_YEAR)) + 1900; /* year */
if ( date.da_year < 1970) date.da_year += 100;
date.da_year -= 1980;
date.da_mon = bcd(rtcin(RTC_MONTH)); /* month */
date.da_day = bcd(rtcin(RTC_DAY)); /* day */
(void)bcd(rtcin(RTC_WDAY)); /* weekday */
time.ti_hour = bcd(rtcin(RTC_HRS)); /* hour */
time.ti_min = bcd(rtcin(RTC_MIN)); /* minutes */
time.ti_sec = bcd(rtcin(RTC_SEC)); /* seconds */
time.ti_hund = 0;
setdate( & date );
settime( & time );
}
void fix_timer( void )
{
#define PIT_PORT 0x40
#define TIMER_CNTR0 (PIT_PORT + 0) /* timer 0 counter port */
#define TIMER_MODE (PIT_PORT + 3) /* timer mode port */
#define TIMER_SEL0 0x00 /* select counter 0 */
#define TIMER_RATEGEN 0x04 /* mode 2, rate generator */
#define TIMER_16BIT 0x30 /* r/w counter 16 bits, LSB first */
/* set timer 0 to generate interrupts every period */
outportb( TIMER_MODE, TIMER_SEL0|TIMER_RATEGEN|TIMER_16BIT );
outportb( TIMER_CNTR0, 0 ); /* counter low */
outportb( TIMER_CNTR0, 0 ); /* counter high */
}
int main(void)
{
/* Make timer count at correct pace */
fix_timer();
/* Fix the date */
fix_date();
return 0;
}

View File

@@ -1,162 +0,0 @@
#
# $Id$
#
begin 664 fixtimer.exe
M35IF 0X 0 @ T __^; 8 (@ $ ^R!R:@$
M
M
M
M
M
M
M
M
M
M
M "Z3 $NB1;X ;0PS2&++@( BQXL ([:HY( C :0
M (D>C ")+JP QP:6 /__Z#0!Q#Z* (O'B]BY_W\F@3TX-W49)HM5 H#Z/740
M@.;?_P:6 (#^674$_P:6 /*NXV%#)C@%==: S8#WV8D.B@"Y 0#3XX/#"(/C
M^(D>C@",VBOJBSY\ H'_ )S![\ HD^? *!Q^P$<B@#/GH"<B*Q!-/O1SOO
M<AF#/GP" '0'@SYZ @!U#K\ $#OO=P>+_>L#Z2$!B]\#VHD>I ")'J@ H9
M*]B.P+1*5\TA7]/G^H[2B^?[,\ NC@;X ;^F!+GL!"O/\ZH._Q:8!.BU NB=
M [0 S1J)%I@ B0Z: /\6G 3_-H@ _S:& /\VA #H%P)0Z%H"+HX>^ 'H? .
M_Q::!#/ B_"Y+P"0_ ($@-0 1N+X+3<-D'0*N1D D+HO .B+ (OLM$R*1@+-
M(;D. )"Z2 #IAP >N US2&)'G0 C 9V +@$-<TAB1YX (P&>@"X!37-(8D>
M? ",!GX N 8US2&)'H C :" +@ )8S*CMJZ6 '-(1_#'K@ )<46= #-(1\>
MN 0EQ19X ,TA'QZX!27%%GP S2$?'K@&)<46@ #-(1_#QP:6 R\.T0+L"
M ,TAP[D> )"Z5@ NCA[X >CI_[@# %#H*?\ %6+[(M&!+$$T^BZ"@#WXHM6
M!('B#P #PNL 7<-5B^R*1@3F<.1QM #K %W#58OL@^P(5K *YG"P)N9QL OF
M<+ "YG&P#N9PY'&T (OP"_9T#[BR 5!6N)0!4.B<"8/$!K@* %#HM?]9B_"!
M_O\ = 0+]G4+N/P!4.A^"5GIJ0#K"K@* %#HE/]9B_"+QB6 #V '3LN D
M4.B _UE0Z%__605L!XE&^(%^^+('?02#1OAD@6[XO >X" !0Z%W_65#H//]9
MB$;[N < 4.A-_UE0Z"S_68A&^K@& %#H/?]94.@<_UFX! !0Z##_65#H#_]9
MB$;]N ( 4.@@_UE0Z/_^68A&_#/ 4.@1_UE0Z/#^68A&_\9&_@"-1OA0Z'H1
M68U&_%#HA1%97HOE7<.P-.9#L #F0+ YD##Z/#_Z.S^,\#K ,-5B^Q6BW8$
M"_9\%(/^6'8#OE< B388 HJ$&@*8ENL-]]Z#_B-WZL<&& +__XO&HY0 N/__
MZP!>7<(" ,-5B^SK"HL>?@+1X_^7I@2A?@+_#GX""\!UZ_\6= +_%G8"_Q9X
M O]V!.AZ_5E=PP "Z/!JH#+HP>K /\C@:0 +Z #+D)JQ C,6'UI.+
M-HH @\8"N0$ @#Z2 -R$8X&C "+_K%_,L#RKN-V@/%_@^P"N $ \,#P27^
M_XO\*_AR8(OGC,".V(S0CL!12?.D,L"JCMV'\H?9B\.+T$/H&0!W!W) Z!(
M=_D\('0(/ UT!#P)=>@RP.OD"\!T!T*J"L!U 4.&X#+ ^>,5K$DL(G0/!"(\
M7'4'@#PB=0*L20OVP^E^_5D#RBZ.'JP#B1Z$ $,#VXOTB^PKZW+FB^6)+H8
MXPZ)=@"#Q0(VK K X/IT\#/ B48 +O\FJ@.+#HH 4>A' 5F+^ O ="0>'@>.
M'HP ,_;\\Z0?B_@&_S:. .@I 8/$ HO8!Z.( O =0/I$?TSP+G__XD_@\,"
M\JXF. 5U](D'PU6+[(,^?@(@=06X 0#K%8M&!(L>?@+1XXF'I@3_!GX",\#K
M %W#58OL5E>+?@2+10:CZ 0[QW4(QP;H! ZQ"+=02+'N@$B7<$H>@$B40&
M7UY=PU6+[%97BWX$BT8&*06+-0/WBT8&0(D$B7P"H>8$.\=U!HDVY@3K"(O^
M WX&B74"B\8%! #K %]>7<-5B^Q6BT8$,](E__^!X@ 4E#H] !968OP@_[_
M=00SP.L8H>8$B40"BT8$0(D$B3;F!*'F! 4$ .L 7EW#58OL5HM&!#/2)?__
M@>( %)0Z+< 65F+\(/^_W4$,\#K%8DVZ@2)-N8$BT8$0(D$B\8%! #K %Y=
MPU6+[%97BWX$"_]U!#/ ZUJ+QP4+ "7X_XOX@S[J! !U!U?HH?]9ZT*+-N@$
MB\8+P'0QBP2+UX/"*#O"<@E75N@-_UE9ZR2+!#O'<@Y6Z-'^6?\$B\8%! #K
M$(MT!CLVZ 1USU?H(O]9ZP!?7EW#58OLBT8$B]2!Z@ !.\)S!Z.> #/ ZPO'
M!I0 " "X___K %W#58OLBT8$BU8& P:> (/2 (O(@<$ 8/2 O2=0H[S',&
MAP:> .L+QP:4 @ N/__ZP!=PU6+[/]V!.B?_UGK %W#58OLBT8$F5)0Z++_
MB^7K %W#58OL@^P"5E>+7@2+-XO&B4;^BUX$]T<"0 !T!(O&ZQ^+7@2+?PKK
M"XO?1X _"G4#_T;^B\9."\!U[HM&_NL 7UZ+Y5W" @!5B^Q6BW8$5NA3!%D+
MP'0%N/__ZTR#?@H!=1"#/ !^"U;HE?^9*48&&58(@60"7_['! BT0(B40*
M_W8*_W8(_W8&BD0$F%#HW *#Q B#^O]U"CW__W4%N/__ZP(SP.L 7EW#58OL
M@^P$5HMV!%;H[ -9"\!T"+K__[C__^L_N $ 4#/ 4%"*1 284.B8 H/$"(E6
M_HE&_(,\ 'X9BU;^BT;\4E!6Z!#_F8O8B\I86BO#&]'K!HM6_HM&_.L 7HOE
M7<-5B^RX $2+7@3-(;@ '($T>+1T.L 7<-5B^Q65XM^"HMV!(M$#CO&=0R#
M?@@"?P:!__]_=@:X___IJ@"#/NH# '4/N) ".\9U",<&Z@,! .L4@S[H P!U
M#;B CO&=0;'!N@# 0"#/ !T#[@! % SP%!05NC&_H/$"/=$ @0 = ?_= CH
M"PQ9@60"\__'1 8 (O&!04 B40(B40*@WX( G0_"_]V.\<&= +$"(-^!@!U
M&%?H6?U9B48&"\!T!X%, @0 ZP6X___K&XM&!HE$"HE$"(E\!H-^" %U!8%,
M @@ ,\#K %]>7<-65[\$ +Z NL0]T0" P!T!5;HG )93X/&$ O_=>Q?7L-5
MB^R![(H 5E>+1@A /0( <P4SP.GV (M>!-'C]X? P" =!+_=@C_=@;_=@3H
MXP"#Q ;IUP"+7@31XX&GP /__8M&!HF&?/^+1@B)AGC_C;9^_^MM_XYX_XN>
M?/__AGS_B@>(AGO_/ IU!,8$#4:*AGO_B 1&C89^_XO6*]"!^H ?#Z-AG[_
MB_XK^%>-AG[_4/]V!.A[ (/$!HF&=O\[QW0;@[YV_P!S!;C__^L-BT8(*X9X
M_P.&=O\KQ^M/C;9^_X.^>/\ = /IB?^-AG[_B_XK^(O'"\!V+E>-AG[_4/]V
M!.@M (/$!HF&=O\[QW07@[YV_P!S!;C__^L)BT8( X9V_RO'ZP6+1@CK %]>
MB^5=PU6+[(M>!-'C]X? P (=!"X @!0,\!04/]V!.@H (OEM$"+7@2+3@B+
M5@;-(7(/4(M>!-'C@8_ P 06.L&4.@%^>L 7<-5B^R+7@31XX&GP /__;1"
MBD8*BUX$BTX(BU8&S2%R NL'4.C;^)GK %W#58OL@^PB5E<&BWX*'@>+7@B#
M^R1W6(#[ G)3BT8,BTX."\E]$8!^!@!T"\8%+4?WV??8@]D C7;>XP^1*]+W
M\Y'W\X@41N,)Z_$KTO?SB!1&"\!U]8U.WO?9 \[\3HH$+ IS! 0ZZP,"1@2J
MXN^P *H'BT8*ZP!?7HOE7<(, %6+[(-^" IU!HM&!)GK!8M&!#/24E#_=@;_
M=@BP 5"P85#H7/_K %W#58OL_W8&_W8$_W8(_W8*L !0L&%0Z$#_ZP!=PU6+
M[/]V!O]V!/]V"/]V"H-^"@IU!;@! .L",\!0L&%0Z!G_ZP!=P[KL ^L#NO$#
MN04 D+1 NP( S2&Y)P"0NO8#M$#-(>EM]E6+[%97BW8$BT0..\9T!;C__^MF
M@SP ?"WW1 (( '4,BT0*B]:#P@4[PG46QP0 (M$"HO6@\(%.\)U!HM$"(E$
M"C/ ZS2+? 8#/$<I/%>+1 B)1 I0BD0$F%#H$OV#Q 8[QW01]T0" )U"H%,
M A N/__ZP0SP.L 7UY=PU6+[+AK#5"XD )0_W8$C48&4.A, NL 7<-5B^R+
M7@;_#_]V!HI&!)A0Z 8 B^7K %W#58OL@^P"5HMV!HI&!(A&__\$?3:*1O__
M1 J+7 J(1__W1 (( '0;@'[_"G0&@'[_#74/5N@9_UD+P'0&N/__Z>D BD;_
MM #IX0#_#/=$ I =0?W1 (" '4+@4P"$ "X___IQ@"!3 ( 8-\!@!T)H,\
M '015NC7_ED+P'0&N/__Z:< ZPJX__^+5 8KPHD$Z7W_Z94 @S[J P!U.;B0
M CO&=3**1 284.@)^UD+P'4%@60"__VX )0]T0" )T!;@" .L",\!0,\!0
M5NC]^H/$".F/_X!^_PIU'_=$ D =1BX 0!0N!X$4(I$!)A0Z.#\@\0&/0$
M=1BX 0!0C48$4(I$!)A0Z,C\@\0&/0$ =!'W1 ( G4*@4P"$ "X___K!XI&
M_[0 ZP!>B^5=PU6+[%:+=@2XD )05NC!_EE9ZP!>7<-5B^R#[ )65XMV!(M^
M!D?W1 (( '0CZP+K $^+QPO =!56BUX(_T8(B@>84.B+_EE9/?__=>+I=0#W
M1 ) '0W@WP& '0QBT0&.\=S*H,\ '0-5NBT_5D+P'0$,\#K4T]7_W8(BD0$
MF%#H(?R#Q :)1OXK?O[K-^L"ZP!/B\<+P'0L_P1]%8M>"/]&"(H'_T0*BUP*
MB$?_M #K#E:+7@C_1@C_-^CZ_5E9/?__=<N+Q^L 7UZ+Y5W"!@#_)IX$58OL
MBU8$N00/NR<$_(K&TNC7JHK&(L77JHK"TNC7JHK"(L77JNL 7<(" %6+[('L
ME@!65\=&J@ QD:M4.LX5[G__S+ \J[WT4E?PX@%1_Y.K7XB4U%2!HU&KBOX
MC4:N4%?_=@C_5@K&1JU0 7ZJC7ZN!UI96\,&_(U^KHF^;/^+OFS_BW8&K K
M=!$\)700B 5'_DZM?^_HN?_KZNEU!(FV>/^L/"5TYXF^;/\SR8F.=O^)CFK_
MB(YU_\>&</___\>&<O___^L!K#+DB]"+V(#K((#[8'-'BI\W!(O#/1< =@/I
M'02+V-'C+O^G& ]C#TL/I ]7#\D/TP\5$!\0+Q"*#V00/Q!#$$<0Z1";$3P1
M7!'_$BP3+!,L$W8/@ _IX0. _0!W^(..:O\!ZYN _0!W[(..:O\"ZX^ _0!W
MX("^=?\K= 2(EG7_Z7S_@Z9J_]^U!>ER_X..:O\@M07I:/^ _0!W1/>&:O\"
M '4A@XYJ_PBU >E1_^F( XM^!(L%@T8$ H#] G,)B89P_[4#Z3?_@/T$=>&)
MAG+__L7I*?^ _01ST[4$Z1__DBPPF(#] G<;M0*'AG#_"\!\TM'@B]#1X-'@
M \(!AG#_Z?O^@/T$=:6'AG+_"\!\M-'@B]#1X-'@ \(!AG+_Z=W^@XYJ_Q"U
M!>G3_H&.:O\ 8.F:O_OM07IP_Z#IFK_[X&.:O^ +4%Z;/^MPCK"K<*ZPNW
M$+/I MK&AG7_ ,:&;_\ B)9N_XM^!(L%,]+K$;<*QH9O_P&(EF[_BWX$BP69
M1T>)=@;WAFK_$ !T!(L51T>)?@2-OGO_"\!U,PO2=2^#OG+_ '4MB[YL_XN.
M</_C&X/Y_W06BX9J_R4( '0$LC#K K(@BL+HMOWB^>GI_8..:O\$4E!7BL>8
M4(J&;_]04^B0^18'BY9R_PO2?P/I% 'I(0&(EF[_B78&C;YZ_XM>!/\W0T.)
M7@3WAFK_( !T#_\W0T.)7@06!^@7_; ZJA8'Z _]Q@4 QH9O_P"#IFK_^XV.
M>O\K^8?/BY9R_SO1?P*+T>F^ (EV!HB6;O^+?@2+!8-&! (6!XV^>_\RY(D%
MN0$ Z=@ B78&B)9N_XM^!/>&:O\@ '4,BSV#1@0"'@<+_^L*Q#V#1@0$C, +
MQW4%'@>_( 3HVOP[CG+_=@2+CG+_Z9D B78&B)9N_XM^!(N.<O\+R7T#N08
M5U&-GGO_4U*X 0 CAFK_4(N&:O^I@ !T"K@" ,=&_@0 ZQ>I %T"K@( ,=&
M_@H ZPC'1OX( +@& %#H-_R+1OX!1@06!XV^>__WAFK_" !T$XN6</\+TGX+
MZ%O\*]%^!(F6=O^*AG7_"L!T%": /2UT#H.N=O\!@Y9V_P!/)H@%Z#3\B_>+
MOFS_BYYP_[@% ".&:O\]!0!U%HJF;O^ _&]U$(.^=O\ ?P;'AG;_ 0#K'Y"
M_'AT!8#\6'44@XYJ_T!+2X.N=O\"?0;'AG;_ #CG;_]X9J_P( =0SK!K @
MZ.'[2SO9?_;WAFK_0 !T#+ PZ,_[BH9N_^C(^XN6=O\+TGXG*\HKVB:*!#PM
M= @\('0$/"MU!R:LZ*C[24N'RN,'L##HG?OB^8?*XQ$KV2:LB 5'_DZM?P/H
MD/OB\0O;?@F+R[ @Z'O[XOGIKON)=@:+?@3WAFK_( !U"HL]@T8$ AX'ZP;$
M/8-&! 2X4 J1JT#1JHFB07I??N+MGC_B[YL_[ EZ#S[K K =?B ?JU0?0/H
M-OL'BT:JZP!?7HOE7<(( %6+[%97BW8$@S[H! !T'(L>Z 2+?P:+'N@$B7<&
MB74$B7P&H>@$B40$ZPJ)-N@$B70$B70&7UY=PU6+[(/L E97BW8&BWX$BP0!
M!:'F!#O&=0:)/N8$ZPV+! /&B4;^BU[^B7\"5NA-\5E?7HOE7<-6H>H$.P;F
M!'42_S;J!.C:\EDSP*/F!*/J!.L[BQ[F!(MW O<$ 0!U(E;H&?%9.S;J!'4*
M,\"CY@2CZ@3K!HM$ J/F!%;HH_)9ZPS_-N8$Z)GR68DVY@1>PU6+[(/L E97
MBW8$_PR+! /&B4;^BWP"]P4! '44.S;J!'0.BP0!!8M>_HE_ HOWZP56Z +_
M68M>_O<' 0!U"?]V_E;H*O]965]>B^5=PU6+[%:+=@0+]G4"ZQ>+Q@7\_XOP
M.S;F!'4%Z#S_ZP56Z(__65Y=PU6+[%:T*XMV!(L,BU0"S2%>7<-5B^Q6M"V+
M=@2+#(M4 LTA7EW# !4=7)B;RU#("T@0V]P>7)I9VAT("AC
M*2 Q.3@X($)O<FQA;F0@26YT;"X 3G5L;"!P;VEN=&5R(&%S<VEG;FUE;G0-
M"D1I=FED92!E<G)O<@T*06)N;W)M86P@<')O9W)A;2!T97)M:6YA=&EO;@T*
M .P$[ 3L
M!
M
M
M
M
M 4E1#($))3U,@9&EA9VYO<W1I8R!E<G)O<B E
M8@H $ AC;&]C:U]B871T97)Y!U)/35]C:W-U;09C;VYF:6=?=6YI= 5M96UO
M<GE?<VEZ901F:7AE9%]D:7-K VEN=F%L:61?=&EM90!296%L+71I;64@8VQO
M8VL@;F]T(&9O=6YD"@ $P("! 4&" @(%!4%$_\6!1$"____________
M_____P4%_____________________P__(P+_#_____\3__\" @4/ O___Q/_
M_________R/_____(_\3_P!Z WH#>@, 0 D" ( "
M * @$ "0 @ @(" H ( $," P
M + " !" @0 # @ #_ T ( _P
M . " /\ #P @ #_ , _P
M ! # /\ @ P #_ , ,
M_P $ # /\ !0 P #_ 8 ,
M _P ' # /\ " P #_
MD , _P * # /\ "P P$@ B "( 2@ J#_
M______________________________________\ <')I;G0@<V-A;F8@
M.B!F;&]A=&EN9R!P;VEN="!F;W)M871S(&YO="!L:6YK960-"@ - "AN=6QL
M*0 P,3(S-#4V-S@Y04)#1$5& !04 105%!04% ( % ,$% D%!04%!04%!044
M%!04%!04%!04% \7#P@4%!0'%!84%!04%!04%!0-%!04%!04%!04%! *#P\/
G" H4% 84$@L.%!01% P4% T4%!04%!04 -(!T@'9 50+60M9"UD+
end

View File

@@ -1,331 +0,0 @@
/*
* $Id$
*/
#include <stdio.h>
#include <string.h>
#include <process.h>
#include <io.h>
void * xmalloc( int size )
{
void * p = (void *)malloc( size );
if ( !p ) {
fprintf( stderr, "out of memory\n" );
exit( 1 );
}
return p;
}
void * xrealloc( void * old, int size )
{
void * p = (void *)realloc( old, size );
if ( !p ) {
fprintf( stderr, "out of memory\n" );
exit( 1 );
}
return p;
}
char ** argv_fix( int * argc, char ** argv )
{
char ** new = NULL;
int max = 20;
int cnt = 0;
int j;
for ( j = 1; argv[j]; ++j )
if ( argv[j][0] == '@' && access(argv[j]+1,0)==0 )
break;
if ( argv[j] == NULL )
return argv;
new = (char **)xmalloc( max * sizeof *new );
new[cnt++] = *argv++;
for ( ; *argv; ++argv ) {
if ( cnt >= max )
new = (char **)realloc( new, (max*=2) * sizeof *new );
if ( argv[0][0] != '@' || access(argv[0]+1,0) ) {
new[cnt++] = *argv;
} else {
char line[ 1000 ];
FILE * f = fopen( argv[0]+1, "r" );
if ( !f ) {
perror( argv[0]+1 );
exit( 2 );
}
while ( fgets( line, sizeof line, f ) ) {
int len = strlen( line );
/* delete trailing newlines */
while ( line[len-1] == '\n' || line[len-1] == '\r' )
line[--len] = '\0';
if ( cnt >= max )
new = (char **)xrealloc( new, (max*=2) * sizeof *new );
new[cnt] = (char *)xmalloc( len+1 );
strcpy( new[cnt], line );
++cnt;
}
fclose( f );
}
}
if ( cnt >= max )
new = (char **)xrealloc( new, (max+1) * sizeof *new );
new[cnt] = NULL;
*argc = cnt;
return new;
}
const char * USAGE =
"usage: $progname [ -cNvmV ] file [ file ... ] dest-directory-or-file\n"
" -v -- verbose\n"
" -V suffix -- suffix to append to targets (before any . suffix)\n"
" eg: -V _g would change 'foo' to 'foo_g' and\n"
" 'libfoo.a' to 'libfoo_g.a'\n"
" -m mode -- mode for new file(s)\n"
" -c -- copy instead of move (always on)\n"
" -N -- copy only if source is newer than target\n"
;
void fatal( char * msg )
{
if ( msg )
fprintf( stderr, "%s\n", msg );
fprintf( stderr, "%s", USAGE );
exit( 1 );
}
char * basename( char * f )
{
char * b = strrchr( f, '/' );
if ( b ) ++b;
else b = f;
return b;
}
#include <sys/stat.h>
int is_dir( char * path )
{
struct stat buf;
if ( stat( path, &buf ) )
return 0;
return buf.st_mode & S_IFDIR;
}
int is_file( char * path )
{
struct stat buf;
if ( stat( path, &buf ) )
return 0;
return buf.st_mode & S_IFREG;
}
int newer( char * p1, char * p2 )
{
struct stat buf1;
struct stat buf2;
if ( stat( p1, &buf1 ) )
return 0;
if ( stat( p2, &buf2 ) )
return 0;
return buf1.st_mtime > buf2.st_mtime;
}
int filecopy( char * d, char * s, int preserve_time )
{
#if 0
int status;
char * argv[ 5 ];
argv[0] = "cp";
argv[1] = "-p";
argv[2] = s;
argv[3] = d;
argv[4] = NULL;
status = spawnvp( P_WAIT, argv[0], argv );
if ( status )
perror( "cp" );
return status;
#else
FILE * fs;
FILE * fd;
char buffer[ 8192 ];
int n;
struct ftime When;
struct stat Stat;
fs = fopen( s, "rb" );
if ( fs == NULL ) {
perror( s );
return 1;
}
fd = fopen( d, "wb" );
if ( fd == NULL ) {
perror( d );
fclose( fs );
return 2;
}
if ( preserve_time )
if ( getftime( fileno(fs), &When ) ) {
perror( s );
preserve_time = 0;
}
do {
n = fread( buffer, 1, sizeof buffer, fs );
if ( n > 0 )
if ( fwrite( buffer, 1, n, fd ) < 0 ) {
perror( d );
return 3;
}
} while ( n > 0 );
fclose( fs );
/* Fix time stamp */
if ( preserve_time )
if ( setftime( fileno(fd), &When ) ) {
perror( s );
preserve_time = 0;
}
fclose( fd );
/* Fix access rights */
if ( stat( s, &Stat ) )
perror( s );
else if ( chmod( d, Stat.st_mode ) )
perror( d );
return 0;
#endif
}
int main( int argc, char * argv[] )
{
char * progname;
int verbose = 0;
int only_if_newer= 0;
char * suffix = NULL;
char * mode = NULL;
char * dest;
char ** pp;
argv = argv_fix( &argc, argv );
progname = basename( *argv++ );
/* process the options */
while ( argv[0] && argv[0][0] == '-' ) {
switch ( argv[0][1] ) {
case 'N':
++argv;
only_if_newer = 1;
break;
case 'c':
++argv;
/* We always copy, regardless */
break;
case 'v':
++argv;
verbose = 1;
break;
case 'V':
++argv;
suffix = *argv;
++argv;
break;
case 'm':
++argv;
mode = *argv;
++argv;
break;
default:
fatal( NULL );
}
}
/* Separate source file(s) from dest directory or file */
#if 0
if ( !argv[0] || !argv[1] )
fatal( "missing files or invalid destination" );
#else
/* We used to require at least one file; not any more */
if ( !argv[0] )
fatal( "missing files or invalid destination" );
if ( !argv[1] )
return 0;
#endif
for ( pp = argv; *pp; ++pp )
continue;
--pp;
dest = *pp;
*pp = NULL;
/* Process the arguments */
for (; *argv; ++argv ) {
char * f = *argv;
char * leaf = basename( f );
char target[ 128 ];
strcpy( target, dest );
if ( is_dir( target ) ) {
strcat( target, "/" );
/* if we were given a suffix, then add it as appropriate */
if ( suffix ) {
char * dot = strchr( leaf, '.' );
if ( dot ) {
strncat( target, leaf, dot-leaf );
strcat( target, suffix );
strcat( target, dot );
if ( verbose )
printf( "%s: %s will be installed as %s",
progname, f, strrchr(target,'/')+1 );
} else {
strcat( target, leaf );
strcat( target, suffix );
}
} else {
strcat( target, leaf );
}
}
if ( access( f, 0 ) ) {
char buf[200];
sprintf( buf, "cannot read %s", f );
fatal( buf );
}
if ( only_if_newer && is_file( target ) && !newer( f, target ) ) {
if ( verbose )
printf( "'%s' not newer than '%s'\n", f, target );
continue;
}
if ( verbose )
printf( "rm -f %s\n", target );
if ( chmod( target, 0777 ) )
if ( verbose )
perror( target );
if ( unlink( target ) )
if ( verbose )
perror( target );
if ( verbose )
printf( "cp -p %s %s\n", f, target );
if ( filecopy( target, f, 1 ) )
return 1;
if ( mode ) {
char buf[ 255 ];
sprintf( buf, "chmod %s %s\n", mode, target );
if ( verbose )
printf( "%s\n", buf );
system( buf );
}
}
return 0;
}

View File

@@ -1,163 +0,0 @@
#
# $Id$
#
begin 664 ifc.exe
M(VEN8VQU9&4@/'-T9&EO+F@^#0HC:6YC;'5D92 \<W1R:6YG+F@^#0HC:6YC
M;'5D92 \<')O8V5S<RYH/@T*#0HC:6YC;'5D92 \:6\N:#X-"@T*=F]I9" J
M('AM86QL;V,H(&EN="!S:7IE("D-"GL-"B @("!V;VED("H@<" ]("AV;VED
M("HI;6%L;&]C*"!S:7IE("D[#0H@(" @:68@*" A<" I("![#0H)9G!R:6YT
M9B@@<W1D97)R+" B;W5T(&]F(&UE;6]R>5QN(B I.PT*"65X:70H(#$@*3L-
M"B @("!]#0H@(" @<F5T=7)N(' [#0I]#0IV;VED("H@>')E86QL;V,H('9O
M:60@*B!O;&0L(&EN="!S:7IE("D-"GL-"B @("!V;VED("H@<" ]("AV;VED
M("HI<F5A;&QO8R@@;VQD+"!S:7IE("D[#0H@(" @:68@*" A<" I("![#0H)
M9G!R:6YT9B@@<W1D97)R+" B;W5T(&]F(&UE;6]R>5QN(B I.PT*"65X:70H
M(#$@*3L-"B @("!]#0H@(" @<F5T=7)N(' [#0I]#0H-"F-H87(@*BH@87)G
M=E]F:7@H(&EN=" J(&%R9V,L(&-H87(@*BH@87)G=B I#0I[#0H@(" @8VAA
M<B J*B!N97<@/2!.54Q,.PT*(" @(&EN=" @(" @;6%X(#T@,C [#0H@(" @
M:6YT"2 @("!C;G0@/2 P.PT*(" @(&EN= D@(" @:CL-"@T*(" @(&9O<B H
M(&H@/2 Q.R!A<F=V6VI=.R K*VH@*0T*"6EF("@@87)G=EMJ75LP72 ]/2 G
M0"<@)B8@86-C97-S*&%R9W9;:ETK,2PP*3T]," I#0H)(" @(&)R96%K.PT*
M(" @(&EF("@@87)G=EMJ72 ]/2!.54Q,("D-"@ER971U<FX@87)G=CL-"@T*
M(" @(&YE=R ]("AC:&%R("HJ*7AM86QL;V,H(&UA>" J('-I>F5O9B J;F5W
M("D[#0H@(" @;F5W6V-N="LK72 ]("IA<F=V*RL[#0H@(" @9F]R("@@.R J
M87)G=CL@*RMA<F=V("D@('L-"@EI9B H(&-N=" ^/2!M87@@*0T*"2 @("!N
M97<@/2 H8VAA<B J*BER96%L;&]C*"!N97<L("AM87@J/3(I("H@<VEZ96]F
M("IN97<@*3L-"@D@(" @#0H):68@*"!A<F=V6S!=6S!=("$]("= )R!\?"!A
M8V-E<W,H87)G=ELP72LQ+# I("D@('L-"@D@(" @;F5W6V-N="LK72 ]("IA
M<F=V.PT*"7T@96QS92![#0H)(" @(&-H87(@;&EN95L@,3 P,"!=.PT*"2 @
M("!&24Q%("H@9B ](&9O<&5N*"!A<F=V6S!=*S$L(")R(B I.PT*"2 @("!I
M9B H("%F("D@('L-"@D)<&5R<F]R*"!A<F=V6S!=*S$@*3L-"@D)97AI="@@
M,B I.PT*"2 @("!]#0H)(" @('=H:6QE("@@9F=E=',H(&QI;F4L('-I>F5O
M9B!L:6YE+"!F("D@*2 @>PT*"0EI;G0@;&5N(#T@<W1R;&5N*"!L:6YE("D[
M#0H)"2\J(&1E;&5T92!T<F%I;&EN9R!N97=L:6YE<R J+PT*"0EW:&EL92 H
M(&QI;F5;;&5N+3%=(#T]("=<;B<@?'P@;&EN95ML96XM,5T@/3T@)UQR)R I
M#0H)"2 @("!L:6YE6RTM;&5N72 ]("=<,"<[#0H)"6EF("@@8VYT(#X](&UA
M>" I#0H)"2 @("!N97<@/2 H8VAA<B J*BEX<F5A;&QO8R@@;F5W+" H;6%X
M*CTR*2 J('-I>F5O9B J;F5W("D[#0H)"6YE=UMC;G1=(#T@*&-H87(@*BEX
M;6%L;&]C*"!L96XK,2 I.PT*"0ES=')C<'DH(&YE=UMC;G1=+"!L:6YE("D[
M#0H)"2LK8VYT.PT*"2 @("!]#0H)(" @(&9C;&]S92@@9B I.PT*"7T)#0H@
M(" @?0T*(" @(&EF("@@8VYT(#X](&UA>" I#0H);F5W(#T@*&-H87(@*BHI
M>')E86QL;V,H(&YE=RP@*&UA>"LQ*2 J('-I>F5O9B J;F5W("D[#0H@(" @
M;F5W6V-N=%T@/2!.54Q,.PT*(" @("IA<F=C(#T@8VYT.PT*(" @(')E='5R
M;B!N97<[#0I]#0H-"@T*8V]N<W0@8VAA<B J(%5304=%(#T@#0HB=7-A9V4Z
M("1P<F]G;F%M92!;("UC3G9M5B!=(&9I;&4@6R!F:6QE("XN+B!=(&1E<W0M
M9&ER96-T;W)Y+6]R+69I;&5<;B(-"B(@(" @(" @("UV(" @(" @(" @("TM
M('9E<F)O<V5<;B(-"B(@(" @(" @("U6('-U9F9I>" @("TM('-U9F9I>"!T
M;R!A<'!E;F0@=&\@=&%R9V5T<R H8F5F;W)E(&%N>2 N('-U9F9I>"E<;B(-
M"B(@(" @(" @(" @(" @(" @(" @(" @("!E9SH@+58@7V<@=V]U;&0@8VAA
M;F=E("=F;V\G('1O("=F;V]?9R<@86YD7&XB#0HB(" @(" @(" @(" @(" @
M(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" G;&EB9F]O+F$G('1O
M("=L:6)F;V]?9RYA)UQN(@T*(B @(" @(" @+6T@;6]D92 @(" @+2T@;6]D
M92!F;W(@;F5W(&9I;&4H<RE<;B(-"B(@(" @(" @("UC(" @(" @(" @("TM
M(&-O<'D@:6YS=&5A9"!O9B!M;W9E("AA;'=A>7,@;VXI7&XB#0HB(" @(" @
M(" M3B @(" @(" @(" M+2!C;W!Y(&]N;'D@:68@<V]U<F-E(&ES(&YE=V5R
M('1H86X@=&%R9V5T7&XB#0H[#0H-"G9O:60@9F%T86PH(&-H87(@*B!M<V<@
M*0T*>PT*(" @(&EF("@@;7-G("D-"@EF<')I;G1F*"!S=&1E<G(L("(E<UQN
M(BP@;7-G("D[#0H@(" @9G!R:6YT9B@@<W1D97)R+" B)7,B+"!54T%'12 I
M.PT*(" @(&5X:70H(#$@*3L-"GT-"@T*8VAA<B J(&)A<V5N86UE*"!C:&%R
M("H@9B I#0I[#0H@(" @8VAA<B J(&(@/2!S=')R8VAR*"!F+" G+R<@*3L-
M"B @("!I9B H(&(@*0DK*V([#0H@(" @96QS90EB(#T@9CL-"B @("!R971U
M<FX@8CL-"GT-"@T*(VEN8VQU9&4@/'-Y<R]S=&%T+F@^#0II;G0@:7-?9&ER
M*"!C:&%R("H@<&%T:" I#0I[#0H@(" @<W1R=6-T('-T870@8G5F.PT*(" @
M(&EF("@@<W1A="@@<&%T:"P@)F)U9B I("D-"@ER971U<FX@,#L-"B @("!R
M971U<FX@8G5F+G-T7VUO9&4@)B!37TE&1$E2.PT*?0T*:6YT(&ES7V9I;&4H
M(&-H87(@*B!P871H("D-"GL-"B @("!S=')U8W0@<W1A="!B=68[#0H@(" @
M:68@*"!S=&%T*"!P871H+" F8G5F("D@*0T*"7)E='5R;B P.PT*(" @(')E
M='5R;B!B=68N<W1?;6]D92 F(%-?249214<[#0I]#0II;G0@;F5W97(H(&-H
M87(@*B!P,2P@8VAA<B J(' R("D-"GL-"B @("!S=')U8W0@<W1A="!B=68Q
M.PT*(" @('-T<G5C="!S=&%T(&)U9C([#0H@(" @:68@*"!S=&%T*"!P,2P@
M)F)U9C$@*2 I#0H)<F5T=7)N(# [#0H@(" @:68@*"!S=&%T*"!P,BP@)F)U
M9C(@*2 I#0H)<F5T=7)N(# [#0H@(" @<F5T=7)N(&)U9C$N<W1?;71I;64@
M/B!B=68R+G-T7VUT:6UE.PT*?0T*#0II;G0@9FEL96-O<'DH(&-H87(@*B!D
M+"!C:&%R("H@<RP@:6YT('!R97-E<G9E7W1I;64@*0T*>PT*(VEF(# -"B @
M("!I;G0)"7-T871U<SL-"B @("!C:&%R(" @(" @*B!A<F=V6R U(%T[#0H@
M(" @87)G=ELP72 ](")C<"([#0H@(" @87)G=ELQ72 ]("(M<"([#0H@(" @
M87)G=ELR72 ](',[#0H@(" @87)G=ELS72 ](&0[#0H@(" @87)G=ELT72 ]
M($Y53$P[#0H@(" @<W1A='5S(#T@<W!A=VYV<"@@4%]704E4+"!A<F=V6S!=
M+"!A<F=V("D[#0H@(" @:68@*"!S=&%T=7,@*0T*"7!E<G)O<B@@(F-P(B I
M.PT*(" @(')E='5R;B!S=&%T=7,[#0HC96QS90T*(" @($9)3$4@(" @(" J
M(&9S.PT*(" @($9)3$4@(" @(" J(&9D.PT*(" @(&-H87()8G5F9F5R6R X
M,3DR(%T[#0H@(" @:6YT"0EN.PT*(" @('-T<G5C="!F=&EM90E7:&5N.PT*
M(" @('-T<G5C="!S=&%T"0E3=&%T.PT*#0H@(" @9G,@/2!F;W!E;B@@<RP@
M(G)B(B I.PT*(" @(&EF("@@9G,@/3T@3E5,3" I("![#0H)<&5R<F]R*"!S
M("D[#0H)<F5T=7)N(#$[#0H@(" @?0T*(" @(&9D(#T@9F]P96XH(&0L(")W
M8B(@*3L-"B @("!I9B H(&9D(#T]($Y53$P@*2 @>PT*"7!E<G)O<B@@9" I
M.PT*"69C;&]S92@@9G,@*3L-"@ER971U<FX@,CL-"B @("!]#0H-"B @("!I
M9B H('!R97-E<G9E7W1I;64@*0T*"6EF("@@9V5T9G1I;64H(&9I;&5N;RAF
M<RDL("97:&5N("D@*2 @>PT*"2 @("!P97)R;W(H(',@*3L-"@D@(" @<')E
M<V5R=F5?=&EM92 ](# [#0H)?0T*#0H@(" @9&\@>PT*"6X@/2!F<F5A9"@@
M8G5F9F5R+" Q+"!S:7IE;V8@8G5F9F5R+"!F<R I.PT*"6EF("@@;B ^(# @
M*0T*"2 @("!I9B H(&9W<FET92@@8G5F9F5R+" Q+"!N+"!F9" I(#P@," I
M("![#0H)"7!E<G)O<B@@9" I.PT*"0ER971U<FX@,SL-"@D@(" @?0T*(" @
M('T@=VAI;&4@*"!N(#X@," I.R @(" -"@T*(" @(&9C;&]S92@@9G,@*3L-
M"@T*(" @("\J($9I>"!T:6UE('-T86UP("HO#0H@(" @:68@*"!P<F5S97)V
M95]T:6UE("D-"@EI9B H('-E=&9T:6UE*"!F:6QE;F\H9F0I+" F5VAE;B I
M("D@('L-"@D@(" @<&5R<F]R*"!S("D[#0H)(" @('!R97-E<G9E7W1I;64@
M/2 P.PT*"7T-"B @("!F8VQO<V4H(&9D("D[#0H-"B @(" O*B!&:7@@86-C
M97-S(')I9VAT<R J+PT*(" @(&EF("@@<W1A="@@<RP@)E-T870@*2 I#0H)
M<&5R<F]R*"!S("D[#0H@(" @96QS92!I9B H(&-H;6]D*"!D+"!3=&%T+G-T
M7VUO9&4@*2 I#0H)<&5R<F]R*"!D("D[#0H-"B @("!R971U<FX@,#L-"B-E
M;F1I9@T*?0T*#0H-"@T*#0H-"FEN="!M86EN*"!I;G0@87)G8RP@8VAA<B J
M(&%R9W9;72 I#0I[#0H@(" @8VAA<B J"7!R;V=N86UE.PT*(" @(&EN= D)
M=F5R8F]S92 ](# [#0H@(" @:6YT"0EO;FQY7VEF7VYE=V5R/2 P.PT*(" @
M(&-H87(@*@ES=69F:7@@(#T@3E5,3#L-"B @("!C:&%R("H);6]D90D]($Y5
M3$P[#0H@(" @8VAA<B J( ED97-T.PT*(" @(&-H87(@*BH)<' [#0H-"B @
M("!A<F=V(#T@87)G=E]F:7@H("9A<F=C+"!A<F=V("D[#0H-"B @("!P<F]G
M;F%M92 ](&)A<V5N86UE*" J87)G=BLK("D[#0H-"B @(" O*B!P<F]C97-S
M('1H92!O<'1I;VYS("HO#0H@(" @=VAI;&4@*"!A<F=V6S!=(" F)B @87)G
M=ELP75LP72 ]/2 G+2<@*2 @>PT*"7-W:71C:" H(&%R9W9;,%U;,5T@*2 @
M>PT*"2 @("!C87-E("=.)SH-"@D@(" @(" @("LK87)G=CL-"@D);VYL>5]I
M9E]N97=E<B ](#$[#0H)"6)R96%K.PT*"2 @("!C87-E("=C)SH-"@D@(" @
M(" @("LK87)G=CL-"@D)+RH@5V4@86QW87ES(&-O<'DL(')E9V%R9&QE<W,@
M*B\-"@D)8G)E86L[#0H)(" @(&-A<V4@)W8G.@T*"0DK*V%R9W8[#0H)"79E
M<F)O<V4@/2 Q.PT*"0EB<F5A:SL-"@D@(" @8V%S92 G5B<Z#0H)"2LK87)G
M=CL-"@D)<W5F9FEX(#T@*F%R9W8[#0H)"2LK87)G=CL-"@D)8G)E86L[#0H)
M(" @(&-A<V4@)VTG.@T*"0DK*V%R9W8[#0H)"6UO9&4@/2 J87)G=CL-"@D)
M*RMA<F=V.PT*"0EB<F5A:SL-"@D@(" @9&5F875L=#H-"@D)9F%T86PH($Y5
M3$P@*3L-"@E]#0H@(" @?0T*#0H@(" @+RH@4V5P87)A=&4@<V]U<F-E(&9I
M;&4H<RD@9G)O;2!D97-T(&1I<F5C=&]R>2!O<B!F:6QE("HO#0HC:68@, T*
M(" @(&EF("@@(6%R9W9;,%T@?'P@(6%R9W9;,5T@*0T*"69A=&%L*" B;6ES
M<VEN9R!F:6QE<R!O<B!I;G9A;&ED(&1E<W1I;F%T:6]N(B I.PT*(V5L<V4-
M"B @(" O*B!792!U<V5D('1O(')E<75I<F4@870@;&5A<W0@;VYE(&9I;&4[
M(&YO="!A;GD@;6]R92 J+PT*(" @(&EF("@@(6%R9W9;,%T@*0T*"69A=&%L
M*" B;6ES<VEN9R!F:6QE<R!O<B!I;G9A;&ED(&1E<W1I;F%T:6]N(B I.PT*
M(" @(&EF("@@(6%R9W9;,5T@*0T*"7)E='5R;B P.PT*(V5N9&EF#0H@(" @
M9F]R("@@<' @/2!A<F=V.R J<' [("LK<' @*0T*"6-O;G1I;G5E.PT*(" @
M("TM<' [#0H@(" @9&5S=" ]("IP<#L-"B @(" J<' @/2!.54Q,.PT*#0H@
M(" @+RH@4')O8V5S<R!T:&4@87)G=6UE;G1S("HO#0H@(" @9F]R("@[("IA
M<F=V.R K*V%R9W8@*2 @>PT*"6-H87(@*B!F(#T@*F%R9W8[#0H)8VAA<B J
M(&QE868@/2!B87-E;F%M92@@9B I.PT*"6-H87(@=&%R9V5T6R Q,C@@73L-
M"@T*"7-T<F-P>2@@=&%R9V5T+"!D97-T("D[#0H-"@EI9B H(&ES7V1I<B@@
M=&%R9V5T("D@*2 @>PT*"2 @("!S=')C870H('1A<F=E="P@(B\B("D[#0H)
M(" @("\J(&EF('=E('=E<F4@9VEV96X@82!S=69F:7@L('1H96X@861D(&ET
M(&%S(&%P<')O<')I871E("HO#0H)(" @(&EF("@@<W5F9FEX("D@('L-"@D)
M8VAA<B J(&1O=" ]('-T<F-H<B@@;&5A9BP@)RXG("D[#0H)"6EF("@@9&]T
M("D@('L-"@D)(" @('-T<FYC870H('1A<F=E="P@;&5A9BP@9&]T+6QE868@
M*3L-"@D)(" @('-T<F-A="@@=&%R9V5T+"!S=69F:7@@*3L-"@D)(" @('-T
M<F-A="@@=&%R9V5T+"!D;W0@*3L-"@D)(" @(&EF("@@=F5R8F]S92 I#0H)
M"0EP<FEN=&8H("(E<SH@)7,@=VEL;"!B92!I;G-T86QL960@87,@)7,B+ T*
M"0D)(" @(" @('!R;V=N86UE+"!F+"!S=')R8VAR*'1A<F=E="PG+R<I*S$@
M*3L-"@D)?2!E;'-E('L-"@D)(" @('-T<F-A="@@=&%R9V5T+"!L96%F("D[
M#0H)"2 @("!S=')C870H('1A<F=E="P@<W5F9FEX("D[#0H)"7T-"@D@(" @
M?2!E;'-E('L-"@D)<W1R8V%T*"!T87)G970L(&QE868@*3L-"@D@(" @?0T*
M"7T-"@T*"6EF("@@86-C97-S*"!F+" P("D@*2 @>PT*"2 @("!C:&%R(&)U
M9ELR,#!=.PT*"2 @("!S<')I;G1F*"!B=68L(")C86YN;W0@<F5A9" E<R(L
M(&8@*3L-"@D@(" @9F%T86PH(&)U9B I.PT*"7T-"@T*"6EF("@@;VYL>5]I
M9E]N97=E<B F)B!I<U]F:6QE*"!T87)G970@*2 F)B A;F5W97(H(&8L('1A
M<F=E=" I("D@('L-"@D@(" @:68@*"!V97)B;W-E("D-"@D)<')I;G1F*" B
M)R5S)R!N;W0@;F5W97(@=&AA;B G)7,G7&XB+"!F+"!T87)G970@*3L-"@D@
M(" @8V]N=&EN=64[#0H)?0T*#0H):68@*"!V97)B;W-E("D-"@D@(" @<')I
M;G1F*" B<FT@+68@)7-<;B(L('1A<F=E=" I.PT*"6EF("@@8VAM;V0H('1A
M<F=E="P@,#<W-R I("D-"@D@(" @:68@*"!V97)B;W-E("D-"@D)<&5R<F]R
M*"!T87)G970@*3L-"@EI9B H('5N;&EN:R@@=&%R9V5T("D@*0T*"2 @("!I
M9B H('9E<F)O<V4@*0T*"0EP97)R;W(H('1A<F=E=" I.PT*"6EF("@@=F5R
M8F]S92 I#0H)(" @('!R:6YT9B@@(F-P("UP("5S("5S7&XB+"!F+"!T87)G
M970@*3L-"@EI9B H(&9I;&5C;W!Y*"!T87)G970L(&8L(#$@*2 I#0H)(" @
M(')E='5R;B Q.PT*"6EF("@@;6]D92 I("![#0H)(" @(&-H87(@8G5F6R R
M-34@73L-"@D@(" @<W!R:6YT9B@@8G5F+" B8VAM;V0@)7,@)7-<;B(L(&UO
M9&4L('1A<F=E=" I.PT*"2 @("!I9B H('9E<F)O<V4@*0T*"0EP<FEN=&8H
M("(E<UQN(BP@8G5F("D[#0H)(" @('-Y<W1E;2@@8G5F("D[#0H)?0T*(" @
:('T-"@T*(" @(')E='5R;B P.PT*?0T*#0IE
end

View File

@@ -1,513 +0,0 @@
/***** P A C K H E X . C ************************************************
*
* Packhex is a hex-file compaction utility. It attempts to concatenate
* hex records to produce more size-efficient packaging.
*
* Limitations: Input files must be correctly formatted. This utility
* is not robust enough to detect hex-record formatting
* errors.
*
* Published: 5/93 Embedded Systems magazine
*
* Compiler: Microsoft C 6.0
* cl /F 1000 packhex.c
*
*
* $Id$
*
**************************************************************************/
/* #define SMALLER_RECORDS */
#ifdef SMALLER_RECORDS
#define MAX_LEN_S1_RECS 128
#define MAX_LEN_S2_RECS 128
#define MAX_LEN_S3_RECS 128
#else
#define MAX_LEN_S1_RECS 252
#define MAX_LEN_S2_RECS 251
#define MAX_LEN_S3_RECS 250
#endif
/*--------------------------------- includes ---------------------------------*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#if defined(__unix__) && !defined(EXIT_FAILURE)
#define EXIT_FAILURE -1
#define EXIT_SUCCESS 0
#endif
/*--------------------------------- defines ----------------------------------*/
#define YES 1
#define MAX_LINE_SIZE 600
#define EOS '\0'
/*---------------------------------- macros ----------------------------------*/
/* Convert ASCII hexadecimal digit to value. */
#define HEX_DIGIT( C ) ( ( ( ( C ) > '9' ) ? ( C ) + 25 : ( C ) ) & 0xF )
/*--------------------------------- typedefs ---------------------------------*/
typedef unsigned char Boolean;
typedef unsigned char Uchar;
typedef unsigned int Uint;
typedef unsigned long Ulong;
typedef struct /* Functions and constant returning Hex-record vital stats. */
{
Boolean ( *is_data_record )( char * );
Ulong ( *get_address )( char * );
Uint ( *get_data_count )( char * );
const Uint max_data_count;
char *( *get_data_start )( char * );
void ( *put_data_record )( Uint, Ulong, char * );
} Rec_vitals;
/*--------------------------- function prototypes ----------------------------*/
Rec_vitals * identify_first_data_record( char * );
Ulong get_ndigit_hex( char *, int );
/*----------------------------- Intel Hex format -----------------------------*/
/*
* Intel Hex data-record layout
*
* :aabbbbccd...dee
*
* : - header character
* aa - record data byte count, a 2-digit hex value
* bbbb - record address, a 4-digit hex value
* cc - record type, a 2-digit hex value:
* "00" is a data record
* "01" is an end-of-data record
* "02" is an extended-address record
* "03" is a start record
* d...d - data (always an even number of chars)
* ee - record checksum, a 2-digit hex value
* checksum = 2's complement
* [ (sum of bytes: aabbbbccd...d) modulo 256 ]
*/
Boolean is_intel_data_rec( char * rec_str )
{
return( ( rec_str[ 0 ] == ':' ) && ( rec_str[ 8 ] == '0' ) );
}
Uint get_intel_rec_data_count( char * rec_str )
{
return( ( Uint ) get_ndigit_hex( rec_str + 1, 2 ) );
}
Ulong get_intel_rec_address( char * rec_str )
{
return( get_ndigit_hex( rec_str + 3, 4 ) );
}
char * get_intel_rec_data_start( char * rec_str )
{
return( rec_str + 9 );
}
void put_intel_data_rec( Uint count, Ulong address, char * data_str )
{
char *ptr;
Uint sum = count + ( address >> 8 & 0xff ) + ( address & 0xff );
for ( ptr = data_str ; *ptr != EOS ; ptr += 2 )
sum += ( Uint ) get_ndigit_hex( ptr, 2 );
printf(
":%02X%04lX00%s%02X\n", count, address, data_str, (~sum + 1) & 0xff
);
}
Rec_vitals intel_hex =
{
is_intel_data_rec,
get_intel_rec_address,
get_intel_rec_data_count,
255, /* Maximum data bytes in a record. */
get_intel_rec_data_start,
put_intel_data_rec
};
/*------------------------- Motorola S1-record format ------------------------*/
/*
* Motorola S-record data-record layout
*
* Sabbc...cd...dee
*
* S - header character
* a - record type, a 1-digit value:
* "0" is a header record
* "1" is a 2-byte-address data record
* "2" is a 3-byte-address data record
* "3" is a 4-byte-address data record
* "7" is a 4-byte-address end-of-data record
* "8" is a 3-byte-address end-of-data record
* "9" is a 2-byte-address end-of-data record
* bb - record length in bytes, a 2-digit hex value
* (record length doesn't count the header/type
* chars and checksum byte)
* c...c - record address, a 4-, 6-, or 8-digit value,
* depending on record type
* d...d - data (always an even number of chars)
* ee - record checksum, a 2-digit hex value
* checksum = 1's complement
* [ (sum of all bytes: bbc..cd...d) modulo 256 ]
*/
#define S1_COUNT_OFFSET 3
Boolean is_moto_s1_data_rec( char * rec_str )
{
return ( ( rec_str[ 0 ] == 'S' ) && ( rec_str[ 1 ] == '1' ) );
}
Uint get_moto_s1_rec_data_count( char * rec_str )
{
return( ( Uint ) get_ndigit_hex( rec_str + 2, 2 ) - S1_COUNT_OFFSET );
}
Ulong get_moto_s1_rec_address( char * rec_str )
{
return( get_ndigit_hex( rec_str + 4, 4 ) );
}
char * get_moto_s1_rec_data_start( char * rec_str )
{
return( rec_str + 8 );
}
void put_moto_s1_data_rec( Uint count, Ulong address, char * data_str )
{
char *ptr;
Uint sum = S1_COUNT_OFFSET + count +
( address >> 8 & 0xff ) + ( address & 0xff );
for ( ptr = data_str ; *ptr != EOS ; ptr += 2 )
sum += ( Uint ) get_ndigit_hex( ptr, 2 );
printf(
"S1%02X%04lX%s%02X\n",
count + S1_COUNT_OFFSET, address, data_str, ~sum & 0xff
);
}
Rec_vitals motorola_s1_rec =
{
is_moto_s1_data_rec,
get_moto_s1_rec_address,
get_moto_s1_rec_data_count,
MAX_LEN_S1_RECS, /* Maximum data bytes in a record. */
get_moto_s1_rec_data_start,
put_moto_s1_data_rec
};
/*------------------------- Motorola S2-record format ------------------------*/
#define S2_COUNT_OFFSET 4
Boolean is_moto_s2_data_rec( char * rec_str )
{
return ( ( rec_str[ 0 ] == 'S' ) && ( rec_str[ 1 ] == '2' ) );
}
Uint get_moto_s2_rec_data_count( char * rec_str )
{
return( ( Uint ) get_ndigit_hex( rec_str + 2, 2 ) - S2_COUNT_OFFSET );
}
Ulong get_moto_s2_rec_address( char * rec_str )
{
return( get_ndigit_hex( rec_str + 4, 6 ) );
}
char * get_moto_s2_rec_data_start( char * rec_str )
{
return( rec_str + 10 );
}
void put_moto_s2_data_rec( Uint count, Ulong address, char * data_str )
{
char *ptr;
Uint sum = S2_COUNT_OFFSET + count + ( address >> 16 & 0xff ) +
( address >> 8 & 0xff ) +
( address & 0xff );
for ( ptr = data_str ; *ptr != EOS ; ptr += 2 )
sum += ( Uint ) get_ndigit_hex( ptr, 2 );
printf(
"S2%02X%06lX%s%02X\n",
count + S2_COUNT_OFFSET, address, data_str, ~sum & 0xff
);
}
Rec_vitals motorola_s2_rec =
{
is_moto_s2_data_rec,
get_moto_s2_rec_address,
get_moto_s2_rec_data_count,
MAX_LEN_S2_RECS, /* Maximum data bytes in a record. */
get_moto_s2_rec_data_start,
put_moto_s2_data_rec
};
/*------------------------- Motorola S3-record format ------------------------*/
#define S3_COUNT_OFFSET 5
Boolean is_moto_s3_data_rec( char * rec_str )
{
return ( ( rec_str[ 0 ] == 'S' ) && ( rec_str[ 1 ] == '3' ) );
}
Uint get_moto_s3_rec_data_count( char * rec_str )
{
return( ( Uint ) get_ndigit_hex( rec_str + 2, 2 ) - S3_COUNT_OFFSET );
}
Ulong get_moto_s3_rec_address( char * rec_str )
{
return( get_ndigit_hex( rec_str + 4, 8 ) );
}
char * get_moto_s3_rec_data_start( char * rec_str )
{
return( rec_str + 12 );
}
void put_moto_s3_data_rec( Uint count, Ulong address, char * data_str )
{
char *ptr;
Uint sum = S3_COUNT_OFFSET + count + ( address >> 24 & 0xff ) +
( address >> 16 & 0xff ) +
( address >> 8 & 0xff ) +
( address & 0xff );
for ( ptr = data_str ; *ptr != EOS ; ptr += 2 )
sum += ( Uint ) get_ndigit_hex( ptr, 2 );
printf(
"S3%02X%08lX%s%02X\n",
count + S3_COUNT_OFFSET, address, data_str, ~sum & 0xff
);
}
Rec_vitals motorola_s3_rec =
{
is_moto_s3_data_rec,
get_moto_s3_rec_address,
get_moto_s3_rec_data_count,
MAX_LEN_S3_RECS, /* Maximum data bytes in a record. */
get_moto_s3_rec_data_start,
put_moto_s3_data_rec
};
/*-------------------- Put your favorite hex format here ---------------------*/
/*
* * * * The following is a template for an additional hex format: * * *
*
*
* Boolean is_X_data_rec( char * rec_str ) {}
*
* Uint get_X_rec_data_count( char * rec_str ) {}
*
* Ulong get_X_rec_address( char * rec_str ) {}
*
* char * get_X_rec_data_start( char * rec_str ) {}
*
* void put_X_data_rec( Uint count, Ulong address, char * data_str ) {}
*
* Rec_vitals X_rec =
* {
* is_X_data_rec,
* get_X_rec_address,
* get_X_rec_data_count,
* MAXIMUM DATA BYTES IN A RECORD,
* get_X_rec_data_start,
* put_X_data_rec
* };
*
*/
/*----------------------------------------------------------------------------*/
/*
* Put address of additional Rec_vitals structures
* in this array, before the NULL entry.
*/
Rec_vitals *formats[] =
{
&intel_hex,
&motorola_s1_rec,
&motorola_s2_rec,
&motorola_s3_rec,
( Rec_vitals * ) NULL
};
/**** main *****************************************************************
*
*
* Expects: Nothing (no command-line parameters).
*
* Returns: Exit status (EXIT_SUCCESS or EXIT_FAILURE).
*
* Reads hex records on the standard input and attempts to
* splice adjacent data fields together. Results appear on
* the standard output.
*
*******************************************************************************/
void main( void )
{
char inbuff[ MAX_LINE_SIZE ], outbuff[ MAX_LINE_SIZE ];
char *in_dptr, *out_dptr;
int d_total, d_count, d_excess, n;
Ulong in_rec_addr, out_rec_addr = 0;
Rec_vitals *rptr;
/* Sift through file until first hex record is identified. */
if ( ( rptr = identify_first_data_record( inbuff ) ) == NULL )
{
fputs( "No hex records found.\n", stderr );
exit( EXIT_FAILURE );
}
/* Attempt data-record splicing until end-of-file is reached. */
d_total = 0;
do
{
if ( rptr->is_data_record( inbuff ) == YES )
{ /* Input record is a data record. */
d_count = rptr->get_data_count( inbuff );
in_rec_addr = rptr->get_address( inbuff );
in_dptr = rptr->get_data_start( inbuff );
if ( d_total == 0 || in_rec_addr != out_rec_addr + d_total )
{ /* Begin a new output record. */
if ( d_total != 0 )
rptr->put_data_record( d_total, out_rec_addr, outbuff );
out_dptr = outbuff;
n = d_total = d_count;
out_rec_addr = in_rec_addr;
}
else if
( ( d_excess = d_total + d_count - rptr->max_data_count ) > 0 )
{ /* Output a maximum-length record, then start a new record. */
strncat( outbuff, in_dptr, 2 * ( d_count - d_excess ) );
rptr->put_data_record(
rptr->max_data_count, out_rec_addr, outbuff
);
in_dptr += 2 * ( d_count - d_excess );
out_dptr = outbuff;
n = d_total = d_excess;
out_rec_addr += rptr->max_data_count;
}
else
{ /* Append input record's data field with accumulated data. */
out_dptr = outbuff + ( 2 * d_total );
d_total += n = d_count;
}
strncpy( out_dptr, in_dptr, 2 * n );
out_dptr[ 2 * n ] = EOS;
}
else
{ /* Not a data record;
* flush accumulated data then echo non-data record.
*/
if ( d_total != 0 )
{
rptr->put_data_record( d_total, out_rec_addr, outbuff );
d_total = 0;
}
puts( inbuff );
}
} while ( gets( inbuff ) != NULL );
exit( EXIT_SUCCESS );
}
/**** identify_first_data_record *******************************************
*
* Expects: Pointer to hex-record line buffer.
*
* Returns: Pointer to hex-record structure (NULL if no match found).
*
* Reads the standard input, line by line, searching for a valid
* record header character. If a valid header is found, a pointer
* to the hex-record's type structure is returned, otherwise NULL.
*
* The input-stream pointer is left pointing to the first valid hex record.
*
*******************************************************************************/
Rec_vitals * identify_first_data_record( char * buff_ptr )
{
Rec_vitals ** ptr;
while ( gets( buff_ptr ) != NULL )
{
for ( ptr = formats ; *ptr != ( Rec_vitals * ) NULL ; ptr++ )
if ( ( *ptr )->is_data_record( buff_ptr ) == YES )
return( *ptr ); /* Successful return. */
puts( buff_ptr ); /* Echo non-hex-record line. */
}
return( ( Rec_vitals * ) NULL ); /* Unsuccessful return. */
}
/**** get_ndigit_hex *******************************************************
*
* Expects: Pointer to first ASCII hexadecimal digit, number of digits.
*
* Returns: Value of hexadecimal string as an unsigned long.
*
*******************************************************************************/
Ulong get_ndigit_hex( char * cptr, int digits )
{
Ulong value;
for ( value = 0 ; --digits >= 0 ; cptr++ )
value = ( value * 16L ) + HEX_DIGIT( *cptr );
return( value );
}

View File

@@ -1,32 +0,0 @@
#
# $Id$
#
Misc. support tools for RTEMS workspaces.
More will be added later as they are converted from Teamware
to CVS.
install-if-change
Smart install script that also can append suffixes as it
installs (suffixes used for debug and profile variants).
Requires bash or ksh.
rcs-clean
deletes all files from the current directory that can be
re-created from RCS. Careful to not delete locked files.
May be used by 'gmake clobber'
lock-directory
unlock-directory
traverse a directory structure making it unwritable.
Useful to keep people from accidentally overwriting
"released" trees if they get confused about which
module they have loaded.
rtems-glom
glom together all the rtems libraries in order to simplify
the link line used by applications.
Produces rtems.rel.
Not used by the RTEMS src tree at all.
Strictly optional.

View File

@@ -1,364 +0,0 @@
/*
* cklength - check the length of lines in a file
*
* This program check to see if the files passed to it on the command line
* contain a line which exceeds the maximum allowable length. The default
* maximum line length is 80.
*
* usage: cklength [ -v ] [ arg ... ] files...
* -l length -- maximum line length
* -v -- verbose
*
* $Id$
*/
#define GETOPTARGS "l:nNv"
char *USAGE = "\
usage: cklength [ -v ] [ arg ... ] files... \n\
-l length -- maximum line length\n\
-n -- report line numbers for offending lines\n\
-N -- report line numbers and length for offending lines\n\
-v -- verbose\n\
\n\
Print the name of files which have at least 1 line which exceeds the\n\
maximum line length. The default maximum line length is 80.\n\
";
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include <ctype.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <memory.h>
#include <stdarg.h>
#define BUFFER_SIZE 512
#define SUCCESS 0
#define FAILURE -1
#define Failed(x) (((int) (x)) == FAILURE)
#define TRUE 1
#define FALSE 0
#define STREQ(a,b) (strcmp(a,b) == 0)
#define NUMELEMS(arr) (sizeof(arr) / sizeof(arr[0]))
/*
* Definitions for unsigned "ints"; especially for use in data structures
* that will be shared among (potentially) different cpu's (we punt on
* byte ordering problems tho)
*/
typedef unsigned char u8;
typedef unsigned short u16;
typedef unsigned long u32;
/*
* vars controlled by command line options
*/
int verbose = FALSE; /* be verbose */
int report_line_numbers = FALSE; /* report line numbers of offenders */
int report_line_length = FALSE; /* report line length of offenders */
int line_length = 80; /* maximum allowable line length */
extern char *optarg; /* getopt(3) control vars */
extern int optind, opterr;
extern int errno;
char *progname; /* for error() */
int process(char *arg);
void error(int errn, ...);
long getparm(char *s, long min, long max, char *msg);
#define ERR_ERRNO (1<<((sizeof(int) * 8) - 2)) /* hi bit; use 'errno' */
#define ERR_FATAL (ERR_ERRNO / 2) /* fatal error ; no return */
#define ERR_ABORT (ERR_ERRNO / 4) /* fatal error ; abort */
#define ERR_MASK (ERR_ERRNO | ERR_FATAL | ERR_ABORT) /* all */
#define stol(p) strtol(p, (char **) NULL, 0)
int Open(), Read(), Write();
int
main(int argc, char **argv, char **env)
{
register int c;
int showusage = FALSE; /* usage error? */
int rc = 0;
/*
* figure out invocation leaf-name
*/
if ((progname = strrchr(argv[0], '/')) == (char *) NULL)
progname = argv[0];
else
progname++;
argv[0] = progname; /* for getopt err reporting */
/*
* Check options and arguments.
*/
opterr = 0; /* we'll report all errors */
while ((c = getopt(argc, argv, GETOPTARGS)) != EOF)
switch (c)
{
case 'l': /* line length */
line_length = atoi( optarg );
if ( line_length < 0 || line_length > BUFFER_SIZE )
error(ERR_FATAL, "(%d) is illegal line length\n",line_length);
break;
case 'n': /* toggle report_line_numbers */
report_line_numbers = ! report_line_numbers;
break;
case 'N': /* toggle both reports */
report_line_numbers = ! report_line_numbers;
report_line_length = ! report_line_length;
break;
case 'v': /* toggle verbose */
verbose = ! verbose;
break;
case '?':
showusage = TRUE;
}
if (showusage)
{
(void) fprintf(stderr, "%s", USAGE);
exit(1);
}
/*
* traverse and process the arguments
*/
for ( ; argv[optind]; optind++)
if (Failed(process(argv[optind])))
rc = FAILURE;
return rc;
}
/*
* process(arg)
*/
int
process(char *arg)
{
FILE *in;
char *bptr;
char buffer[ BUFFER_SIZE ];
int line_number;
int length;
int count;
int rc = SUCCESS; /* succeed by default */
in = fopen( arg, "r" );
if (!in)
error( ERR_ERRNO | ERR_FATAL, "Unable to open file (%s)\n", arg );
count = 0;
for ( line_number=1 ; ; line_number++ ) {
bptr = fgets( buffer, BUFFER_SIZE, in );
if (!bptr)
break;
/*
* Don't count the carriage return.
*/
length = strlen( buffer ) - 1;
if ( length <= line_length )
continue;
if ( count == 0 ) {
fprintf( stderr, "%s\n", arg );
if ( !report_line_numbers )
break;
}
if ( verbose )
fprintf( stderr, "TOO LONG:%d: %s\n", line_number, buffer );
if ( report_line_numbers ) {
if ( report_line_length )
fprintf( stderr, "%d: %d\n" , line_number, length );
else
fprintf( stderr, "%d\n" , line_number );
}
count++;
}
fclose( in );
return rc;
}
/*
* error(errn, arglist)
* report an error to stderr using printf(3) conventions.
* Any output is preceded by '<progname>: '
*
* Uses ERR_FATAL bit to request exit(errn)
* ERR_ABORT to request abort()
* ERR_ERRNO to indicate use of errno instead of argument.
*
* If resulting 'errn' is non-zero, it is assumed to be an 'errno' and its
* associated error message is appended to the output.
*/
/*VARARGS*/
void
error(int error_flag, ...)
{
va_list arglist;
register char *format;
extern char *sys_errlist[];
extern int sys_nerr;
int local_errno;
extern int errno;
(void) fflush(stdout); /* in case stdout/stderr same */
local_errno = error_flag & ~ERR_MASK;
if (error_flag & ERR_ERRNO) /* use errno? */
local_errno = errno;
va_start(arglist, error_flag);
format = va_arg(arglist, char *);
(void) fprintf(stderr, "%s: ", progname);
(void) vfprintf(stderr, format, arglist);
va_end(arglist);
if (local_errno)
if ((local_errno > 0) && (local_errno < sys_nerr))
(void) fprintf(stderr, " (%s)\n", sys_errlist[local_errno]);
else
(void) fprintf(stderr, " (unknown errno=%d)\n", local_errno);
else
(void) fprintf(stderr, "\n");
(void) fflush(stderr);
if (error_flag & (ERR_FATAL | ERR_ABORT))
{
if (error_flag & ERR_FATAL)
{
error(0, "fatal error, exiting");
exit(local_errno ? local_errno : 1);
}
else
{
error(0, "fatal error, aborting");
abort();
}
}
}
long
getparm(char *s,
long min,
long max,
char *msg)
{
long val;
if ( ! strchr("0123456789-", *s))
{
error(ERR_FATAL, "'%s' is not a number", s);
return min;
}
val = strtol(s, (char **) NULL, 0);
if ((val < min) || (val > max))
{
if (min == max)
error(ERR_FATAL, "%s can only be %ld", s, min);
else
error(ERR_FATAL, "%s must be between %ld and %ld", msg, min, max);
}
return val;
}
/*
* Open()
* Perform open(2), returning the file descriptor. Prints
* error message if open fails.
*/
int
Open(char *file,
int oflag,
int mode)
{
int O_fd;
if (Failed(O_fd = open(file, oflag, mode)))
error(
ERR_ERRNO | ERR_FATAL,
"open('%s', 0x%x, 0%o) failed", file, oflag, mode
);
return O_fd;
}
/*
* Read()
* Perform read(2); prints error message if fails.
*/
int
Read(int file,
char *buffer,
unsigned int count)
{
int nbytes;
if (Failed(nbytes = read(file, buffer, count)))
error(
ERR_ERRNO | ERR_FATAL,
"read(%d, 0x%x, %d) failed", file, buffer, count
);
return nbytes;
}
/*
* Write()
* Perform write(2); prints error message if fails.
*/
int
Write(int file,
char *buffer,
unsigned int count)
{
int nbytes;
if (Failed(nbytes = write(file, buffer, count)))
error(
ERR_ERRNO | ERR_FATAL,
"write(%d, 0x%x, %d) failed", file, buffer, count
);
return nbytes;
}

View File

@@ -1,351 +0,0 @@
/*
* eolstrip - strip white space from end of lines
*
* This program strips the white space from the end of every line in the
* specified program.
*
* usage: eolstrip [ -v ] [ arg ... ] files...
* -v -- verbose
*
* $Id$
*/
#define GETOPTARGS "vt"
char *USAGE = "\
usage: cklength [ -v ] [ arg ... ] files... \n\
-v -- verbose\n\
-t -- test only .. DO NOT OVERWRITE FILE!!!\n\
\n\
Strip the white space from the end of every line on the list of files.\n\
";
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include <ctype.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <memory.h>
#include <stdarg.h>
#define BUFFER_SIZE 2048
#define MAX_PATH 2048
#define SUCCESS 0
#define FAILURE -1
#define Failed(x) (((int) (x)) == FAILURE)
#define TRUE 1
#define FALSE 0
#define STREQ(a,b) (strcmp(a,b) == 0)
#define NUMELEMS(arr) (sizeof(arr) / sizeof(arr[0]))
/*
* Definitions for unsigned "ints"; especially for use in data structures
* that will be shared among (potentially) different cpu's (we punt on
* byte ordering problems tho)
*/
typedef unsigned char u8;
typedef unsigned short u16;
typedef unsigned long u32;
/*
* vars controlled by command line options
*/
int verbose = FALSE; /* be verbose */
int test_only = FALSE; /* test only */
extern char *optarg; /* getopt(3) control vars */
extern int optind, opterr;
extern int errno;
char *progname; /* for error() */
int process(char *arg);
void error(int errn, ...);
long getparm(char *s, long min, long max, char *msg);
#define ERR_ERRNO (1<<((sizeof(int) * 8) - 2)) /* hi bit; use 'errno' */
#define ERR_FATAL (ERR_ERRNO / 2) /* fatal error ; no return */
#define ERR_ABORT (ERR_ERRNO / 4) /* fatal error ; abort */
#define ERR_MASK (ERR_ERRNO | ERR_FATAL | ERR_ABORT) /* all */
#define stol(p) strtol(p, (char **) NULL, 0)
int Open(), Read(), Write();
int
main(int argc, char **argv, char **env)
{
register int c;
int showusage = FALSE; /* usage error? */
int rc = 0;
/*
* figure out invocation leaf-name
*/
if ((progname = strrchr(argv[0], '/')) == (char *) NULL)
progname = argv[0];
else
progname++;
argv[0] = progname; /* for getopt err reporting */
/*
* Check options and arguments.
*/
opterr = 0; /* we'll report all errors */
while ((c = getopt(argc, argv, GETOPTARGS)) != EOF)
switch (c)
{
case 't': /* toggle test only mode */
test_only = ! test_only;
break;
case 'v': /* toggle verbose */
verbose = ! verbose;
break;
case '?':
showusage = TRUE;
}
if (showusage)
{
(void) fprintf(stderr, "%s", USAGE);
exit(1);
}
/*
* traverse and process the arguments
*/
for ( ; argv[optind]; optind++)
if (Failed(process(argv[optind])))
rc = FAILURE;
return rc;
}
/*
* process(arg)
*/
int
process(char *arg)
{
FILE *in;
FILE *out = (FILE *) 0;
char outname[ MAX_PATH ];
char *bptr;
char buffer[ BUFFER_SIZE ];
int length;
int line_number;
int rc = SUCCESS; /* succeed by default */
in = fopen( arg, "r" );
if (!in)
error( ERR_ERRNO | ERR_FATAL, "Unable to open file (%s)\n", arg );
if ( !test_only ) {
sprintf( outname, "%s.eoltmp", arg );
out = fopen( outname, "w" );
if (!out)
error( ERR_ERRNO | ERR_FATAL, "Unable to open file (%s)\n", arg );
}
if ( verbose )
fprintf( stderr, "Processing %s\n", arg );
for ( line_number=1 ; ; line_number++ ) {
bptr = fgets( buffer, BUFFER_SIZE, in );
if (!bptr)
break;
/*
* Don't count the carriage return.
*/
length = strlen( buffer ) - 1;
if ( buffer[ length ] != '\n' )
error(ERR_ERRNO|ERR_FATAL, "Line %d too long in %s\n", line_number, arg);
while ( isspace( buffer[ length ] ) )
buffer[ length-- ] = '\0';
if ( test_only ) {
fprintf( stderr, "%s\n", arg );
break;
}
fprintf( out, "%s\n", buffer );
}
fclose( in );
if ( !test_only ) {
fclose( out );
rename( outname, arg );
}
return rc;
}
/*
* error(errn, arglist)
* report an error to stderr using printf(3) conventions.
* Any output is preceded by '<progname>: '
*
* Uses ERR_FATAL bit to request exit(errn)
* ERR_ABORT to request abort()
* ERR_ERRNO to indicate use of errno instead of argument.
*
* If resulting 'errn' is non-zero, it is assumed to be an 'errno' and its
* associated error message is appended to the output.
*/
/*VARARGS*/
void
error(int error_flag, ...)
{
va_list arglist;
register char *format;
extern char *sys_errlist[];
extern int sys_nerr;
int local_errno;
extern int errno;
(void) fflush(stdout); /* in case stdout/stderr same */
local_errno = error_flag & ~ERR_MASK;
if (error_flag & ERR_ERRNO) /* use errno? */
local_errno = errno;
va_start(arglist, error_flag);
format = va_arg(arglist, char *);
(void) fprintf(stderr, "%s: ", progname);
(void) vfprintf(stderr, format, arglist);
va_end(arglist);
if (local_errno)
if ((local_errno > 0) && (local_errno < sys_nerr))
(void) fprintf(stderr, " (%s)\n", sys_errlist[local_errno]);
else
(void) fprintf(stderr, " (unknown errno=%d)\n", local_errno);
else
(void) fprintf(stderr, "\n");
(void) fflush(stderr);
if (error_flag & (ERR_FATAL | ERR_ABORT))
{
if (error_flag & ERR_FATAL)
{
error(0, "fatal error, exiting");
exit(local_errno ? local_errno : 1);
}
else
{
error(0, "fatal error, aborting");
abort();
}
}
}
long
getparm(char *s,
long min,
long max,
char *msg)
{
long val;
if ( ! strchr("0123456789-", *s))
{
error(ERR_FATAL, "'%s' is not a number", s);
return min;
}
val = strtol(s, (char **) NULL, 0);
if ((val < min) || (val > max))
{
if (min == max)
error(ERR_FATAL, "%s can only be %ld", s, min);
else
error(ERR_FATAL, "%s must be between %ld and %ld", msg, min, max);
}
return val;
}
/*
* Open()
* Perform open(2), returning the file descriptor. Prints
* error message if open fails.
*/
int
Open(char *file,
int oflag,
int mode)
{
int O_fd;
if (Failed(O_fd = open(file, oflag, mode)))
error(
ERR_ERRNO | ERR_FATAL,
"open('%s', 0x%x, 0%o) failed", file, oflag, mode
);
return O_fd;
}
/*
* Read()
* Perform read(2); prints error message if fails.
*/
int
Read(int file,
char *buffer,
unsigned int count)
{
int nbytes;
if (Failed(nbytes = read(file, buffer, count)))
error(
ERR_ERRNO | ERR_FATAL,
"read(%d, 0x%x, %d) failed", file, buffer, count
);
return nbytes;
}
/*
* Write()
* Perform write(2); prints error message if fails.
*/
int
Write(int file,
char *buffer,
unsigned int count)
{
int nbytes;
if (Failed(nbytes = write(file, buffer, count)))
error(
ERR_ERRNO | ERR_FATAL,
"write(%d, 0x%x, %d) failed", file, buffer, count
);
return nbytes;
}

View File

@@ -1,513 +0,0 @@
/***** P A C K H E X . C ************************************************
*
* Packhex is a hex-file compaction utility. It attempts to concatenate
* hex records to produce more size-efficient packaging.
*
* Limitations: Input files must be correctly formatted. This utility
* is not robust enough to detect hex-record formatting
* errors.
*
* Published: 5/93 Embedded Systems magazine
*
* Compiler: Microsoft C 6.0
* cl /F 1000 packhex.c
*
*
* $Id$
*
**************************************************************************/
/* #define SMALLER_RECORDS */
#ifdef SMALLER_RECORDS
#define MAX_LEN_S1_RECS 128
#define MAX_LEN_S2_RECS 128
#define MAX_LEN_S3_RECS 128
#else
#define MAX_LEN_S1_RECS 252
#define MAX_LEN_S2_RECS 251
#define MAX_LEN_S3_RECS 250
#endif
/*--------------------------------- includes ---------------------------------*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#if defined(__unix__) && !defined(EXIT_FAILURE)
#define EXIT_FAILURE -1
#define EXIT_SUCCESS 0
#endif
/*--------------------------------- defines ----------------------------------*/
#define YES 1
#define MAX_LINE_SIZE 600
#define EOS '\0'
/*---------------------------------- macros ----------------------------------*/
/* Convert ASCII hexadecimal digit to value. */
#define HEX_DIGIT( C ) ( ( ( ( C ) > '9' ) ? ( C ) + 25 : ( C ) ) & 0xF )
/*--------------------------------- typedefs ---------------------------------*/
typedef unsigned char Boolean;
typedef unsigned char Uchar;
typedef unsigned int Uint;
typedef unsigned long Ulong;
typedef struct /* Functions and constant returning Hex-record vital stats. */
{
Boolean ( *is_data_record )( char * );
Ulong ( *get_address )( char * );
Uint ( *get_data_count )( char * );
const Uint max_data_count;
char *( *get_data_start )( char * );
void ( *put_data_record )( Uint, Ulong, char * );
} Rec_vitals;
/*--------------------------- function prototypes ----------------------------*/
Rec_vitals * identify_first_data_record( char * );
Ulong get_ndigit_hex( char *, int );
/*----------------------------- Intel Hex format -----------------------------*/
/*
* Intel Hex data-record layout
*
* :aabbbbccd...dee
*
* : - header character
* aa - record data byte count, a 2-digit hex value
* bbbb - record address, a 4-digit hex value
* cc - record type, a 2-digit hex value:
* "00" is a data record
* "01" is an end-of-data record
* "02" is an extended-address record
* "03" is a start record
* d...d - data (always an even number of chars)
* ee - record checksum, a 2-digit hex value
* checksum = 2's complement
* [ (sum of bytes: aabbbbccd...d) modulo 256 ]
*/
Boolean is_intel_data_rec( char * rec_str )
{
return( ( rec_str[ 0 ] == ':' ) && ( rec_str[ 8 ] == '0' ) );
}
Uint get_intel_rec_data_count( char * rec_str )
{
return( ( Uint ) get_ndigit_hex( rec_str + 1, 2 ) );
}
Ulong get_intel_rec_address( char * rec_str )
{
return( get_ndigit_hex( rec_str + 3, 4 ) );
}
char * get_intel_rec_data_start( char * rec_str )
{
return( rec_str + 9 );
}
void put_intel_data_rec( Uint count, Ulong address, char * data_str )
{
char *ptr;
Uint sum = count + ( address >> 8 & 0xff ) + ( address & 0xff );
for ( ptr = data_str ; *ptr != EOS ; ptr += 2 )
sum += ( Uint ) get_ndigit_hex( ptr, 2 );
printf(
":%02X%04lX00%s%02X\n", count, address, data_str, (~sum + 1) & 0xff
);
}
Rec_vitals intel_hex =
{
is_intel_data_rec,
get_intel_rec_address,
get_intel_rec_data_count,
255, /* Maximum data bytes in a record. */
get_intel_rec_data_start,
put_intel_data_rec
};
/*------------------------- Motorola S1-record format ------------------------*/
/*
* Motorola S-record data-record layout
*
* Sabbc...cd...dee
*
* S - header character
* a - record type, a 1-digit value:
* "0" is a header record
* "1" is a 2-byte-address data record
* "2" is a 3-byte-address data record
* "3" is a 4-byte-address data record
* "7" is a 4-byte-address end-of-data record
* "8" is a 3-byte-address end-of-data record
* "9" is a 2-byte-address end-of-data record
* bb - record length in bytes, a 2-digit hex value
* (record length doesn't count the header/type
* chars and checksum byte)
* c...c - record address, a 4-, 6-, or 8-digit value,
* depending on record type
* d...d - data (always an even number of chars)
* ee - record checksum, a 2-digit hex value
* checksum = 1's complement
* [ (sum of all bytes: bbc..cd...d) modulo 256 ]
*/
#define S1_COUNT_OFFSET 3
Boolean is_moto_s1_data_rec( char * rec_str )
{
return ( ( rec_str[ 0 ] == 'S' ) && ( rec_str[ 1 ] == '1' ) );
}
Uint get_moto_s1_rec_data_count( char * rec_str )
{
return( ( Uint ) get_ndigit_hex( rec_str + 2, 2 ) - S1_COUNT_OFFSET );
}
Ulong get_moto_s1_rec_address( char * rec_str )
{
return( get_ndigit_hex( rec_str + 4, 4 ) );
}
char * get_moto_s1_rec_data_start( char * rec_str )
{
return( rec_str + 8 );
}
void put_moto_s1_data_rec( Uint count, Ulong address, char * data_str )
{
char *ptr;
Uint sum = S1_COUNT_OFFSET + count +
( address >> 8 & 0xff ) + ( address & 0xff );
for ( ptr = data_str ; *ptr != EOS ; ptr += 2 )
sum += ( Uint ) get_ndigit_hex( ptr, 2 );
printf(
"S1%02X%04lX%s%02X\n",
count + S1_COUNT_OFFSET, address, data_str, ~sum & 0xff
);
}
Rec_vitals motorola_s1_rec =
{
is_moto_s1_data_rec,
get_moto_s1_rec_address,
get_moto_s1_rec_data_count,
MAX_LEN_S1_RECS, /* Maximum data bytes in a record. */
get_moto_s1_rec_data_start,
put_moto_s1_data_rec
};
/*------------------------- Motorola S2-record format ------------------------*/
#define S2_COUNT_OFFSET 4
Boolean is_moto_s2_data_rec( char * rec_str )
{
return ( ( rec_str[ 0 ] == 'S' ) && ( rec_str[ 1 ] == '2' ) );
}
Uint get_moto_s2_rec_data_count( char * rec_str )
{
return( ( Uint ) get_ndigit_hex( rec_str + 2, 2 ) - S2_COUNT_OFFSET );
}
Ulong get_moto_s2_rec_address( char * rec_str )
{
return( get_ndigit_hex( rec_str + 4, 6 ) );
}
char * get_moto_s2_rec_data_start( char * rec_str )
{
return( rec_str + 10 );
}
void put_moto_s2_data_rec( Uint count, Ulong address, char * data_str )
{
char *ptr;
Uint sum = S2_COUNT_OFFSET + count + ( address >> 16 & 0xff ) +
( address >> 8 & 0xff ) +
( address & 0xff );
for ( ptr = data_str ; *ptr != EOS ; ptr += 2 )
sum += ( Uint ) get_ndigit_hex( ptr, 2 );
printf(
"S2%02X%06lX%s%02X\n",
count + S2_COUNT_OFFSET, address, data_str, ~sum & 0xff
);
}
Rec_vitals motorola_s2_rec =
{
is_moto_s2_data_rec,
get_moto_s2_rec_address,
get_moto_s2_rec_data_count,
MAX_LEN_S2_RECS, /* Maximum data bytes in a record. */
get_moto_s2_rec_data_start,
put_moto_s2_data_rec
};
/*------------------------- Motorola S3-record format ------------------------*/
#define S3_COUNT_OFFSET 5
Boolean is_moto_s3_data_rec( char * rec_str )
{
return ( ( rec_str[ 0 ] == 'S' ) && ( rec_str[ 1 ] == '3' ) );
}
Uint get_moto_s3_rec_data_count( char * rec_str )
{
return( ( Uint ) get_ndigit_hex( rec_str + 2, 2 ) - S3_COUNT_OFFSET );
}
Ulong get_moto_s3_rec_address( char * rec_str )
{
return( get_ndigit_hex( rec_str + 4, 8 ) );
}
char * get_moto_s3_rec_data_start( char * rec_str )
{
return( rec_str + 12 );
}
void put_moto_s3_data_rec( Uint count, Ulong address, char * data_str )
{
char *ptr;
Uint sum = S3_COUNT_OFFSET + count + ( address >> 24 & 0xff ) +
( address >> 16 & 0xff ) +
( address >> 8 & 0xff ) +
( address & 0xff );
for ( ptr = data_str ; *ptr != EOS ; ptr += 2 )
sum += ( Uint ) get_ndigit_hex( ptr, 2 );
printf(
"S3%02X%08lX%s%02X\n",
count + S3_COUNT_OFFSET, address, data_str, ~sum & 0xff
);
}
Rec_vitals motorola_s3_rec =
{
is_moto_s3_data_rec,
get_moto_s3_rec_address,
get_moto_s3_rec_data_count,
MAX_LEN_S3_RECS, /* Maximum data bytes in a record. */
get_moto_s3_rec_data_start,
put_moto_s3_data_rec
};
/*-------------------- Put your favorite hex format here ---------------------*/
/*
* * * * The following is a template for an additional hex format: * * *
*
*
* Boolean is_X_data_rec( char * rec_str ) {}
*
* Uint get_X_rec_data_count( char * rec_str ) {}
*
* Ulong get_X_rec_address( char * rec_str ) {}
*
* char * get_X_rec_data_start( char * rec_str ) {}
*
* void put_X_data_rec( Uint count, Ulong address, char * data_str ) {}
*
* Rec_vitals X_rec =
* {
* is_X_data_rec,
* get_X_rec_address,
* get_X_rec_data_count,
* MAXIMUM DATA BYTES IN A RECORD,
* get_X_rec_data_start,
* put_X_data_rec
* };
*
*/
/*----------------------------------------------------------------------------*/
/*
* Put address of additional Rec_vitals structures
* in this array, before the NULL entry.
*/
Rec_vitals *formats[] =
{
&intel_hex,
&motorola_s1_rec,
&motorola_s2_rec,
&motorola_s3_rec,
( Rec_vitals * ) NULL
};
/**** main *****************************************************************
*
*
* Expects: Nothing (no command-line parameters).
*
* Returns: Exit status (EXIT_SUCCESS or EXIT_FAILURE).
*
* Reads hex records on the standard input and attempts to
* splice adjacent data fields together. Results appear on
* the standard output.
*
*******************************************************************************/
void main( void )
{
char inbuff[ MAX_LINE_SIZE ], outbuff[ MAX_LINE_SIZE ];
char *in_dptr, *out_dptr;
int d_total, d_count, d_excess, n;
Ulong in_rec_addr, out_rec_addr = 0;
Rec_vitals *rptr;
/* Sift through file until first hex record is identified. */
if ( ( rptr = identify_first_data_record( inbuff ) ) == NULL )
{
fputs( "No hex records found.\n", stderr );
exit( EXIT_FAILURE );
}
/* Attempt data-record splicing until end-of-file is reached. */
d_total = 0;
do
{
if ( rptr->is_data_record( inbuff ) == YES )
{ /* Input record is a data record. */
d_count = rptr->get_data_count( inbuff );
in_rec_addr = rptr->get_address( inbuff );
in_dptr = rptr->get_data_start( inbuff );
if ( d_total == 0 || in_rec_addr != out_rec_addr + d_total )
{ /* Begin a new output record. */
if ( d_total != 0 )
rptr->put_data_record( d_total, out_rec_addr, outbuff );
out_dptr = outbuff;
n = d_total = d_count;
out_rec_addr = in_rec_addr;
}
else if
( ( d_excess = d_total + d_count - rptr->max_data_count ) > 0 )
{ /* Output a maximum-length record, then start a new record. */
strncat( outbuff, in_dptr, 2 * ( d_count - d_excess ) );
rptr->put_data_record(
rptr->max_data_count, out_rec_addr, outbuff
);
in_dptr += 2 * ( d_count - d_excess );
out_dptr = outbuff;
n = d_total = d_excess;
out_rec_addr += rptr->max_data_count;
}
else
{ /* Append input record's data field with accumulated data. */
out_dptr = outbuff + ( 2 * d_total );
d_total += n = d_count;
}
strncpy( out_dptr, in_dptr, 2 * n );
out_dptr[ 2 * n ] = EOS;
}
else
{ /* Not a data record;
* flush accumulated data then echo non-data record.
*/
if ( d_total != 0 )
{
rptr->put_data_record( d_total, out_rec_addr, outbuff );
d_total = 0;
}
puts( inbuff );
}
} while ( gets( inbuff ) != NULL );
exit( EXIT_SUCCESS );
}
/**** identify_first_data_record *******************************************
*
* Expects: Pointer to hex-record line buffer.
*
* Returns: Pointer to hex-record structure (NULL if no match found).
*
* Reads the standard input, line by line, searching for a valid
* record header character. If a valid header is found, a pointer
* to the hex-record's type structure is returned, otherwise NULL.
*
* The input-stream pointer is left pointing to the first valid hex record.
*
*******************************************************************************/
Rec_vitals * identify_first_data_record( char * buff_ptr )
{
Rec_vitals ** ptr;
while ( gets( buff_ptr ) != NULL )
{
for ( ptr = formats ; *ptr != ( Rec_vitals * ) NULL ; ptr++ )
if ( ( *ptr )->is_data_record( buff_ptr ) == YES )
return( *ptr ); /* Successful return. */
puts( buff_ptr ); /* Echo non-hex-record line. */
}
return( ( Rec_vitals * ) NULL ); /* Unsuccessful return. */
}
/**** get_ndigit_hex *******************************************************
*
* Expects: Pointer to first ASCII hexadecimal digit, number of digits.
*
* Returns: Value of hexadecimal string as an unsigned long.
*
*******************************************************************************/
Ulong get_ndigit_hex( char * cptr, int digits )
{
Ulong value;
for ( value = 0 ; --digits >= 0 ; cptr++ )
value = ( value * 16L ) + HEX_DIGIT( *cptr );
return( value );
}

View File

@@ -1,721 +0,0 @@
/*
* unhex
* convert a hex file to binary equivalent. If more than one file name
* is given, then the output will be logically concatenated together.
* stdin and stdout are defaults. Verbose will enable checksum output.
*
* Supported input formats are Intel hex, Motorola S records, and TI 'B'
* records.
*
* Intel hex input format is
* Byte
* 1 Colon :
* 2..3 Record length, eg: "20"
* 4..7 load address nibbles
* 8..9 record type: "00" (data) or "02" base addr
* 10..x data bytes in ascii-hex
* x+1..x+2 cksum (2's compl of (len+addr+data))
* x+3 \n -- newline
*
* $Id$
*/
char *USAGE = "\
usage: unhex [-va] [ -o file ] [ file [file ... ] ]\n\
-v -- verbose\n\
-a base -- 1st byte of output corresponds to this address\n\
-l -- linear, just writes data out\n\
-o file -- output file; must not be input file\n\
-F k_bits -- \"holes\" in input will be filled with 0xFF's\n\
up to \"k_bits\" * 1024 bits\n\
";
#include <stdio.h>
#include <fcntl.h>
#include <ctype.h>
#include <string.h>
#include <unistd.h>
#include <stdlib.h>
#include <stdarg.h>
#define OK 0
#define FAILURE (-1)
#define Failed(x) ((x) == FAILURE)
#define TRUE 1
#define FALSE 0
typedef char bool;
#define STREQ(a,b) (strcmp(a,b) == 0)
typedef unsigned char u8;
typedef unsigned short u16;
typedef unsigned long u32;
/*
* Pick out designated bytes
*/
#define B0(x) ((x) & 0xff)
#define B1(x) B0((x) >> 8)
#define B2(x) B0((x) >> 16)
#define B3(x) B0((x) >> 24)
typedef struct buffer_rec {
u32 dl_destaddr;
u32 dl_jumpaddr;
int dl_count;
u8 dl_buf[512];
} buffer_rec;
/*
* vars controlled by command line options
*/
bool verbose = FALSE; /* be verbose */
bool linear = FALSE; /* just write out linear data */
char *outfilename = "-"; /* default output is stdout */
u32 base = 0L; /* base address */
u32 FFfill = 0L; /* how far to fill w 0xFF's */
extern char *optarg; /* getopt(3) control vars */
extern int optind;
extern int errno;
char *progname; /* for error() */
void error(int errn, ...);
#define ERR_ERRNO (1<<((sizeof(int) * 8) - 2)) /* hi bit; use 'errno' */
#define ERR_FATAL (ERR_ERRNO / 2) /* error is fatal; no return */
#define ERR_ABORT (ERR_ERRNO / 4) /* error is fatal; abort */
#define ERR_MASK (ERR_ERRNO | ERR_FATAL | ERR_ABORT) /* all */
#define stol(p) strtoul(p, (char **) NULL, 0)
int unhex(FILE *ifp, char *inm, FILE *ofp, char *onm);
int convert_Intel_records(FILE *ifp, char *inm, FILE *ofp, char *onm);
int convert_S_records(FILE *ifp, char *inm, FILE *ofp, char *onm);
int convert_TI_records(FILE *ifp, char *inm, FILE *ofp, char *onm);
void write_record(buffer_rec *tb, FILE *fp);
int getnibble(char **p);
int getbyte(char **p);
long getNbytes(char **p, int n);
void badformat(char *s, char *fname, char *msg);
#define get1bytes(p) ((int) getbyte(p))
#define get2bytes(p) ((int) getNbytes(p, 2))
#define get3bytes(p) getNbytes(p, 3)
#define get4bytes(p) getNbytes(p, 4)
char *BADADDR = "Invalid record address";
char *BADLEN = "Invalid record length";
char *BADBASE = "Bad base or starting address";
char *BADFMT = "Unrecognized record type";
char *BADDATA = "Invalid data byte";
char *BADCSUM = "Invalid checksum";
char *MISCSUM = "Checksum mismatch";
char *BADTYPE = "Unrecognized record type";
char *MISTYPE = "Incompatible record types";
int
main(argc, argv)
int argc;
char **argv;
{
register int c;
bool showusage = FALSE; /* usage error? */
int rc = 0;
FILE *outfp, *infp;
/*
* figure out invocation leaf-name
*/
if ((progname = strrchr(argv[0], '/')) == (char *) NULL)
progname = argv[0];
else
progname++;
argv[0] = progname; /* for getopt err reporting */
/*
* Check options and arguments.
*/
progname = argv[0];
while ((c = getopt(argc, argv, "F:a:o:vl")) != EOF)
switch (c)
{
case 'a': /* base address */
base = stol(optarg);
break;
case 'l': /* linear output */
linear = TRUE;
break;
case 'v': /* toggle verbose */
verbose = ! verbose;
break;
case 'o': /* output file */
outfilename = optarg;
break;
case 'F': /* 0xFF fill amount (bytes) */
FFfill = stol(optarg) * 1024L / 8L;
break;
case '?':
showusage = TRUE;
}
if (showusage)
{
(void) fprintf(stderr, "%s", USAGE);
exit(1);
}
if (linear && (base != 0))
{
error(0, "-l and -a may not be specified in combination");
exit(1);
}
if (STREQ(outfilename, "-"))
{
outfp = stdout;
outfilename = "stdout";
}
else
if ((outfp = fopen(outfilename, "w")) == (FILE *) NULL)
{
error(-1, "couldn't open '%s' for output", outfilename);
exit(1);
}
/*
* Now process the input files (or stdin, if none specified)
*/
if (argv[optind] == (char *) NULL) /* just stdin */
exit(unhex(stdin, "stdin", outfp, outfilename));
else
for (; (optarg = argv[optind]); optind++)
{
if (STREQ(optarg, "-"))
rc += unhex(stdin, "stdin", outfp, outfilename);
else
{
if ((infp = fopen(optarg, "r")) == (FILE *) NULL)
{
error(-1, "couldn't open '%s' for input", optarg);
exit(1);
}
rc += unhex(infp, optarg, outfp, outfilename);
}
}
return(rc);
}
u16 filesum;
int
unhex(FILE *ifp,
char *inm,
FILE *ofp,
char *onm)
{
int c;
filesum = 0;
/*
* Make sure holes will be filled with 0xFF's if requested. We
* do this the easy way by just filling the file with FF's before
* getting started. To do it more optimally would be quite a bit
* more difficult since the user can skip around as much as he/she
* likes in the input hex file addressing.
*
* We'll clean this up later (after this program has run) with
* 'stripffs'
*/
if (FFfill)
{
(void) fseek(ofp, 0, 0);
for (c = FFfill; c > 0; c--)
(void) fputc(0xFF, ofp);
}
/*
* Read the first char from file and determine record types
*/
if ((c = getc(ifp)) != EOF)
{
ungetc(c, ifp);
switch(c)
{
case 'S':
convert_S_records(ifp, inm, ofp, onm);
break;
case ':':
convert_Intel_records(ifp, inm, ofp, onm);
break;
case '9':
case 'B':
convert_TI_records(ifp, inm, ofp, onm);
break;
default:
{
char tmp[2];
tmp[0] = c; tmp[1] = 0;
badformat(tmp, inm, BADFMT);
}
}
}
if (verbose)
fprintf(stderr, "'%s' checksum is 0x%04x\n", inm, filesum);
return 0;
}
int
convert_Intel_records(
FILE *ifp,
char *inm,
FILE *ofp,
char *onm)
{
char buff[512];
char *p;
u8 cksum;
int incksum;
int c;
int rectype; /* record type */
int len; /* data length of current line */
u32 addr;
u32 base_address = 0;
bool endrecord = FALSE;
buffer_rec tb;
while ( ! endrecord && (fgets(buff, sizeof(buff), ifp)))
{
p = &buff[0];
if (p[strlen(p)-1] == '\n') /* get rid of newline */
p[strlen(p)-1] = '\0';
if (p[strlen(p)-1] == '\r') /* get rid of any CR */
p[strlen(p)-1] = '\0';
tb.dl_count = 0;
if (*p != ':')
badformat(p, inm, BADFMT);
p++;
if ((len = getbyte(&p)) == -1) /* record len */
badformat(buff, inm, BADLEN);
if ((addr = get2bytes(&p)) == -1L) /* record addr */
badformat(buff, inm, BADADDR);
rectype = getbyte(&p);
cksum = len + B0(addr) + B1(addr) + rectype;
switch (rectype)
{
case 0x00: /* normal data record */
tb.dl_destaddr = base_address + addr;
while (len--)
{
if ((c = getbyte(&p)) == -1)
badformat(buff, inm, BADDATA);
cksum += c;
filesum += c;
tb.dl_buf[tb.dl_count++] = c;
}
break;
case 0x01: /* execution start address */
base_address = addr;
endrecord = TRUE;
break;
case 0x02: /* new base */
if ((base_address = get2bytes(&p)) == -1L)
badformat(buff, inm, BADBASE);
cksum += B0(base_address) + B1(base_address);
base_address <<= 4;
break;
case 0x03: /* seg/off execution start address */
{
u32 seg, off;
seg = get2bytes(&p);
off = get2bytes(&p);
if ((seg == -1L) || (off == -1L))
badformat(buff, inm, BADADDR);
cksum += B0(seg) + B1(seg) + B0(off) + B1(off);
tb.dl_jumpaddr = (seg << 4) + off;
break;
}
default:
error(0, "unknown Intel-hex record type: 0x%02x", rectype);
badformat(buff, inm, BADTYPE);
}
/*
* Verify checksums are correct in file.
*/
cksum = (-cksum) & 0xff;
if ((incksum = getbyte(&p)) == -1)
badformat(buff, inm, BADCSUM);
if (((u8) incksum) != cksum)
badformat(buff, inm, MISCSUM);
if (tb.dl_count)
write_record(&tb, ofp);
}
return 0;
}
int
convert_S_records(
FILE *ifp,
char *inm,
FILE *ofp,
char *onm)
{
char buff[512];
char *p;
u8 cksum;
int incksum;
int c;
int len; /* data length of current line */
int rectype; /* record type */
u32 addr;
bool endrecord = FALSE;
buffer_rec tb;
while ( ! endrecord && (fgets(buff, sizeof(buff), ifp)))
{
p = &buff[0];
if (p[strlen(p)-1] == '\n') /* get rid of newline */
p[strlen(p)-1] = '\0';
if (p[strlen(p)-1] == '\r') /* get rid of any CR */
p[strlen(p)-1] = '\0';
tb.dl_count = 0;
if (*p != 'S')
badformat(p, inm, BADFMT);
p++;
if ((rectype = getnibble(&p)) == -1) /* record type */
badformat(buff, inm, BADTYPE);
if ((len = getbyte(&p)) == -1) /* record len */
badformat(buff, inm, BADLEN);
cksum = len;
switch (rectype)
{
case 0x00: /* comment field, ignored */
goto write_it;
case 0x01: /* data record, 16 bit addr */
if ((addr = get2bytes(&p)) == -1L)
badformat(buff, inm, BADADDR);
len -= 3;
goto doit;
case 0x02: /* ... 24 bit addr */
if ((addr = get3bytes(&p)) == -1L)
badformat(buff, inm, BADADDR);
len -= 4;
goto doit;
case 0x03: /* ... 32 bit addr */
if ((addr = get4bytes(&p)) == -1L)
badformat(buff, inm, BADADDR);
len -= 5;
doit:
cksum += B0(addr) + B1(addr) + B2(addr) + B3(addr);
tb.dl_destaddr = addr;
while (len--)
{
if ((c = getbyte(&p)) == -1)
badformat(buff, inm, BADDATA);
cksum += c;
filesum += c;
tb.dl_buf[tb.dl_count++] = c;
}
break;
case 0x07: /* 32 bit end record */
if ((addr = get4bytes(&p)) == -1L)
badformat(buff, inm, BADADDR);
goto end_rec;
case 0x08: /* 24 bit end record */
if ((addr = get3bytes(&p)) == -1L)
badformat(buff, inm, BADADDR);
goto end_rec;
case 0x09: /* 16 bit end record */
if ((addr = get2bytes(&p)) == -1L)
badformat(buff, inm, BADADDR);
end_rec:
cksum += B0(addr) + B1(addr) + B2(addr) + B3(addr);
tb.dl_jumpaddr = addr;
break;
default:
error(0, "unknown Motorola-S record type: 0x%02x", rectype);
badformat(buff, inm, BADTYPE);
break;
}
/*
* Verify checksums are correct in file.
*/
cksum = (~cksum) & 0xff;
if ((incksum = getbyte(&p)) == -1)
badformat(buff, inm, BADCSUM);
if (((u8) incksum) != cksum)
badformat(buff, inm, MISCSUM);
write_it:
if (tb.dl_count)
write_record(&tb, ofp);
}
return 0;
}
int
convert_TI_records(
FILE *ifp,
char *inm,
FILE *ofp,
char *onm)
{
char buff[512];
char *p;
int c;
bool endrecord = FALSE;
bool eol;
buffer_rec tb;
while ( ! endrecord && (fgets(buff, sizeof(buff), ifp)))
{
if (p[strlen(p)-1] == '\n') /* get rid of newline */
p[strlen(p)-1] = '\0';
if (p[strlen(p)-1] == '\r') /* get rid of any CR */
p[strlen(p)-1] = '\0';
tb.dl_count = 0;
p = &buff[0];
eol = FALSE;
while ( ! eol && ! endrecord)
{
switch (*p++)
{
case '9':
if (tb.dl_count)
write_record(&tb, ofp);
tb.dl_destaddr = get2bytes(&p);
break;
case 'B':
c = getbyte(&p);
filesum += c;
tb.dl_buf[tb.dl_count++] = c;
c = getbyte(&p);
filesum += c;
tb.dl_buf[tb.dl_count++] = c;
break;
case 'F':
eol = TRUE;
break;
case ':':
endrecord = TRUE;
break;
default:
badformat(p, inm, BADFMT);
}
}
if (tb.dl_count)
write_record(&tb, ofp);
}
return 0;
}
void
write_record(buffer_rec *tb,
FILE *fp)
{
if ( ! linear)
{
if (tb->dl_destaddr < base)
error(ERR_FATAL, "record at address 0x%x precedes base of 0x%x",
tb->dl_destaddr, base);
(void) fseek(fp, tb->dl_destaddr - base, 0);
}
(void) fwrite(tb->dl_buf, tb->dl_count, 1, fp);
tb->dl_destaddr += tb->dl_count;
tb->dl_count = 0;
}
int
getnibble(char **p)
{
register int val;
**p = toupper(**p);
switch (**p)
{
case '0': case '1': case '2': case '3': case '4':
case '5': case '6': case '7': case '8': case '9':
val = **p - '0';
break;
case 'A': case 'B': case 'C': case 'D': case 'E': case 'F':
val = 10 + (**p - 'A');
break;
default:
return(-1);
}
*p += 1;
return(val & 0x0f);
}
int
getbyte(char **p)
{
int n0, n1;
if ((n0 = getnibble(p)) == -1)
return(-1);
if ((n1 = getnibble(p)) == -1)
return(-1);
return(((n0 << 4) + n1) & 0xff);
}
long
getNbytes(char **p,
int n)
{
int t;
u32 val = 0;
while (n--)
{
if ((t = getbyte(p)) == -1)
return(-1L);
val <<= 8;
val += t;
}
return(val);
}
void
badformat(char *s,
char *fname,
char *msg)
{
if (s[strlen(s)-1] == '\n') /* get rid of newline */
s[strlen(s)-1] = '\0';
error(0, "line '%s'::\n\tfrom file '%s'; %s", s, fname, msg);
exit(1);
}
/*
* error(errn, arglist)
* report an error to stderr using printf(3) conventions.
* Any output is preceded by '<progname>: '
*
* Uses ERR_EXIT bit to request exit(errn)
* ERR_ABORT to request abort()
* ERR_ERRNO to indicate use of errno instead of argument.
*
* If resulting 'errn' is non-zero, it is assumed to be an 'errno' and its
* associated error message is appended to the output.
*/
/*VARARGS*/
void
error(int error_flag, ...)
{
va_list arglist;
register char *format;
extern char *sys_errlist[];
extern int sys_nerr;
int local_errno;
extern int errno;
(void) fflush(stdout); /* in case stdout/stderr same */
local_errno = error_flag & ~ERR_MASK;
if (error_flag & ERR_ERRNO) /* use errno? */
local_errno = errno;
va_start(arglist, error_flag);
format = va_arg(arglist, char *);
(void) fprintf(stderr, "%s: ", progname);
(void) vfprintf(stderr, format, arglist);
va_end(arglist);
if (local_errno)
if ((local_errno > 0) && (local_errno < sys_nerr))
(void) fprintf(stderr, " (%s)\n", sys_errlist[local_errno]);
else
(void) fprintf(stderr, " (unknown errno=%d)\n", local_errno);
else
(void) fprintf(stderr, "\n");
(void) fflush(stderr);
if (error_flag & (ERR_FATAL | ERR_ABORT))
{
if (error_flag & ERR_FATAL)
{
error(0, "fatal error, exiting");
exit(local_errno ? local_errno : 1);
}
else
{
error(0, "fatal error, aborting");
abort();
}
}
}

View File

@@ -1,721 +0,0 @@
/*
* unhex
* convert a hex file to binary equivalent. If more than one file name
* is given, then the output will be logically concatenated together.
* stdin and stdout are defaults. Verbose will enable checksum output.
*
* Supported input formats are Intel hex, Motorola S records, and TI 'B'
* records.
*
* Intel hex input format is
* Byte
* 1 Colon :
* 2..3 Record length, eg: "20"
* 4..7 load address nibbles
* 8..9 record type: "00" (data) or "02" base addr
* 10..x data bytes in ascii-hex
* x+1..x+2 cksum (2's compl of (len+addr+data))
* x+3 \n -- newline
*
* $Id$
*/
char *USAGE = "\
usage: unhex [-va] [ -o file ] [ file [file ... ] ]\n\
-v -- verbose\n\
-a base -- 1st byte of output corresponds to this address\n\
-l -- linear, just writes data out\n\
-o file -- output file; must not be input file\n\
-F k_bits -- \"holes\" in input will be filled with 0xFF's\n\
up to \"k_bits\" * 1024 bits\n\
";
#include <stdio.h>
#include <fcntl.h>
#include <ctype.h>
#include <string.h>
#include <unistd.h>
#include <stdlib.h>
#include <stdarg.h>
#define OK 0
#define FAILURE (-1)
#define Failed(x) ((x) == FAILURE)
#define TRUE 1
#define FALSE 0
typedef char bool;
#define STREQ(a,b) (strcmp(a,b) == 0)
typedef unsigned char u8;
typedef unsigned short u16;
typedef unsigned long u32;
/*
* Pick out designated bytes
*/
#define B0(x) ((x) & 0xff)
#define B1(x) B0((x) >> 8)
#define B2(x) B0((x) >> 16)
#define B3(x) B0((x) >> 24)
typedef struct buffer_rec {
u32 dl_destaddr;
u32 dl_jumpaddr;
int dl_count;
u8 dl_buf[512];
} buffer_rec;
/*
* vars controlled by command line options
*/
bool verbose = FALSE; /* be verbose */
bool linear = FALSE; /* just write out linear data */
char *outfilename = "-"; /* default output is stdout */
u32 base = 0L; /* base address */
u32 FFfill = 0L; /* how far to fill w 0xFF's */
extern char *optarg; /* getopt(3) control vars */
extern int optind;
extern int errno;
char *progname; /* for error() */
void error(int errn, ...);
#define ERR_ERRNO (1<<((sizeof(int) * 8) - 2)) /* hi bit; use 'errno' */
#define ERR_FATAL (ERR_ERRNO / 2) /* error is fatal; no return */
#define ERR_ABORT (ERR_ERRNO / 4) /* error is fatal; abort */
#define ERR_MASK (ERR_ERRNO | ERR_FATAL | ERR_ABORT) /* all */
#define stol(p) strtoul(p, (char **) NULL, 0)
int unhex(FILE *ifp, char *inm, FILE *ofp, char *onm);
int convert_Intel_records(FILE *ifp, char *inm, FILE *ofp, char *onm);
int convert_S_records(FILE *ifp, char *inm, FILE *ofp, char *onm);
int convert_TI_records(FILE *ifp, char *inm, FILE *ofp, char *onm);
void write_record(buffer_rec *tb, FILE *fp);
int getnibble(char **p);
int getbyte(char **p);
long getNbytes(char **p, int n);
void badformat(char *s, char *fname, char *msg);
#define get1bytes(p) ((int) getbyte(p))
#define get2bytes(p) ((int) getNbytes(p, 2))
#define get3bytes(p) getNbytes(p, 3)
#define get4bytes(p) getNbytes(p, 4)
char *BADADDR = "Invalid record address";
char *BADLEN = "Invalid record length";
char *BADBASE = "Bad base or starting address";
char *BADFMT = "Unrecognized record type";
char *BADDATA = "Invalid data byte";
char *BADCSUM = "Invalid checksum";
char *MISCSUM = "Checksum mismatch";
char *BADTYPE = "Unrecognized record type";
char *MISTYPE = "Incompatible record types";
int
main(argc, argv)
int argc;
char **argv;
{
register int c;
bool showusage = FALSE; /* usage error? */
int rc = 0;
FILE *outfp, *infp;
/*
* figure out invocation leaf-name
*/
if ((progname = strrchr(argv[0], '/')) == (char *) NULL)
progname = argv[0];
else
progname++;
argv[0] = progname; /* for getopt err reporting */
/*
* Check options and arguments.
*/
progname = argv[0];
while ((c = getopt(argc, argv, "F:a:o:vl")) != EOF)
switch (c)
{
case 'a': /* base address */
base = stol(optarg);
break;
case 'l': /* linear output */
linear = TRUE;
break;
case 'v': /* toggle verbose */
verbose = ! verbose;
break;
case 'o': /* output file */
outfilename = optarg;
break;
case 'F': /* 0xFF fill amount (bytes) */
FFfill = stol(optarg) * 1024L / 8L;
break;
case '?':
showusage = TRUE;
}
if (showusage)
{
(void) fprintf(stderr, "%s", USAGE);
exit(1);
}
if (linear && (base != 0))
{
error(0, "-l and -a may not be specified in combination");
exit(1);
}
if (STREQ(outfilename, "-"))
{
outfp = stdout;
outfilename = "stdout";
}
else
if ((outfp = fopen(outfilename, "w")) == (FILE *) NULL)
{
error(-1, "couldn't open '%s' for output", outfilename);
exit(1);
}
/*
* Now process the input files (or stdin, if none specified)
*/
if (argv[optind] == (char *) NULL) /* just stdin */
exit(unhex(stdin, "stdin", outfp, outfilename));
else
for (; (optarg = argv[optind]); optind++)
{
if (STREQ(optarg, "-"))
rc += unhex(stdin, "stdin", outfp, outfilename);
else
{
if ((infp = fopen(optarg, "r")) == (FILE *) NULL)
{
error(-1, "couldn't open '%s' for input", optarg);
exit(1);
}
rc += unhex(infp, optarg, outfp, outfilename);
}
}
return(rc);
}
u16 filesum;
int
unhex(FILE *ifp,
char *inm,
FILE *ofp,
char *onm)
{
int c;
filesum = 0;
/*
* Make sure holes will be filled with 0xFF's if requested. We
* do this the easy way by just filling the file with FF's before
* getting started. To do it more optimally would be quite a bit
* more difficult since the user can skip around as much as he/she
* likes in the input hex file addressing.
*
* We'll clean this up later (after this program has run) with
* 'stripffs'
*/
if (FFfill)
{
(void) fseek(ofp, 0, 0);
for (c = FFfill; c > 0; c--)
(void) fputc(0xFF, ofp);
}
/*
* Read the first char from file and determine record types
*/
if ((c = getc(ifp)) != EOF)
{
ungetc(c, ifp);
switch(c)
{
case 'S':
convert_S_records(ifp, inm, ofp, onm);
break;
case ':':
convert_Intel_records(ifp, inm, ofp, onm);
break;
case '9':
case 'B':
convert_TI_records(ifp, inm, ofp, onm);
break;
default:
{
char tmp[2];
tmp[0] = c; tmp[1] = 0;
badformat(tmp, inm, BADFMT);
}
}
}
if (verbose)
fprintf(stderr, "'%s' checksum is 0x%04x\n", inm, filesum);
return 0;
}
int
convert_Intel_records(
FILE *ifp,
char *inm,
FILE *ofp,
char *onm)
{
char buff[512];
char *p;
u8 cksum;
int incksum;
int c;
int rectype; /* record type */
int len; /* data length of current line */
u32 addr;
u32 base_address = 0;
bool endrecord = FALSE;
buffer_rec tb;
while ( ! endrecord && (fgets(buff, sizeof(buff), ifp)))
{
p = &buff[0];
if (p[strlen(p)-1] == '\n') /* get rid of newline */
p[strlen(p)-1] = '\0';
if (p[strlen(p)-1] == '\r') /* get rid of any CR */
p[strlen(p)-1] = '\0';
tb.dl_count = 0;
if (*p != ':')
badformat(p, inm, BADFMT);
p++;
if ((len = getbyte(&p)) == -1) /* record len */
badformat(buff, inm, BADLEN);
if ((addr = get2bytes(&p)) == -1L) /* record addr */
badformat(buff, inm, BADADDR);
rectype = getbyte(&p);
cksum = len + B0(addr) + B1(addr) + rectype;
switch (rectype)
{
case 0x00: /* normal data record */
tb.dl_destaddr = base_address + addr;
while (len--)
{
if ((c = getbyte(&p)) == -1)
badformat(buff, inm, BADDATA);
cksum += c;
filesum += c;
tb.dl_buf[tb.dl_count++] = c;
}
break;
case 0x01: /* execution start address */
base_address = addr;
endrecord = TRUE;
break;
case 0x02: /* new base */
if ((base_address = get2bytes(&p)) == -1L)
badformat(buff, inm, BADBASE);
cksum += B0(base_address) + B1(base_address);
base_address <<= 4;
break;
case 0x03: /* seg/off execution start address */
{
u32 seg, off;
seg = get2bytes(&p);
off = get2bytes(&p);
if ((seg == -1L) || (off == -1L))
badformat(buff, inm, BADADDR);
cksum += B0(seg) + B1(seg) + B0(off) + B1(off);
tb.dl_jumpaddr = (seg << 4) + off;
break;
}
default:
error(0, "unknown Intel-hex record type: 0x%02x", rectype);
badformat(buff, inm, BADTYPE);
}
/*
* Verify checksums are correct in file.
*/
cksum = (-cksum) & 0xff;
if ((incksum = getbyte(&p)) == -1)
badformat(buff, inm, BADCSUM);
if (((u8) incksum) != cksum)
badformat(buff, inm, MISCSUM);
if (tb.dl_count)
write_record(&tb, ofp);
}
return 0;
}
int
convert_S_records(
FILE *ifp,
char *inm,
FILE *ofp,
char *onm)
{
char buff[512];
char *p;
u8 cksum;
int incksum;
int c;
int len; /* data length of current line */
int rectype; /* record type */
u32 addr;
bool endrecord = FALSE;
buffer_rec tb;
while ( ! endrecord && (fgets(buff, sizeof(buff), ifp)))
{
p = &buff[0];
if (p[strlen(p)-1] == '\n') /* get rid of newline */
p[strlen(p)-1] = '\0';
if (p[strlen(p)-1] == '\r') /* get rid of any CR */
p[strlen(p)-1] = '\0';
tb.dl_count = 0;
if (*p != 'S')
badformat(p, inm, BADFMT);
p++;
if ((rectype = getnibble(&p)) == -1) /* record type */
badformat(buff, inm, BADTYPE);
if ((len = getbyte(&p)) == -1) /* record len */
badformat(buff, inm, BADLEN);
cksum = len;
switch (rectype)
{
case 0x00: /* comment field, ignored */
goto write_it;
case 0x01: /* data record, 16 bit addr */
if ((addr = get2bytes(&p)) == -1L)
badformat(buff, inm, BADADDR);
len -= 3;
goto doit;
case 0x02: /* ... 24 bit addr */
if ((addr = get3bytes(&p)) == -1L)
badformat(buff, inm, BADADDR);
len -= 4;
goto doit;
case 0x03: /* ... 32 bit addr */
if ((addr = get4bytes(&p)) == -1L)
badformat(buff, inm, BADADDR);
len -= 5;
doit:
cksum += B0(addr) + B1(addr) + B2(addr) + B3(addr);
tb.dl_destaddr = addr;
while (len--)
{
if ((c = getbyte(&p)) == -1)
badformat(buff, inm, BADDATA);
cksum += c;
filesum += c;
tb.dl_buf[tb.dl_count++] = c;
}
break;
case 0x07: /* 32 bit end record */
if ((addr = get4bytes(&p)) == -1L)
badformat(buff, inm, BADADDR);
goto end_rec;
case 0x08: /* 24 bit end record */
if ((addr = get3bytes(&p)) == -1L)
badformat(buff, inm, BADADDR);
goto end_rec;
case 0x09: /* 16 bit end record */
if ((addr = get2bytes(&p)) == -1L)
badformat(buff, inm, BADADDR);
end_rec:
cksum += B0(addr) + B1(addr) + B2(addr) + B3(addr);
tb.dl_jumpaddr = addr;
break;
default:
error(0, "unknown Motorola-S record type: 0x%02x", rectype);
badformat(buff, inm, BADTYPE);
break;
}
/*
* Verify checksums are correct in file.
*/
cksum = (~cksum) & 0xff;
if ((incksum = getbyte(&p)) == -1)
badformat(buff, inm, BADCSUM);
if (((u8) incksum) != cksum)
badformat(buff, inm, MISCSUM);
write_it:
if (tb.dl_count)
write_record(&tb, ofp);
}
return 0;
}
int
convert_TI_records(
FILE *ifp,
char *inm,
FILE *ofp,
char *onm)
{
char buff[512];
char *p;
int c;
bool endrecord = FALSE;
bool eol;
buffer_rec tb;
while ( ! endrecord && (fgets(buff, sizeof(buff), ifp)))
{
if (p[strlen(p)-1] == '\n') /* get rid of newline */
p[strlen(p)-1] = '\0';
if (p[strlen(p)-1] == '\r') /* get rid of any CR */
p[strlen(p)-1] = '\0';
tb.dl_count = 0;
p = &buff[0];
eol = FALSE;
while ( ! eol && ! endrecord)
{
switch (*p++)
{
case '9':
if (tb.dl_count)
write_record(&tb, ofp);
tb.dl_destaddr = get2bytes(&p);
break;
case 'B':
c = getbyte(&p);
filesum += c;
tb.dl_buf[tb.dl_count++] = c;
c = getbyte(&p);
filesum += c;
tb.dl_buf[tb.dl_count++] = c;
break;
case 'F':
eol = TRUE;
break;
case ':':
endrecord = TRUE;
break;
default:
badformat(p, inm, BADFMT);
}
}
if (tb.dl_count)
write_record(&tb, ofp);
}
return 0;
}
void
write_record(buffer_rec *tb,
FILE *fp)
{
if ( ! linear)
{
if (tb->dl_destaddr < base)
error(ERR_FATAL, "record at address 0x%x precedes base of 0x%x",
tb->dl_destaddr, base);
(void) fseek(fp, tb->dl_destaddr - base, 0);
}
(void) fwrite(tb->dl_buf, tb->dl_count, 1, fp);
tb->dl_destaddr += tb->dl_count;
tb->dl_count = 0;
}
int
getnibble(char **p)
{
register int val;
**p = toupper(**p);
switch (**p)
{
case '0': case '1': case '2': case '3': case '4':
case '5': case '6': case '7': case '8': case '9':
val = **p - '0';
break;
case 'A': case 'B': case 'C': case 'D': case 'E': case 'F':
val = 10 + (**p - 'A');
break;
default:
return(-1);
}
*p += 1;
return(val & 0x0f);
}
int
getbyte(char **p)
{
int n0, n1;
if ((n0 = getnibble(p)) == -1)
return(-1);
if ((n1 = getnibble(p)) == -1)
return(-1);
return(((n0 << 4) + n1) & 0xff);
}
long
getNbytes(char **p,
int n)
{
int t;
u32 val = 0;
while (n--)
{
if ((t = getbyte(p)) == -1)
return(-1L);
val <<= 8;
val += t;
}
return(val);
}
void
badformat(char *s,
char *fname,
char *msg)
{
if (s[strlen(s)-1] == '\n') /* get rid of newline */
s[strlen(s)-1] = '\0';
error(0, "line '%s'::\n\tfrom file '%s'; %s", s, fname, msg);
exit(1);
}
/*
* error(errn, arglist)
* report an error to stderr using printf(3) conventions.
* Any output is preceded by '<progname>: '
*
* Uses ERR_EXIT bit to request exit(errn)
* ERR_ABORT to request abort()
* ERR_ERRNO to indicate use of errno instead of argument.
*
* If resulting 'errn' is non-zero, it is assumed to be an 'errno' and its
* associated error message is appended to the output.
*/
/*VARARGS*/
void
error(int error_flag, ...)
{
va_list arglist;
register char *format;
extern char *sys_errlist[];
extern int sys_nerr;
int local_errno;
extern int errno;
(void) fflush(stdout); /* in case stdout/stderr same */
local_errno = error_flag & ~ERR_MASK;
if (error_flag & ERR_ERRNO) /* use errno? */
local_errno = errno;
va_start(arglist, error_flag);
format = va_arg(arglist, char *);
(void) fprintf(stderr, "%s: ", progname);
(void) vfprintf(stderr, format, arglist);
va_end(arglist);
if (local_errno)
if ((local_errno > 0) && (local_errno < sys_nerr))
(void) fprintf(stderr, " (%s)\n", sys_errlist[local_errno]);
else
(void) fprintf(stderr, " (unknown errno=%d)\n", local_errno);
else
(void) fprintf(stderr, "\n");
(void) fflush(stderr);
if (error_flag & (ERR_FATAL | ERR_ABORT))
{
if (error_flag & ERR_FATAL)
{
error(0, "fatal error, exiting");
exit(local_errno ? local_errno : 1);
}
else
{
error(0, "fatal error, aborting");
abort();
}
}
}

113
c/configure.in Normal file
View File

@@ -0,0 +1,113 @@
dnl Process this file with autoconf to produce a configure script.
dnl
dnl $Id$
AC_PREREQ(2.13)
AC_INIT(src)
RTEMS_TOP(..)
AC_CONFIG_AUX_DIR(..)
RTEMS_CANONICAL_TARGET_CPU
AM_INIT_AUTOMAKE(rtems-c,$RTEMS_VERSION,no)
AM_MAINTAINER_MODE
dnl These options are used within this file.
RTEMS_ENABLE_BARE
RTEMS_ENABLE_RTEMSBSP(rtems_bsp)
RTEMS_CHECK_CPU
RTEMS_CANONICAL_HOST
if test -z "$rtems_bsp"; then
RTEMS_CHECK_BSPS(rtems_bsp)
fi
for i in $rtems_bsp; do
# make sure there is a make/custom file for the bsp
RTEMS_CHECK_CUSTOM_BSP(i)
RTEMS_BSP_ALIAS($i,bspdir)
# Is there code where there should be for this BSP?
# The bare bsp is a special case as it is not under the RTEMS_CPU path
case $bspdir in
bare)
bspcpudir=
if test "X${BARE_CPU_CFLAGS}" = "X" ; then
AC_MSG_ERROR([--enable-bare-cpu-cflags not specified for bare bsp])
fi
if test "X${BARE_CPU_MODEL}" = "X" ; then
AC_MSG_ERROR([--enable-bare-cpu-model not specified for bare bsp])
fi
;;
*)
bspcpudir=$RTEMS_CPU/
;;
esac
if test -d "$srcdir/$RTEMS_TOPdir/c/src/lib/libbsp/$bspcpudir$bspdir"; then
RTEMS_BSP_LIST="$RTEMS_BSP_LIST $i"
else
AC_MSG_ERROR([unable to find libbsp directory ($bspdir) for $i])
fi
done
#
# Compose the configuration arguments to be passed to c/src/configure
#
##
## Partially borrowed from autoconf-2.13
##
## Adjust paths
case $srcdir in
/*) rtems_bsp_configure="$srcdir/src/configure";;
*) rtems_bsp_configure="../$srcdir/src/configure";;
esac
## Remove --cache-file, --srcdir and --enable-rtemsbsp arguments
## so they do not pile up
rtems_bsp_configure_args=
for ac_arg in $ac_configure_args; do
if test -n "$ac_prev"; then
ac_prev=
continue
fi
case "$ac_arg" in
-cache-file | --cache-file | --cache-fil | --cache-fi \
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
ac_prev=cache_file ;;
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
;;
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
ac_prev=srcdir ;;
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
;;
--enable-rtemsbsp*) ;;
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
;;
*) rtems_bsp_configure_args="$rtems_bsp_configure_args $ac_arg" ;;
esac
done
rtems_bsp_configure="$rtems_bsp_configure $rtems_bsp_configure_args"
AC_SUBST(rtems_bsp_configure)
AC_SUBST(RTEMS_BSP_LIST)
AC_CONFIG_SUBDIRS(make)
# Explicitly list all Makefiles here
AC_OUTPUT(
Makefile
)
echo
echo target architecture: $target_cpu.
echo available BSPs: $rtems_bsp.
echo \'make all\' will build the following BSPs: $RTEMS_BSP_LIST.
echo other BSPs can be built with \'make RTEMS_BSP=\"bsp1 bsp2 ...\"\'
echo

14
c/make/.cvsignore Normal file
View File

@@ -0,0 +1,14 @@
Makefile
Makefile.in
aclocal.m4
config.cache
config.guess
config.log
config.status
config.sub
configure
depcomp
install-sh
missing
mkinstalldirs
target.cfg

16
c/make/Makefile.am Normal file
View File

@@ -0,0 +1,16 @@
##
## $Id$
##
AUTOMAKE_OPTIONS = foreign 1.4
ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
rtems_makedir = $(prefix)/make
GENERIC_FILES = target.cfg
rtems_make_DATA = $(GENERIC_FILES)
EXTRA_DIST = target.cfg.in
include $(top_srcdir)/../../automake/host.am

53
c/make/configure.in Normal file
View File

@@ -0,0 +1,53 @@
dnl Process this file with autoconf to produce a configure script.
dnl
dnl $Id$
dnl
dnl This script configures the configuration files below c/make/
dnl
AC_PREREQ(2.13)
AC_INIT(target.cfg.in)
RTEMS_TOP(../..)
AC_CONFIG_AUX_DIR(../..)
RTEMS_CANONICAL_TARGET_CPU
AM_INIT_AUTOMAKE(rtems-c-make,$RTEMS_VERSION,no)
AM_MAINTAINER_MODE
RTEMS_ENABLE_MULTIPROCESSING
RTEMS_ENABLE_POSIX
RTEMS_ENABLE_ITRON
RTEMS_ENABLE_NETWORKING
RTEMS_ENABLE_RDBG
RTEMS_ENABLE_INLINES
RTEMS_ENABLE_CXX
RTEMS_ENABLE_GCC28
RTEMS_CHECK_CPU
RTEMS_CANONICAL_HOST
RTEMS_PROJECT_ROOT
RTEMS_PROG_CC_FOR_TARGET
dnl check for g++
if test "$RTEMS_HAS_CPLUSPLUS" = "yes"; then
RTEMS_PROG_CXX_FOR_TARGET
fi
RTEMS_CANONICALIZE_TOOLS
AC_SUBST(rtems_cv_prog_cc_cross)
AC_SUBST(RTEMS_HAS_POSIX)
AC_SUBST(RTEMS_HOST)
AC_SUBST(RTEMS_HAS_CPLUSPLUS)
AC_SUBST(RTEMS_USE_GCC272)
AC_SUBST(RTEMS_CPU)
# Explicitly list all Makefiles here
AC_OUTPUT(
Makefile
target.cfg
)

69
c/make/target.cfg.in Normal file
View File

@@ -0,0 +1,69 @@
#
# $Id$
#
# Target specific settings.
#
prefix = @prefix@
CFLAGS = @CFLAGS@
CPPFLAGS = @CPPFLAGS@
DEFS = @DEFS@
LDFLAGS =
LIBS = @LIBS@
CC = @CC_FOR_TARGET@
AS = @AS_FOR_TARGET@
AR = @AR_FOR_TARGET@
NM = @NM_FOR_TARGET@
LD = @LD_FOR_TARGET@
SIZE = @SIZE_FOR_TARGET@
STRIP = @STRIP_FOR_TARGET@
OBJCOPY = @OBJCOPY_FOR_TARGET@
RANLIB = @RANLIB_FOR_TARGET@
CXX = @CXX_FOR_TARGET@
export CC
export AS
export LD
export NM
export AR
export SIZE
export OBJCOPY
export CXX
RTEMS_CROSS_TARGET=@rtems_cv_prog_cc_cross@
RTEMS_HOST = @RTEMS_HOST@
RTEMS_HAS_MULTIPROCESSING = @RTEMS_HAS_MULTIPROCESSING@
RTEMS_HAS_POSIX_API = @RTEMS_HAS_POSIX_API@
RTEMS_HAS_ITRON_API = @RTEMS_HAS_ITRON_API@
RTEMS_HAS_NETWORKING = @RTEMS_HAS_NETWORKING@
RTEMS_HAS_RDBG = @RTEMS_HAS_RDBG@
RTEMS_HAS_CPLUSPLUS = @RTEMS_HAS_CPLUSPLUS@
RTEMS_USE_MACROS = @RTEMS_USE_MACROS@
RTEMS_USE_GCC272 = @RTEMS_USE_GCC272@
RTEMS_LIBC_DIR = @RTEMS_LIBC_DIR@
RTEMS_CPU = @RTEMS_CPU@
XCFLAGS=$(CFLAGS_FOR_TARGET)
export RTEMS_BSP
export RTEMS_CUSTOM
export PROJECT_ROOT
# List (possibly empty) of required managers
# We require:
# region -- used by lib/libcsupport for malloc()
# ext -- used by libc for libc reentrancy hooks
MANAGERS_REQUIRED=region ext sem
# Create a RTEMS executable based on MANAGERS which was set in
# app's Makefile
MANAGERS_NOT_WANTED=$(filter-out $(MANAGERS) \
$(MANAGERS_REQUIRED), $(MANAGER_LIST))

13
c/src/.cvsignore Normal file
View File

@@ -0,0 +1,13 @@
Makefile
Makefile.in
aclocal.m4
config.cache
config.guess
config.log
config.status
config.sub
configure
depcomp
install-sh
missing
mkinstalldirs

23
c/src/Makefile.am Normal file
View File

@@ -0,0 +1,23 @@
##
## $Id$
##
AUTOMAKE_OPTIONS = foreign 1.4
ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
SUBDIRS = @cfg_subdirs@ wrapup tests
rtems_bspdir = $(prefix)/@RTEMS_BSP@
# NOTE: The wildcard on the install should pick up everything except
# the tests directory. This significantly minimizes the install size.
install-data-local:
$(mkinstalldirs) $(rtems_bspdir)
cd $(PROJECT_ROOT); \
tar cf - @RTEMS_BSP@/[bilsuM]* | (cd $(DESTDIR)$(prefix); tar xpBf - );
uninstall-local:
rm -rf $(rtems_bspdir)/[bsl]*;
include $(top_srcdir)/../../automake/subdirs.am
include $(top_srcdir)/../../automake/host.am

64
c/src/configure.in Normal file
View File

@@ -0,0 +1,64 @@
dnl Process this file with autoconf to produce a configure script.
dnl
dnl $Id$
AC_PREREQ(2.13)
AC_INIT(exec)
RTEMS_TOP(../..)
AC_CONFIG_AUX_DIR(../..)
RTEMS_ENABLE_CXX
RTEMS_ENABLE_NETWORKING
RTEMS_ENABLE_RDBG
RTEMS_CANONICAL_TARGET_CPU
RTEMS_CANONICAL_HOST
AM_INIT_AUTOMAKE(rtems-c-src,$RTEMS_VERSION,no)
AM_MAINTAINER_MODE
RTEMS_ENV_RTEMSBSP
RTEMS_CHECK_CPU
RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
RTEMS_CHECK_NETWORKING(RTEMS_BSP)
## Note: the order of the directories below is essential
cfg_subdirs="make"
cfg_subdirs="$cfg_subdirs exec"
cfg_subdirs="$cfg_subdirs lib"
cfg_subdirs="$cfg_subdirs libmisc"
if test "$RTEMS_CPU" != "unix"; then
## HACK: Suppress libchip for unix
cfg_subdirs="$cfg_subdirs libchip"
fi
if test "$HAS_NETWORKING" = "yes"; then
cfg_subdirs="$cfg_subdirs libnetworking librpc"
if test "$RTEMS_HAS_RDBG" = "yes"; then
RTEMS_CHECK_RDBG(RTEMS_BSP)
fi
fi
if test "$HAS_RDBG" = "yes"; then
cfg_subdirs="$cfg_subdirs librdbg"
fi
AM_CONDITIONAL(HAS_NETWORKING, test "$HAS_NETWORKING" = "yes" )
AM_CONDITIONAL(HAS_RDBG, test "$HAS_RDBG" = "yes" )
if test "$RTEMS_HAS_CPLUSPLUS" = "yes"; then
cfg_subdirs="$cfg_subdirs librtems++";
fi
AC_CONFIG_SUBDIRS($cfg_subdirs)
AC_SUBST(cfg_subdirs)
AC_CONFIG_SUBDIRS(tests)
RTEMS_PROJECT_ROOT
# Explicitly list all Makefiles here
AC_OUTPUT(
Makefile
wrapup/Makefile
)

13
c/src/exec/.cvsignore Normal file
View File

@@ -0,0 +1,13 @@
Makefile
Makefile.in
aclocal.m4
config.cache
config.guess
config.log
config.status
config.sub
configure
depcomp
install-sh
missing
mkinstalldirs

19
c/src/exec/Makefile.am Normal file
View File

@@ -0,0 +1,19 @@
##
## $Id$
##
AUTOMAKE_OPTIONS = foreign 1.4
ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
if HAS_POSIX
POSIX_SUBDIRS = posix
endif
if HAS_ITRON
ITRON_SUBDIRS = itron
endif
SUBDIRS = score rtems $(POSIX_SUBDIRS) $(ITRON_SUBDIRS) sapi wrapup
include $(top_srcdir)/../../../automake/subdirs.am
include $(top_srcdir)/../../../automake/local.am

111
c/src/exec/configure.in Normal file
View File

@@ -0,0 +1,111 @@
dnl Process this file with autoconf to produce a configure script.
dnl
dnl $Id$
AC_PREREQ(2.13)
AC_INIT(score)
RTEMS_TOP(../../..)
AC_CONFIG_AUX_DIR(../../..)
RTEMS_CANONICAL_TARGET_CPU
AM_INIT_AUTOMAKE(rtems-c-src-exec,$RTEMS_VERSION,no)
AM_MAINTAINER_MODE
RTEMS_ENABLE_MULTIPROCESSING
RTEMS_ENABLE_POSIX
RTEMS_ENABLE_ITRON
RTEMS_ENABLE_INLINES
RTEMS_ENABLE_GCC28
RTEMS_ENV_RTEMSBSP
RTEMS_CHECK_CPU
RTEMS_CANONICAL_HOST
RTEMS_PROJECT_ROOT
RTEMS_PROG_CC_FOR_TARGET
RTEMS_CANONICALIZE_TOOLS
RTEMS_CHECK_NEWLIB
# Check if there is custom/*.cfg for this BSP
RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
RTEMS_CHECK_POSIX_API(RTEMS_BSP)
RTEMS_CHECK_ITRON_API(RTEMS_BSP)
# If RTEMS macros are enabled, then use them. Otherwise, use inlines.
if test "$RTEMS_USE_MACROS" = "yes"; then
INLINEdir="macros"
if test "$HAS_POSIX_API" = "yes"; then
# The problem is that there is currently no code in posix/macros :)
AC_MSG_ERROR(Macros are not implemented for the POSIX API)
fi
if test "$HAS_ITRON_API" = "yes"; then
# The problem is that there is currently no code in itron/macros :)
AC_MSG_ERROR(Macros are not implemented for the ITRON API)
fi
else
INLINEdir="inline"
fi
AM_CONDITIONAL(INLINE,test "$INLINEdir" = "inline" )
AM_CONDITIONAL(MACROS,test "$INLINEdir" = "macros" )
AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes" )
AC_SUBST(RTEMS_VERSION)
AM_CONDITIONAL(HAS_POSIX,test "$HAS_POSIX_API" = "yes")
AM_CONDITIONAL(HAS_ITRON,test "$HAS_ITRON_API" = "yes")
if test "$HAS_POSIX_API" = "yes"; then
cfg_subdirs="posix"
fi
if test "$HAS_ITRON_API" = "yes"; then
cfg_subdirs="$cfg_subdirs itron"
fi
AC_CONFIG_SUBDIRS($cfg_subdirs)
AC_CONFIG_SUBDIRS(score/cpu/$RTEMS_CPU)
# Explicitly list all Makefiles here
AC_OUTPUT(
Makefile
rtems/Makefile
rtems/src/Makefile
rtems/include/Makefile
rtems/include/rtems/Makefile
rtems/include/rtems/rtems/Makefile
rtems/optman/Makefile
rtems/inline/Makefile
rtems/inline/rtems/Makefile
rtems/inline/rtems/rtems/Makefile
rtems/macros/Makefile
rtems/macros/rtems/Makefile
rtems/macros/rtems/rtems/Makefile
sapi/Makefile
sapi/src/Makefile
sapi/include/Makefile
sapi/include/rtems/Makefile
sapi/include/rtems/sptables.h
sapi/inline/Makefile
sapi/inline/rtems/Makefile
sapi/macros/Makefile
sapi/macros/rtems/Makefile
sapi/optman/Makefile
score/Makefile
score/cpu/Makefile
score/include/Makefile
score/include/rtems/Makefile
score/include/rtems/score/Makefile
score/inline/Makefile
score/inline/rtems/Makefile
score/inline/rtems/score/Makefile
score/macros/Makefile
score/macros/rtems/Makefile
score/macros/rtems/score/Makefile
score/src/Makefile
wrapup/Makefile
wrapup/rtems/Makefile
wrapup/itron/Makefile
wrapup/posix/Makefile
)

View File

@@ -0,0 +1,13 @@
Makefile
Makefile.in
aclocal.m4
config.cache
config.guess
config.log
config.status
config.sub
configure
depcomp
install-sh
missing
mkinstalldirs

View File

@@ -0,0 +1,11 @@
##
## $Id$
##
AUTOMAKE_OPTIONS = foreign 1.4
ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
SUBDIRS = include inline src
include $(top_srcdir)/../../../../automake/subdirs.am
include $(top_srcdir)/../../../../automake/local.am

View File

@@ -0,0 +1,71 @@
dnl Process this file with autoconf to produce a configure script.
dnl
dnl $Id$
AC_PREREQ(2.13)
AC_INIT(include/itronsys)
RTEMS_TOP(../../../..)
AC_CONFIG_AUX_DIR(../../../..)
RTEMS_CANONICAL_TARGET_CPU
AM_INIT_AUTOMAKE(rtems-c-src-exec-itron,$RTEMS_VERSION,no)
AM_MAINTAINER_MODE
RTEMS_ENABLE_MULTIPROCESSING
RTEMS_ENABLE_ITRON
RTEMS_ENABLE_INLINES
RTEMS_ENV_RTEMSBSP
RTEMS_CHECK_CPU
RTEMS_CANONICAL_HOST
RTEMS_PROJECT_ROOT
RTEMS_PROG_CC_FOR_TARGET
RTEMS_CANONICALIZE_TOOLS
# Check if there is custom/*.cfg for this BSP
RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
RTEMS_CHECK_ITRON_API(RTEMS_BSP)
# If RTEMS macros are enabled, then use them. Otherwise, use inlines.
if test "$RTEMS_USE_MACROS" = "yes"; then
INLINEdir="macros"
if test "$HAS_ITRON_API" = "yes"; then
# The problem is that there is currently no code in itron/macros :)
AC_MSG_ERROR(Macros are not implemented for the ITRON API)
fi
else
INLINEdir="inline"
fi
AM_CONDITIONAL(INLINE,test "$INLINEdir" = "inline" )
AM_CONDITIONAL(MACROS,test "$INLINEdir" = "macros" )
## Needed when using automake for libs/rels
RTEMS_CHECK_NEWLIB
# If RTEMS macros are enabled, then use them. Otherwise, refuse to build
if test "$RTEMS_USE_MACROS" = "yes"; then
# The problem is that there is currently no code in itron/macros :)
AC_MSG_ERROR(Macros are not implemented for the ITRON API)
fi
##
## FIXME: We configure and build the macros subdirectory, too.
## Should probably use AM_CONDITIONALs to disable them in future
# Explicitly list all Makefiles here
AC_OUTPUT(
Makefile
src/Makefile
include/Makefile
include/itronsys/Makefile
include/rtems/Makefile
include/rtems/itron/Makefile
inline/Makefile
inline/rtems/Makefile
inline/rtems/itron/Makefile
)

View File

@@ -0,0 +1,2 @@
Makefile
Makefile.in

View File

@@ -0,0 +1,24 @@
##
## $Id$
##
AUTOMAKE_OPTIONS = foreign 1.4
H_FILES = itron.h
noinst_HEADERS = $(H_FILES)
PREINSTALL_FILES += $(PROJECT_INCLUDE) \
$(noinst_HEADERS:%=$(PROJECT_INCLUDE)/%)
$(PROJECT_INCLUDE):
@$(mkinstalldirs) $@
$(PROJECT_INCLUDE)/%.h: %.h
$(INSTALL_DATA) $< $@
all-local: $(PREINSTALL_FILES)
SUBDIRS = rtems itronsys
include $(top_srcdir)/../../../../automake/subdirs.am
include $(top_srcdir)/../../../../automake/local.am

View File

@@ -0,0 +1,52 @@
/*
* 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.OARcorp.com/rtems/license.html.
*
* $Id$
*/
#ifndef __ITRON_h_
#define __ITRON_h_
#ifdef __cplusplus
extern "C" {
#endif
/*
* Include the basic requirements
*/
#include <rtems/system.h> /* basic RTEMS types defined by */
/* each port */
#include <itronsys/types.h> /* define all the TRON types */
/* in terms of the RTEMS base types */
#include <itronsys/status.h> /* define all ITRON status codes */
/*
* Now include the per manager include files
*/
#include <itronsys/eventflags.h>
#include <itronsys/fmempool.h>
#include <itronsys/intr.h>
#include <itronsys/mbox.h>
#include <itronsys/msgbuffer.h>
#include <itronsys/sysmgmt.h> /* network depends on this file */
#include <itronsys/network.h>
#include <itronsys/port.h>
#include <itronsys/semaphore.h>
#include <itronsys/task.h>
#include <itronsys/time.h>
#include <itronsys/vmempool.h>
#ifdef __cplusplus
}
#endif
#endif
/* end of include file */

View File

@@ -0,0 +1,2 @@
Makefile
Makefile.in

View File

@@ -0,0 +1,22 @@
##
## $Id$
##
AUTOMAKE_OPTIONS = foreign 1.4
H_FILES = eventflags.h fmempool.h intr.h mbox.h msgbuffer.h network.h port.h \
semaphore.h status.h sysmgmt.h task.h time.h types.h vmempool.h
noinst_HEADERS = $(H_FILES)
PREINSTALL_FILES += $(PROJECT_INCLUDE)/itronsys \
$(noinst_HEADERS:%=$(PROJECT_INCLUDE)/itronsys/%)
$(PROJECT_INCLUDE)/itronsys:
@$(mkinstalldirs) $@
$(PROJECT_INCLUDE)/itronsys/%.h: %.h
$(INSTALL_DATA) $< $@
all-local: $(PREINSTALL_FILES)
include $(top_srcdir)/../../../../automake/local.am

Some files were not shown because too many files have changed in this diff Show More