Commit Graph

46 Commits

Author SHA1 Message Date
Joel Sherrill
9fae0f872d 2001-02-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/Makefile.am, include/itronsys/Makefile.am,
	include/rtems/itron/Makefile.am, inline/rtems/itron/Makefile.am,
	macros/rtems/itron/Makefile.am:
	Apply include_*HEADERS instead of H_FILES.
2001-02-05 18:31:00 +00:00
Joel Sherrill
f42b726174 2001-01-24 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Add src/config.h
	* src/Makefile.am: Add INCLUDES += -I. to pickup config.h
	* src/.cvsignore: Add config.h and stamp-h
	* src/*.c: Add config.h support.
2001-01-24 14:17:28 +00:00
Joel Sherrill
7afbca071b 2000-12-01 Joel Sherrill <joel@OARcorp.com>
* Added macro support to ITRON API.  This is known to compile.
	* Makefile.am: Added macros directory.
	* configure.in: Removed error check for enabling macros.
	* macros/.cvsignore, macros/Makefile.am,
	macros/rtems/.cvsignore, macros/rtems/Makefile.am,
	macros/rtems/itron/.cvsignore, macros/rtems/itron/Makefile.am,
	macros/rtems/itron/eventflags.inl, macros/rtems/itron/fmempool.inl,
	macros/rtems/itron/intr.inl, macros/rtems/itron/mbox.inl,
	macros/rtems/itron/msgbuffer.inl, macros/rtems/itron/network.inl,
	macros/rtems/itron/port.inl, macros/rtems/itron/semaphore.inl,
	macros/rtems/itron/sysmgmt.inl, macros/rtems/itron/task.inl,
	macros/rtems/itron/time.inl, macros/rtems/itron/vmempool.inl: New files.
2000-12-01 19:00:04 +00:00
Joel Sherrill
feead22618 2000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.
2000-11-09 16:43:05 +00:00
Joel Sherrill
a314d3b497 2000-11-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Switch to ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal.
2000-11-02 15:49:06 +00:00
Joel Sherrill
5582de17d6 2000-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros.
        Switch to GNU canonicalization.
2000-10-25 17:19:31 +00:00
Joel Sherrill
cc480f9cb7 2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* src/Makefile.am: Include compile.am.
2000-09-05 15:35:00 +00:00
Joel Sherrill
e94ad1feb9 Adding ChangeLogs. 2000-08-10 13:24:00 +00:00
Joel Sherrill
17508d02bb Port of RTEMS to the Texas Instruments C3x/C4x DSP families including
a BSP (c4xsim) supporting the simulator included with gdb.  This port
was done by Joel Sherrill and Jennifer Averett of OAR Corporation.
Also included with this port is a space/time optimization to eliminate
FP context switch management on CPUs without hardware or software FP.

An issue with this port was that sizeof(unsigned32) = sizeof(unsigned8)
on this CPU.  This required addressing alignment checks and assumptions
as well as fixing code that assumed sizeof(unsigned32) == 4.
2000-07-26 19:26:28 +00:00
Joel Sherrill
b8a30d07a5 Patch rtems-rc-20000713-1-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that is yet another multilib-related structual cleanup patch:

  Changes:
  * Make RTEMS_TEST_NO_PAUSE a tests/ subpackage specific option.
    - Remove RTEMS_TEST_NO_PAUSE from custom/*.cfg, targopts.h and
      cpuopts.h.
    - Add autoconf macros RTEMS_*_RTEMS_TEST_NO_PAUSE
      (aclocal/rtems-test-no-pause.m4).
    - Add RTEMS_*_RTEMS_TEST_NO_PAUSE support to sptests/configure.ins
      and tmtests/configure.in. These are the only subdirectories which
      currently apply RTEMS_TEST_NO_PAUSE.
    - Add autoconf-DEFS support to all test subpackages' configure.ins
      below tests/. I.e. AC_DEFINES now get explicitly propagated as
      preprocessor defines into Makefiles, cf. AM_CPPFLAGS in
      tests/*/*.am, instead of using a global config-files.
    - Remove NDEBUG from custom/*.cfg.

  * AC_DEFINE POSIX_API, ITRON_API and MULTIPROCESSING in
    exec/configure.in, only.
    - All other sources now should relay on the values from cpuopts.h
      and should not define them themselves.
    - Several related changes to many configure.ins

  * Bug-fixes to RTEMS_*_RTEMS_DEBUG macros (Actually workarounds to
    quoting bugs in autoconf).

  Notes:
    * This patch is rather immature and only tested for a small subset
      of BSPs (requires the tests to be enabled and therefore takes an
      tremendous amount of disc space and time.)
    * The patches to *cfg were generated by a script. Expect file
      formating changes :)
2000-07-13 15:05:38 +00:00
Joel Sherrill
256cbecf68 Patch rtems-rc-20000708-1.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that is another small step toward multilibs:

  Changes:
    * Eliminate RTEMS_CHECK_CUSTOM_BSP from all configure.ins below exec/
    * Add RTEMS_CHECK_CUSTOM_BSP to the multilib-disabled branch in
      RTEMS_ENV_RTEMSCPU to preserve the old per-BSP building scheme
      functional.

  Notes:
    * --enable-multilibs is still non-functional
    * This patch should not have any influence on the old building
      scheme (--disable-multilib should silently fall back to the old
      building scheme).
    * running ./bootstrap is required after applying the patch
2000-07-10 19:12:07 +00:00
Joel Sherrill
04e6f7bffb Patch rtems-rc-20000705-3.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that is a somewhat experimental, multilib-related patch:

  Changes:
    * Use RTEMS_ENV_RTEMSCPU instead of RTEMS_ENV_RTEMSBSP in
      configure.ins below exec/.
      At the moment, RTEMS_ENV_RTEMSCPU is more or less an optical change
      to emphasize that these subdirectories shall not depend on RTEMS_BSP
      than a real behavioral change.
    * Add AC_DEFINE_* to several aclocal/*.m4 macros to prepare
      autoheader/autoconf generated targopts.h and similiar configuration
      headers.
    * c/src/configure.in: remove exec from cfg_subdirs if multilibs are
      enabled (c/src is build per bsp, exec shall be build per cpu in c/
      or from the toplevel in future, when multilibs are enabled.)

  Notes:
    * This patch should not have any impact on the current building scheme.
    * --enable-multilib still does not work.
    * running bootstrap from the toplevel directory is required.
CVS: ----------------------------------------------------------------------
CVS: Enter Log.  Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: 	c/src/tests/libtests/termios/init.c
CVS: ----------------------------------------------------------------------
2000-07-06 20:13:35 +00:00
Joel Sherrill
df49c60c96 Merged from 4.5.0-beta3a 2000-06-12 15:00:15 +00:00
Joel Sherrill
bf85b19188 Patch rtems-rc-4.5.0-13-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
adds .cvsignore.
2000-04-13 14:37:14 +00:00
Joel Sherrill
70810dcd89 Patches rtems-rc-20000204-0.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that contains:

* Removes remaining (now illegal) references to $(SRC) from a couple of
  Makefile.ams
* Removes duplicate AC_CONFIG_SUBDIRS macro from c/configure.in
* Moves ENABLE_LIBCDIR into RTEMS_PROG_C[C|XX]_FOR_TARGET (hides LIBCDIR
  from most configure scripts, i.e. LIBCDIR becomes less visible)
* Adds RTEMS_PROG_C[C|XX]_FOR_TARGET and RTEMS_CANONICALIZE_TOOLS to
  libbsp/*/configure.ins (A minor bug in previous implementations, which
  only has an impact when switching to GNU/Cygnus canonicalization)
