Commit Graph
5440 Commits
Author SHA1 Message Date
Joel Sherrill 5a064dca14 Patch from Daniel Kelley <dank@icube.com>:
I found a small buglet in the mips64orion _CPU_ISR_Set_level; the
    original was wiping out the level argument, and then comparing the
    current interrupt level with some random value of v0. See patch below.
1999-05-18 17:41:16 +00:00
Joel Sherrill 9180f63e97 Fixed some typos. 1999-05-17 23:26:50 +00:00
Joel Sherrill c9973bbc54 Split Interrupt Manager into one routine per file. 1999-05-17 23:22:45 +00:00
Joel Sherrill 0123e3be53 Split Signal Manager into one routine per file. 1999-05-17 23:20:52 +00:00
Joel Sherrill 1dc030fe05 Dual-Ported Memory Manager split into one routine per file. 1999-05-17 23:18:20 +00:00
Joel Sherrill 842db5f391 Split Partition Manager into one routine per file. 1999-05-17 23:15:20 +00:00
Joel Sherrill be47df9381 Split Timer Manager into one routine per file. 1999-05-17 23:10:36 +00:00
Joel Sherrill cc2bc3025c Split Event Manager into one routine per file. 1999-05-17 23:06:03 +00:00
Joel Sherrill 5f9b3db545 Split Rate Monotonic Manager into one routine per file. 1999-05-17 23:03:07 +00:00
Joel Sherrill c06d8f6467 Split the Semaphore Manager into one routine per file. 1999-05-17 22:58:30 +00:00
Joel Sherrill a2d0f39a2c Moved some MP routines to semmp.c. 1999-05-17 22:56:13 +00:00
Joel Sherrill 3270ca68da Forgot to actually remove the routines. :) 1999-05-17 22:53:34 +00:00
Joel Sherrill 1e1b3e00d1 Split Message Manager into one routine per file. 1999-05-17 22:52:59 +00:00
Joel Sherrill ef22ab2584 Moved an MP routine from msg.c to here. 1999-05-17 22:46:01 +00:00
Joel Sherrill 86cb89f05f Cleaned up some multiprocessing issues. 1999-05-17 22:45:47 +00:00
Joel Sherrill bd83f4738f Split Clock Manager into one routine per file. 1999-05-17 22:42:47 +00:00
Joel Sherrill 5aa64518b5 Split Region Manager into one routine per file. 1999-05-17 22:39:20 +00:00
Joel Sherrill 1178b8cabb Splitting the Thread Handler forced the inclusion of more prototypes. 1999-05-17 22:19:29 +00:00
Joel Sherrill c4d69e21a7 Split Task Manager into multiple files. Eventually this effort will
reduce the size of executables.
1999-05-17 21:02:16 +00:00
Joel Sherrill 05df0a846f Thread Handler split into multiple files. Eventually, as RTEMS is
split into one function per file, this will decrease the size of executables.
1999-05-17 20:41:13 +00:00
Joel Sherrill a238cc97d0 Patch from D. V. Henkel-Wallace <gumby@zembu.com> to remove compiler
warnings.
1999-05-17 15:45:15 +00:00
Joel Sherrill 577c408009 Patch from D. V. Henkel-Wallace <gumby@zembu.com>:
Here's a tiny patch that shreds memory returned to the pool (such as by
  free() and delete). This may help people find some nasty
  bugs, so here it is.
1999-05-17 15:28:52 +00:00
Joel Sherrill a0b94685cd Removed check for initialized ID at request of Rosimildo DaSilva
<rdasilva@connecttel.com> who encountered random failures in his
port of omniORB2.
1999-05-14 14:43:53 +00:00
Joel Sherrill 4c5080ed09 Fix based on bug report from Jay Kulpinski <jskulpin@eng01.gdds.com>
that the per task reentrancy structure was not being processed properly
during exit().

