Commit Graph

3978 Commits

Author SHA1 Message Date
Joel Sherrill
42ec72d35c Removed gnat and made final cleanup. 2000-01-27 23:49:44 +00:00
Joel Sherrill
f82fee97bb 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-27 23:48:50 +00:00
Joel Sherrill
7150605481 GNAT/RTEMS RPMs have built for the binutils/gnat/gcc combination
and appear to be close for gdb.
2000-01-27 23:48:28 +00:00
Joel Sherrill
1b2b923432 Patch to fix typo from Ralf Corsepius <corsepiu@faw.uni-ulm.de>. 2000-01-27 17:06:49 +00:00
Joel Sherrill
e26ce9342d Added note from Ian Lance Taylor <ian@zembu.com>. 2000-01-27 14:40:00 +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
0610a988e3 First attempt at debugging. 2000-01-26 20:50:23 +00:00
Joel Sherrill
64ab2e9eeb First cut at adding RPM scripts for building GNAT/RTEMS RPMs. 2000-01-26 19:56:54 +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
5eac93c7cc Now binutils, gcc, and gdb build into a "base" package that is shared
by all targets and one or more target specific RPMs.  This significantly
reduces the conflicts between the RPMs whether installing one or multiple
targets.
2000-01-25 19:47:32 +00:00
Joel Sherrill
9ce6414850 Attempting to split binutils and gcc into base/shared and CPU specific
packages.
2000-01-24 23:50:28 +00:00
Joel Sherrill
0c602f0474 Patch from David Fiddes <D.J@fiddes.surfaid.org> which adds basic
Cygwin support to the RPM scripts.  The patch from David did not
apply cleanly and Joel ended up making all the modifications
plus some it should have included for consistency by hand.  His comments:

    I've included a diff against the last (19991203) snapshot RPM scripts that
    adds what I think is required for Cygwin support. Basically all this boils
    down to is adding EXE extension support. I've added the AC_EXEEXT rule to
    conifgure.in (requires a valid 'cc' to work - this is not available in the
    standard Cygwin distro). Each of the *.spec.in have @exe_ext@ includes in
    them for each program that results in an EXE. The only odity here is that
    the chill driver program is a shell script and thus does not require .exe to
    be added... The mk*.in have all been updated to process the new exe_ext
    rule.
2000-01-23 19:20:02 +00:00
Joel Sherrill
8d37343a5d Directive rtems_task_variable_get() added by Eric Norum. 2000-01-23 19:07:02 +00:00
Joel Sherrill
b5a31d4479 Added rtems_task_variable_get from Eric Norum. 2000-01-23 19:06:09 +00:00
Joel Sherrill
a690050805 Updated to reflect changing to void * on task variables by
Eric Norum <eric@cls.usask.ca>.
2000-01-23 18:59:17 +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
d7f33012cf Documentation to reflect patch from Eric Norum <eric@cls.usask.ca> to
the network initialization enhancement request by Jake Janovetz
<janovetz@tempest.ece.uiuc.edu>.
2000-01-21 15:15:53 +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
54b99a25ae changed version to 20000118a 2000-01-19 19:39:41 +00:00
Joel Sherrill
1c62aa218b changed version to 20000118 2000-01-18 16:06:15 +00:00
Joel Sherrill
1bbcbd922e changed version to 20000114 2000-01-14 22:33:02 +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
318e23baae Updated versions. 2000-01-14 17:41:57 +00:00
Joel Sherrill
1cb2f89a82 Updated list of targets to build. 2000-01-14 17:41:45 +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
Joel Sherrill
2cef9771fb Added POSIX interpretation subsection and updated status.
The message queue manager chapter needs to be updated to reflect
completion of the implementation.
2000-01-13 19:20:17 +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