Commit Graph

448 Commits

Author SHA1 Message Date
Joel Sherrill
feead22618 2000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.
2000-11-09 16:43:05 +00:00
Joel Sherrill
be59f363f3 2000-11-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* stubdr/Makefile.am: Replace leaf.cfg w/ automake/lib.am.
2000-11-02 22:48:52 +00:00
Joel Sherrill
a314d3b497 2000-11-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Switch to ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal.
2000-11-02 15:49:06 +00:00
Joel Sherrill
ce28b28312 2000-11-01 Joel Sherrill <joel@OARcorp.com>
* malloctest/task1.c: assoc.h, error.h, libio_.h, libio.h, and
	libcsupport.h moved from libc to lib/include/rtems and now must
	be referenced as <rtems/XXX.h>.
2000-11-01 21:03:37 +00:00
Joel Sherrill
df3b242411 2000-10-30 Joel Sherrill <joel@OARcorp.com>
* POSIX include files merged into newlib.  This resulted in
	some definitions moving to other files and thus some secondary
	effects in RTEMS source code.
	* paranoia/paranoia.c: Commented out incorrect and conflicting
	prototype of read().
2000-10-31 16:40:03 +00:00
Joel Sherrill
ae1cce4e9d 2000-10-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros.
        Switch to GNU canonicalization.
2000-10-27 13:32:58 +00:00
Joel Sherrill
db3644c512 2000-10-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros.
        Switch to GNU canonicalization.
	* itrontests.am: Remove DEFS.
2000-10-27 13:32:44 +00:00
Joel Sherrill
37a9cf1771 2000-10-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros.
        Switch to GNU canonicalization.
	* libtests.am: Remove DEFS.
2000-10-27 13:32:34 +00:00
Joel Sherrill
b33e20ea90 2000-10-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros.
        Switch to GNU canonicalization.
	* mptests.am: Remove DEFS.
2000-10-27 13:32:26 +00:00
Joel Sherrill
4d2ba828ef 2000-10-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros.
        Switch to GNU canonicalization.
	* psxtests.am: Remove DEFS.
2000-10-27 13:32:14 +00:00
Joel Sherrill
8ccc22ca66 2000-10-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros.
        Switch to GNU canonicalization.
	* sample.am: Remove DEFS.
2000-10-27 13:30:30 +00:00
Joel Sherrill
cbe7d660ab 2000-10-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros.
        Switch to GNU canonicalization.
	* sptests.am: Remove DEFS.
2000-10-27 13:30:17 +00:00
Joel Sherrill
b04d468ce0 2000-10-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros.
        Switch to GNU canonicalization.
	* tmitrontests.am: Remove DEFS.
2000-10-27 13:29:45 +00:00
Joel Sherrill
dd943f6527 2000-10-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros.
        Switch to GNU canonicalization.
	* tmtests.am: Remove DEFS.
2000-10-27 13:29:35 +00:00
Joel Sherrill
c59952d423 2000-10-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros.
        Switch to GNU canonicalization.
	* configure.in: Replace AC_CONFIG_SUBDIRS with
	RTEMS_CONFIG_BUILD_SUBDIRS.
2000-10-27 13:29:06 +00:00
Joel Sherrill
0bbc89df41 2000-10-24 Joel Sherrill <joel@OARcorp.com>
* psxmount/test.c, psxstat/test.c: Include <imfs.h> to get IMFS_ops.
	It was formerly incorrectly prototyped in <libio.h>.
2000-10-25 16:52:28 +00:00
Joel Sherrill
837ab84157 2000-09-29 Joel Sherrill <joel@OARcorp.com>
* sp20/sp20.scn: Corrected to reflect new addition.
	* sp20/system.h: Removed comment reflecting history.
2000-09-29 15:51:22 +00:00
Joel Sherrill
cf42c54cfa 2000-09-29 Stephan Merker <merker@decrc.abb.de>
* sp20/getall.c, sp20/init.c, sp20/system.h, sp20/task1.c:
	Added new task to test sequence of altering a period's length
	while it is still active.
2000-09-29 14:51:16 +00:00
Joel Sherrill
cc2ce65522 2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* stubdr/Makefile.am, wrapup/Makefile.am: Include compile.am
2000-09-05 16:12:05 +00:00
Joel Sherrill
6212465d03 2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* base_mp/node1/Makefile.am, base_mp/node2/Makefile.am,
	base_sp/Makefile.am, cdtest/Makefile.am, hello/Makefile.am,
	minimum/Makefile.am, paranoia/Makefile.am, ticker/Makefile.am,
	unlimited/Makefile.am: Include compile.am
