Commit Graph
5440 Commits
Author SHA1 Message Date
Jennifer Averett 352d01e0d3 + Modified to correct return codes.
+ Removed extra flag attribute from message queue structure.
+ Yellow-lined all posix message queue routines.
2000-01-12 18:43:21 +00:00
Jennifer Averett 70329c80ea + Changed call from core flush to core close routine. This flushes waiting
queues as well as the messages.
2000-01-12 18:41:14 +00:00
Jennifer Averett 399ba0690c + Removed name validation code (this was already done in nametoid. 2000-01-12 18:40:18 +00:00
Joel Sherrill 75582835c7 Fixed spacing. 2000-01-11 15:43:16 +00:00
Joel Sherrill 4fa5eaee52 This code did not return properly when a process oriented signal
was pending.  Reported by Wayne Bullaughey <wayneb@cacdsp.com>.
2000-01-11 15:42:05 +00:00
Joel Sherrill 19642e2cab Removed definition of USHRT_MAX to remove lots of redefinition warnings. 2000-01-10 21:22:23 +00:00
Joel Sherrill 70af0ea116 Don't look at the object information structure for threads/tasks
for APIs that are not configured.  This resulted in weird behavior
when ITRON was disabled on some targets.
2000-01-10 18:47:58 +00:00
Joel Sherrill 89184f94db Corrected spacing. 2000-01-06 15:31:24 +00:00
Joel Sherrill 5870ac5567 Added support for simple binary semaphores in addition to the high
power binary/mutex style semaphores already supported by RTEMS.  This
was done at the request of Eric Norum <eric@cls.usask.ca> in support
of his effort to port EPICS to RTEMS.  This change consisted of
changing the nesting_allowed boolean into a lock_nesting_behavior
enumerated value as well as allowing the core mutex object to optionally
support ensuring that the holder of a binary semaphore released it.
Finally, a more subtle enhancement was to allow the non-holder to release
a priority inheritance/ceiling mutex and still allow the holding task
to return to its original priority.
2000-01-05 22:19:21 +00:00
Joel Sherrill 28adcfd9ec Added message priority parameter returned by core support routine. 2000-01-05 22:14:09 +00:00
Joel Sherrill c0d405ca01 Added new message priority parameter as returned by core support routine. 2000-01-05 22:13:15 +00:00
Joel Sherrill 3a8b95e207 Spacing corrected. 2000-01-05 21:32:57 +00:00
Joel Sherrill db6ec79e6c Fixed recursive release for mutexes with nesting allowed. 2000-01-05 18:30:09 +00:00
Jennifer Averett b302d527c7 + Added return priority from message seize.
+ Changed priority to be based off of min and max int.
2000-01-05 17:20:07 +00:00
Jennifer Averett 466b8882ce Added the recording of the submit type. 2000-01-05 17:18:51 +00:00
Jennifer Averett 58243b42f5 + Added return of the message priority. 2000-01-05 17:18:08 +00:00
Jennifer Averett 65800393f6 Added priority conversion between POSIX and core. 2000-01-05 17:16:48 +00:00
Jennifer Averett c5858efa68 Added priority conversion between POSIX and core priorities. 2000-01-05 17:16:02 +00:00
Jennifer Averett 3ebd4c1254 + Changed priority to the POSIX priority type.
+ Added priority validation
+ Changed to call correct core routine.
+ Added priority conversion
+ Resolved return type problems.
2000-01-05 17:13:50 +00:00
Jennifer Averett fcd0c90630 + Added check for reading from a write only queue.
+ Added ability to return message priority from the core.
2000-01-05 17:11:36 +00:00
Jennifer Averett cecd206a65 + Added check for name greater than PATH_MAX. 2000-01-05 17:09:36 +00:00
Jennifer Averett e015106f68 + Changed to resonable default values for maxmsg and msgsize.
+ Added oflag tracking.
2000-01-05 17:08:56 +00:00
Jennifer Averett f602eebd64 Added mqueuetranslatereturncode.c. 2000-01-05 17:07:52 +00:00
Jennifer Averett 864ac98aa7 Added routines to translate to and from the core message queue return codes. 2000-01-05 17:06:45 +00:00
Joel Sherrill 590eb87d7e Added this file to contain an example program. 2000-01-04 17:08:16 +00:00
Joel Sherrill a148f561c2 Removed warnings. 2000-01-04 14:00:38 +00:00
Joel Sherrill 1dfc188ef5 Removed unitialized variable warning. 2000-01-04 13:58:47 +00:00
Joel Sherrill 0173ab87ab Comments added and some messages translated from Polish. 2000-01-03 18:28:36 +00:00
Joel Sherrill e065e8ae8b Increased stack size to 4K per Eric Norum. 2000-01-03 16:52:50 +00:00
Joel Sherrill 203859574c Increased minimum stack size so all tests will run. 2000-01-03 14:01:02 +00:00
Jennifer Averett 2e97c01e38 + Added routine to remove from namespace. 1999-12-23 22:11:01 +00:00
Jennifer Averett afebb3fa2a + Added check for name greater than PATH_MAX 1999-12-23 22:10:13 +00:00
Jennifer Averett 7fbef78639 + Debugged. 1999-12-23 22:09:36 +00:00
Jennifer Averett 8f12d069bf + Filled in routine. 1999-12-23 22:08:43 +00:00
Jennifer Averett 96d4aea551 + Initial debug 1999-12-23 22:07:43 +00:00
Jennifer Averett d4548d19b4 + Made work
+ Added checks for valid attribute maxmsg and msgsize
+ Added check for ENAMETOOLONG
1999-12-23 22:07:11 +00:00
Jennifer Averett e1786ee363 + Fixed errno response to match the POSIX manual. 1999-12-23 22:05:25 +00:00
Joel Sherrill 5bce35ba29 Made prototype of ChapReceiveSuccess and ChapReceiveFailure match. 1999-12-21 14:37:31 +00:00
Joel Sherrill c629812c01 Removed warnings. 1999-12-13 22:10:45 +00:00
Joel Sherrill da8ae79b3e Warning removal patch from Philip A. Prindeville <philipp@zembu.com>. 1999-12-13 21:21:31 +00:00
Joel Sherrill fc0b91c5d5 Patch from Eric Norum <eric@cls.usask.ca> to make the NTP handler a little
more flexible about the error status returned from a timeout.
1999-12-13 19:20:38 +00:00
Joel Sherrill 6b79a071de Patch from Jepsen Hans Peter <hans_peter_jepsen@Danfoss.com> to
use correct ifdef conditional (__GNUC__ not __GCC__).
1999-12-13 17:22:18 +00:00
Joel Sherrill 809f445197 Correction from Eric Norum for timeout in TFTP driver following bug
report by Nick.SIMON@syntegra.bt.co.uk:

TFTP uses UDP and UDP packets are prime targets for getting dropped when
the network gets busy.  I want the number of retries quite large in my
application. I see that PACKET_REPLY_MILLISECONDS is, in fact, not
being used.
1999-12-13 17:03:37 +00:00
Joel Sherrill 7d91d722ba First attempt at adding simple binary semaphore in addition to the current
"mutex" and counting semaphore.  This is at the request of Eric Norum
and his EPICS porting effort.
1999-12-13 15:29:20 +00:00
Joel Sherrill d9230ea9c0 Added RTEMS_IO_ERROR. 1999-12-13 14:49:38 +00:00
Joel Sherrill 4090ebe85c Patch rtems-rc-19991123-rc-3.diff from Ralf Corsepius
<corsepiu@faw.uni-ulm.de>:

    The patch below provides
      * automake support for score/cpu/powerpc
      * The hack to propagate values from *.cfg to automake configuration
      * A fix for librdbg/powerpc/mcp750/Makefile.am (Was completely corrupted
        before)
      * Fixes some files which apparently where missing in
        rtems-rc-19991123-rc-2.diff
      * some minor configuration related patches

    To apply:

      rm -rf ./c/src/exec/score/cpu/powerpc/wrap
      patch -p1 < rtems-rc-19991123-rc-3.diff

    Attention:
      c/src/exec/score/cpu/[configure.in|aclocal.m4|configure] should be
      removed after applying the patch.

Modifications had been made to the score/cpu/powerpc directory after
the snapshot this was based on.  In particular, the mpc750 and
other_cpu directories had been renamed to new_exception_processing
and old_exception_processing.  After this patch was applied, modifications
were made to account for this.
1999-12-03 13:25:00 +00:00
Joel Sherrill 4328345602 Patch rtems-rc-19991123-rc-2.diff from Ralf Corsepius
<corsepiu@faw.uni-ulm.de>:

    The patch below provides
      * automake support for score/cpu/powerpc
      * The hack to propagate values from *.cfg to automake configuration
      * A fix for librdbg/powerpc/mcp750/Makefile.am (Was completely corrupted
        before)
      * Fixes some files which apparently where missing in
        rtems-rc-19991123-rc-2.diff
      * some minor configuration related patches

    To apply:

      rm -rf ./c/src/exec/score/cpu/powerpc/wrap
      patch -p1 < rtems-rc-19991123-rc-3.diff

    Attention:
      c/src/exec/score/cpu/[configure.in|aclocal.m4|configure] should be
      removed after applying the patch.
1999-12-02 17:45:14 +00:00
Joel Sherrill acc25eec35 Merged of mcp750 and mvme2307 BSP by Eric Valette <valette@crf.canon.fr>.
As part of this effort, the mpc750 libcpu code is now shared with the
ppc6xx.
1999-12-02 14:31:19 +00:00
Joel Sherrill 5d3da15b83 Removed debugging printfs. 1999-12-01 16:00:38 +00:00
Joel Sherrill 017061c561 Patch from Eric Norum <eric@cls.usask.ca> to fix a spot in the tftp file
system table from when the rtems_filesystem_operations_table structure changed
and the initializer in libnetworking/lib/tftpDriver.c did not get
updated.
1999-12-01 15:54:17 +00:00