Commit Graph

2906 Commits

Author SHA1 Message Date
Joel Sherrill
4c46630639 Patch rtems-rc-20000118-1.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that contains:

  * cleanups to configuration files
  * A reworked gccnewlib.spec.in: I have reformated it for enhanced
    readability and added more rtems-base packages. It now should be free of
    any installation conflicts (If there still remain some, they should be
    regarded as bugs).
  * A fix to the bin2boot RTEMS_BSP issue (make RTEMS_BSP="pc386 pc486"
    now works).
  * removes libbsp/bare/wrapup
  * Further cleanups
2000-01-31 15:15:10 +00:00
Joel Sherrill
2fabda6ea1 Modification to properly support BSP aliases (pc[456]86). 2000-01-31 14:45:43 +00:00
Joel Sherrill
71aeab4de4 Suggested modification from Rosimildo da Silva <rdasilva@connecttel.com>
to make the BSP boot on netboot.
2000-01-31 14:45:27 +00:00
Joel Sherrill
49440a6e87 Added AC_SUBST(RTEMS_BSP) so the makefiles properly honor the
BSP alias on the tools.
2000-01-31 14:43:38 +00:00
Joel Sherrill
8be7befaf4 BSP now links although this change is untested. 2000-01-31 14:42:18 +00:00
Joel Sherrill
c01ba672eb Patch from John M. Mills <jmills@tga.com> to include more
information on hardware settings.
2000-01-28 15:27:58 +00:00
Joel Sherrill
318f591241 Added after report from Quality Quorum <qqi@world.std.com> that
pc686.cfg was not present.
2000-01-27 14:37:17 +00:00
Joel Sherrill
a1f89b42a8 No longer incorrectly references mips. 2000-01-26 14:22:34 +00:00
Joel Sherrill
21677c0e66 Patch rtems-rc-20000118-0.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that converts the a29k to automake.

    This patch contains
    * An initial merger of the libcpu/a29k stuff you sent yesterday. AFAIS,
      most code inside them seems to be empty stubs. One file even contains a
      function called mips_*** which might indicate that this part might
      contain mips code or the code the initial porter used as template for
      porting. Unfortunately, I don't know anything about the a29k so I can't
      comment on the details.
    * A dummy bsp_specs to libbsp/29k/portsw
    * An update to the automake files related to the a29k.

    Note:
    * This patch is completely untested, because I don't have a toolchain
      for it.
    * The files in libcpu/a29k include bsp.h => The libbsp vs. libcpu-issue
      hits again.
