Commit Graph
146 Commits
Author SHA1 Message Date
Joel Sherrill 0c0d089377 2002-09-14 Joel Sherrill <joel@OARcorp.com>
* sp32/.cvsignore: New file.
2002-09-14 18:47:56 +00:00
Joel Sherrill 0af7c20434 2002-09-14 Aaron J. Grier <aaron@frye.com>
* PR271 was not applicable against the current source but included
	a nice test that Joel decided to add to the tree as sp32.
	* sp32/Makefile.am, sp32/init.c, sp32/sp32.scn: New file.
	* Makefile.am, configure.ac: Modified to reflect addition.
2002-09-14 18:47:07 +00:00
Ralf Corsepius a3a512ccd1 2002-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* sp01/Makefile.am: Use $(OBJEXT) instead of .o.
	* sp02/Makefile.am: Use $(OBJEXT) instead of .o.
	* sp03/Makefile.am: Use $(OBJEXT) instead of .o.
	* sp04/Makefile.am: Use $(OBJEXT) instead of .o.
	* sp05/Makefile.am: Use $(OBJEXT) instead of .o.
	* sp06/Makefile.am: Use $(OBJEXT) instead of .o.
	* sp07/Makefile.am: Use $(OBJEXT) instead of .o.
	* sp08/Makefile.am: Use $(OBJEXT) instead of .o.
	* sp09/Makefile.am: Use $(OBJEXT) instead of .o.
	* sp11/Makefile.am: Use $(OBJEXT) instead of .o.
	* sp12/Makefile.am: Use $(OBJEXT) instead of .o.
	* sp13/Makefile.am: Use $(OBJEXT) instead of .o.
	* sp14/Makefile.am: Use $(OBJEXT) instead of .o.
	* sp15/Makefile.am: Use $(OBJEXT) instead of .o.
	* sp16/Makefile.am: Use $(OBJEXT) instead of .o.
	* sp17/Makefile.am: Use $(OBJEXT) instead of .o.
	* sp19/Makefile.am: Use $(OBJEXT) instead of .o.
	* sp20/Makefile.am: Use $(OBJEXT) instead of .o.
	* sp21/Makefile.am: Use $(OBJEXT) instead of .o.
	* sp22/Makefile.am: Use $(OBJEXT) instead of .o.
	* sp23/Makefile.am: Use $(OBJEXT) instead of .o.
	* sp24/Makefile.am: Use $(OBJEXT) instead of .o.
	* sp25/Makefile.am: Use $(OBJEXT) instead of .o.
	* sp26/Makefile.am: Use $(OBJEXT) instead of .o.
	* sp27/Makefile.am: Use $(OBJEXT) instead of .o.
	* sp28/Makefile.am: Use $(OBJEXT) instead of .o.
	* sp29/Makefile.am: Use $(OBJEXT) instead of .o.
	* sp30/Makefile.am: Use $(OBJEXT) instead of .o.
	* sp31/Makefile.am: Use $(OBJEXT) instead of .o.
	* spfatal/Makefile.am: Use $(OBJEXT) instead of .o.
	* spsize/Makefile.am: Use $(OBJEXT) instead of .o.
2002-08-11 04:59:41 +00:00
Joel Sherrill 3aa4c2e0ce 2002-08-01 Joel Sherrill <joel@OARcorp.com>
* Per PR47 add support for buffered test output.  This involved
	adding defines to redirect output to a buffer and dump it when
	full, at "test pause", and at exit.  To avoid problems when redefining
	exit(), all tests were modified to call rtems_test_exit().
	Some tests, notable psxtests, had to be modified to include
	the standard test macro .h file (pmacros.h or tmacros.h) to
	enable this support.
	* sp01/task1.c, sp02/task1.c, sp03/task2.c, sp04/task1.c, sp05/task1.c,
	sp06/task1.c, sp07/taskexit.c, sp08/task1.c, sp09/task1.c,
	sp11/task1.c, sp12/pritask.c, sp12/task5.c, sp13/task1.c,
	sp14/task2.c, sp15/task1.c, sp16/task1.c, sp17/task1.c,
	sp19/fptask.c, sp20/task1.c, sp21/task1.c, sp22/task1.c,
	sp23/task1.c, sp24/task1.c, sp25/task1.c, sp26/init.c, sp26/task1.c,
	sp30/task1.c, sp31/task1.c, spsize/init.c, spsize/size.c: Modified.
2002-08-02 00:52:14 +00:00
Joel Sherrill 3dc936c144 2002-07-30 Joel Sherrill <joel@OARcorp.com>
* spsize/size.c: Don't reference the RTEMS allocated interrupt
	stack if the port doesn't configure using it.
2002-07-30 23:24:48 +00:00
Joel Sherrill c3bb68a1bf 2002-07-04 Joel Sherrill <joel@OARcorp.com>
* Jump table for single entry point removed.
	* spsize/size.c:  Modified to reflect above.
