Commit Graph

2575 Commits

Author SHA1 Message Date
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
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
08311cc3a9 Updated copyright notice. 1999-11-17 17:51:34 +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
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
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
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
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
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