* Cleans up several bogus comments.
* Removes MKLIB
* Switches the version number to 4.5.0 (for testing version number
  handling)
2000-02-08 22:33:25 +00:00
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
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
c0d405ca01 Added new message priority parameter as returned by core support routine. 2000-01-05 22:13:15 +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
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
Jennifer Averett
9d9a3dd8d3 + Updated copyright information. 1999-11-17 16:47:58 +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
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
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
Jennifer Averett
40aac293b7 Returned third parameter for a NULL name to the objects open call. 1999-11-15 21:37:56 +00:00
Jennifer Averett
2578970553 + Fixed files to consistantly use a case of the location after calls
to ITRON_Task_Get.
+ Modified to consistantly call _ITRON_return_errorno with E_OK.
+ Optimized the code to not disable dispatch prior to checking input values.
1999-11-15 21:35:14 +00:00
Jennifer Averett
1ae60eb4e6 + Modified to use new Thread_Reset routine instead of the restart method. 1999-11-15 21:31:28 +00:00
Joel Sherrill
9da09940e4 Split ITRON Message Buffer Manager into multiple files. 1999-11-15 17:15:58 +00:00
Joel Sherrill
fb27af7637 Split ITRON semaphore manager into multiple files. 1999-11-15 16:39:01 +00:00
Joel Sherrill
d8f3f65be0 + Changed validation of the_thread to validation of location.
+  Modified correct return path to call _ITRON_return_errorno( E_OK ) instead
   of enabling dispatching and returning E_OK.
