Commit Graph

46 Commits

Author SHA1 Message Date
Joel Sherrill
0c30bc58c1 2006-04-05 Joel Sherrill <joel@OARcorp.com>
Victor V. Vengerov <Victor.Vengerov@oktetlabs.ru>

	* spsize/size.c: Victor spotted the problem that
	_MPCI_Receive_server_tcb and _Thread_MP_Receive were duplicate
	variables and needed to be set to the same value.  I took that
	idea and just removed _Thread_MP_Receive.  All uses are now
	_MPCI_Receive_server_tcb.
2006-04-05 20:09:33 +00:00
Joel Sherrill
9fa21da056 2004-09-29 Joel Sherrill <joel@OARcorp.com>
* spsize/size.c: i960 obsoleted and all references removed.
2004-09-29 20:37:20 +00:00
Ralf Corsepius
1b4f2b305c Remove stray white spaces. 2004-04-16 09:24:30 +00:00
Ralf Corsepius
c87608fd82 2004-03-30 Ralf Corsepius <ralf_corsepius@rtems.org>
* sp02/task1.c, sp04/system.h, sp04/task1.c, sp04/tswitch.c,
	sp05/task1.c, sp06/task1.c, sp09/screen01.c, sp09/screen07.c,
	sp09/screen12.c, sp09/system.h, sp09/task3.c, sp11/task1.c,
	sp12/pridrv.c, sp12/pritask.c, sp12/system.h, sp13/task1.c,
	sp13/task2.c, sp13/task3.c, sp14/system.h, sp15/system.h,
	sp16/system.h, sp17/system.h, sp19/first.c, sp19/fptask.c,
	sp19/inttest.h, sp19/system.h, sp19/task1.c, sp20/init.c,
	sp20/system.h, sp20/task1.c, sp23/system.h, sp24/init.c,
	sp25/system.h, sp30/init.c, spfatal/fatal.c, spfatal/puterr.c,
	spfatal/system.h, spsize/size.c: Convert to using c99 fixed size
	types.
2004-03-30 11:15:35 +00:00
Joel Sherrill
d2b93bfd98 2003-09-04 Joel Sherrill <joel@OARcorp.com>
* sp01/init.c, sp01/sp01.doc, sp01/system.h, sp01/task1.c, sp02/init.c,
	sp02/preempt.c, sp02/sp02.doc, sp02/system.h, sp02/task1.c,
	sp02/task2.c, sp02/task3.c, sp03/init.c, sp03/sp03.doc,
	sp03/system.h, sp03/task1.c, sp03/task2.c, sp04/init.c,
	sp04/sp04.doc, sp04/system.h, sp04/task1.c, sp04/task2.c,
	sp04/task3.c, sp04/tswitch.c, sp05/init.c, sp05/sp05.doc,
	sp05/system.h, sp05/task1.c, sp05/task2.c, sp05/task3.c, sp06/init.c,
	sp06/sp06.doc, sp06/system.h, sp06/task1.c, sp06/task2.c,
	sp06/task3.c, sp07/init.c, sp07/sp07.doc, sp07/system.h,
	sp07/task1.c, sp07/task2.c, sp07/task3.c, sp07/task4.c,
	sp07/taskexit.c, sp07/tcreate.c, sp07/tdelete.c, sp07/trestart.c,
	sp07/tstart.c, sp08/init.c, sp08/sp08.doc, sp08/system.h,
	sp08/task1.c, sp09/delay.c, sp09/init.c, sp09/isr.c, sp09/screen01.c,
	sp09/screen02.c, sp09/screen03.c, sp09/screen04.c, sp09/screen05.c,
	sp09/screen06.c, sp09/screen07.c, sp09/screen08.c, sp09/screen09.c,
	sp09/screen10.c, sp09/screen11.c, sp09/screen12.c, sp09/screen13.c,
	sp09/screen14.c, sp09/sp09.doc, sp09/system.h, sp09/task1.c,
	sp09/task2.c, sp09/task3.c, sp09/task4.c, sp11/init.c, sp11/sp11.doc,
	sp11/system.h, sp11/task1.c, sp11/task2.c, sp11/timer.c, sp12/init.c,
	sp12/pridrv.c, sp12/pritask.c, sp12/sp12.doc, sp12/system.h,
	sp12/task1.c, sp12/task2.c, sp12/task3.c, sp12/task4.c, sp12/task5.c,
	sp13/fillbuff.c, sp13/init.c, sp13/putbuff.c, sp13/sp13.doc,
	sp13/system.h, sp13/task1.c, sp13/task2.c, sp13/task3.c, sp14/asr.c,
	sp14/init.c, sp14/sp14.doc, sp14/system.h, sp14/task1.c,
	sp14/task2.c, sp15/init.c, sp15/sp15.doc, sp15/system.h,
	sp15/task1.c, sp16/init.c, sp16/sp16.doc, sp16/system.h,
	sp16/task1.c, sp16/task2.c, sp16/task3.c, sp16/task4.c, sp16/task5.c,
	sp17/asr.c, sp17/init.c, sp17/sp17.doc, sp17/system.h, sp17/task1.c,
	sp17/task2.c, sp19/first.c, sp19/fptask.c, sp19/fptest.h,
	sp19/init.c, sp19/inttest.h, sp19/sp19.doc, sp19/system.h,
	sp19/task1.c, sp20/getall.c, sp20/init.c, sp20/sp20.doc,
	sp20/system.h, sp20/task1.c, sp21/init.c, sp21/sp21.doc,
	sp21/system.h, sp21/task1.c, sp22/delay.c, sp22/init.c,
	sp22/prtime.c, sp22/sp22.doc, sp22/system.h, sp22/task1.c,
	sp23/init.c, sp23/sp23.doc, sp23/system.h, sp23/task1.c, sp24/init.c,
	sp24/resume.c, sp24/sp24.doc, sp24/system.h, sp24/task1.c,
	sp25/init.c, sp25/sp25.doc, sp25/system.h, sp25/task1.c, sp26/init.c,
	sp26/sp26.doc, sp26/system.h, sp26/task1.c, sp30/init.c,
	sp30/resume.c, sp30/sp30.doc, sp30/system.h, sp30/task1.c,
	sp31/delay.c, sp31/init.c, sp31/prtime.c, sp31/sp31.doc,
	sp31/system.h, sp31/task1.c, sp32/init.c, spfatal/fatal.c,
	spfatal/init.c, spfatal/puterr.c, spfatal/spfatal.doc,
	spfatal/system.h, spfatal/task1.c, spsize/getint.c, spsize/init.c,
	spsize/size.c, spsize/system.h: URL for license changed.
