Commit Graph

1184 Commits

Author SHA1 Message Date
Joel Sherrill
1d9a2fc5ab Patch rtems-rc-19991123-rc-0.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which (among other things) converted the mptests to automake.

    SUB_DIRS was used instead of SUBDIRS in some Makefile.ins
    (apparently a leftover from moving the start* directories)

    Addtional major bugs:
    * psxtests/include was empty (incomplete psxtests changes).
    * bogus handling of *.scn in itrontests (screens/sptests vs.
      screens/itrontests installation dirs)

    In addition I have added a few more changes (I couldn't resist)
    * automake support for itrontests
    * OPERATION_COUNT support in tmitrontests/
    * automake support for tmitrontests
    * automake suppport for mptests
    * Some (minor) corrections to several configure.in/Makefile.ams

    => c/src/tests/ is completly under automake control, now.
    => we could start to sort out the structural issues with c/src/tests
      (tests/support, stubdr, tools, get "make dist" working)
1999-11-29 15:45:11 +00:00
Joel Sherrill
64f55e7c32 Made sure POSIX would build with MP enabled. 1999-11-29 15:40:38 +00:00
Joel Sherrill
3dfe0b279e Fixed spacing. 1999-11-29 15:10:30 +00:00
Joel Sherrill
23e3f642e4 Missed in previous automake conversion patches from Ralf Corsepius
<corsepiu@faw.uni-ulm.de>.
1999-11-23 14:10:05 +00:00
Joel Sherrill
9f4868cea9 Miscellaneous patches from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that are part of the Makefile.am conversion effort but were missed
in the previous commits.
1999-11-23 13:57:02 +00:00
Joel Sherrill
d5b004b6e3 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to convert the libmisc directory from Makefile.in to Makefile.am.
1999-11-23 13:52:59 +00:00
Joel Sherrill
fba12eb6ff Patch rtems-rc-19991117-11.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to convert the libc directory to automake and "dozens of
small fixes for Makefile.ins/configure.ins below c/src/lib."
1999-11-23 13:29:04 +00:00
Jennifer Averett
101e9b0af9 Fixed dispatching and cleaned up code. 1999-11-22 16:14:00 +00:00
Jennifer Averett
cb3c171847 + Corrected enable/disable of dispatch.
+ Cleaned up code.
1999-11-22 16:13:22 +00:00
Jennifer Averett
2545646beb + Updated comments.
+ Corrected enable/disable of dispatch.
1999-11-22 16:12:19 +00:00
Jennifer Averett
94f81bbd8b + Corrected bug in error check. 1999-11-22 16:11:35 +00:00
Jennifer Averett
2c3af4c5da + Added description of routine to comment. 1999-11-22 16:10:25 +00:00
Jennifer Averett
0ca4fc83a4 + Corrected error processing code. 1999-11-22 16:09:55 +00:00
Jennifer Averett
f85409cf9c + Added checks for NULL and NULL string names (for sem_open & sem_unlink). 1999-11-22 16:08:53 +00:00
Jennifer Averett
0ebf569402 + Cleaned up comments. 1999-11-22 16:07:02 +00:00
Joel Sherrill
b7912a89de Changed name of W, X, and Y macros for fields in the Clock
Synthesizer Control Register to remove use of single letter names.
1999-11-22 14:25:01 +00:00
Joel Sherrill
9608320702 Patch rtems-rc-19991117-4.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
.. a major configuration cleanup
    ... major enhancement of automake support.

    ... and it contains a *major*  breakthough:

    Automake support for libchip and libmisc *LEAF* directories.

    To implement this I have used several nasty tricks
        * The basical trick is to wrap an old Makefile.in's contents into a
          Makefile.am and still continue to use (i.e include) the old
          *.cfg files.

        * Replaced each INSTALL_IF_CHANGE and INSTALL_VARIANT with make
          dependencies
        * Add a gnu-make ifdef AUTOMAKE to main.cfg to avoid conflicts between
          automake and RTEMS make rules
        * Replaced each install:: and preinstall:: rule with make dependencies
        * Replaced SUB_DIRS with SUBDIRS in all Makefile.ins (Automake
          convention)
        * Removed each manually added autoconf substitution which automake
          performs automatically.

    This is not yet full automake support, because using the temporary
    installation directory, preinstallation in general and building variants
    are in contradiction to automake's basic working principles ...

    ... the new Makefile.ams work still somewhat clumsy
    ... nevertheless they work (quite well).

    WARNING:

    At first glance this patch is small, but
        * it affects the whole configuration system.
        * it opens the road to introducing automake to all Makefile.ins
          currently not being under automake control.

    JOEL> Does this remove or add any files?

    Both, all Makefile.ins below libchip and libmisc get replaced with
    Makefile.ams.
1999-11-22 13:41:11 +00:00
Joel Sherrill
75f2b0b0ef Small patch (rtems-rc-19991117-5.diff) from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> to correct the constraints on the
inline assembly language macro for sh_disable_interrupt.
1999-11-22 13:12:48 +00:00
Joel Sherrill
97c465c223 Minor cleanup to reduce the code space. 1999-11-18 21:30:12 +00:00
Joel Sherrill
4a238002e7 Patch from "John M. Mills" <jmills@tga.com> with subsequent cleanup from
Ralf Corsepius <corsepiu@faw.uni-ulm.de> that adds initial Hitachi SH-2
support to RTEMS.  Ralf's comments are:

    Changes:
    ------
    1. SH-Port:
    * Many files renamed.
    * CONSOLE_DEVNAME  and MHZ defines removed from libcpu.
    * console.c moved to libbsp/sh/shared, build in libbsp/sh/<BSP>/console
      applying VPATH.
    * CONSOLE_DEVNAME made BSP-specific, replacement is defined in bsp.h
    * MHZ define replaced with HZ (extendent resolution) in custom/*.cfg
    * -DHZ=HZ  used in bspstart.c, only
    * Makefile variable HZ used in bsp-dependent directories only.

    2. SH1-Port
    * clock-driver rewritten to provide better resolution for odd CPU
      frequencies. This driver is only partially tested on hardware, ie.
      sightly experimental, but I don't expect severe problems with it.
    * Polling SCI-driver added. This driver is experimental and completly
      untested yet. Therefore it is not yet used for the console (/dev/console
      is still pointing to /dev/null, cf. gensh1/bsp.h).
    * minor changes to the timer driver
    * SH1 specific delay()/CPU_delay() now is implemented as a function

    3. SH2-Port
    * Merged
    * IMO, the code is still in its infancy. Therefore I have interspersed
      comments (FIXME) it for items which I think John should look after.
    * sci and console drivers partially rewritten and extended (John, I hope
      you don't mind).
    * Copyright notices are not yet adapted
1999-11-18 21:22:58 +00:00
Jennifer Averett
c38f5f162f Added EINVAL for passing a NULL pointer in. 1999-11-18 19:55:28 +00:00
Jennifer Averett
105d787200 Added routine to remove an object from the namespace. It just clears
its name in the name_table.  This was required by the POSIX semaphore
and message queue managers which support a concept of open, close, and
unlink.  The object becomes "invisible" to further opens following an
unlink but all open sessions remain active until they are closed.  This
requires that the removal of an object ID be separate from the removal
of its name.
1999-11-18 19:50:15 +00:00
Jennifer Averett
17879f4750 + Debuged to the point that you could open, unlink and close a semaphore.
but all paths have not been checked, yet.
1999-11-18 19:43:13 +00:00
Jennifer Averett
c9ae846b0e Added a routine to remove a semaphore name from its namespace. 1999-11-18 19:41:34 +00:00
Jennifer Averett
40fe60a3cb Comment added. 1999-11-17 20:44:13 +00:00
Joel Sherrill
08311cc3a9 Updated copyright notice. 1999-11-17 17:51:34 +00:00
Jennifer Averett
9d9a3dd8d3 + Updated copyright information. 1999-11-17 16:47:58 +00:00
Joel Sherrill
2d8a4ed0d6 Conditionally take out the offensive pragma pack when on RTEMS in addition
to UnixWare (UW).
1999-11-17 15:32:30 +00:00
Joel Sherrill
5e96e91757 Updated Mailbox Manager submitted and split into multiple files. 1999-11-17 15:24:11 +00:00
Joel Sherrill
1c10acc7f3 Update from Andrew D. McDowell <amcdowel@cs.uah.edu> with modifications
by Joel and Jennifer based on experience merging the other managers
and cleaning them up.  No test code is available at this point.
1999-11-17 14:56:18 +00:00
Joel Sherrill
aad726ebd4 Moved task_variable pointer to basic shared part of TCB instead of
RTEMS API extension to avoid problems when the extension is freed.
Eventually the task variable switch extension should become part
of the core context switch and the Ada tcb self implemented in
terms of it.
1999-11-16 22:56:38 +00:00
Jennifer Averett
4efe2b7a5d Added check to return passed if task is not suspended. 1999-11-16 22:47:23 +00:00
Jennifer Averett
0fa51b5b0a Added code to catch the error of suspend count exceding the counter value. 1999-11-16 22:46:55 +00:00
Jennifer Averett
9181246072 Fixed bug. 1999-11-16 22:45:51 +00:00
Jennifer Averett
18c315533b Added handler for fsync. For the memfile it is the same as the data sync. 1999-11-16 22:45:33 +00:00
Joel Sherrill
65a38bcab7 Web server uses the POSIX API. Therefor, it must be disabled when the
POSIX API is disabled.
1999-11-16 16:14:37 +00:00
Joel Sherrill
ce18601a7d Removed start subdirectory and distributed contents to the appropriate
places under the libbsp tree.
1999-11-16 16:13:26 +00:00
Joel Sherrill
0cb7cb9e7c Added comments. 1999-11-16 16:10:39 +00:00
Joel Sherrill
d3fdf45917 Now use _Thread_Reset(). 1999-11-16 16:09:50 +00:00
Joel Sherrill
f6d082148b Added prototype for _Thread_Reset() and numerous comments. 1999-11-16 16:07:52 +00:00
Joel Sherrill
c09454282b Only check for System V IPC if multiprocessing is enabled. The unix
port only uses System V IPC for shared memory and semaphores to
communicate between nodes in a multiprocessor configuration.  If you
disable multiprocessing, then this code should be unused.  Thus systems
like Cygwin which are POSIX but do not support System V IPC should
not work.
1999-11-16 16:07:17 +00:00
Joel Sherrill
f4b76ab569 Fixed so can be included multiple times in the executive source. 1999-11-16 16:04:51 +00:00
Joel Sherrill
31473b7107 Works now.
Removed times() since the version in the C Library support code is
fine.
1999-11-16 16:03:21 +00:00
Joel Sherrill
165fe39ff2 Return a reasonable error other than ENOSYS. 1999-11-16 16:01:54 +00:00
Joel Sherrill
7fec3b7a36 Added call to _Watchdog_Remove to remove the sporadic timer. It was
being reinserted onto the ticks chain.
1999-11-16 16:01:32 +00:00
Joel Sherrill
d280ce18b8 Comment fixed when adding prototype for
_ITRON_Message_buffer_Translate_core_message_buffer_return_code.
1999-11-16 15:58:21 +00:00
Joel Sherrill
bd462d1146 New file. 1999-11-16 15:52:49 +00:00
Joel Sherrill
817031fa5c New file. 1999-11-16 15:28:03 +00:00
Joel Sherrill
c7016198fa Added. 1999-11-16 15:27:52 +00:00
Joel Sherrill
b88691c30f Source and destination arguments to strncpy were swapped. This mistake
was made in the conversion of bcopy() to strncpy().
1999-11-16 15:26:29 +00:00