summaryrefslogtreecommitdiffstats
path: root/c/src/lib (unfollow)
Commit message (Collapse)AuthorFilesLines
2001-08-162001-08-10 Radzislaw Galler <rgaller@et.put.poznan.pl>Joel Sherrill7-24/+161
* score/cpu_asm.c (sh_set_irq_priority): Changed interrupt vector number range check and handling of interrupt priority regs to conform SH2 specs. * sci/sci_termios.c: New file. * include/sci_termios.h: New file. * include/Makefile.am (EXTRA_DIST): Added sci_termios.h. (include_sh_HEADERS): Added sci_termios.h. * score/ispsh7045.c (isp): Calling an ISR with immediate argument casued negative sign extension for vector numbers of 128 and above. This was fixed. * sci/sci.c: Cleaned initialization of SCI registers; added necessary setup for new TERMIOS console cooperation
2001-08-162001-08-01 Radzislaw Galler <rgaller@et.put.poznan.pl>Joel Sherrill5-11/+35
* include/bsp.h: Disabled redefinition of CONSOLE_DRIVER_TABLE_ENTRY. Some "FIXME:" comments added. * console/config.c: New file. Definitions of externs referenced from libbsp/shared/console.c. * console/Makefile.am: Changed VPATH to point to libbsp/shared. Added config.c to C_FILES and EXTRA_DIST.
2001-08-162001-08-16 Mike Siers <mikes@poliac.com>Joel Sherrill1-0/+42
* libc/termios.c: Fix a bug in the termios implementation in the following scenario: The General Terminal Interface document that me states that if VMIN = 0 and VTIME = 0, then read() should return the minimum of two values: a) number of bytes available b) number of bytes requested (I assume from the read call) The current implementation of the fillBufferQueue() in termios.c is always return 1 character with these setting values. I know the termios buffer has more than one character available and my read() call is requesting 1024 bytes.
2001-08-162001-08-16 Mike Siers <mikes@poliac.com>Joel Sherrill3-4/+20
* comm/tty_drv.c, comm/uart.c: Correct some minor cut and paste bugs.
2001-08-162001-08-16 Mike Siers <mikes@poliac.com>Joel Sherrill3-0/+21
* include/rtems/termiostypes.h, include/sys/ioccom.h: Update of PPPD to 2.3.11 from 2.3.5 touched these files.
2001-08-162001-08-16 Mike Siers <mikes@poliac.com>Joel Sherrill2-8/+26
* libc/termios.c: Fix a bug in the termios implementation in the following scenario: The General Terminal Interface document that me states that if VMIN = 0 and VTIME = 0, then read() should return the minimum of two values: a) number of bytes available b) number of bytes requested (I assume from the read call) The current implementation of the fillBufferQueue() in termios.c is always return 1 character with these setting values. I know the termios buffer has more than one character available and my read() call is requesting 1024 bytes.
2001-08-162001-08-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-0/+8
* clock/clock.c: Ensure that clock ticks are long enough to make forward progress. This was modified to improve results on the RTEMS tests and the ACATS. * startup/linkcmds: Modified to work better with gcc 2.8.1 and gnat 3.13p.
2001-08-162001-08-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-1/+5
* tools/runtest.in: Recognize debug variant of monitor test.
2001-08-162001-08-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-3/+3
* clock/clock.c: Ensure that clock ticks are long enough to make forward progress. This was modified to improve results on the RTEMS tests and the ACATS. * startup/linkcmds: Modified to work better with gcc 2.8.1 and gnat 3.13p.
2001-08-092001-08-09 Fernando-Ruiz Casas <correo@fernando-ruiz.com>Joel Sherrill3-2/+39
* libc/getgrent.c, libc/getpwent.c: the 'ls' and more related command previous failed after a chroot(). (unknown user & group)
2001-08-032001-08-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-0/+14
* libc/libio_sockets.c (rtems_bsdnet_fdToSocket): Per bug report from Gene Smith <Gene.Smith@sea.siemens.com>, enhanced the error checking to account for a socket being closed.
2001-07-032001-07-03 Mike Seirs <mike@poliac.com>Joel Sherrill4-148/+179
* comm/tty_drv.c, comm/uart.c, comm/uart.h: Adds the capability to use task driven serial I/O to ti386 BSPs. This patch leaves thex default I/O mode to be IRQ. If you want to use task I/O mode, then the tty_drv.c file needs to be modified. Basically, all you need to change is the data values of the termios callbacks structure. This callback structure is used in the tty1_open and tty2_open functions. The values you need to set are commented out in the source code.
2001-06-202001-06-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill3-1/+7
* console/Makefile.am: Remove RTEMS_H_FILES. * start/start16.S: include <bspopts.h> to get NEW_GAS.
2001-06-192001-06-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill8-6/+33
* configure.in: Add bspopts.h. * include/.cvsignore: Add bspopts.h*, stamp-h*. * include/Makefile.am: Use *_HEADERS instead of *H_FILES. * include/bsp.h: Include bspopts.h. * scitab/Makefile.am: Use @CPU_CLOCK_RATE_HZ@.
2001-06-192001-06-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill12-42/+63
* configure.in: Add bspopts.h. * include/.cvsignore: Add bspopts.h*, stamp-h*. * include/Makefile.am: Use *_HEADERS instead of *H_FILES. * include/bsp.h: Include bspopts.h.
2001-06-192001-06-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill5-14/+18
* comm/Makefile.am: Use *_HEADERS instead of *H_FILES. * io/Makefile.am: Ditto. * irq/Makefile.am: Ditto. * pci/Makefile.am: Ditto.
2001-06-192001-06-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill7-12/+28
* configure.in: Add bspopts.h. * include/.cvsignore: Add bspopts.h*, stamp-h*. * include/Makefile.am: Use *_HEADERS instead of *H_FILES. * 3c509/Makefile.am: Dito. * console/Makefile.am: Dito. * include/bsp.h: Include bspopts.h.
2001-06-192001-06-19 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-1/+6
* start/start.S: Reverse sense of conditional compilation so the code will compile for a cpu32.
2001-06-192001-06-19 Joel Sherrill <joel@OARcorp.com>Joel Sherrill6-2/+18
* include/Makefile.am: Fixed typo.
2001-06-192001-06-19 Joel Sherrill <joel@OARcorp.com>Joel Sherrill3-2/+7
* scitab/Makefile.am, startup/Makefile.am: Use CPU_CLOCK_RATE_HZ as it is called in configure.in instead of HZ.
2001-06-182001-05-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill5-4/+16
* configure.in: Add bspopts.h. * include/.cvsignore: Add bspopts.h*, stamp-h*. * include/Makefile.am: Use *_HEADERS instead of *H_FILES. * include/bsp.h: Include bspopts.h.
2001-06-182001-05-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-1/+6
* include/bsp.h: Include bspopts.h.
2001-06-182001-05-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-1/+1
* configure.in: Correct typo.
2001-06-182001-05-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill6-22/+23
* configure.in: Add bspopts.h. * include/.cvsignore: Add bspopts.h*, stamp-h*. * include/Makefile.am: Use *_HEADERS instead of *H_FILES. * consolex/Makefile.am: Ditto. * include/bsp.h: Include bspopts.h.
2001-06-182001-05-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill52-135/+208
* configure.in: Add bspopts.h. * include/.cvsignore: Add bspopts.h*, stamp-h*. * include/Makefile.am: Use *_HEADERS instead of *H_FILES. * include/bsp.h: Include bspopts.h.
2001-06-182001-05-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill30-59/+114
* configure.in: Add bspopts.h. * include/.cvsignore: Add bspopts.h*, stamp-h*. * include/Makefile.am: Use *_HEADERS instead of *H_FILES. * include/bsp.h: Include bspopts.h.
2001-06-182001-06-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill4-3/+11
* include/Makefile.am: Fix typo in include_HEADERS.
2001-06-142001-05-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill31-76/+115
* configure.in: Add bspopts.h. * include/.cvsignore: Add bspopts.h*, stamp-h*. * include/Makefile.am: Use *_HEADERS instead of *H_FILES. * include/bsp.h: Include bspopts.h.
2001-06-142001-05-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-12/+4
* configure.in: Remove CONSOLE_USE_POLLED, HAS_RTC.
2001-06-082001-05-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill26-44/+114
* configure.in: Add bspopts.h. * include/.cvsignore: Add bspopts.h*, stamp-h*. * include/Makefile.am: Use *_HEADERS instead of *H_FILES. * include/bsp.h: Include bspopts.h.
2001-06-082001-05-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill5-8/+21
* configure.in: Add bspopts.h, fix PACKAGE. * include/.cvsignore: Add bspopts.h*, stamp-h*. * include/Makefile.am: Use *_HEADERS instead of *H_FILES. * include/bsp.h: Include bspopts.h.
2001-06-082001-05-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill5-7/+20
* configure.in: Add bspopts.h. * include/.cvsignore: Add bspopts.h*, stamp-h*, coverhd.h. * include/Makefile.am: Use *_HEADERS instead of *H_FILES. * include/bsp.h: Include bspopts.h.
2001-06-082000-06-08 Eric Valette <valette@crf.canon.fr>Joel Sherrill2-0/+17
* mpc8xx/console-generic/console-generic.c: The printk/printf did not work when loaded by EPPCBUG. They did work when loaded with the BDM debugger. I suspected EPPBUG made some nasty things like patching Communication processor microcode... Anyway, the attached patch: 1) Enables to have printk nearly immediately after boot, 2) Make printf work automagically (I do not know why except I make a different initialization for printk that should be overwritten by console init later ?) I let the default to be using EPPCBUG embedded firmware to boot and using this printk early enabler code (LOADED_BY_EPPCBUG and EARLY_CONSOLE) are on.
2001-06-082000-06-08 Eric Valette <valette@crf.canon.fr>Joel Sherrill4-374/+580
* console/console.c, include/commproc.h, startup/start.S: The printk/printf did not work when loaded by EPPCBUG. They did work when loaded with the BDM debugger. I suspected EPPBUG made some nasty things like patching Communication processor microcode... Anyway, the attached patch: 1) Enables to have printk nearly immediately after boot, 2) Make printf work automagically (I do not know why except I make a different initialization for printk that should be overwritten by console init later ?) I let the default to be using EPPCBUG embedded firmware to boot and using this printk early enabler code (LOADED_BY_EPPCBUG and EARLY_CONSOLE) are on.
2001-05-252001-05-25 Joel Sherrill <joel@OARcorp.com>Joel Sherrill9-1/+14
* clock/Makefile.am, console/Makefile.am, spurious/Makefile.am, start/Makefile.am, startup/Makefile.am, timer/Makefile.am, wrapup/Makefile.am: Modified to include compile.am. * startup/bspstart.c: Removed include of <libcsupport.h>
2001-05-252001-05-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill4-6/+18
* configure.in: Add bspopts.h. * include/bsp.h: Include bspopts.h. * include/.cvsignore: Add bspopts.h*, coverhd.h, stamp-h*. * include/Makefile.am: Use *_HEADERS instead of *H_FILES.
2001-05-252001-05-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill6-9/+28
* include/Makefile.am: Use *_HEADERS instead of *H_FILES, add bspopts.h. * include/.cvsignore: Add bspopts.h. * include/bsp.h: Add bspopts.h. * console/Makefile.am: Use *_HEADERS instead of H_FILES. * configure.in: Add bspopts.h.
2001-05-252000-05-25 Matt Cross <profesor@gweep.net>Joel Sherrill38-0/+2662
* New MRM332 BSP for the Mini RoboMind board based on the 68332 microcontroller designed and build by Mark Castelluccio. For details on the MRM see http://www.robominds.com. * .cvsignore, ChangeLog Makefile.am, README, bsp_specs, clock/.cvsignore, clock/Makefile.am, clock/ckinit.c, configure.in, console/.cvsignore, console/Makefile.am, console/console.c, include/.cvsignore, include/Makefile.am, include/bsp.h, include/mrm332.h, misc/dotests, misc/gdbinit68, misc/interr.c, spurious/.cvsignore, spurious/Makefile.am, spurious/spinit.c, start/.cvsignore, start/Makefile.am, start/start.c, startup/.cvsignore, startup/Makefile.am, startup/bspclean.c, startup/bspstart.c, startup/except_vect_332_ROM.S, startup/linkcmds, startup/linkcmds_ROM, timer/.cvsignore, timer/Makefile.am, timer/timer.c, times, wrapup/.cvsignore, wrapup/Makefile.am: Initial files.
2001-05-252001-05-25 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-4/+8
* libc/base_fs.c: Deleted chmod() now that IMFS creates the root node with the desired permissions. chmod() is also not supported by the miniIMFS so this is not allowable.
2001-05-242000-05-24 Fernando Ruiz Casas <fernando.ruiz@ctv.es>Joel Sherrill2-0/+23
* include/rtems/libio_.h: Added login name, uid, gid, euid, and egid so they can be part of the private environment.
2001-05-242000-05-24 Fernando Ruiz Casas <fernando.ruiz@ctv.es>Joel Sherrill4-9/+22
* libc/ttyname.c (ttyname_r): Removed duplicate call to closedir(). * libc/getpwent.c: Create a more robust /etc/passwd and /etc/group. * libc/base_fs.c: Change permissions of files and directories. Now uses octal constants.
2001-05-242001-05-24 Tom Armistead <tom_armistead@phx.mcd.mot.com>Joel Sherrill3-4/+13
* start/start.S: Increased BAT0 mapping of RAM from 64 meg to 256 meg to allow operation on boards with larger RAM sizes. * vectors/vectors_init.c: Modified to call 'generic' powerpc vector function (mpc60x_vector_is_valid) instead of MPC750 specific function to allow operation on boards with CPUs other than the MPC750.
2001-05-242001-05-24 Tom Armistead <tom_armistead@phx.mcd.mot.com>Joel Sherrill2-2/+7
* mpc6xx/timer/timer.c: Added include of bsp.h and removed external declaration of BSP_Convert_decrementer() to correct unresolved reference to this routine.
2001-05-242001-05-24 Eric Valette <valette@crf.canon.fr>Joel Sherrill2-10/+15
* mpc8xx/console-generic/console-generic.c: Bug found by Yacine <elkolli@crf.canon.fr> where the initialization or irq data structure was incomplete in case a SMC channel was used first and later a SCC one.
2001-05-242001-05-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill10-12/+38
* configure.in: Add bspopts.h. * include/bsp.h: Include bspopts.h. * include/.cvsignore: Add bspopts.h*, coverhd.h, stamp-h*. * include/Makefile.am: Use *_HEADERS instead of *H_FILES.
2001-05-242001-05-24 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill5-6/+22
* configure.in: Add bspopts.h. * include/bsp.h: Include bspopts.h. * include/.cvsignore: Add bspopts.h*, coverhd.h, stamp-h*. * include/Makefile.am: Use *_HEADERS instead of *H_FILES.
2001-05-242001-05-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill7-8/+23
* configure.in: Add bspopts.h. * include/bsp.h: Include bspopts.h. * include/.cvsignore: Add bspopts.h*, stamp-h*. * include/Makefile.am: Use *_HEADERS instead of *H_FILES. * start/Makefile.am: Dito. * network/Makefile.am: Dito.
2001-05-242001-05-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill5-7/+21
* configure.in: Add bspopts.h. * include/.cvsignore: Add bspopts.h*, coverhd.h, stamp-h*. * include/Makefile.am: Use *_HEADERS instead of *H_FILES. * include/bsp.h: Include bspopts.h.
2001-05-242001-05-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-3/+8
* comm/Makefile.am: Use *_HEADERS instead of *H_FILES.
2001-05-242001-05-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-1/+4
* configure.in: remove shared/io/Makefile.