Commit Graph

2835 Commits

Author SHA1 Message Date
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
bfded728ec Fixed warnings. 2000-01-04 14:16:00 +00:00
Joel Sherrill
36155ebb04 Removed warning. 2000-01-04 14:03:38 +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
afe8c1b6c0 Added shared version of this file. 2000-01-04 13:49:05 +00:00
Joel Sherrill
7b0ff0086f Made to compile again. 2000-01-04 13:48:48 +00:00
Joel Sherrill
393be8ec37 Fixed path to shared/include/coverhd.h. 2000-01-03 20:43:29 +00:00
Joel Sherrill
0173ab87ab Comments added and some messages translated from Polish. 2000-01-03 18:28:36 +00:00
Joel Sherrill
0af1b73f3c Patch from Eric Norum <eric@cls.usask.ca>:
In another attempt to get C++ exceptions working on the gen68360 target
    I tried building for the m68k-elf target.  All the tools built and
    installed properly as did all of RTEMS.  No applications would run,
    though -- not even hello.exe!

    It turns out the problem was in the linker script.  The alignment was in
    the wrong place.

    Here's a patch.  Exceptions still don't work, but at least I can get
    some things working with the ELF format now.
2000-01-03 17:27:06 +00:00
Joel Sherrill
110136ade4 Updated times. 2000-01-03 16:53:07 +00:00
Joel Sherrill
e065e8ae8b Increased stack size to 4K per Eric Norum. 2000-01-03 16:52:50 +00:00
Joel Sherrill
205d56453f Patch from John Mills <jmills@tga.com> to correct some cut and paste
errors.
2000-01-03 16:44:04 +00:00
Joel Sherrill
6b7cf9fef8 Patch rtems-rc-19991203-12.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to added the bin2boot_SOURCES warning.
2000-01-03 15:39:06 +00:00
Joel Sherrill
b84176b49d Do not explicitly list pieces from libcpu used. 2000-01-03 15:36:18 +00:00
Joel Sherrill
32f19fb3ae Share align_h.S from ppc403. VPATH was not picking it up. Discovered
and reported by Ralf Corsepius <corsepiu@faw.uni-ulm.de> on the mpc505.
2000-01-03 14:38:47 +00:00
Joel Sherrill
e07b6868b3 Added tm27 stuff. 2000-01-03 14:14:37 +00:00
Joel Sherrill
db94167039 Added define to trip items that are private to tm27 in bsp.h. 2000-01-03 14:14:24 +00:00
Joel Sherrill
95273a610f Combination of coverhd.h cleanup and MVME23xx/MCP750 patch from Eric Valette
<valette@crf.canon.fr> and Jay Kulpinski <jskulpin@eng01.gdds.com>.
2000-01-03 14:06:42 +00:00
Joel Sherrill
d5c4681e57 Use shared coverhd.h. 2000-01-03 14:04:22 +00:00
Joel Sherrill
203859574c Increased minimum stack size so all tests will run. 2000-01-03 14:01:02 +00:00
Jennifer Averett
6eb3e68012 + Tests added for mq_open, mq_close, and mq_unlink 1999-12-23 22:12:15 +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
2116e33c8e Reverted the delay logic. 1999-12-21 20:29:57 +00:00
Joel Sherrill
ed46b47fab Moved PPC_Set_decrementer() and PPC_Get_timebase_register() to
old_exception_processing tree.
1999-12-21 20:29:40 +00:00
Joel Sherrill
56018097d4 Now use coverhd.h out of the libbsp/shared directory. 1999-12-21 20:28:13 +00:00
Joel Sherrill
0d6f0b4e56 Now use shared coverhd.h 1999-12-21 20:10:04 +00:00
Joel Sherrill
5d807b5710 New files. 1999-12-21 17:06:31 +00:00
Joel Sherrill
a3ba9f9886 New file. 1999-12-21 17:05:15 +00:00
Joel Sherrill
8437abd4f0 Removed as part of moving this driver to libchip. 1999-12-21 16:56:31 +00:00
Joel Sherrill
400c55255d Removing Makefile.in and adding Makefile.am. These were missed in conversion
to automake by Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
1999-12-21 16:20:38 +00:00
Joel Sherrill
fb16fed75a Patch rtems-rc-19991203-10.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which fixes a couple of bugs in RTEMS's old style Makefile.ins, which
apparently were introduced by moving the start directories and not
having adapted the Makefile.ins.

    To apply:

        patch -p1 < rtems-rc-19991203-10.diff
1999-12-21 15:25:05 +00:00
Joel Sherrill
9ba1f0a79e Patch rtems-rc-19991203-9.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which  ontains all what was left over from the other patches (Primarily
minor configuration cleanups).

    To apply:
        patch -p1 < rtems-rc-19991203-9.diff
        ./bootstrap
1999-12-21 15:04:48 +00:00
Joel Sherrill
369ef189b2 Patch rtems-rc-19991203-7.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which does minor cleanup  for Makefile.ams below mptests, which only
removes some bogus comments from the Makefile.ams.

To apply:
  patch -p1 < rtems-rc-19991203-8.diff
  ./bootstrap
1999-12-21 15:00:49 +00:00
Joel Sherrill
35d7b15cb0 Patch rtems-rc-19991203-7.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which adds partial automake support to libcpu/<cpu>/*.

    Until now I have only implemented full automake support for the sh (my
    demonstration example :) and the i386 (inevitiable for structural
    reasons of this subdirectory). For all other cpus only their toplevel
    directories (exception: powerpc), include subdirectories and a few
    selected subdirectories have been converted to automake.
    I did this on purpose, because add automake support to each subdirectory
    requires individual adaptations which to be tested individually.

    Additionally the weirdnesses of the powerpc subdirectories hit again,
    esp. some powerpc cpu-models

    * install files to $(PROJECT_INCLUDE)/<cpu-model>/ while others install
      them to  $(PROJECT_INCLUDE)/
    * the scheme used to configure libcpu/powerpc/ is difficult to implement
      using automake, therefore this subdirectory still is configured by
      autoconf (The one out of an unlimited set selection scheme hits again
      :), though powerpc/*/* subdirectories already apply automake.

    The patch also reveils structural weaknesses in RTEMS:

    E.g. There seem to exist at least 5 different general schemes:

    * Not using libcpu at all (eg. i960)
    * Strictly tree-style a libcpu/<cpu-variant>/* (eg. m68k, sh)
    * Flat libcpu directory layout with cpu-variants merged into sources or
      not destinguishing cpu-variants (i386)
    * Not supporting variants with deep source tree (sparc, hppa, mips64orion)
    * Woven directory structure with shared directories (powerpc)

    I regret having to say this, but from my POV this means, that there
    doesn't exist a general implementation scheme for libcpu at all.

    To apply:

        rm -rf ./c/src/lib/libcpu/i386/wrapup
        rm -rf ./c/src/lib/libcpu/mips64orion/include
        rm -rf ./c/src/lib/libcpu/powerpc/ppc403/include
        patch -p1 < rtems-rc-19991203-7.diff
        ./bootstrap
1999-12-21 14:41:43 +00:00