2003-09-04 18:53:48 +00:00
Joel Sherrill
18ee864a24 2003-05-29 Joel Sherrill <joel@OARcorp.com>
* sp27/init.c, sp29/init.c, spsize/size.c: Removed warnings.
2003-05-29 19:07:42 +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
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
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
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
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
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
08311cc3a9 Updated copyright notice. 1999-11-17 17:51:34 +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
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
082fc2d5d2 Fixed use of incorrect macro for minimum stack size. 1998-10-05 12:45:53 +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
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
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
60b791ada1 updated copyright to 1998 1998-02-17 23:46:28 +00:00
Joel Sherrill
98e4ebf594 Fixed typo in the pointer to the license terms. 1997-10-08 15:45:54 +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
f8700f776e corrected printf specifications and added casts as necessary to eliminate
warnings.
1997-04-07 21:33:28 +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
022923e468 Added _Thread_Do_post_task_switch_extension variable. 1996-06-13 16:45:51 +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
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
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
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
c3dcd6e9b4 Added RTEMS API control structure to per task memory usage macro. 1996-01-19 22:22:12 +00:00
Joel Sherrill
c4808ca59f typos fixed 1995-10-31 21:28:16 +00:00
Joel Sherrill
97005786d8 SPARC port passes all tests 1995-10-30 21:54:45 +00:00
Joel Sherrill
5e9b32b439 posix support initially added 1995-09-26 19:27:15 +00:00
Joel Sherrill
18c53787e1 moving files around and adding the exec/wrapup directory 1995-09-22 15:35:48 +00:00
Joel Sherrill
3652ad356b Minor bug fixes to get all targets compilable and running. The
single biggest changes were the expansion of the workspace size
macro to include other types of objects and the increase in the
minimum stack size for most CPUs.
1995-09-19 14:53:29 +00:00
Joel Sherrill
3a4ae6c210 The word "RTEMS" almost completely removed from the core.
Configuration Table Template file added and all tests
modified to use this.  All gvar.h and conftbl.h files
removed from test directories.

Configuration parameter maximum_devices added.

Core semaphore and mutex handlers added and RTEMS API Semaphore
Manager updated to reflect this.

Initialization sequence changed to invoke API specific initialization
routines.  Initialization tasks table now owned by RTEMS Tasks Manager.

Added user extension for post-switch.

Utilized user extensions to implement API specific functionality
like signal dispatching.

Added extensions to the System Initialization Thread so that an
API can register a function to be invoked while the system
is being initialized.  These are largely equivalent to the
pre-driver and post-driver hooks.

Added the Modules file oar-go32_p5, modified oar-go32, and modified
the file make/custom/go32.cfg to look at an environment varable which
determines what CPU model is being used.

All BSPs updated to reflect named devices and clock driver's IOCTL
used by the Shared Memory Driver.  Also merged clock isr into
main file and removed ckisr.c where possible.

Updated spsize to reflect new and moved variables.

Makefiles for the executive source and include files updated to show
break down of files into Core, RTEMS API, and Neither.

Header and inline files installed into subdirectory based on whether
logically in the Core or a part of the RTEMS API.
1995-09-11 19:35:39 +00:00
Joel Sherrill
5250ff39f0 Moved _Thread_Information -> _RTEMS_tasks_Information.
Added a table of object information control blocks.

Modified _Thread_Get so it looks up a thread regardless of which
thread management "entity" (manager, internal, etc) actually "owns" it.
1995-08-23 21:06:31 +00:00
Joel Sherrill
3235ad9a2c Support for variable length names added to Object Handler. This supports
both fixed length "raw" names and strings from the API's point of view.

Both inline and macro implementations were tested.
1995-08-23 19:30:23 +00:00
Joel Sherrill
4b374f36e7 maximum number of messages removed and include statement cleanup 1995-08-17 19:36:43 +00:00
Joel Sherrill
637df35f96 Ada95, gnat, go32 1995-07-12 19:47:25 +00:00
Joel Sherrill
6b782ab7dc conditional added for the hppa gr27 1995-06-05 23:53:37 +00:00
Joel Sherrill
88d594a3d5 Fully tested on all in-house targets 1995-05-24 21:39:42 +00:00
Joel Sherrill
ac7d5ef06a Initial revision 1995-05-11 17:39:37 +00:00