2002-07-04 16:23:52 +00:00
Joel Sherrill 21bbb925a9 2002-07-01 Joel Sherrill <joel@OARcorp.com>
* sp29/init.c: Corrected definitions for task stack usage.
2002-07-01 22:11:44 +00:00
Joel Sherrill a9047a0f9b 2002-07-01 Joel Sherrill <joel@OARcorp.com>
* spsize/size.c: _Thread_queue_Extract_table removed.
2002-07-01 22:11:15 +00:00
Joel Sherrill 8873684bdf 2001-05-17 Joel Sherrill <joel@OARcorp.com>
* sp21/task1.c (INVALID_DRIVER_MAJOR): Change definition to reflect
	number of staticly configured device drivers.
2002-05-17 18:06:23 +00:00
Joel Sherrill 606926fe68 2001-05-14 Joel Sherrill <joel@OARcorp.com>
* sp21/task1.c: Correct INVALID_DRIVER_MAJOR so it is precisely 1 more
	than the configured number of drivers.
2002-05-14 15:20:48 +00:00
Joel Sherrill cb9b2bfcaa 2002-04-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove ENABLE_GCC28.
2002-04-16 13:53:23 +00:00
Joel Sherrill beaa47bc46 2001-04-04 Joel Sherrill <joel@OARcorp.com>
* spsize/size.c: Reflect SPARC modifcation to get rid of
	NO_TABLE_MOVE and references to  _CPU_Trap_Table_area.
2002-04-04 22:29:47 +00:00
Joel Sherrill 5729f62e12 2001-03-29 Joel Sherrill <joel@OARcorp.com>
* Per PR147 addressed problems when reseting and inserting a timer
	into a timer chain that did not honor time passage since the last
	time the timer server was scheduled and the new insertion.
	* sp31/sp31.scn, sp31/task1.c: Added test code to detect this case.
2002-03-29 15:32:08 +00:00
Joel Sherrill 0a32a213de 2001-03-28 Joel Sherrill <joel@OARcorp.com>
* Side-effect of PR132.
	* sp21/system.h: Now must explicitly request NULL driver.
2002-03-28 19:30:51 +00:00
Joel Sherrill ac2512abbd 2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac:
	AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS).
	AM_INIT_AUTOMAKE([no-define foreign 1.6]).
	* sp01/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* sp02/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* Makefile.am: Remove AUTOMAKE_OPTIONS.
	* sp03/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* sp04/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* sp05/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* sp06/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* sp07/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* sp08/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* sp09/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* sp11/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* sp12/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* sp13/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* sp14/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* sp15/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* sp16/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* sp17/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* sp19/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* sp20/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* sp21/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* sp22/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* sp23/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* sp24/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* sp25/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* sp26/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* sp27/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* sp28/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* sp29/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* sp30/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* sp31/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* spfatal/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* spsize/Makefile.am: Remove AUTOMAKE_OPTIONS.
2002-03-28 00:44:27 +00:00
Joel Sherrill fabacfedb8 2002-03-20 Chris Johns <ccj@acm.org>
* PR145.
	* sp04/task1.c, sp04/tswitch.c: Test fails if other tasks present
	in system (e.g. driver tasks).  Also exit on minimum number of
	switches not precise number.
2002-03-20 14:56:45 +00:00
Joel Sherrill ef70d9b652 2001-01-29 Joel Sherrill <joel@OARcorp.com>
* Fixed bug where resetting a timer that was not at the head
	of one of the task timer chains resulted in the Timer Server
	task waking up too far in the future.
	* Added rtems_timer_get_information() directive to support testing.
	* sp31/init.c, sp31/system.h, sp31/task1.c: Modified to test for
	above condition.
2002-01-29 18:20:59 +00:00
Joel Sherrill 2fc6dc313d 2001-01-22 Joel Sherrill <joel@OARcorp.com>
* sp09/screen14.c, sp09/sp09.scn, sp30/init.c, sp31/init.c: Modified
	because priority added as argument to rtems_timer_initiate_server().
2002-01-22 19:14:37 +00:00
Joel Sherrill de569fee9f 2001-01-16 Joel Sherrill <joel@OARcorp.com>
* Added tests for task-based timers.  This included the new tests
	sp30 and sp31.
	* Makefile.am, configure.ac: Modified to reflect new tests and files.
	* sp09/screen14.c, sp09/sp09.scn: Modified to add error checks
	for task-based timer services.
	* sp30/.cvsignore, sp30/Makefile.am, sp30/init.c, sp30/resume.c,
	sp30/sp30.doc, sp30/sp30.scn, sp30/system.h, sp30/task1.c,
	sp31/.cvsignore, sp31/Makefile.am, sp31/delay.c, sp31/init.c,
	sp31/prtime.c, sp31/sp31.doc, sp31/sp31.scn, sp31/system.h,
	sp31/task1.c: New files.
