summaryrefslogtreecommitdiffstats
path: root/c/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 2002-05-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-05-287-22/+30
| | | | | | | | | | Move from c/src/libfs to c/src/exec/libfs * configure.ac: Reflect move. * Makefile.am: Ditto. * src/Makefile.am: Ditto. * src/dosfs/Makefile.am: Ditto. * src/imfs/Makefile.am: Ditto. * wrapup/Makefile.am: Ditto.
* 2002-05-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-05-285-13/+19
| | | | | | | | Move from c/src/libblock to c/src/exec/libblock * configure.ac: Reflect move. * Makefile.am: Ditto. * include/Makefile.am: Ditto. * src/Makefile.am: Ditto.
* 2002-05-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-05-283-1/+9
| | | | * rtems_telnetd/pty.c: Remove bsp.h. Include <rtems/bspIo.h>.
* 2001-05-24 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-05-242-0/+10
| | | | * src/.cvsignore: New file.
* 2002-05-24 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-05-243-2/+5
| | | | * coinfigure.ac, Makefile.am: Remove references to rootfs.
* 2002-05-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-05-17139-13448/+4
| | | | * configure.ac: Remove lib.
* 2002-05-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-05-171-0/+4
| | | | * Makefile.am: Remove libcsupport.
* 2002-05-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-05-171-1/+0
| | | | * Makefile.am: Remove libblock, libfs.
* 2002-05-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-05-173-1/+10
| | | | | * configure.ac: Add libcsupport. * wrapup/Makefile.am: Ditto.
* 2002-05-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-05-174-19/+16
| | | | | | | Relocate libcsupport from c/src/lib to c/src/exec/libcsupport. * configure.ac: Use ENV_RTEMSCPU. Reflect changed paths. * Makefile.am: Reflect changed paths. * src/Makefile.am: Reflect changed paths.
* 2002-05-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-05-177-466/+9
| | | | | | | | | * rootfs/.cvsignore: Remove. * rootfs/Makefile.am: Remove. * rootfs/mkrootfs.h: Remove. * rootfs/mkrootfs.c: Remove. * configure.ac: Remove rootfs and NETWORKING macros. * wrapup/Makefile.am: Remove rootfs and HAS_NETWORKING.
* 2002-05-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-05-174-10/+18
| | | | | | * rtems/mkrootfs.c: Add (relocated from libmisc/rootfs). * rtems/mkrootfs.h: Ditto. * rtems/Makefile.am: Reflect changes above.
* 2001-05-17 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-05-172-1/+6
| | | | | * sp21/task1.c (INVALID_DRIVER_MAJOR): Change definition to reflect number of staticly configured device drivers.
* 2001-05-17 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-05-173-3/+8
| | | | | * mpc6xx/exceptions/raw_exception.c, pc6xx/mmu/pte121.c: Modified slightly to reflect recent PowerPC re-organization and avoid warnings.
* 2001-05-17 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-05-173-4/+62
| | | | | | * libc/envlock.c: Implemented code to let newlib's envlock share the libio open/close mutex. Since both should be lightly used, this should not lead to problems and saves resources.
* 2001-05-17 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-05-172-1/+5
| | | | * startup/linkcmds: Per PR224, added wild card math to .rodata.
* 2001-05-17 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-05-172-0/+21
| | | | | * macros/rtems/score/thread..inl: Implemented missing routines for new libc reentrancy support.
* 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.
* 2001-05-15 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2002-05-153-0/+1026
| | | | | * mpc6xx/mmu/pte121.c, mpc6xx/mmu/pte121.h: New files. Missed in merge of PR213.
* 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-153-70/+20
| | | | | | | | * 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.
* 2001-05-15 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-05-154-0/+365
| | | | | | * src/i386/any/remdeb_svc.c, src/m68k/any/remdeb_svc.c, src/powerpc/new_exception_processing/remdeb_svc.c: Readding as I accidentally deleted the incorrectly empty versions.
* 2002-05-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-05-152-1/+12
| | | | * Makefile.am: Add preinstall-stamp.
* 2001-05-15 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-05-153-4/+11
| | | | | * libc/Makefile.am: envlock.c should only be built for embedded targets using newlib.
* 2001-05-14 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-05-142-2/+6
| | | | * shared/include/cpuIdent.c: Account for duplicate numbers.
* 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-142-8/+10
| | | | | | | | | * 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-145-2/+177
| | | | | | | * 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-148-93/+181
| | | | | | | | | | | * 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-146-121/+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-143-1/+134
| | | | | | * rtems/powerpc/debugmod.h: New file (extracted from score/ppc.h). * Makefile.am: Relect 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/+1
| | | | | | | | * sys/ioctl.h: Remove. * sys/sockio.h: Remove. * sys/filio.h: Remove. * sys/Makefile.am: Reflect changes above. * configure.ac: Take out *NETWORKING*.
* 2002-05-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-05-143-6/+8
| | | | | | | | * 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-147-238/+18
| | | | | | | * 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-10/+10
| | | | | | | | | | | | | | | | | * 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-144-2/+68
| | | | | | | | | | | | | | | | | | | | | * cpu.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 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-142-32/+6
| | | | * ChangeLog: Corrected -- entry should have been in libchip.
* 2001-05-14 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2002-05-143-2/+21
| | | | | | | | | | | | | | | | | * 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-144-0/+233
| | | | | | | | | | | | | | | | | | | | | | | | | | Per PR216, "libbsp/powerpc/shared" BSP has been modified considerably with the goal to make it more flexible and reusable by other BSPs. The main strategies were: - eliminate hardcoded base addresses; devices use offsets and a BSP defined base address. - separate functionality into different files (e.g. reboot from inch.c to reboot.c) which can be overridden by a 'derived' BSP. - separate initialization code into separate files (e.g. PCI bridge detection/initialization was separated from the more generic PCI access routines), also to make it easier for 'derived' BSPs to substitute their own initialization code. There are also a couple of enhancements and fixes: - IRQ handling code now has a hook for attaching a VME bridge. - OpenPIC is now explicitely initialized (polarities, senses). Eliminated the implicit assumption on the presence of an ISA PIC. - UART and console driver now supports more than 1 port. The current maximum of 2 can easily be extended by enlarging a table (it would even be easier if the ISR API was not broken by design). - fixed polled_io.c so it correctly supports console on COM2 - fixed TLB invalidation code (start.S). - exception handler prints a stack backtrace. - added BSP_pciFindDevice() to scan the pci bus for a particular vendor/device/instance.
* 2001-05-14 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2002-05-141-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * bootloader/Makefile.am, console/Makefile.am, pci/Makefile.am: Per PR216, "libbsp/powerpc/shared" BSP has been modified considerably with the goal to make it more flexible and reusable by other BSPs. The main strategies were: - eliminate hardcoded base addresses; devices use offsets and a BSP defined base address. - separate functionality into different files (e.g. reboot from inch.c to reboot.c) which can be overridden by a 'derived' BSP. - separate initialization code into separate files (e.g. PCI bridge detection/initialization was separated from the more generic PCI access routines), also to make it easier for 'derived' BSPs to substitute their own initialization code. There are also a couple of enhancements and fixes: - IRQ handling code now has a hook for attaching a VME bridge. - OpenPIC is now explicitely initialized (polarities, senses). Eliminated the implicit assumption on the presence of an ISA PIC. - UART and console driver now supports more than 1 port. The current maximum of 2 can easily be extended by enlarging a table (it would even be easier if the ISR API was not broken by design). - fixed polled_io.c so it correctly supports console on COM2 - fixed TLB invalidation code (start.S). - exception handler prints a stack backtrace. - added BSP_pciFindDevice() to scan the pci bus for a particular vendor/device/instance.
* 2001-05-14 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2002-05-143-2/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | * bootloader/Makefile.am, console/Makefile.am, pci/Makefile.am: Per PR216, "libbsp/powerpc/shared" BSP has been modified considerably with the goal to make it more flexible and reusable by other BSPs. The main strategies were: - eliminate hardcoded base addresses; devices use offsets and a BSP defined base address. - separate functionality into different files (e.g. reboot from inch.c to reboot.c) which can be overridden by a 'derived' BSP. - separate initialization code into separate files (e.g. PCI bridge detection/initialization was separated from the more generic PCI access routines), also to make it easier for 'derived' BSPs to substitute their own initialization code. There are also a couple of enhancements and fixes: - IRQ handling code now has a hook for attaching a VME bridge. - OpenPIC is now explicitely initialized (polarities, senses). Eliminated the implicit assumption on the presence of an ISA PIC. - UART and console driver now supports more than 1 port. The current maximum of 2 can easily be extended by enlarging a table (it would even be easier if the ISR API was not broken by design). - fixed polled_io.c so it correctly supports console on COM2 - fixed TLB invalidation code (start.S). - exception handler prints a stack backtrace. - added BSP_pciFindDevice() to scan the pci bus for a particular vendor/device/instance.
* 2001-05-14 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2002-05-1425-565/+519
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bootloader/misc.c, console/Makefile.am, console/console.c, console/consoleIo.h, console/inch.c, console/polled_io.c, console/uart.c, console/uart.h, include/bsp.h, irq/Makefile.am, irq/irq.c, irq/irq.h, irq/irq_init.c, openpic/openpic.c, openpic/openpic.h, pci/Makefile.am, pci/pci.c, pci/pci.h, residual/Makefile.am, start/start.S, startup/bspstart.c, vectors/vectors.S, vectors/vectors.h, vectors/vectors_init.c: Per PR216, "libbsp/powerpc/shared" BSP has been modified considerably with the goal to make it more flexible and reusable by other BSPs. The main strategies were: - eliminate hardcoded base addresses; devices use offsets and a BSP defined base address. - separate functionality into different files (e.g. reboot from inch.c to reboot.c) which can be overridden by a 'derived' BSP. - separate initialization code into separate files (e.g. PCI bridge detection/initialization was separated from the more generic PCI access routines), also to make it easier for 'derived' BSPs to substitute their own initialization code. There are also a couple of enhancements and fixes: - IRQ handling code now has a hook for attaching a VME bridge. - OpenPIC is now explicitely initialized (polarities, senses). Eliminated the implicit assumption on the presence of an ISA PIC. - UART and console driver now supports more than 1 port. The current maximum of 2 can easily be extended by enlarging a table (it would even be easier if the ISR API was not broken by design). - fixed polled_io.c so it correctly supports console on COM2 - fixed TLB invalidation code (start.S). - exception handler prints a stack backtrace. - added BSP_pciFindDevice() to scan the pci bus for a particular vendor/device/instance.
* 2001-05-14 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2002-05-142-0/+32
| | | | | | | | | | | | | | | | * 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-142-3/+29
| | | | | | | | | | | | | | | | * shared/include/io.h: 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-145-1/+1905
| | | | | | | | | | * vmeUniverse/README.universe, vmeUniverse/vmeUniverse.c, vmeUniverse/vmeUniverse.h: New files. * Makefile.am: Modified to reflect addition of files. * Per PR214, contributes a driver for the TUNDRA UNIVERSE VME-PCI bridge to libbsp/shared. NOTE: This driver is maintained _outside_ RTEMS by Till. Please forward future modifications to him.