2000-01-26 14:20:08 +00:00
Joel Sherrill
8d37343a5d Directive rtems_task_variable_get() added by Eric Norum. 2000-01-23 19:07:02 +00:00
Joel Sherrill
41b27b94b8 Wrong BSP referenced. 2000-01-23 18:29:45 +00:00
Joel Sherrill
f13b1c4e4a Removing unused file accidentally left in CVS. Discovered by
Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
2000-01-23 18:22:02 +00:00
Joel Sherrill
4a9b897304 Patch from Eric Norum <eric@cls.usask.ca> at the request of Jake
Janovetz <janovetz@tempest.ece.uiuc.edu> to return a status from
network initialization rather than panic'ing.  It changes a bunch
of rtems_panics to printfs and returns a status from
rtems_bsdnet_initialize_network().
2000-01-21 15:11:40 +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
e570c7617d Patch from Eric Norum <eric@cls.usask.ca> to remove warnings. 2000-01-21 14:49:31 +00:00
Joel Sherrill
b9478fc658 Patch from Eric Norum <eric@cls.usask.ca>:
Some excellent sleuthing by Bob Wisdom <bobwis@ascweb.co.uk> revealed
    that an empty mbuf at the end of a packet chain would cause the `retire'
    function to blow up.  Moving the line of code which bumps the transmit
    buffer descriptor pointer fixes the problem.  Some additional cleanup of
    the sendpacket function was also completed.
2000-01-21 01:47:22 +00:00
Joel Sherrill
f8e2a94792 Updated to reflect final test output. 2000-01-14 19:26:23 +00:00
Joel Sherrill
ff70333657 Updated screen to reflect final test output. 2000-01-14 19:26:05 +00:00
Joel Sherrill
94a51f8bba Added -U__STRICT_ANSI__ to remove MANY warnings since the BSD code
is not strict ANSI.
2000-01-14 18:50:19 +00:00
Joel Sherrill
e49ebbfa1d Removed unused variable warning. 2000-01-14 18:37:59 +00:00
Joel Sherrill
4d1af2095e Removed no prototype of kill() warning. 2000-01-14 18:37:30 +00:00
Joel Sherrill
20eb69db13 Now ignores minimum and does not run it. 2000-01-14 17:41:20 +00:00
Joel Sherrill
512a536570 Now using Makefile.am to generate this file. 2000-01-14 17:40:49 +00:00
Joel Sherrill
95f5adbffd Warning corrections per feedback from Emmanuel Raguet <raguet@crf.canon.fr>. 2000-01-14 15:34:47 +00:00
Joel Sherrill
752badac5a Removed warning. 2000-01-14 14:55:37 +00:00
Joel Sherrill
c819ea440d Removed numerous warnings. 2000-01-14 14:44:11 +00:00
Joel Sherrill
58909199a2 Updated files missed in earlier batch from Eric Norum. 2000-01-13 22:11:35 +00:00
Joel Sherrill
49fa9bc005 Fixed warnings. 2000-01-13 22:08:29 +00:00
Joel Sherrill
4c3ab84636 Patch rtems-rc-20000104-17.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that addresses the librdbg/rpcgen related problems:

    Changes:
        * All rpcgen generated files are now kept inside of the source tree
        * Fix librdbg/configure to correctly detect presence of rpcgen and awk
        * Use rpcgen -m to generated remdeb_svc.c
        * Remove msgout/_msgout from awk.svc
        * minor cleanups to librdbg/configure.in

    ATTENTION --- IMPORTANT:

        * With keeping rpc-generated files pre-build inside of the source tree,
          you as the packager of RTEMS have to ensure that timestamps are
          correctly set up: The generated files must not be older than the *.x
          files.
        * This is extraordinarily important when
            - putting the package on read-only media
            - after checking out from CVS
            - after modifications to the *.x files
        * If one of the *.x files is modified you have to either
            - build for i386/pc386 and powerpc/mcp750
            - or to invoke the same rpcgen calls as the
              librdbg/src/<cpu>/<bsp>/Makefile.am do manually
              before checking-in the files to CVS.

    Proposal:

    We could add something to bootstrap for touching the rpcgen-generated
    sources and/or to manually regenerate them.

    NOTE FROM JOEL:

    Ralf proposed modifying bootstrap to handle rpcgen.  I think this
    is the best solution as it is something already done in the
    snapshot procedure.
2000-01-13 21:07:22 +00:00
Joel Sherrill
b8c9883755 All m68k BSPs now build with new ELF style linkcmds. 2000-01-13 20:45:07 +00:00
Joel Sherrill
11944b9bc3 POSIX message queues now include complete functionality including
blocking sends when the queue is full.  The SuperCore was enhanced
to support blocking on send.  The existing POSIX API was debugged
and numerous test cases were added to psxmsgq01 by Jennifer Averett.
SuperCore enhancements and resulting modifications to other APIs
were done by Joel.

There is one significant point of interpretation for the POSIX API.
What happens to threads already blocked on a message queue when the
mode of that same message queue is changed from blocking to non-blocking?
We decided to unblock all waiting tasks with an EAGAIN error just
as if a non-blocking version of the same operation had returned
unsatisfied.  This case is not discussed in the POSIX standard and
other implementations may have chosen differently.
2000-01-13 19:32:50 +00:00
Joel Sherrill
3e7a0fd4e3 Added test case for broadcast to queue with messages pending. 2000-01-13 19:27:33 +00:00
Joel Sherrill
85d62357bb Changed error checking macros for POSIX. 2000-01-13 19:26:38 +00:00
Joel Sherrill
53fb837afc POSIX message queues now include complete functionality including
blocking sends when the queue is full.  The SuperCore was enhanced
to support blocking on send.  The existing POSIX API was debugged
and numerous test cases were added to psxmsgq01 by Jennifer Averett.
SuperCore enhancements and resulting modifications to other APIs
were done by Joel.

There is one significant point of interpretation for the POSIX API.
What happens to threads already blocked on a message queue when the
mode of that same message queue is changed from blocking to non-blocking?
We decided to unblock all waiting tasks with an EAGAIN error just
as if a non-blocking version of the same operation had returned
unsatisfied.  This case is not discussed in the POSIX standard and
other implementations may have chosen differently.
2000-01-13 19:25:15 +00:00
Joel Sherrill
ee4ddd8361 Missed removing this file in an earlier commit. This is removed
because of the conversion to automake and replaced by a Makefile.am.
2000-01-13 19:23:59 +00:00
Jennifer Averett
9c1c778d56 + Added comments 2000-01-13 18:32:38 +00:00
Jennifer Averett
d65c376845 + Added and yellow line tested _CORE_message_queue_Flush_waiting_threads
and _CORE_message_queue_Insert_message for posix message queues.
+ Yellow line tested new source
2000-01-13 18:32:09 +00:00
Jennifer Averett
e7d76dc8a9 Added comment. 2000-01-13 18:23:42 +00:00
Jennifer Averett
d78c6fe3d3 + Comment cleanup 2000-01-13 18:22:32 +00:00
Jennifer Averett
661ff9a7f6 Removed referance to rtems error.
Added correct include file.
2000-01-13 18:22:09 +00:00
Jennifer Averett
b0461cd4b4 Added comment to indicate this path does not occur. 2000-01-13 17:13:12 +00:00
Jennifer Averett
0724b658a7 Added start and end herald. 2000-01-13 17:01:35 +00:00
Joel Sherrill
9b2c969369 Made sweep of changes to get all BSPs to the same point on the linkcmds
and memory layout.  Next step is to share the same bsp_pretasking_hook.
2000-01-13 15:07:03 +00:00
Joel Sherrill
c0ebf023b7 New patch from Eric Norum plus some minor mods by Joel. 2000-01-13 15:06:24 +00:00
Joel Sherrill
e60d75dfbe Fixed spacing. 2000-01-13 14:28:10 +00:00
Joel Sherrill
bd9e482a35 Made _clear_end a "PROVIDE." 2000-01-13 14:05:11 +00:00
Jennifer Averett
ea2c1d6301 + Added code for waiting send
+ Yellow lined tested routine with Posix message queue test (01)
2000-01-12 20:22:04 +00:00
Jennifer Averett
e38cb52d2d Debugged and yellow line tested routines. 2000-01-12 18:47:22 +00:00
Jennifer Averett
68b0569430 + Modified return codes
+ Added messsage size check
+ Debugged and yellowed out routine
2000-01-12 18:46:54 +00:00
Jennifer Averett
bcbc50a81c + Added signal processing.
+ Yellow line tested source.
2000-01-12 18:44:19 +00:00