summaryrefslogtreecommitdiffstats
path: root/c/src/lib (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2000-10-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-10-312-1/+8
| | | | | | | * POSIX include files merged into newlib. This resulted in some definitions moving to other files and thus some secondary effects in RTEMS source code. * sbrk.c: Corrected prototype to match newlib.
* 2000-10-29 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-10-292-51/+4
| | | | * startup/sbrk.c: Removed. Redundant with shared version.
* 2000-10-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-10-271-1/+1
| | | | | * Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros. Switch to GNU canonicalization.
* 2000-10-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-10-27104-52/+312
| | | | | * Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros. Switch to GNU canonicalization.
* 2000-10-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-10-2733-26/+114
| | | | | * configure.in, Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros. Switch to GNU canonicalization.
* 2000-10-27 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-10-271-1/+1
| | | | * ChangeLog: Corrected previous entry to include configure.in.
* 2000-10-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-10-279-5/+27
| | | | | * Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros. Switch to GNU canonicalization.
* 2000-10-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-10-2626-13/+78
| | | | | * Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros. Switch to GNU canonicalization.
* 2000-10-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-10-263-3/+7
| | | | | | * configure.in: Remove bogus cfg_subdirs. * Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros. Switch to GNU canonicalization.
* 2000-10-24 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-10-258-144/+18
| | | | | | | | | | | | * libc/ioman.c: Moved to libfs. * libc/Makefile.am: Removed ioman.c as part of moving it to libfs. * libc/base_fs.c: Removed include of imfs.h and reworded comment to avoid being IMFS specific. * libc/libio.h: Removed prototype of IMFS_ops since it should not be in this file. * libc/mount.c: Removed IMFS specific configuration information. * libc/unmount.c: Removed include of imfs.h and reworded comment to avoid being IMFS specific.
* 2000-10-24 Alan Cudmore <alanc@linuxstart.com> andJoel Sherrill2000-10-245-4/+30
| | | | | | | | | | | | | | | | | Joel Sherrill <joel@OARcorp.com> * This is a major reworking of the mips64orion port to use gcc predefines as much as possible and a big push to multilib the mips port. The mips64orion port was copied/renamed to mips to be more like other GNU tools. Alan did most of the technical work of determining how to map old macro names used by the mips64orion port to standard compiler macro definitions. Joel did the merge with CVS magic to keep individual file history and did the BSP modifications. Details follow: * Makefile.am: Made clock and timer subdirectories conditional. * configure.in: Ditto. * clock/clock.S: Switch from using <idtmon.h> to <asm.h>. * clock/gettime.S: Switch from using <idtmon.h> to <asm.h>.
* 2000-10-24 Alan Cudmore <alanc@linuxstart.com> andJoel Sherrill2000-10-245-24/+48
| | | | | | | | | | | | | | | | | | | Joel Sherrill <joel@OARcorp.com> * This is a major reworking of the mips64orion port to use gcc predefines as much as possible and a big push to multilib the mips port. The mips64orion port was copied/renamed to mips to be more like other GNU tools. Alan did most of the technical work of determining how to map old macro names used by the mips64orion port to standard compiler macro definitions. Joel did the merge with CVS magic to keep individual file history and did the BSP modifications. Details follow: * console/led.S: Switch from using <idtmon.h> to <asm.h>. * console/start.S: Switch from using <idtmon.h> to <asm.h>. Added define of PMON stacksize. * console/idtmem.S: Switch from using <idtmon.h> to <asm.h>. Also reworked conditionals to use gcc predefines. * console/idttlb.S: Ditto.
* 2000-10-23 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-10-232-2/+11
| | | | * console/serial_mouse.c: Fixed typos introduced by removal of CR/LF.
* 2000-10-20 Rosimildo da Silva <rdasilva@connecttel.com>Joel Sherrill2000-10-202-37/+42
| | | | * console/serial_mouse.c: Added support for changing serial parameters.
* 2000-10-20 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-10-202-76/+14
| | | | | | | | | * mpc8xx/console-generic/console-generic.c: Avoid use of BSP definitions and rely on the new routine mbx8xx_console_get_configuration() to get information. This routine was formerly incorrectly called mbx8xx_console_use_maximum_buffer_size(). binding to the exception code.
* 2000-10-20 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-10-203-1/+25
| | | | | | | | | * configure.in, Makefile.am: Explicitly specify whether an RTEMS_CPU_MODEL is using old or new exception processing. This is important because when building multilib, you do not know the RTEMS_CPU_MODEL. So everything built in a multilib'ed RTEMS must be independent of the exception model and allow for late binding to the exception code.
* 2000-10-20 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-10-204-6/+31
| | | | | * console/console.c: Add mbx8xx_console_get_configuration() which returns either nvram configuration or a static equivalent.
* 2000-10-20 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-10-202-1/+6
| | | | | * console/console.c: Invoke BSP_uart_init() with enough arguments now that more communication parameters are settable.
* 2000-10-20 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-10-203-1/+17
| | | | | | * include/wd80x3.h: Added file header and logic to prevent multiple inclusions of this file. * wd8003/wd8003.c: Corrected attach to include "int attach" parameter.
* 2000-10-20 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-10-202-10/+54
| | | | * include/bsp.h: Cleaned up network driver name and attach defines.
* 2000-10-20 Dmitry Kargapolov <dk@gentex.ru>Joel Sherrill2000-10-201-163/+385
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ne2000/ne2000.c: Fix some errors in the driver. 1. There was no sufficient check of data in ethernet header. The code in ne_rx_daemon() was: inport_word (dport, len); ... len -= 4; ... if (len > 0) ne_read_data (sc, startaddr, len, p); Unfortunately, sometimes my NIC gave me too big len value, the result was memory override. To fix this, I added ethernet header data checking. 2. The way overrides were serviced was not good. It was complex but sometimes did not provide reliable continuing of NIC working. I had the situation of an endless loop in ne_check_status() after override processing. 3. There was conceptual error of porting. The old method of overrides curing was ported from the OS-s, where override-processing did start immediately. But RTEMS-version uses events, and cleaning of the overrides can start later. I selected the way of ne2000 programming that is used in freebsd kernel (v4.0). Because of both problems, incorrect data in header of raw packet and receiver override, it went through ne_reset() and fully reset the ne2000. So, in summary - added detecting of the incorrect data in ethernet header; - replaced handling of receiver overrides with new scheme, via resetting of NIC, this method is used also in case of invalid header detecting.
* 2000-10-19 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-10-192-0/+6
| | | | * page.c: Readd deleted comment lines.
* 2000-10-19 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-10-192-1/+6
| | | | | * console/console.c: Invoke BSP_uart_init() with all arguments now that it takes more parameters.
* 2000-10-19 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-10-192-0/+5
| | | | * common/uart.h: Added prototype for BSP_uart_set_baud().
* 2000-10-19 Antti P Miettinen <anmietti@trshp.ntc.nokia.com>Joel Sherrill2000-10-194-2/+10
| | | | * clock/ckinit.c: Do not just set the IMR, OR the enable bit in.
* 2000-10-18 Charles-Antoine Gauthier <charles.gauthier@nrc.ca>Joel Sherrill2000-10-192-1/+26
| | | | * comm/uart.c (BSP_uart_init): Save more line state parameters.
* 2000-10-18 Sergei Organov <osv@javad.ru>Joel Sherrill2000-10-184-0/+184
| | | | | | | | | | | | | | | * Added full support for MPC505. * mpc505/ictrl: New directory. * configure.in, mpc505/Makefile.am: Modified to reflect ictrl addition. * mpc505/ictrl/.cvsignore, mpc505/ictrl/Makefile.am, mpc505/ictrl/ictrl.c, mpc505/ictrl/ictrl.h: New files. * mpc505/timer/timer.c: Use <rtems.h>, not "rtems.h". * mpc505/vectors/Makefile.am: alignment exception handler now included. * mpc505/vectors/vectors.S: Now use constants for exception numbers. * old_exception_processing/ppc_offs.h: New file. * old_exception_processing/Makefile.am: Account for ppc_offs.h. * old_exception_processing/cpu.h: Make Nest and Disable levels volatile. * old_exception_processing/cpu_asm.S: Offsets moved to ppc_offs.h.
* 2000-10-18 Sergei Organov <osv@javad.ru>Joel Sherrill2000-10-1815-509/+374
| | | | | | | | | | | | | | | * Added full support for MPC505. * mpc505/ictrl: New directory. * configure.in, mpc505/Makefile.am: Modified to reflect ictrl addition. * mpc505/ictrl/.cvsignore, mpc505/ictrl/Makefile.am, mpc505/ictrl/ictrl.c, mpc505/ictrl/ictrl.h: New files. * mpc505/timer/timer.c: Use <rtems.h>, not "rtems.h". * mpc505/vectors/Makefile.am: alignment exception handler now included. * mpc505/vectors/vectors.S: Now use constants for exception numbers. * old_exception_processing/ppc_offs.h: New file. * old_exception_processing/Makefile.am: Account for ppc_offs.h. * old_exception_processing/cpu.h: Make Nest and Disable levels volatile. * old_exception_processing/cpu_asm.S: Offsets moved to ppc_offs.h.
* 2000-10-18 John Cotton <john.cotton@nrc.ca>Joel Sherrill2000-10-182-0/+20
| | | | * shared/include/cache.h: Improved file header.
* 2000-10-18 Chris Johns <ccj@acm.org>Joel Sherrill2000-10-1836-4628/+20
| | | | | | | | | | | | | | | | | * libfs created. * libc/deviceio.c, libc/imfs_getchild.c, libc/imfs_readlink.c, libc/imfs.h, libc/imfs_gtkn.c, libc/imfs_rmnod.c, libc/imfs_chown.c, libc/imfs_handlers_device.c, libc/imfs_stat.c, libc/imfs_creat.c, libc/imfs_handlers_directory.c, libc/imfs_symlink.c, libc/imfs_debug.c, libc/imfs_handlers_link.c, libc/imfs_unixstub.c, libc/imfs_directory.c, libc/imfs_handlers_memfile.c, libc/imfs_unlink.c, libc/imfs_eval.c, libc/imfs_init.c, libc/imfs_unmount.c, libc/imfs_fchmod.c, libc/imfs_initsupp.c, libc/imfs_utime.c, libc/imfs_fcntl.c, libc/imfs_link.c, libc/memfile.c, libc/imfs_fdatasync.c, libc/imfs_mknod.c, libc/miniimfs_init.c, libc/imfs_free.c, libc/imfs_mount.c, libc/imfs_fsunmount.c, libc/imfs_ntype.c: Moved to libfs/src/imfs. * Makefile.am: Modified to reflect above.
* 2000-10-18 Charles-Antoine Gauthier <charles.gauthier@nrc.ca>Joel Sherrill2000-10-185-14/+86
| | | | | | * comm/i386-stub-glue.c, comm/tty_drv.c, comm/uart.c, comm/uart.h: Add the ability to set parity, number of data bits and number of stop bits to the existing i386 serial drivers.
* 2000-10-18 Charles-Antoine Gauthier <charles.gauthier@nrc.ca>Joel Sherrill2000-10-184-5/+80
| | | | | | * console/console.c, console/serial_mouse.c, include/bsp.h: Add the ability to set parity, number of data bits and number of stop bits to the existing i386 serial drivers.
* 2000-10-18 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-10-182-0/+27
| | | | | | * console/console.c: Added BSP dependent routine mbx8xx_console_use_maximum_buffer_size() required by mbx8xx console-generic code. This avoids libcpu use of bsp.h.
* 2000-10-18 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-10-182-10/+11
| | | | | | | * mpc8xx/console-generic/console-generic.c: Removed include of <bsp.h> by adding BSP dependent routine mbx8xx_console_use_maximum_buffer_size() which can be hard coded or check non-volatile memory for configuration.
* 2000-10-18 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-10-182-11/+14
| | | | * mpc8xx/console-generic/console-generic.c: Removed warnings.
* 2000-10-18 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-10-181-6/+2
| | | | | * mpc6xx/clock/c_clock.h: Removed commented out reference to <bsp.h>. * mpc6xx/timer/timer.c: Ditto.
* 2000-10-18 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-10-183-7/+5
| | | | | * mpc6xx/clock/c_clock.h: Removed commented out reference to <bsp.h>. * mpc6xx/timer/timer.c: Ditto.
* 2000-10-18 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-10-184-5/+38
| | | | | | | * mpc6xx/clock/c_clock.c, mpc6xx/clock/c_clock.h: Removed use of bsp.h and replaced it with use of proper interfaces or explicit externs of required functions and data. * mpc6xx/timer/timer.c: Ditto.
* 2000-10-18 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-10-185-1/+50
| | | | | | | * libc/Makefile.am: Added mallocfreespace.c. * libc/mallocfreespace.c: New file based on work by Nick Simon <Nick.SIMON@syntegra.bt.co.uk> which he included in malloc.c. * libc/libcsupport.h: Added prototype for malloc_free_space().
* 2000-10-18 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-10-182-4/+5
| | | | * page.c: Replaced prototype of printk() with include of <bspIo.h>.
* 2000-10-18 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-10-181-0/+5
| | | | * ChangeLog: Corrected comment.
* 2000-10-18 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-10-183-2/+4
| | | | * clock/ckinit.c: Removed commented out include of bsp.h.
* 2000-10-18 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-10-181-4/+6
| | | | | | | * libc/fcntl.c: Do not require every filesystem to have an fcntl() handler. Most fcntl() operations can be performed with no filesystem support. * ChangeLog: Corrected comment.
* 2000-10-18 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-10-182-1/+18
| | | | | * Makefile.am: Corrected condition CPU model selection so multilib'ing and bare BSP works.
* 2000-10-18 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-10-181-1/+9
| | | | | | | * libc/fcntl.c: Do not require every filesystem to have an fcntl() handler. Most fcntl() operations can be performed with no filesystem support. * ChangeLog: Corrected comment.
* 2000-10-17 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-10-172-2/+7
| | | | | * irq/Makefile.am, irq/idt.c: Added idt.c since it has been moved libcpu/i386 to libbsp/i386/shared/irq.
* 2000-10-17 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-10-176-4/+19
| | | | | * startup/Makefile.am: Added idt.c since it has been moved libcpu/i386 to libbsp/i386/shared/irq.
* 2000-10-17 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-10-173-290/+6
| | | | | * idt.c, Makefile.am: Moved idt.c to libbsp/i386/shared so i386 RTEMS can be multilib'ed.
* 2000-10-12 Nick Simon <Nick.SIMON@syntegra.bt.co.uk>Joel Sherrill2000-10-122-1/+6
| | | | | * shared/src/cache_manager.c: Minor bug fix -- changed > to >= so the last address is invalidated.
* 2000-10-12 John S Gwynne <jgwynne@mrcday.com>Joel Sherrill2000-10-129-79/+285
| | | | | | | | | | | | | | | | | | | | | | * start/start.c: Modified to support generation of ram_init. * start/ram_init.ld, BSP/start/ram_init.sed: New files. These changes enable RTEMS to automatically generate the ram_init file used by gdb with the BDM patches. The 332 has on-board chip select lines (for RAM and FLASH) that must be configured before use of these peripherals. These patches parse data from start.c where the chip select lines are configured in the runtime executable and automatically generates the gdb initialization file using the same settings. A great time saver. A similar file, ram_init_FW (flash writable), is also generated that the flash programming tool uses. * start/Makefile.am: Modified to support above. * CPU/sim.h: Modified to support above. * startup/except_vect_332_ROM.S: Moved to start so it would not be included in libbsp.a. Moving it to start ensures it is available as a single object file. * start/except_vect_332_ROM.S: Moved from startup. * startup/linkcmds, startup/linkcmds_ROM: Fixes to the memory map shown in the comments.