summaryrefslogtreecommitdiffstats
path: root/c/src/exec (unfollow)
Commit message (Collapse)AuthorFilesLines
2000-08-252000-08-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill3-32/+36
* rtems/score/i386.h: cpu-variant define handling Rewrite due to introduction of multilib defines. * asm.h: include cpuopts.h instead of targopts.h
2000-08-252000-08-25 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2-3/+11
* rtems/score/no_cpu.h: Modified so there are fewer and more consistent variations on "no cpu" so it is easier to sed the source as the starting point for a new port.
2000-08-252000-08-25 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill5-44/+118
* inline/rtems/posix/timer.inl, include/rtems/posix/timer.h, inline/rtems/posix/Makefile.am, src/ptimer1.c: Redid the style of src/ptimer1.c. Continued effort to make the POSIX Timer implementation match that of other managers. Added data structures required to use SuperCore Object Handler.
2000-08-252000-08-25 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-1/+2
* libc/fs_null_handlers.c: Added missing rmnod entry.
2000-08-252000-08-25 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill4-78/+94
* libc/isatty.c, libc/imfs_handlers_directory.c, libc/creat.c, libc/imfs_directory.c: Fixed style issues.
2000-08-152000-08-15 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-12/+5
* src/ptimer1.c: Minor formatting fixes.
2000-08-152000-08-15 Joel Sherrill <joel@OARcorp.com>Joel Sherrill4-47/+26
* src/ptimer1.c: Removed unused routine PRINT_ERRNO_S. * src/ptimer1.c: Removed unnecessary routine COPY_ITIMERSPEC_S and used structure copy instead. * src/ptimer1.c: Renamed timer_alive_t to POSIX_Timer_Control. * include/rtems/posix/timer.h: Ditto.
2000-08-152000-08-15 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-48/+25
* posix/src/ptimer1.c: Switched to using set_errno_and_return_minus_one() to ensure that errno was always set.
2000-08-152000-08-15 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-10/+10
* posix/src/ptimer1.c (timer_settime): Converted use of rtems_clock_get to use SuperCore _TOD_Current variable.
2000-08-112000-08-11 Joel Sherrill <joel@OARcorp.com>Joel Sherrill17-0/+2019
* Shell added for or32 port based on no_cpu port with names replaced.
2000-08-112000-08-11 Joel Sherrill <joel@OARcorp.com>Joel Sherrill17-0/+2019
* Shell added for or16 port based on no_cpu port with names replaced.
2000-08-112000-08-11 Chris Johns <ccj@acm.org>Joel Sherrill11-7/+58
* libc/chmod.c: Return ENOTSUP if filesystem does not have handler. * libc/eval.c: Ditto. * libc/fcntl.c: Ditto. * libc/fsync.c: Ditto. * libc/ioctl.c: Ditto. * libc/ioman.c: Ditto. * libc/link.c: Ditto. * libc/memfile.c: Ditto. * libc/mknod.c: Ditto. * libc/symlink.c: Ditto. * libc/libio.h(rtems_filesystem_dev_major_t): New macro. * libc/libio.h(rtems_filesystem_dev_minor_t): New macro.
2000-08-10Adding ChangeLogs.Joel Sherrill23-0/+70
2000-08-03IEEEJoel Sherrill1-1/+1
==== -4 = {d = -4, i = {0xc0100000, 0x0}} s=1 e=0x80 m=0x100000 (0x0900000) -3 = {d = -3, i = {0xc0080000, 0x0}} s=1 e=0x80 m=0x080000 (0x0880000) -2 = {d = -2, i = {0xc0000000, 0x0}} s=1 e=0x80 m=0x000000 (0x0800000) -1 = {d = -1, i = {0xbff00000, 0x0}} s=1 e=0x7f m=0x000000 (0x0800000) 0 = {d = 0, i = {0x00000000, 0x0}} s=0 e=0 m=0x000000 (0x0800000) 1 = {d = 1, i = {0x3ff00000, 0x0}} s=0 e=0x7f m=0x000000 (0x0800000) 2 = {d = 2, i = {0x40000000, 0x0}} s=0 e=0 m=0x000000 (0x0800000) 3 = {d = 3, i = {0x40080000, 0x0}} s=0 e=0 m=0x080000 (0x0880000) C4X === -4 = {d = -4, i = {0x01800000, 0x0}} s=1 e=1 m=0x800000 (0x1000000) -3 = {d = -3, i = {0x01c00000, 0x0}} s=1 e=1 m=0xa00000 (0x1400000) -2 = {d = -2, i = {0x00800000, 0x0}} s=1 e=0 m=0x800000 (0x1000000) -1 = {d = -1, i = {0xff800000, 0x0}} s=1 e=0xff m=0x000000 (0x1000000) 0 = {d = 0, i = {0x80000000, 0x0}} s=0 e=0 m=0x000000 (0x0800000) 1 = {d = 1, i = {0x00000000, 0x0}} s=0 e=0x7f m=0x000000 (0x0800000) 2 = {d = 2, i = {0x01000000, 0x0}} s=0 e=1 m=0x400000 (0x0800000) 3 = {d = 3, i = {0x01400000, 0x0}} s=0 e=1 m=0x600000 (0x0c00000) 4 = {d = 4, i = {0x02000000, 0x0}} s=0 e=2 m=0xXXXXXX (0x0000000) 0x1010 0000 0101 0000 0010 1002
2000-08-02Patch from Eric Norum <eric@cls.usask.ca> to add optional support forJoel Sherrill1-3/+47
fast mutexes that bypass the API level to directly interface with the SuperCore.
2000-08-02New file.Joel Sherrill1-0/+48
2000-08-01Look at both hardware and software FP settings.Joel Sherrill1-2/+2
2000-08-01If the _VBR is set to 0xFFFFFFFF, then assume the vector jump table isJoel Sherrill1-1/+10
in ROM.
2000-08-01The fp_context field is needed if software or hardware floating pointJoel Sherrill1-1/+1
is available.
2000-08-01Patch from Eric Norum <eric@cls.usask.ca> to avoid lockup underJoel Sherrill1-9/+9
the correct circumstances of DMA buffer size, serial line interrupts, and ethernet interrupts the termios osend routine would lock up waiting for the raw output buffer semaphore.
2000-08-01Patch rtems-rc-20000801-1-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-1/+1
that switches the sparc from targopts.h to cpuopts.h.
2000-07-27Minor problems addressed with the merger and with the arm_bare_bsp.Joel Sherrill1-1/+1
That BSP now has a stub clock driver so the tests can link even if they won't execute. A handful of Makefiles had to be updated and we had to account for printk.c being a shared file now.
2000-07-27Port of RTEMS to the ARM processor family by Eric ValetteJoel Sherrill15-0/+1771
<valette@crf.canon.fr> and Emmanuel Raguet <raguet@crf.canon.fr> of Canon CRF - Communication Dept. This port includes a basic BSP that is sufficient to link hello world.
2000-07-26Port of RTEMS to the Texas Instruments C3x/C4x DSP families includingJoel Sherrill26-8/+87
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-25Patch rtems-rc-20000713-1-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-2/+0
that removes an unnecessary inclusion of @RTEMS_BSP@.cfg.
2000-07-25Forgot to remove these when code moved.Joel Sherrill16-4955/+0
2000-07-24Use bitwise and not cast to unsigned16 to remove upper bits.Joel Sherrill2-2/+6
2000-07-17Make _ISR_Dispatch global.Joel Sherrill1-0/+1
2000-07-17Update from Philip Quaife <rtemsdev@qs.co.nz> that was hand-merged.Joel Sherrill2-34/+75
This update addresses the following: + the ISR enable/disable/flash macros now work with old gcc versions. + the UI CCR bits are now masked since other example code did so + _ISR_Dispatch disables interrupts during call setup Together these removed the instabilities he was seeing.
2000-07-14Changed name of static table versions to avoid conflict.Joel Sherrill1-2/+2
2000-07-13Patch rtems-rc-20000713-1-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill4-5/+4
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-12Patch rtems-rc-20000712-1-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-0/+2
that is yet another multilib-related structual cleanup patch: Changes: * Make RTEMS_DEBUG a global per-cpu configuration option * Remove RTEMS_DEBUG from targopts.h * Add a global --enable-rtems-debug option disabled by default. * Add RTEMS_DEBUG to cpuopts.h * Remove all references to RTEMS_DEBUG from custom/*.cfg Notes: * RTEMS_DEBUG is set in c/src/exec/configure.in only (RTEMS_CHECK_RTEMS_DEBUG) and should be defined in cpuopts.h only. BSPs should not redefine it, but use the value being provided by cpuopts.h. => With multilibs, users have to choose: Either enable RTEMS_DEBUG for all BSPs and CPU_MODELs of a cpu or not. * Only few BSPs had RTEMS_DEBUG enabled, therefore I set the default to disabled. * This patch influences the per-BSP building scheme. Existing BSPs which set RTEMS_DEBUG in their make-target-options rule might have problems at runtime.
2000-07-11Removed no cpu references.Joel Sherrill13-15/+15
2000-07-11Reworked score/cpu/sparc so it can be safely compiled multilib. AllJoel Sherrill12-660/+31
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-11Added Hitachi H8/300 to the list of CPUs that should be OK withJoel Sherrill1-0/+1
using cpuopts.h and not targopts.h.
2000-07-11Reworked score/cpu/i960 so it can be safely compiled multilib. AllJoel Sherrill6-851/+31
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-11Patch rtems-rc-20000711-1-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill5-6/+13
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 Sherrill4-53/+18
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-07Moved old_exception_processing and new_exception_processing directoriesJoel Sherrill4-28/+10
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-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-06Patch from Eric Valette <valette@crf.canon.fr> and Yacine El KolliJoel Sherrill1-2/+2
<elkolli@crf.canon.fr> to add support for the mbx860_005b.
2000-07-06Patch rtems-rc-20000705-3.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill17-18/+21
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 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