1999-11-12 21:23:34 +00:00
Joel Sherrill
2979c288bb + Changed validation of the_thread to validation of location.
+  Removed error path that should never happen.
1999-11-12 21:21:09 +00:00
Joel Sherrill
3971537bd2 + Changed validation of the_thread to validation of location. 1999-11-12 21:20:04 +00:00
Joel Sherrill
037a7b16a1 + Moved error checks to before the disable dispatch where possible. 1999-11-12 21:18:36 +00:00
Joel Sherrill
0c5ab52207 Added comment about the E_CTX error condition (Implementation dependent). 1999-11-12 21:16:45 +00:00
Joel Sherrill
c257429f61 + Moved error checks to before the dispatch disable where possible.
+  Modified correct return path to call _ITRON_return_errorno( E_OK ) instead
   of enabling dispatching and returning E_OK.
1999-11-12 21:15:12 +00:00
Joel Sherrill
2183b65b81 + Modified correct return path to call _ITRON_return_errorno( E_OK ) instead
of enabling dispatching and returning E_OK.
+  Changed validation of the_thread to validation of location.
+  Set correct error code when dormant state.
+  Fixed comment.
1999-11-12 21:13:52 +00:00
Joel Sherrill
ea6bfcbe1e + Modified correct return path to call _ITRON_return_errorno( E_OK ) instead
of enabling dispatching and returning E_OK.
+  Changed validation of the_thread to validation of location.
1999-11-12 21:12:27 +00:00
Joel Sherrill
a8d72dea01 Removed unnecessary 3rd parameter. 1999-11-12 15:53:29 +00:00
Joel Sherrill
6bd132e549 New file. 1999-11-12 15:37:09 +00:00
Joel Sherrill
3c49a508aa Cleaned up style. 1999-11-12 14:15:50 +00:00
Joel Sherrill
3ad17f56e0 Removed redundant line. 1999-11-12 13:46:04 +00:00
Joel Sherrill
eb02f47b12 Committed modifications from ITRON Task and Task Dependendent Synchronization
Working Group.  Included are tests.
1999-11-10 13:48:27 +00:00
Joel Sherrill
e18ba7f0f6 Commented out single letter type names since they conflict with
numerous other uses of the same variable.
1999-11-09 22:25:55 +00:00
Joel Sherrill
352c9b2035 This patch adds the basic framework for the ITRON 3.0 API implementation
for RTEMS.
1999-11-09 22:07:23 +00:00