Commit Graph

4306 Commits

Author SHA1 Message Date
Joel Sherrill
71f578ef61 Removed unnecessary include of targopts.h. 2000-07-12 13:50:28 +00:00
Joel Sherrill
c3b7608768 Added comment. 2000-07-12 13:44:27 +00:00
Joel Sherrill
60179c23fc Removed unnecessary include of targopts.h. 2000-07-12 13:42:40 +00:00
Joel Sherrill
3a6bfc6b86 Added comment. 2000-07-12 13:15:01 +00:00
Joel Sherrill
5ffa4e456a New file missed in earlier commit. 2000-07-12 12:36:00 +00:00
Joel Sherrill
0e7da150a9 Removed no cpu references. 2000-07-11 21:38:41 +00:00
Joel Sherrill
0daf588a12 New file. 2000-07-11 21:18:13 +00:00
Joel Sherrill
4159370f5d Reworked score/cpu/sparc so it can be safely compiled multilib. All
routines and structures that require CPU model specific information
are now in libcpu.  This primarily required moving erc32 specific
information from score/cpu files to libcpu/sparc and the erc32 BSP.
2000-07-11 21:16:53 +00:00
Joel Sherrill
f38d829af4 Added Hitachi H8/300 to the list of CPUs that should be OK with
using cpuopts.h and not targopts.h.
2000-07-11 20:45:13 +00:00
Joel Sherrill
073e2411d3 Adding .cvsignore files. 2000-07-11 19:41:38 +00:00
Joel Sherrill
bc85fd5a6d Reworked score/cpu/i960 so it can be safely compiled multilib. All
routines and structures that require CPU model specific information
are now in libcpu.  This required significant rework of the
score/cpu header files and the creation of multiple header files
and subdirectories in libcpu/i960.
2000-07-11 19:31:04 +00:00
Joel Sherrill
9e52b29cbc Patch rtems-rc-20000711-2-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that removes setting unused variables WORKSPACE_MB and HEAPSPACE_MB.
2000-07-11 15:26:40 +00:00
Joel Sherrill
270e3cce96 Patch rtems-rc-20000711-1-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that decouples exec/ for the sh, m68k and i960 from targopts.h.

NOTE: The change to system.h is a hack to enable cpuopts.h
for some targets, but keep using targopts.h for others - I know it
does *not* work for sparc, mips, i386 and ppc.  This will have
to be addressed as work continues on multilibing.
2000-07-11 14:56:04 +00:00
Joel Sherrill
ebb0bb9242 Updated to new patch. 2000-07-11 14:02:53 +00:00
Joel Sherrill
e0ba3e80ef Patch rtems-rc-20000709-1.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that addresses aspects of the targopts.h multilib related
issues.

  Changes:
    * Move targopts.h to libbsp/include, because the current targopts.h
      actually is a per-BSP-header and therefore can not stay below exec/.

    * Introduce an autoheader generated header file
      (exec/score/include/rtems/score/cpuopts.h), which shall take per-cpu
      configuration options only.

    * Move all autoconf-detectable/configure specified per-cpu
      option-defines from targopts.h to cpuopts.h.

    * Add Makefiles to the libbsp/shared directory hierarchy.

  Notes:
    * The new per-bsp targopts.h in libbsp includes the per-cpu
      cpuopts.h. This way, the new targopts.h is kept backward compatible
      to the old targopts.h and existing BSPs which (carelessly) include
      targopts.h (i386, ppc) should be kept working when using the
      multilib-disabled configuration scheme.

    * cpuopts.h is not yet complete, because the per-BSP make-targopts
      rules from custom/<BSP>.cfg files can not be applied to files below
      exec/ when building multilibs.

    * All files below exec/ should not include targopts.h anymore, but
      should include cpuopts.h instead.  However, eliminating inclusion of
      targopts.h currently triggers further structural / header file inclusion
      related issues, because several ports apply BSP or CPU_MODEL specific
      defines from targopts.h below exec/