2000-09-05 16:11:24 +00:00
Joel Sherrill
c4f610387f 2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* tmitronsem01/Makefile.am: Include compile.am
2000-09-05 16:10:40 +00:00
Joel Sherrill
021eeaa21c 2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* psx01/Makefile.am, psx02/Makefile.am, psx03/Makefile.am,
	psx04/Makefile.am, psx05/Makefile.am, psx06/Makefile.am,
	psx07/Makefile.am, psx08/Makefile.am, psx09/Makefile.am,
	psx10/Makefile.am, psx11/Makefile.am, psx12/Makefile.am,
	psx13/Makefile.am, psxcancel/Makefile.am, psxfile01/Makefile.am,
	psxhdrs/Makefile.am, psxmount/Makefile.am, psxmsgq01/Makefile.am,
	psxreaddir/Makefile.am, psxsem01/Makefile.am, psxstat/Makefile.am,
	psxtime/Makefile.am, psxtimer/Makefile.am: Include compile.am
2000-09-05 16:06:28 +00:00
Joel Sherrill
78f76ac50a 2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* cpuuse/Makefile.am, malloctest/Makefile.am, monitor/Makefile.am,
	putenvtest/Makefile.am, rtems++/Makefile.am, rtmonuse/Makefile.am,
	stackchk/Makefile.am, termios/Makefile.am: Include compile.am
2000-09-05 16:06:10 +00:00
Joel Sherrill
e9200df1cf 2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* itronhello/Makefile.am, itronmbf01/Makefile.am,
	itronmbox01/Makefile.am, itronsem01/Makefile.am,
	itrontask01/Makefile.am, itrontask02/Makefile.am,
	itrontask03/Makefile.am, itrontask04/Makefile.am,
	itrontime01/Makefile.am: Include compile.am
2000-09-05 16:05:59 +00:00
Joel Sherrill
5b6ea7a775 2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* mp01/node1/Makefile.am, mp01/node2/Makefile.am,
	mp02/node1/Makefile.am, mp02/node2/Makefile.am,
	mp03/node1/Makefile.am, mp03/node2/Makefile.am,
	mp04/node1/Makefile.am, mp04/node2/Makefile.am,
	mp05/node1/Makefile.am, mp05/node2/Makefile.am,
	mp06/node1/Makefile.am, mp06/node2/Makefile.am,
	mp07/node1/Makefile.am, mp07/node2/Makefile.am,
	mp08/node1/Makefile.am, mp08/node2/Makefile.am,
	mp09/node1/Makefile.am, mp09/node2/Makefile.am,
	mp10/node1/Makefile.am, mp10/node2/Makefile.am,
	mp11/node1/Makefile.am, mp11/node2/Makefile.am,
	mp12/node1/Makefile.am, mp12/node2/Makefile.am,
	mp13/node1/Makefile.am, mp13/node2/Makefile.am,
	mp14/node1/Makefile.am, mp14/node2/Makefile.am: Include compile.am
2000-09-05 16:05:46 +00:00
Joel Sherrill
d6cd8bb127 2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* tm01/Makefile.am, tm02/Makefile.am, tm03/Makefile.am,
	tm04/Makefile.am, tm05/Makefile.am, tm06/Makefile.am,
	tm07/Makefile.am, tm08/Makefile.am, tm09/Makefile.am,
	tm10/Makefile.am, tm11/Makefile.am, tm12/Makefile.am,
	tm13/Makefile.am, tm14/Makefile.am, tm15/Makefile.am,
	tm16/Makefile.am, tm17/Makefile.am, tm18/Makefile.am,
	tm19/Makefile.am, tm20/Makefile.am, tm21/Makefile.am,
	tm22/Makefile.am, tm23/Makefile.am, tm24/Makefile.am,
	tm25/Makefile.am, tm26/Makefile.am, tm27/Makefile.am,
	tm28/Makefile.am, tm29/Makefile.am, tmck/Makefile.am,
	tmoverhd/Makefile.am: Include compile.am
2000-09-05 16:05:24 +00:00
Joel Sherrill
e35d6b22f1 2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* sp01/Makefile.am, sp02/Makefile.am, sp03/Makefile.am,
	sp04/Makefile.am, sp05/Makefile.am, sp06/Makefile.am,
	sp07/Makefile.am, sp08/Makefile.am, sp09/Makefile.am,
	sp11/Makefile.am, sp12/Makefile.am, sp13/Makefile.am,
	sp14/Makefile.am, sp15/Makefile.am, sp16/Makefile.am,
	sp17/Makefile.am, sp19/Makefile.am, sp20/Makefile.am,
	sp21/Makefile.am, sp22/Makefile.am, sp23/Makefile.am,
	sp24/Makefile.am, sp25/Makefile.am, sp26/Makefile.am,
	sp27/Makefile.am, sp28/Makefile.am, sp29/Makefile.am,
	spfatal/Makefile.am, spsize/Makefile.am: Include compile.am
