Commit Graph

4274 Commits

Author SHA1 Message Date
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
Joel Sherrill
8d5b438b9e Added _CORE_semaphore_Seize_isr_disable. 2000-07-06 19:27:03 +00:00
Joel Sherrill
c6f111bac0 Added _Objects_Get_isr_disable prototype and added numerous comments. 2000-07-06 19:14:34 +00:00
Joel Sherrill
1d9403a308 Removed unnecessary parentheses. 2000-07-06 19:13:31 +00:00
Joel Sherrill
8a3278fc6a Added objjectgetbyisr.c 2000-07-06 19:11:15 +00:00
Joel Sherrill
12aeaec6dc The code that attempts to obtain a mutex has now been inlined. The
code remaining here now only blocks.
2000-07-06 19:10:30 +00:00
Joel Sherrill
3b4413c08f Directly index local table to avoid error check. 2000-07-06 19:09:27 +00:00
Joel Sherrill
d895fe8798 New file. Convert ID to pointer and return with interrupts -- not
dispatching -- disabled.
2000-07-06 19:06:59 +00:00
Joel Sherrill
42ed30047b Format of return line changed. 2000-07-06 19:01:58 +00:00
Joel Sherrill
04e4829d46 Patch rtems-rc-20000626-1.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
Comments follow:

  Building linux/posix fails due to including lib/include/sys/cdefs.h
  instead of linux's sys/cdefs.h.
  AFAIS, this sys/cdefs.h is specific to newlib and should probably
  not be used on any unix host.

  Therefore, I changed the relevant Makefile.am/configure.in to
  condionally install sys/cdefs.h only if newlib is present.

  This triggered another bug inside of the newlib-check for one of
  RTEMS target's (Unfortunately I can't remember which - mips/i960 ?
  ... one of the more exotic ...), for which int func() isn't
  identical to void func().

  Note: This patch needs to be tested under Cygwin and Solaris. I am
  particularily unsure about Cygwin/posix, as it applies a different
  version newlib which must not trigger RTEMS newlib check (it is
  supposed to fail) and if it may need RTEMS's sys/cdefs.h.
2000-07-06 14:04:29 +00:00
Joel Sherrill
c2f39fff1f Interrupt stack is allocated by _ISR_Handler_initialization
not that of _ISR_Manager_initialization.
2000-07-03 20:05:17 +00:00
Joel Sherrill
8bc62aeb5d Interrupt stack is allocated in _ISR_Handler_initialization not
_Interrupt_Manager_initialization.
2000-07-03 18:44:12 +00:00
Joel Sherrill
0147d5ee73 Added blocked_count field to allow for optimizations. 2000-07-03 15:49:58 +00:00
Joel Sherrill
feb93ede27 Changed extra_system_initialization_stack to extra_mpci_receive_server_stack
to be consistent with other ports.
2000-07-03 15:49:35 +00:00
Joel Sherrill
c0ffdeeb60 Patch rtems-rc-20000702-1.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that is a hack to workaround a switch generation compiler bug for the
SH2 and cleaned up some warnings.
2000-07-03 15:20:57 +00:00
Joel Sherrill
3af082818e Fixed stat_ino should be st_ino. 2000-07-02 12:29:47 +00:00
Joel Sherrill
e86236b481 Added fchdir(). 2000-06-30 12:49:40 +00:00
Joel Sherrill
e8fd6336c1 Patch from Chris Johns <cjohns@cybertec.com.au> so the web server
shuts down on error -- not exitting the system.
2000-06-30 12:38:25 +00:00
Joel Sherrill
068b64735c Patch from Chris Johns <cjohns@cybertec.com.au> so the directory
read function in the IMFS properly returns the inode number.
2000-06-30 12:36:32 +00:00
Joel Sherrill
e5d6705e46 Patch from Chris Johns <cjohns@cybertec.com.au> to add support for
stat()'ing a symbolic link.  This is needed to support the port
of the BSD commands like ls to RTEMS.
2000-06-30 12:33:13 +00:00
Joel Sherrill
195ae7bada Patch from Chris Johns <cjohns@cybertec.com.au> to add fchdir()
functionality to libc and update TODO.
2000-06-30 12:31:28 +00:00
Joel Sherrill
5532553209 This is the initial addition of the port of RTEMS to the
Hitachi H8 family.  This port was done by Philip Quaife
<philip@qs.co.nz> of Q Solutions and sponsored by
Comnet Technologies Ltd.  The port was done based on RTEMS 3.5.1
to a Hitach H8300H.  The port was updated to RTEMS 4.5 style
Makefiles/configure by Joel Sherrill <joel@OARcorp.com>.
While doing this Joel added support for the h8300-rtems to
binutils, gcc, newlib, and gdb.

NOTE:  Philip submitted a BSP for a Hitachi evaluation board
which is being merged as a separate entity.
2000-06-29 23:00:48 +00:00
Joel Sherrill
7a30efd2b7 Using RPM names for versions now. 2000-06-29 22:35:40 +00:00
Joel Sherrill
bbc38ba58a Added H8 as IEEE whether this is true or not. 2000-06-29 22:35:17 +00:00
Joel Sherrill
63db53342f Disabled #ident since the h8300-rtems binutils do not like the
generated assembly from it.
2000-06-29 22:34:55 +00:00
Joel Sherrill
09a6eba19d Corrected prototype for xdrrec_endofrecord to match C body. 2000-06-29 22:34:30 +00:00
Joel Sherrill
6f6ddc0011 Added RTEMS_CPU_HAS_16_BIT_ADDRESSES constant to disable code
that breaks when the target has 16 bit address space.  One of the H8
multilibs is a 16-bit address space CPU.  When a real attempt is
made to support this CPU model, the code that assumes an address
is 32 bits will have to change.  This constant is probably not
flagging all impacted code.
2000-06-29 22:33:05 +00:00
Joel Sherrill
a1c1ffc93b Corrected. 2000-06-29 22:30:21 +00:00
Joel Sherrill
caeade3324 New file. 2000-06-29 22:30:12 +00:00
Joel Sherrill
bc1858591a Switch to gcc patch 20000629 and revision level 8. This patch
fixes:
  + the h8300-rtems and hppa1.1-rtems configure.in stanzas
  + config/rs6000/rtems.h start and end file specs
2000-06-29 22:20:15 +00:00
Joel Sherrill
971a53405a h8300-rtems now uses the correct command to generate the specs file. 2000-06-29 22:18:36 +00:00
Joel Sherrill
5b433165e1 Added initial h8300 support. 2000-06-29 16:28:39 +00:00
Joel Sherrill
847ed4bd37 gdb 5.0 does not install readline so don't try to grab the info files. 2000-06-29 16:28:27 +00:00