Commit Graph
24290 Commits
Author SHA1 Message Date
Joel Sherrill 08bae5e6c3 Added... This is the Configuration Tables Template file. 1995-09-11 20:18:48 +00:00
Joel Sherrill ced11f9984 Added 1995-09-11 20:18:16 +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 5072b07691 new file -- split from inlines 1995-08-29 17:49:21 +00:00
Joel Sherrill 7f6a24abdd Added unused priority ceiling parameter to rtems_semaphore_create.
Rearranged code to created thread handler routines to initialize,
start, restart, and "close/delete" a thread.

Made internal threads their own object class.  This now uses the
thread support routines for starting and initializing a thread.

Insured deleted tasks are freed to the Inactive pool associated with the
correct Information block.

Added an RTEMS API specific data area to the thread control block.

Beginnings of removing the word "rtems" from the core.
1995-08-28 15:30:29 +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 80e2c29e64 Added file .. fixed RCS Id 1995-08-22 17:11:19 +00:00
Joel Sherrill 0cf5bd681a fixed RCS Id 1995-08-22 17:11:04 +00:00
Joel Sherrill 63edbb3fbc Fixed missing RCS Ids 1995-08-22 16:57:18 +00:00
Joel Sherrill 6b45e470be Merged PowerPC port as submitted by Andy Bray of I-CUBED, Ltd
(andy@i-cubed.demon.co.uk).  This initial submission is known
to work on the IBM 403.  It is thought to work on the Motorola
601, 603, and 604 although this remains to be tested.

Another user -- Doug Currie (e@flavors.com) -- is interested in
this work and will be testing it on the 604 using the Metrowerks
C compiler and a different format assembly language.
1995-08-22 16:44:49 +00:00
Joel Sherrill da6375babd fix broken RCS Ids -- $ accidentally lost merging changes earlier 1995-08-22 16:03:46 +00:00
Joel Sherrill bb322a0ea6 make inline and macro implementations match 1995-08-22 15:37:59 +00:00
Joel Sherrill b2c491a080 make inline and macro implementations match 1995-08-22 14:52:08 +00:00
Joel Sherrill 6136168881 Modified object name to id translation loop to make it easier to
incorporate variable length object names.  Previously the algorithm
scanned an array of 4-byte names for a match.  Now it scans the
object table, grabs a pointer to the name, and then compares it
if the object is active and has a name.
1995-08-22 13:56:54 +00:00
Joel Sherrill 2a0b721738 Changed to reflect adding object class to id
Added "0x" to printf of id
1995-08-18 21:44:46 +00:00
Joel Sherrill 94179e0f24 Changed to reflect adding object class to id 1995-08-18 21:44:29 +00:00
Joel Sherrill 0f592fbafe Modified references to task name. 1995-08-18 21:43:40 +00:00
Joel Sherrill 9863dbfdd4 + Added object type field to object id.
+ Added name pointer to Object_Control.

+ Modified Object Open and Close to address name field.

+ Removed name as separate element from Thread and Proxy Control.

+ Added parameter "object class" to calls to Initialize Information
1995-08-18 21:42:58 +00:00
Joel Sherrill 95fbca1940 + Added object type field to object id.
+ Added name pointer to Object_Control.

+ Modified Object Open and Close to address name field.

+ Removed name as separate element from Thread and Proxy Control.
1995-08-18 21:41:27 +00:00
Joel Sherrill b06e68ef1f Numerous miscellaneous features incorporated from Tony Bennett
(tbennett@divnc.com) including the following major additions:

  + variable length messages
  + named devices
  + debug monitor
  + association tables/variables
