summaryrefslogtreecommitdiffstats
path: root/c/src/exec (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 2000-08-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-08-253-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-25 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2000-08-252-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-25 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2000-08-255-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-25 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2000-08-251-1/+2
| | | | * libc/fs_null_handlers.c: Added missing rmnod entry.
* 2000-08-25 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2000-08-254-78/+94
| | | | | * libc/isatty.c, libc/imfs_handlers_directory.c, libc/creat.c, libc/imfs_directory.c: Fixed style issues.
* 2000-08-15 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-08-152-12/+5
| | | | * src/ptimer1.c: Minor formatting fixes.
* 2000-08-15 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-08-154-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-15 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-08-152-48/+25
| | | | | * posix/src/ptimer1.c: Switched to using set_errno_and_return_minus_one() to ensure that errno was always set.
* 2000-08-15 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-08-152-10/+10
| | | | | * posix/src/ptimer1.c (timer_settime): Converted use of rtems_clock_get to use SuperCore _TOD_Current variable.
* 2000-08-11 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-08-1117-0/+2019
| | | | * Shell added for or32 port based on no_cpu port with names replaced.
* 2000-08-11 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-08-1117-0/+2019
| | | | * Shell added for or16 port based on no_cpu port with names replaced.
* 2000-08-11 Chris Johns <ccj@acm.org>Joel Sherrill2000-08-1111-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.
* Adding ChangeLogs.Joel Sherrill2000-08-1023-0/+70
|
* IEEEJoel Sherrill2000-08-031-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
* Patch from Eric Norum <eric@cls.usask.ca> to add optional support forJoel Sherrill2000-08-021-3/+47
| | | | | fast mutexes that bypass the API level to directly interface with the SuperCore.
* New file.Joel Sherrill2000-08-021-0/+48
|
* Look at both hardware and software FP settings.Joel Sherrill2000-08-011-2/+2
|
* If the _VBR is set to 0xFFFFFFFF, then assume the vector jump table isJoel Sherrill2000-08-011-1/+10
| | | | in ROM.
* The fp_context field is needed if software or hardware floating pointJoel Sherrill2000-08-011-1/+1
| | | | is available.
* Patch from Eric Norum <eric@cls.usask.ca> to avoid lockup underJoel Sherrill2000-08-011-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.
* Patch rtems-rc-20000801-1-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-08-011-1/+1
| | | | that switches the sparc from targopts.h to cpuopts.h.
* Minor problems addressed with the merger and with the arm_bare_bsp.Joel Sherrill2000-07-271-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.
* Port of RTEMS to the ARM processor family by Eric ValetteJoel Sherrill2000-07-2715-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.
* Port of RTEMS to the Texas Instruments C3x/C4x DSP families includingJoel Sherrill2000-07-2626-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.
* Patch rtems-rc-20000713-1-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-07-251-2/+0
| | | | that removes an unnecessary inclusion of @RTEMS_BSP@.cfg.
* Forgot to remove these when code moved.Joel Sherrill2000-07-2516-4955/+0
|
* Use bitwise and not cast to unsigned16 to remove upper bits.Joel Sherrill2000-07-242-2/+6
|
* Make _ISR_Dispatch global.Joel Sherrill2000-07-171-0/+1
|
* Update from Philip Quaife <rtemsdev@qs.co.nz> that was hand-merged.Joel Sherrill2000-07-172-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.
* Changed name of static table versions to avoid conflict.Joel Sherrill2000-07-141-2/+2
|
* Patch rtems-rc-20000713-1-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-07-134-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 :)
* Patch rtems-rc-20000712-1-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-07-121-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.
* Removed no cpu references.Joel Sherrill2000-07-1113-15/+15
|
* Reworked score/cpu/sparc so it can be safely compiled multilib. AllJoel Sherrill2000-07-1112-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.
* Added Hitachi H8/300 to the list of CPUs that should be OK withJoel Sherrill2000-07-111-0/+1
| | | | using cpuopts.h and not targopts.h.
* Reworked score/cpu/i960 so it can be safely compiled multilib. AllJoel Sherrill2000-07-116-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.
* Patch rtems-rc-20000711-1-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-07-115-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.
* Patch rtems-rc-20000709-1.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-07-104-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/
* Patch rtems-rc-20000708-1.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-07-1016-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
* Moved old_exception_processing and new_exception_processing directoriesJoel Sherrill2000-07-074-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.
* Fixed problem reported by Victor V. Vengerov <Victor.Vengerov@oktet.ru>Joel Sherrill2000-07-071-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.
* Moved __RTEMS_APPLICATION__ conditional to include the use of theJoel Sherrill2000-07-071-1/+1
| | | | | static inline routine _CORE_mutex_Seize_interrupt_trylock since static routines are not included when in an application.
* Switched to faster implementation.Joel Sherrill2000-07-061-25/+20
|
* Patch from Eric Valette <valette@crf.canon.fr> and Yacine El KolliJoel Sherrill2000-07-061-2/+2
| | | | <elkolli@crf.canon.fr> to add support for the mbx860_005b.
* Patch rtems-rc-20000705-3.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-07-0617-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: ----------------------------------------------------------------------
* Added missing #endif's.Joel Sherrill2000-07-062-3/+0
|
* Corrected call to _CORE_mutex_Seize_interrupt_blocking.Joel Sherrill2000-07-061-2/+5
|
* Modfied to execute faster and have fewer instructions.Joel Sherrill2000-07-061-38/+38
|
* Switched to using isr disable version of _Objects_Get. When theJoel Sherrill2000-07-061-13/+15
| | | | | semaphore/mutex can be obtained immediately, this cuts execution time by 50%.
* Added _Semaphore_Get_interrupt_disable.Joel Sherrill2000-07-061-0/+10
|