summaryrefslogtreecommitdiffstats
path: root/c (unfollow)
Commit message (Collapse)AuthorFilesLines
2000-07-11Patch rtems-rc-20000711-1-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill7-6/+16
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-10Patch rtems-rc-20000709-1.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill16-56/+143
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-10Patch rtems-rc-20000708-1.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill16-45/+0
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-10Now links although linkcmds will not work on real hardware. But thenJoel Sherrill2-184/+244
again neither will unlinked executables. :)
2000-07-10Build rtems-cpu.rel in this directory.Joel Sherrill2-2/+2
2000-07-10Fixed typo.Joel Sherrill1-1/+1
2000-07-10Incorrectly specified using new exception processing.Joel Sherrill1-1/+1
2000-07-10New files.Joel Sherrill4-0/+8
2000-07-10New file.Joel Sherrill1-0/+2
2000-07-10New file.Joel Sherrill1-0/+217
2000-07-10Added dummy clock driver.Joel Sherrill5-2/+57
2000-07-07Picking up changes missed in previous commit. These changesJoel Sherrill4-22/+14
were needed to move exception processing to score/cpu.
2000-07-07Moved old_exception_processing and new_exception_processing directoriesJoel Sherrill20-52/+50
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-07Removed duplicate case values.Joel Sherrill1-2/+2
2000-07-07Fixed problem reported by Victor V. Vengerov <Victor.Vengerov@oktet.ru>Joel Sherrill1-1/+7
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-07Moved __RTEMS_APPLICATION__ conditional to include the use of theJoel Sherrill1-1/+1
static inline routine _CORE_mutex_Seize_interrupt_trylock since static routines are not included when in an application.
2000-07-06Switched to faster implementation.Joel Sherrill1-25/+20
2000-07-06Fixed formatting.Joel Sherrill1-15/+15
2000-07-06New file.Joel Sherrill2-0/+26
2000-07-06Patch from Eric Valette <valette@crf.canon.fr> and Yacine El KolliJoel Sherrill3-15/+109
<elkolli@crf.canon.fr> to add support for the mbx860_005b.
2000-07-06Patch from Eric Valette <valette@crf.canon.fr>Joel Sherrill1-11/+18
2000-07-06Patch rtems-rc-20000705-3.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill18-18/+25
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-06Added baseline for h8 simulator BSP to support the simulator in gdb 5.0Joel Sherrill21-0/+690
2000-07-06Added missing #endif's.Joel Sherrill2-3/+0
2000-07-06Corrected call to _CORE_mutex_Seize_interrupt_blocking.Joel Sherrill1-2/+5
2000-07-06Modfied to execute faster and have fewer instructions.Joel Sherrill1-38/+38
2000-07-06Switched to using isr disable version of _Objects_Get. When theJoel Sherrill1-13/+15
semaphore/mutex can be obtained immediately, this cuts execution time by 50%.
2000-07-06Added _Semaphore_Get_interrupt_disable.Joel Sherrill1-0/+10
2000-07-06Cleaned up to avoid disruptive use of inline conditionals.Joel Sherrill1-18/+16
2000-07-06Switched to using _POSIX_Mutex_Get_interrupt_disable to improve performance.Joel Sherrill1-3/+4
2000-07-06Added support for converting a mutex id to a pointer and returningJoel Sherrill1-21/+39
with interrupts disabled.
2000-07-06Reimplemented _Core_MUTEX_Seize to return with interrupts disabledJoel Sherrill2-7/+119
if the mutex is successfully obtained.
2000-07-06Added _CORE_semaphore_Seize_isr_disable.Joel Sherrill1-0/+56
2000-07-06Added _Objects_Get_isr_disable prototype and added numerous comments.Joel Sherrill1-7/+18
2000-07-06Removed unnecessary parentheses.Joel Sherrill1-4/+4
2000-07-06Added objjectgetbyisr.cJoel Sherrill1-2/+3
2000-07-06The code that attempts to obtain a mutex has now been inlined. TheJoel Sherrill1-83/+7
code remaining here now only blocks.
2000-07-06Directly index local table to avoid error check.Joel Sherrill3-12/+10
2000-07-06New file. Convert ID to pointer and return with interrupts -- notJoel Sherrill1-0/+83
dispatching -- disabled.
2000-07-06Format of return line changed.Joel Sherrill1-3/+3
2000-07-06Patch rtems-rc-20000626-1.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.Joel Sherrill2-6/+6
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-03Interrupt stack is allocated in _ISR_Handler_initialization notJoel Sherrill14-14/+14
_Interrupt_Manager_initialization.
2000-07-03Added blocked_count field to allow for optimizations.Joel Sherrill2-2/+4
2000-07-03Changed extra_system_initialization_stack to extra_mpci_receive_server_stackJoel Sherrill1-1/+1
to be consistent with other ports.
2000-07-03Patch rtems-rc-20000702-1.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-7/+15
that is a hack to workaround a switch generation compiler bug for the SH2 and cleaned up some warnings.
2000-07-02Fixed stat_ino should be st_ino.Joel Sherrill3-3/+3
2000-06-30Patch from Chris Johns <cjohns@cybertec.com.au> so the web serverJoel Sherrill2-3/+12
shuts down on error -- not exitting the system.
2000-06-30Patch from Chris Johns <cjohns@cybertec.com.au> so the directoryJoel Sherrill3-3/+3
read function in the IMFS properly returns the inode number.
2000-06-30Patch from Chris Johns <cjohns@cybertec.com.au> to add support forJoel Sherrill6-39/+51
stat()'ing a symbolic link. This is needed to support the port of the BSD commands like ls to RTEMS.
2000-06-30Patch from Chris Johns <cjohns@cybertec.com.au> to add fchdir()Joel Sherrill6-2/+146
functionality to libc and update TODO.