2002-01-16 22:13:29 +00:00
Joel Sherrill 850f87e5c9 2001-11-01 Joel Sherrill <joel@OARcorp.com>
* sp26/system.h: Properly account for stack memory used by
	this test. Reported by Jerry Needell <jerry.needell@unh.edu>
	and processed as PR78.
2001-11-01 23:08:47 +00:00
Joel Sherrill d7aecdc8f8 2001-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* .cvsignore: Add autom4te.cache for autoconf > 2.52.
	* configure.in: Remove.
2001-10-12 18:47:00 +00:00
Joel Sherrill df25c9989b 2001-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* .cvsignore: Add autom4te.cache for autoconf > 2.52.
	* configure.in: Remove.
	* configure.ac: New file, generated from configure.in by autoupdate.
2001-10-11 19:36:23 +00:00
Joel Sherrill 996bfbfd3e 2001-09-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* sptests.am: Use TMPINSTALL_FILES = to make automake-1.5 happy.
2001-09-24 18:28:32 +00:00
Joel Sherrill 25b9e93c35 2001-09-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* sp20/Makefile.am: include leaf.am instead of leaf.cfg.
	* sp02/Makefile.am: include leaf.am instead of leaf.cfg.
	* sp19/Makefile.am: include leaf.am instead of leaf.cfg.
	* sp11/Makefile.am: include leaf.am instead of leaf.cfg.
	* sp25/Makefile.am: include leaf.am instead of leaf.cfg.
	* sp04/Makefile.am: include leaf.am instead of leaf.cfg.
	* spsize/Makefile.am: include leaf.am instead of leaf.cfg.
	* sp01/Makefile.am: include leaf.am instead of leaf.cfg.
	* sp16/Makefile.am: include leaf.am instead of leaf.cfg.
	* sp05/Makefile.am: include leaf.am instead of leaf.cfg.
	* sp09/Makefile.am: include leaf.am instead of leaf.cfg.
	* spfatal/Makefile.am: include leaf.am instead of leaf.cfg.
	* sp06/Makefile.am: include leaf.am instead of leaf.cfg.
	* sp23/Makefile.am: include leaf.am instead of leaf.cfg.
	* sp28/Makefile.am: include leaf.am instead of leaf.cfg.
	* sp03/Makefile.am: include leaf.am instead of leaf.cfg.
	* sp29/Makefile.am: include leaf.am instead of leaf.cfg.
	* sp13/Makefile.am: include leaf.am instead of leaf.cfg.
	* sp27/Makefile.am: include leaf.am instead of leaf.cfg.
	* sp14/Makefile.am: include leaf.am instead of leaf.cfg.
	* sp07/Makefile.am: include leaf.am instead of leaf.cfg.
	* sp15/Makefile.am: include leaf.am instead of leaf.cfg.
	* sp17/Makefile.am: include leaf.am instead of leaf.cfg.
	* sp22/Makefile.am: include leaf.am instead of leaf.cfg.
	* sp12/Makefile.am: include leaf.am instead of leaf.cfg.
	* sp26/Makefile.am: include leaf.am instead of leaf.cfg.
	* sp21/Makefile.am: include leaf.am instead of leaf.cfg.
	* sp24/Makefile.am: include leaf.am instead of leaf.cfg.
	* sp08/Makefile.am: include leaf.am instead of leaf.cfg.
2001-09-19 17:21:53 +00:00
Joel Sherrill 94dfe0f713 2001-08-16 Joel Sherrill <joel@OARcorp.com>
* sp20/system.h: Account for extra task stacks properly.
2001-08-16 19:41:09 +00:00
Joel Sherrill 11b1063d2e 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 19:40:29 +00:00
Joel Sherrill 95083c0db9 2001-05-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Use RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm]).
2001-05-10 13:38:37 +00:00
Joel Sherrill cf7884b9d8 2001-04-20 Joel Sherrill <joel@OARcorp.com>
* sp298/sp28.scn: Minor adjustment so test output matches the screen
	file.
2001-04-20 13:54:12 +00:00
Joel Sherrill dde827b9f6 2001-02-07 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* spsize/size.c: Use #if !defined(RTEMS_UNIX).
2001-02-12 14:51:32 +00:00
Joel Sherrill 55a86b4528 2001-01-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* sp21/Makefile.am: Remove libtest.
2001-01-26 21:55:39 +00:00
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 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 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 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 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 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 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 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 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 3e7a0fd4e3 Added test case for broadcast to queue with messages pending. 2000-01-13 19:27:33 +00:00
Jennifer Averett 0724b658a7 Added start and end herald. 2000-01-13 17:01:35 +00:00
Joel Sherrill bd177b7bea Fixed comment. 2000-01-06 15:20:53 +00:00