2000-07-10 19:23: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
dc39377e53 Now links although linkcmds will not work on real hardware. But then
again neither will unlinked executables. :)
2000-07-10 19:09:37 +00:00
Joel Sherrill
74d5216590 Build rtems-cpu.rel in this directory. 2000-07-10 19:01:20 +00:00
Joel Sherrill
9df5323fc1 Fixed typo. 2000-07-10 19:00:53 +00:00
Joel Sherrill
868b8ee678 Incorrectly specified using new exception processing. 2000-07-10 19:00:33 +00:00
Joel Sherrill
ad9e007174 New files. 2000-07-10 18:59:52 +00:00
Joel Sherrill
73e480c643 New file. 2000-07-10 18:58:57 +00:00
Joel Sherrill
d529035299 New file. 2000-07-10 18:43:42 +00:00
Joel Sherrill
9065de85e2 Added dummy clock driver. 2000-07-10 18:42:16 +00:00
Joel Sherrill
586f260289 Picking up changes missed in previous commit. These changes
were needed to move exception processing to score/cpu.
2000-07-07 19:56:10 +00:00
Joel Sherrill
80e53918dc Moved old_exception_processing and new_exception_processing directories
from score/cpu to libcpu because the determination of which to use is
based on RTEMS_CPU_MODEL.  Thus it can not be determined based solely on
multilib information.
2000-07-07 19:36:14 +00:00
Joel Sherrill
acddd7d2fc Removed duplicate case values. 2000-07-07 19:34:49 +00:00
Joel Sherrill
df97683373 Fixed problem reported by Victor V. Vengerov <Victor.Vengerov@oktet.ru>
where alarm() did not correctly account for the watchdog start_time
and stop_time fields being based on ticks not seconds.  This resulted
in alarm() returning a bogus number of seconds remaining.
2000-07-07 19:31:30 +00:00
Joel Sherrill
5f4d774ea7 Moved __RTEMS_APPLICATION__ conditional to include the use of the
static inline routine _CORE_mutex_Seize_interrupt_trylock since
static routines are not included when in an application.
2000-07-07 19:29:05 +00:00
Joel Sherrill
823938fa4c Patch rtems-rc-20000707-1-cvs.diff from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> that adds a piece of the
*-rc-20000705-? series that was not added to CVS accidentally.
2000-07-07 17:01:29 +00:00
Joel Sherrill
d74fdb5b7d Patch from James Housley <jim@thehousleys.net> to let the Makefiles
find tools like packhex after installation.
2000-07-07 16:46:52 +00:00
Joel Sherrill
ce1ba298ed Switched to faster implementation. 2000-07-06 21:59:25 +00:00
Joel Sherrill
eaedd00a84 Fixed formatting. 2000-07-06 20:40:50 +00:00
Joel Sherrill
79ef2d81fe New file. 2000-07-06 20:37:29 +00:00
Joel Sherrill
168ba07c84 Patch from Eric Valette <valette@crf.canon.fr> and Yacine El Kolli
<elkolli@crf.canon.fr> to add support for the mbx860_005b.
2000-07-06 20:36:48 +00:00
Joel Sherrill
55e4dcf30e Patch from Eric Valette <valette@crf.canon.fr> 2000-07-06 20:24:19 +00:00
Joel Sherrill
02217e0bd6 Patch rtems-rc-20000704-1.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that makes --disable-multilib the default.
2000-07-06 20:15:35 +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
6c5aba209a Patch rtems-rc-20000705-2.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that adds multigen to the list of noinst_SCRIPTS.
2000-07-06 20:12:03 +00:00
Joel Sherrill
edb9d7008c Patch rtems-rc-20000705-1.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
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:10:00 +00:00
Joel Sherrill
501d312a91 Added baseline for h8 simulator BSP to support the simulator in gdb 5.0 2000-07-06 20:07:34 +00:00
Joel Sherrill
34a2679266 Added missing #endif's. 2000-07-06 20:01:43 +00:00
Joel Sherrill
e6faa6ac76 Corrected call to _CORE_mutex_Seize_interrupt_blocking. 2000-07-06 20:01:23 +00:00
Joel Sherrill
8ce962c095 Modfied to execute faster and have fewer instructions. 2000-07-06 20:00:44 +00:00
Joel Sherrill
9d27732222 Switched to using isr disable version of _Objects_Get. When the
semaphore/mutex can be obtained immediately, this cuts execution time
by 50%.
2000-07-06 19:40:58 +00:00
Joel Sherrill
d058ce2ef3 Added _Semaphore_Get_interrupt_disable. 2000-07-06 19:39:20 +00:00
Joel Sherrill
ab654be428 Cleaned up to avoid disruptive use of inline conditionals. 2000-07-06 19:35:44 +00:00
Joel Sherrill
1b7e8c5165 Switched to using _POSIX_Mutex_Get_interrupt_disable to improve performance. 2000-07-06 19:34:49 +00:00
Joel Sherrill
3ef54dcc4c Added support for converting a mutex id to a pointer and returning
with interrupts disabled.
2000-07-06 19:33:52 +00:00
Joel Sherrill
21e2b2b9be Reimplemented _Core_MUTEX_Seize to return with interrupts disabled
if the mutex is successfully obtained.
2000-07-06 19:32:00 +00:00