summaryrefslogtreecommitdiffstats
path: root/cpukit (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2001-05-17 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-05-172-10/+34
| | | | | * macros/rtems/posix/mqueue.inl: Implemented missing routines to support message queue FDs.
* 2002-05-16 Chris Johns <ccj@acm.org>Joel Sherrill2002-05-1511-3/+4206
| | | | | | | | | * Per PR194, added the Capture engine. * capture/Makefile.am, capture/README, capture/capture-cli.c, capture/capture-cli.h, capture/capture.c, capture/capture.h, capture/.cvsignore: New files. * Makefile.am, configure.ac, wrapup/Makefile.am: Modified to reflect addition.
* 2002-05-15 Chris Johns <ccj@acm.org>Joel Sherrill2002-05-151-35/+6
| | | | | | | | * libc/newlibc.c: Per PR141, move the C library re-enterrant support directly into the thread dispatch code. RTEMS needs libc and so requiring libc to use a user extension with its overhead is not the best solution. This patch lowers the overhead to 2 pointer moves.
* 2002-05-15 Chris Johns <ccj@acm.org>Joel Sherrill2002-05-155-0/+63
| | | | | | | | | * include/rtems/score/thread.h, inline/rtems/score/thread.inl, src/threaddispatch.c, src/threadinitialize.c: Move the C library re-enterrant support directly into the thread dispatch code. RTEMS needs libc and so requiring libc to use a user extension with its overhead is not the best solution. This patch lowers the overhead to 2 pointer moves.
* 2002-05-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-05-152-1/+12
| | | | * Makefile.am: Add preinstall-stamp.
* 2001-05-14 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-05-143-10/+12
| | | | | * dummy/Makefile.am, wrapup/Makefile.am: Fixed to generate a library of the same name.
* 2002-05-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-05-141-4/+5
| | | | | | | | | * include/Makefile.am: Remove. * include/sys/utsname.h: Added, removed times (now in newlib). * Makefile.am: Merge include/Makefile.am * libc/utsname.c: Relocated from posix/src. * libc/Makefile.am: Reflect changes above. * configure.ac: Remove include/Makefile
* 2001-05-14 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2002-05-141-0/+82
| | | | | | | * Per PR212, added envlock support for newlib. This is used by at least getenv()/putenv() to avoid race conditions. * libc/envlock.c: New file. * libc/Makefile.am: Modified to reflect above.
* 2002-05-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-05-142-2/+81
| | | | | | | | | | | * include/Makefile.am: Remove. * include/sys/utsname.h: Added, removed times (now in newlib). * Makefile.am: Merge include/Makefile.am * libc/utsname.c: Relocated from posix/src. * libc/Makefile.am: Reflect changes above. * configure.ac: Remove include/Makefile
* 2002-05-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-05-143-10/+8
| | | | | | | * include/sys/utsname.h: Remove. * include/Makefile.am: Reflect changes above. * src/utsname.c: Remove. * src/Makefile.am: Reflect changes above.
* 2002-05-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-05-142-46/+4
| | | | * rtems/score/ppc.h: Remove PPC_DEBUG_MODEL.
* 2002-05-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-05-142-1/+6
| | | | | * include/Makefile.am: Work-around to autoconf-2.53 adding PACKAGE_* to autoheaders - sed out *PACKAGE* from cpuopts-tmp.h.
* 2002-05-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-05-141-3/+0
| | | | | | | | * include/sys/ioctl.h: Relocated from libnetworking/sys. * include/sys/filio.h: Relocated from libnetworking/sys. * include/sys/sockio.h: Relocated from libnetworking/sys. * include/Makefile.am: Reflect changes above. * configure.ac: Take out *NETWORKING*.
* 2002-05-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-05-142-5/+9
| | | | | | | * sys/ioctl.h: Remove. * sys/sockio.h: Remove. * sys/filio.h: Remove. * sys/Makefile.am: Reflect changes above.
* 2001-05-14 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2002-05-141-1/+8
| | | | | | | | | | | | | | | | | | | | | * rtems/new-exceptions/cpu.h: Per PR211 fix saving/restoring floating point context. The fpsave and fprestore routines are only used in a executing context which _is_ fp and hence has the FPU enabled. The current behavior required the FPU always to be on which is very dangerous if lazy context switching is used. [Joel Note: Some ports explicitly enabled the FPU in the FP save and restore routines to avoid this.] The patch also makes sure (on powerpc only) that the FPU is disabled for integer tasks. Note that this is crucial if deferred fp context switching is used. Otherwise, fp context corruption may go undetected! Also note that even tasks which merely push/pop FP registers to/from the stack without modifying them still MUST be FP tasks - otherwise (if lazy FP context switching is used), FP register corruption (of other, FP, tasks may occur)! Furthermore, (on PPC) by default, lazy FP context save/restore is _disabled_.
* 2001-05-14 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2002-05-143-9/+45
| | | | | | | | | | | | | | | | | | | | | * src/threaddispatch.c, src/threadhandler.c: Per PR211 fix saving/restoring floating point context. The fpsave and fprestore routines are only used in a executing context which _is_ fp and hence has the FPU enabled. The current behavior required the FPU always to be on which is very dangerous if lazy context switching is used. [Joel Note: Some ports explicitly enabled the FPU in the FP save and restore routines to avoid this.] The patch also makes sure (on powerpc only) that the FPU is disabled for integer tasks. Note that this is crucial if deferred fp context switching is used. Otherwise, fp context corruption may go undetected! Also note that even tasks which merely push/pop FP registers to/from the stack without modifying them still MUST be FP tasks - otherwise (if lazy FP context switching is used), FP register corruption (of other, FP, tasks may occur)! Furthermore, (on PPC) by default, lazy FP context save/restore is _disabled_.
* 2001-05-14 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-05-141-16/+3
| | | | * ChangeLog: Corrected -- entry should have been in libchip.
* 2001-05-14 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2002-05-141-1/+2
| | | | | | | | | | | | | | | | | * bootloader/Makefile.am, console/Makefile.am, pci/Makefile.am: Per PR215 address the following issues: - _IO_BASE, _ISA_MEM_BASE and PCI_DRAM_OFFSET are no longer defined by libcpu (powerpc/shared/include/io.h) but by the BSP (who is the only one to know the values) - the affected BSP (shared/motorola) headers have been fixed in a separate "libbsp/powerpc/shared" patch. - the DEC 21140 driver (libchip/network/dec21140.c) has been fixed to use PCI_DRAM_OFFSET instead of PREP_PCI_DRAM_OFFSET. and PCI_MEM_BASE instead of PREP_ISA_MEM_BASE. PCI_MEM_BASE is to be defined by the BSP who is using this driver. - the DEC driver also has been fixed to use the newer rtems_bsp_delay_in_bus_cycles() instead of the obsolete delay_in_bus_cycles().
* 2001-05-14 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2002-05-141-0/+16
| | | | | | | | | | | | | | | | * network/dec21140.c: Per PR215 address the following issues: - _IO_BASE, _ISA_MEM_BASE and PCI_DRAM_OFFSET are no longer defined by libcpu (powerpc/shared/include/io.h) but by the BSP (who is the only one to know the values) - the affected BSP (shared/motorola) headers have been fixed in a separate "libbsp/powerpc/shared" patch. - the DEC 21140 driver (libchip/network/dec21140.c) has been fixed to use PCI_DRAM_OFFSET instead of PREP_PCI_DRAM_OFFSET. and PCI_MEM_BASE instead of PREP_ISA_MEM_BASE. PCI_MEM_BASE is to be defined by the BSP who is using this driver. - the DEC driver also has been fixed to use the newer rtems_bsp_delay_in_bus_cycles() instead of the obsolete delay_in_bus_cycles().
* 2001-05-14 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2002-05-143-0/+14
| | | | | | * rtems/powerpc/registers.h, rtems/score/ppc.h: Per PR213, add support for the MPC74000 (AKA G4); there is no AltiVec support yet, however.
* 2001-05-09 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-05-092-5/+20
| | | | | | | * src/exinit.c: Slightly rework initialization so there is a valid thread as _Thread_Executing when the pre_tasking hook is called. This allows one directives and malloc to potentially use mutex protection.
* 2002-05-01 Eric Norum <eric.norum@usask.ca>Joel Sherrill2002-05-012-1/+6
| | | | | * machine/in_cksum.h: Per PR200 fix multi-line inline assembly to satisfy gcc 3.1 and newer.
* 2002-04-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-05-013-42/+19
| | | | | | | * rtems/score/ppc.h: Remove rtems_multilib. Add mpc555 (Based on comments from Sergei Organov <osv@javad.ru>). * rtems/old-exceptions/cpu.h: Remove _CPU_Data_Cache_Block_Flush. Remove _CPU_Data_Cache_Block_Invalidate.
* 2002-03-20 Chris Johns <ccj@acm.org>Joel Sherrill2002-05-012-2/+9
| | | | | | | * monitor/mon-command.c: Per PR192 the RTEMS monitor makes everything lowercase. The capture engine need to set triggers or watches on task with uppercase names. Also stop the monitor repeating command when enter is pressed.
* 2001-04-26 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-04-272-1/+7
| | | | * src/objectcomparenamestring.c: Fix typos.
* 2001-04-26 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-04-264-29/+42
| | | | | | | | | | * include/rtems/score/object.h, inline/rtems/score/object.inl, src/objectcomparenamestring.c: Address PR81 that reworked POSIX message queues to add a descriptor separate from the underlying message queue. This allows non-blocking to follow the "open" not the underlying queue. As part of debugging this it became clear that _Objects_Compare_name_string was broken and a simple version using strncmp() was substituted.
* 2001-04-26 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-04-2612-75/+168
| | | | | | | | | | * include/rtems/posix/mqueue.h, inline/rtems/posix/mqueue.inl, src/mqueue.c, src/mqueueclose.c, src/mqueuecreatesupp.c, src/mqueuegetattr.c, src/mqueuenotify.c, src/mqueueopen.c, src/mqueuerecvsupp.c, src/mqueuesendsupp.c, src/mqueuesetattr.c: Per PR81 reworked to add a message queue descriptor separate from the underlying message queue. This allows non-blocking to follow the "open" not the underlying queue.
* 2001-04-26 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-04-261-1/+1
| | | | | * libc/gxx_wrappers.c: Fix to keep prototype same as in gcc and remove warning.
* 2002-04-26 Eric Norum <eric.norum@usask.ca>Joel Sherrill2002-04-263-8/+21
| | | | | * netinet/in_cksum_i386.c: Add volatile so the more agressive optimization in gcc 3.1 does not reorder things.
* 2001-04-22 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-04-222-0/+6
| | | | | * src/task.c (_ITRON_Task_User_extensions): Add new fields to be correct in respect to newly added fields for separate switch list.
* 2002-04-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-04-194-6/+10
| | | | * asm.h: Use cpuopts.h instead of targopts.h.
* 2002-04-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-04-192-4/+4
| | | | * rtems/score/hppa.h: Remove rtems/score/targopts.h.
* 2002-04-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-04-182-2/+6
| | | | * pppd/utils.c: Adapt to gcc-3.x.
* 2002-04-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-04-188-18/+383
| | | | | | | | | | | | * asm.h: Include cpuopts.h instead of targopts.h. * rtems/new-exceptions/cpu.h: Relocated from libbsp/powerpc/support/new_exception_processing/rtems/score/cpu.h * rtems/old-exceptions/cpu.h: Relocated from c/src/lib/libbsp/powerpc/support/old_exception_processing/rtems/score/cpu.h * rtems/powerpc/registers.h: Relocated and renamed from libcpu/powerpc/shared/include/cpu.h. * rtems/score/cpu.h: New. * Makefile.am: Reflect changes above.
* 2002-04-18 Jay Monkman <jtm@smoothsmoothie.com>Joel Sherrill2002-04-182-6/+14
| | | | | | * rtems/score/cpu.h (CPU_ISR_Disable and CPU_ISR_Enable): Correct them where they correctly inform the compiler about the register they are modifying.
* 2002-04-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-04-182-15/+5
| | | | * include/rtems/system.h: Remove targopts.h.
* 2002-04-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-04-171-2/+1
| | | | * libc/scandir.c: Initialize nitems = 0.
* 2002-04-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-04-172-1/+6
| | | | | * include/rtems/system.h: Add the sparc to the target supporting multlibs.
* 2002-04-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-04-162-1/+4
| | | | * configure.ac: Remove ENABLE_GCC28.
* 2002-04-16 Chris Johns <ccj@acm.org>Joel Sherrill2002-04-162-0/+21
| | | | | | | * src/threadinitialize.c: Per PR181, clear the array of user extension pointers. This lets user extensions that have hooked the switch handler know if a task has been processed by the user extension before. If a user extension is created after a task is started it may not know it.
* 2002-04-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-04-162-0/+52
| | | | | | | * include/Makefile.am: Add stdint.h and inttypes.h. (reported by Mike Siers <mikes@poliac.com>) * include/stdint.h: New file. * include/inttypes.h: New file.
* 2002-04-11 Chris Johns <ccj@acm.org>Joel Sherrill2002-04-132-0/+14
| | | | | | | * c/src/libnetworking/rtems/rtems_bsdnet.h: To address PR59, added the drv_ctrl driver control block field to the ifconfig network driver structure. This field is needed by the i82586 driver which was ported from NetBSD as it had better hardware abstraction.
* 2002-04-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-04-122-1/+5
| | | | * include/rtems/system.h: Add i386 to multilib-able targets.
* 2002-03-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-04-127-4/+346
| | | | | | | | | | | | | | * rtems/score/idtr.h: New file, extracted from libcpu/cpu.h. * rtems/score/interrupts.h: New file, extracted from libcpu/cpu.h. * rtems/score/registers.h: New file, moved from libcpu. * Makefile.am: Reflect changes above. * cpu.c: Don't include cpuModel.h, #include <rtems.h>, #include <rtems/score/i386types.h>, #include <rtems/score/idtr.h>. * rtems/score/cpu.h: Don't include libcpu/cpu.h. #include <rtems/score/interrupts.h>, #include <rtems/score/registers.h>.
* 2001-04-11 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-04-113-75/+48
| | | | | | | * macros/rtems/score/userext.inl: Now works after merging patch for functionality requested in PR174. * inline/rtems/score/userext.inl: Added a comment explaining the order in which routines appear since it is not the obvious order.
* 2002-04-08 Chris Johns <ccj@acm.org>Joel Sherrill2002-04-093-1/+10
| | | | | | * Per PR141 and PR174, make task switch extension its own list and fix all odd problems introduced by providing macro version. * inline/rtems/score/userext.inl: Fix.
* 2002-04-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-04-082-1/+1
| | | | | * libc/stat.c: include <string.h>. * libc/printk.c: Remove libcpu/cpu.h.
* 2002-04-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-04-083-0/+8
| | | | | * src/ramdisk.c: include <string.h>. * src/blkdev.c: include <string.h>.
* 2002-04-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-04-086-0/+14
| | | | | | | | * src/imfs/imfs_getchild.c: include <string.h>. * src/imfs/imfs_gtkn.c: Include <string.h>. * src/imfs/ioman.c: Include <string.h>. * src/imfs/linearfile.c: Include <string.h>. * src/imfs/memfile.c: Include <string.h>.
* 2002-04-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-04-082-5/+9
| | | | * include/rtems/bspIo.h: Fix cpp-guards, remove references to i386.