2000-09-05 16:05:00 +00:00
Joel Sherrill
977fc497f2 2000-08-31 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* psx01/Makefile.am, psx02/Makefile.am, psx03/Makefile.am,
	psx04/Makefile.am, psx05/Makefile.am, psx06/Makefile.am,
	psx07/Makefile.am, psx08/Makefile.am, psx09/Makefile.am,
	psx10/Makefile.am, psx11/Makefile.am, psx11/Makefile.am,
	psx12/Makefile.am, psxcancel/Makefile.am, psxmsgq01/Makefile.am,
	psxsem01/Makefile.am, psxsem01/Makefile.am, psxtimer/Makefile.am:
	Use AM_CPPFLAGS += instead of AM_CPPFLAGS =
2000-09-01 07:05:02 +00:00
Joel Sherrill
e94ad1feb9 Adding ChangeLogs. 2000-08-10 13:24:00 +00:00
Joel Sherrill
8c3c1763f0 Added ifdef on C4x to avoid invalid address alignment checks since there
is no such thing on the C4x.
2000-07-26 20:44:11 +00:00
Joel Sherrill
ca7858bb88 Port of RTEMS to the Texas Instruments C3x/C4x DSP families including
a BSP (c4xsim) supporting the simulator included with gdb.  This port
was done by Joel Sherrill and Jennifer Averett of OAR Corporation.
Also included with this port is a space/time optimization to eliminate
FP context switch management on CPUs without hardware or software FP.

An issue with this port was that sizeof(unsigned32) = sizeof(unsigned8)
on this CPU.  This required addressing alignment checks and assumptions
as well as fixing code that assumed sizeof(unsigned32) == 4.
2000-07-26 19:28:11 +00:00
Joel Sherrill
62e1271aef Switch logical in conditional. 2000-07-13 16:17:09 +00:00
Joel Sherrill
b8a30d07a5 Patch rtems-rc-20000713-1-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that is yet another multilib-related structual cleanup patch:

  Changes:
  * Make RTEMS_TEST_NO_PAUSE a tests/ subpackage specific option.
    - Remove RTEMS_TEST_NO_PAUSE from custom/*.cfg, targopts.h and
      cpuopts.h.
    - Add autoconf macros RTEMS_*_RTEMS_TEST_NO_PAUSE
      (aclocal/rtems-test-no-pause.m4).
    - Add RTEMS_*_RTEMS_TEST_NO_PAUSE support to sptests/configure.ins
      and tmtests/configure.in. These are the only subdirectories which
      currently apply RTEMS_TEST_NO_PAUSE.
    - Add autoconf-DEFS support to all test subpackages' configure.ins
      below tests/. I.e. AC_DEFINES now get explicitly propagated as
      preprocessor defines into Makefiles, cf. AM_CPPFLAGS in
      tests/*/*.am, instead of using a global config-files.
    - Remove NDEBUG from custom/*.cfg.

  * AC_DEFINE POSIX_API, ITRON_API and MULTIPROCESSING in
    exec/configure.in, only.
    - All other sources now should relay on the values from cpuopts.h
      and should not define them themselves.
    - Several related changes to many configure.ins

  * Bug-fixes to RTEMS_*_RTEMS_DEBUG macros (Actually workarounds to
    quoting bugs in autoconf).

  Notes:
    * This patch is rather immature and only tested for a small subset
      of BSPs (requires the tests to be enabled and therefore takes an
      tremendous amount of disc space and time.)
    * The patches to *cfg were generated by a script. Expect file
      formating changes :)
2000-07-13 15:05:38 +00:00
Joel Sherrill
c0ffdeeb60 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.
2000-07-03 15:20:57 +00:00
Joel Sherrill
1188c0c692 Thread iterate not ready for submission -- removed. 2000-06-14 15:41:13 +00:00
Joel Sherrill
8ef38186fa Patch from John Cotton <john.cotton@nrc.ca>, Charles-Antoine Gauthier
<charles.gauthier@iit.nrc.ca>, and Darlene A. Stewart
<Darlene.Stewart@nrc.ca> to add support for a number of very
significant things:

  + BSPs for many variations on the Motorola MBX8xx board series
  + Cache Manager including initial support for m68040
    and PowerPC
  + Rework of mpc8xx libcpu code so all mpc8xx CPUs now use
    same code base.
  + Rework of eth_comm BSP to utiltize above.

John reports this works on the 821 and 860
2000-06-12 19:57:02 +00:00
Joel Sherrill
df49c60c96 Merged from 4.5.0-beta3a 2000-06-12 15:00:15 +00:00
Joel Sherrill
fea048f2cd New file. 2000-05-24 16:51:23 +00:00
Joel Sherrill
bf85b19188 Patch rtems-rc-4.5.0-13-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
adds .cvsignore.
2000-04-13 14:37:14 +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
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
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
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
49fa9bc005 Fixed warnings. 2000-01-13 22:08:29 +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
Jennifer Averett
0724b658a7 Added start and end herald. 2000-01-13 17:01:35 +00:00