joel@oarcorp.com wrote:
>
>
> This is always an ugly place to poke around. :(
>
> The code in newlib/libc/stdlib/exit.c walks the atexit chain for the
> reentrancy structure for JUST the current task.  The code in libc_wrapup()
> does it for both the current task and the global reentrancy structure
> (which tends to be where driver atexit()'s were registered.
>
> So I think the _wrapup_reent(0) in libc_wrapup() should be commented out.
>
> If you concur, then I will make the change and improve the comment on this
> line of code to explain things:
>
>     libc_wrapup(); /* Why? XXX */
>
> --joel

That does the job.  cdtest.exe works correctly now.
1999-05-11 16:30:51 +00:00
Joel Sherrill 5a909149ca Made all calls to _Thread_Yield_processor consistent in how they are
wrapped by calls to _Thread_Enable_dispatch and _Thread_Disable_dispatch.
1999-05-07 17:09:20 +00:00
Joel Sherrill 16775a5535 Patch from Jiri Gaisler <jgais@ws.estec.esa.nl> to allow stacksize
of POSIX Init thread to be user configured.
1999-05-07 16:36:29 +00:00
Joel Sherrill acb644a66f Error reporting fixed by Jennifer. 1999-05-07 16:30:44 +00:00
Joel Sherrill cfcb5a299a Patch from Eric Norum <eric@cls.usask.ca> to corrent a miscount in length
that results in an error in parsing network unit names/numbers.
1999-04-27 17:31:39 +00:00
Joel Sherrill c7aa9d6ff8 Repairing damage and recovering changes including C++ wrappers.. 1999-04-26 18:22:08 +00:00
Joel Sherrill c8cfdcfe53 Recovered changes since CVS file was corrupted. 1999-04-26 18:04:46 +00:00
Joel Sherrill 933388ae2d Added lstat(). 1999-04-22 21:13:23 +00:00
Joel Sherrill c2463d94b3 Intel i960HA support submitted by Jimen Ching <jimen@adtech-inc.com>
based on 3.6.0.  It was very lucky that this went in as well as it
did.
1999-04-19 21:02:31 +00:00
Joel Sherrill b56206a6ca Unlimited objects patch design document. Submitted by Chris Johns
<ccj@acm.org> of Objective Design Systems.
1999-04-19 17:30:02 +00:00
Joel Sherrill 4186b3bb0c Changed ioctl() prototype to be more like Linux/POSIX than BSD to ease
porting of ACE to RTEMS.
1999-04-19 17:17:41 +00:00
Joel Sherrill df3e78a86b The default action for real-time signals is supposed to be SIGACTION_TERMINATE.
Jiri Gaisler caught this and submitted a patch but a subsequent patch
backed it out accidentally.
1999-04-19 15:54:03 +00:00
Joel Sherrill ac91855d33 After discussion with Eric Norum <eric@skatter.usask.ca>,
I added __INSIDE_RTEMS_BSD_TCPIP_STACK__ that trips all the needed
macro definitions for a network driver.
1999-04-19 15:27:21 +00:00
Joel Sherrill d006519bce Added reentrant versions. 1999-04-15 19:01:32 +00:00
Joel Sherrill a68e6b91e9 Updated version string. 1999-04-15 18:58:43 +00:00
Joel Sherrill 2df1974a27 Added include of rtems/posix/cancel.h. 1999-04-15 18:58:27 +00:00
Joel Sherrill da41ecbcfe Removed alarm(), killinfo() and pause() because they are now in their own file. 1999-04-15 18:58:02 +00:00
Joel Sherrill 93994fdb80 Now compiles and is included in normal build even though it is untested.
Added multiprocessing conditional.
1999-04-15 18:57:31 +00:00
Joel Sherrill 0f4e0745c6 Cleaned up. 1999-04-15 18:57:02 +00:00
Joel Sherrill 3afecf811d Now compiles and is included in normal build even though it is untested. 1999-04-15 18:56:42 +00:00
Joel Sherrill d0f53fec4b Enabled cancellation information in POSIX API thread extension structure. 1999-04-15 18:54:01 +00:00
Joel Sherrill 2b283071c6 Bug report from Ralf on UNIX port where the S_IR* constants were not
defined.
1999-04-14 18:18:03 +00:00
Joel Sherrill 82f490f786 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to correct the
--enable-tests problem a better way.
1999-04-12 20:24:56 +00:00
Joel Sherrill d1153156f0 Added line to initialize timer_max. 1999-04-12 15:36:07 +00:00
Joel Sherrill 3084de2513 MPC821 support and PPC patches from Andrew Bray <andy@madhouse.demon.co.uk>:
In c/src/exec/score/cpu/powerpc/rtems/score/ppc.h:

    A lot of hardware interrupts were omitted.  Patch enclosed.
    I have also added the 821.

  In c/src/exec/score/cpu/powerpc/rtems/score/cpu.h:

    My patch adds the 821.

  In c/src/exec/score/cpu/powerpc/cpu.c:

    I have added the MPC821, and also fixed up for the missing hardware
    interrupts.  It is also inconsistent with
    c/src/lib/libcpu/powerpc/mpc860/vectors/vectors.S.  This has been fixed.


  In c/src/lib/libcpu/powerpc/mpc860/vectors/vectors.S:

    Fixed an inconsistency with cpu.c.

    I also include some new files to go with the above patches.  These are the
    cpu library rtems-19990331/c/src/lib/libcpu/powerpc/mpc821/* and
    c/src/exec/score/cpu/powerpc/mpc821.h which are minor modifications of
    the 860 equivalents.

  Other comments:

    The various accesses to the DPRAM on the 860 are done with a linktime
    symbol. This could be done dynamically at run time by reading the immr
    register, and masking off the lower 16 bits.  This takes the same amount
    of time as loading an address constant, and the same number of
    instructions as well (2).

    In c/src/lib/libcpu/powerpc/mpc860/console-generic/console-generic.c:

      This will silently fail if you attempt to use SCC1.  This is only relevant
      if you are not using SCC1 for ethernet.

      This file also sets one of port B output pins for each port.  This is NOT
      generic, it should be in the BSP specific console driver.
1999-04-07 15:57:05 +00:00
Joel Sherrill b08d3ed989 Untar support submitted by Jake Janovetz <janovetz@tempest.ece.uiuc.edu>. 1999-04-06 21:45:06 +00:00
Joel Sherrill 85e24a3237 Patch from Emmanuel Rauget (raguet@crf.canon.fr) to add a htons on the
sin_port.
1999-04-02 14:39:19 +00:00