1995-08-17 19:51:51 +00:00
Joel Sherrill 3b438fa4b0 variable length messages 1995-08-17 19:39:31 +00:00
Joel Sherrill 4b374f36e7 maximum number of messages removed and include statement cleanup 1995-08-17 19:36:43 +00:00
Joel Sherrill 556fb911c8 added tty driver to simhppa 1995-08-17 15:56:55 +00:00
Joel Sherrill a1df011813 Id reinserted 1995-08-17 15:33:31 +00:00
Joel Sherrill 199fa365bc no limit removed 1995-08-17 15:32:35 +00:00
Joel Sherrill 45819022ce bug fixes to make macro implementations work 1995-08-16 19:42:41 +00:00
Joel Sherrill 7285a01656 final 3.2.1 Module file and version updates 1995-08-15 19:43:12 +00:00
Joel Sherrill 891e9c3c75 added alignment attribute for array used as partition memory. 1995-08-11 14:35:01 +00:00
Joel Sherrill 8d47a15eb9 cleanup 1995-08-11 14:33:56 +00:00
Joel Sherrill 4cc631db0f Added functions to access the errno of the native system when using the
newlib C library.

Fixed bug where length did not take into account amount added
for alignment requirements.
1995-08-11 14:33:04 +00:00
Joel Sherrill 4e58d80b9e Added functions to access the errno of the native system when using the
newlib C library.
1995-08-11 14:31:29 +00:00
Joel Sherrill c1403ef153 Added flush of output on exit. On some UNIX's using the native library
resulted in no output when the output was redirected until this was done.
Redirection is important because runtest redirects test output.

Added support for numerous environment variables which make it easier
to run a multi-node system using a single executable and to tailor
the size of the workspace and heap.
1995-08-11 14:30:27 +00:00
Joel Sherrill aa9f19454a Initialization of semaphores was incorrect. It did not force
the count to "1" to indicate availability.

Interrupt support was added.

Problem where newlib's errno "overrides" that set by system calls
was addressed.

Fixed bug which resulted in all nodes using the same semaphore although
an array of semaphores was allocated.
1995-08-11 14:27:23 +00:00
Joel Sherrill 0e4c603b8e clean up -- interrupt support is in place 1995-08-11 14:24:44 +00:00
Joel Sherrill 12f86efd88 minor clean up -- switched to memset for zero'ing SHM 1995-08-11 14:23:49 +00:00
Joel Sherrill 0b8b9717a4 cleaned up include statements 1995-08-11 14:16:53 +00:00
Joel Sherrill e34941195e clean up of RunWay interrupt support 1995-08-11 14:16:20 +00:00
Joel Sherrill 4d9fa26805 added constant for number of notepads 1995-08-11 14:13:51 +00:00
Joel Sherrill e7e016fdc2 cleanup and optimization from Tony 1995-08-04 22:18:45 +00:00
Joel Sherrill ce6e30b150 Split out event manager support function 1995-08-04 22:18:11 +00:00
Joel Sherrill ea9d7db3b0 split out event support functions in anticipation of making a handler 1995-08-04 22:17:48 +00:00
Joel Sherrill 216ed5450b Tony's updates 1995-08-04 22:13:27 +00:00
Joel Sherrill 4a6fa2ab77 updaetd to remove UNIX simulator bugs 1995-08-04 22:13:11 +00:00
Joel Sherrill ad3bf6670f Changed order of include files. 1995-08-02 20:01:56 +00:00
Joel Sherrill 0d55427b31 *** empty log message *** 1995-08-02 20:01:26 +00:00
Joel Sherrill 795030965e Added test cases:
+ some from Andy Bray (andy@i-cubed.demon.co.uk) which do not include
    task start up cost.
  + cases for interrupt disable, enable, and flash
1995-08-02 19:56:51 +00:00
Joel Sherrill 4f90134497 deleted unused code 1995-08-01 15:39:55 +00:00
Joel Sherrill c6fb8e9096 updated mvme162 code from Misha (mms@eiscathq.irf.se) 1995-08-01 15:33:39 +00:00
Joel Sherrill 4a6e64d276 moved ringbuf.h to a shared include directory 1995-08-01 15:32:09 +00:00