summaryrefslogtreecommitdiffstats
path: root/c/src/lib (unfollow)
Commit message (Collapse)AuthorFilesLines
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.
2001-05-242001-05-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill18-26/+85
* configure.in: Add include/bspopts.h. * console/Makefile.am: Use *_HEADERS instead of *H_FILES. * irq/Makefile.am: Use *_HEADER instead of *H_FILES. * include/.cvsignore: Add bspopts.h*, coverhd.h, stamp-h* * include/Makefile.am: Add bspopts.h, Use *_HEADER instead of *H_FILES. * include/bsp.h: Add bspopts.h.
2001-05-242001-05-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill5-18/+47
* configure.in: Add bspopts.h, AC_DEFINE CONSOLE_USE_INTERRUPTS, CONSOLE_USE_POLLED, HAS_RTC. * include/.cvsignore: Add bspopts.h*, stamp-h*, coverhd.h, tod.h. * include/Makefile.am: Use *_HEADERS instead of *H_FILES, New treatment of tod.h, coverhd.h. * include/bsp.h: Add include bspopts.h.
2001-05-242000-05-24 Joel Sherrill <joel@OARcorp.com>Joel Sherrill14-333/+308
* mongoosev/include/mongoose-v.h, mongoosev/vectorisrs/vectorisrs.c, r46xx/vectorisrs/vectorisrs.c, tx39/vectorisrs/vectorisrs.c, tx39/include/tx3904.h: All exceptions were given low numbers and thus can be now be installed and processed in a uniform manner just like interrupts. Variances between various MIPS ISA levels are not accounted for at this time. * mongoosev/vectorisrs/Makefile.am, mongoosev/vectorisrs/maxvectors.c, r46xx/vectorisrs/Makefile.am, r46xx/vectorisrs/maxvectors.c, tx39/vectorisrs/Makefile.am, tx39/vectorisrs/maxvectors.c, shared/interrupts/maxvectors.c, shared/interrupts/Makefile.am: Split the shared maxvectors.c into a variety of CPU model specific versions to simplify the build process and reduce depdencies. Deleted shared/interrupts/maxvectors.c and created various CPU model versions.
2001-05-242001-05-24 Greg Menke <gregory.menke@gsfc.nasa.gov>Joel Sherrill2-2/+6
* clock/clock.S: Move placement of nop.
2001-05-242001-05-24 Greg Menke <gregory.menke@gsfc.nasa.gov>Joel Sherrill3-15/+96
* Assisted in design and debug by Joel Sherrill <joel@OARcorp.com>. * start/regs.S, start/start.S: Now works on Mongoose-V. Missed in previous patch.
2001-05-222001-05-22 Greg Menke <gregory.menke@gsfc.nasa.gov>Joel Sherrill8-389/+721
* Assisted in design and debug by Joel Sherrill <joel@OARcorp.com>. * mongoosev/duart/mg5uart.c, mongoosev/duart/mg5uart.h, mongoosev/include/mongoose-v.h, mongoosev/vectorisrs/vectorisrs.c, shared/interrupts/maxvectors.c: Now works. Significant rework of exceptions and interrupt vectoring to clean things up. * shared/interrupts/vectorexceptions.c: Removed. * shared/interrupts/Makefile.am: Reflects above.
2001-05-222001-05-22 Greg Menke <gregory.menke@gsfc.nasa.gov>Joel Sherrill6-64/+142
* Assisted in design and debug by Joel Sherrill <joel@OARcorp.com>. * clock/clockdrv.c, console/conscfg.c: Corrected. * include/bsp.h: Support for tm27 and addition of CPU_CLOCK_RATE. * startup/bspstart.c: Properly set initial status register and pending interrupts. * timer/timer.c: Works now.
2001-05-112001-05-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill5-68/+81
* configure.in: Use RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm]), adapt bspopts.h handling to other sh-BSPs. * include/.cvsignore: Add stamp-h*, bspopts.h*. * include/Makefile.am: Use include_HEADERS instead of H_FILES. * startup/bspstart.c: Reworked, based on the amos BSP.
2001-05-112001-05-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill6-6/+29
* configure.in: Use RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm]), add bspopts.h. * include/.cvsignore: Add stamp-h*, bspopts.h*. * include/Makefile.am: Use include_HEADERS instead of H_FILES. * include/bsp.h: Add bspopts.h. * startup/bspstart.c: Replace HZ w/ CPU_CLOCK_RATE_HZ.
2001-05-112001-05-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill5-11/+22
* configure.in: Use RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm]), add bspopts.h. * include/.cvsignore: Add stamp-h*, bspopts.h*. * include/Makefile.am: Use include_HEADERS instead of H_FILES. * include/bsp.h: Add bspopts.h.
2001-05-112001-05-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill3-1/+9
* configure.in: Use RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm]).
2001-05-112001-05-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill85-43/+211
* configure.in: Use RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm]).
2001-05-112001-05-11 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-5/+31
* tools/runtest: Add functionality to avoid letting simulator run too long.
2001-05-112001-05-11 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-1/+6
* libc/write.c: Change type of rc to match return type from underlying function per report from Eric Norum.
2001-05-092001-05-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill6-36/+154
* scitab/.cvsignore: Add. * configure.in: Add --enable-console, CPU_CLOCK_RATE_HZ, autoheader bspopt.h. * include/bsp.h: Complete rewrite based on the AMOS-BSP. * README: Update. * bsp_specs: copy from gensh1
2001-05-082001-05-07 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-2/+4
* ne2000/ne2000.c: Remove #define __INSIDE_RTEMS_BSD_TCPIP_STACK__.
2001-05-072001-04-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-1/+6
* configure.in: Add [-ansi -fasm] to RTEMS_PROG_CC_FOR_TARGET.
2001-05-072001-05-07 Joel Sherrill <joel@OARcorp.com>Joel Sherrill3-1/+97
* shared/interrupts/vectorexceptions.c: New file to decode exception code and vector appropriate NON-interrupt exception. * shared/interrupts/Makefile.am: Modified to reflect above.
2001-05-072001-05-07 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-2/+26
* console/conscfg.c: Added an entry for the second serial port.
2001-04-242001-04-24 Joel Sherrill <joel@OARcorp.com>Joel Sherrill3-1/+11
* libc/libio.c (rtems_libio_allocate): Make sure size and offset fields are cleared on each file open. Before this field was cleared, this resulted in the value from the last time that IOP was used being still in place. Discovered by Andrew Bythell <abythell@nortelnetworks.com>. * libc/open.c: Remove redundant setting of iop->offset.
2001-04-242000-04-23 Jiri Gaisler <jiri@gaisler.com>Joel Sherrill2-5/+15
* start.S: Modificatins to preserve the current CWP and adjust the WIM accordingly. This improves compatibility with the remote debugger and the mkprom prom-builder.
2001-04-232000-04-23 Jiri Gaisler <jiri@gaisler.com>Joel Sherrill4-6/+14
* console/debugputs.c: Switched to unsigned characters.
2001-04-202001-04-20 Correo Fernando-ruiz <correo@fernando-ruiz.com>Joel Sherrill4-21/+74
* include/rtems/libio_.h, libc/chroot.c, libc/privateenv.c: Private environment and chroot() enhancements and fixes. Comments: + privateenv has been modified to let at chroot() to be more POSIX like Sergei Organov recommended. + A task owner lets that rtems_set_private_env() will be called twice or more times. + chroot() can be called without a previous rtems_set_private_env(); (transpanrently) + The second call of rtems_set_private_env() makes a internal chroot("/") into global imfs_root. + chroot() runs like chdir() without a previous chdir("/") with the global root. + The current directory can be in a wrong place like Linux and many other Unices.
2001-04-202001-04-20 Eric Valette <valette@crf.canon.fr>Joel Sherrill6-3/+15
* include/bsp.h: Added include of <bsp/vectors.h> * vectors/vectors.h: Corrected typos.
2001-04-202001-04-20 Joel Sherrill <joel@OARcorp.com>Joel Sherrill3-9/+51
* mongoosev/duart/mg5uart.c (mg5uart_enable_interrupts): Honor the other bits set in the Peripheral Function Interrupt Mask Register when modifying those enabled for the DUART. * mongoosev/include/mongoose-v.h (MONGOOSEV_ATOMIC_MASK, MONGOOSEV_PFICR, MONGOOSEV_PFIMR, mongoosev_set_in_pficr, mongoosev_clear_in_pficr, mongoosev_set_in_pfimr, mongoosev_clear_in_pfimr, MONGOOSEV_UART_ALL_IRQ_BITS): New macros.
2001-04-202001-04-20 Joel Sherrill <joel@OARcorp.com>Joel Sherrill5-90/+73
* include/bsp.h (Clear_tm27_intr): Stop the timer and disable the interrupt. This was not quite right before and we were getting uncontrolled interrupt nesting in tm27. * timer/timer.c (Timer_Initialize): Added an extra reset and changed the ITMR register so we will never get an interrupt. (Read_timer): Fixed so the timer actually stops before it is read. Before some times reported were outraguously high. * start/start.S: Major clean including using stack in linkcmds, deleting unused code, and zeroing the BSS using the linkcmds information. * startup/linkcmds: Put heap in lower memory than workspace and move _clear_end so both are zeroed.
2001-04-202001-04-20 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-1/+6
* clock/clockdrv.c: Account for the fact that ClockRate is in cycles not megahertz.
2001-04-162001-04-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill3-2/+44
* include/rtc.h: New file. * include/Makefile.am: Updated to reflect above.
2001-04-162001-04-11 Eric Valette <valette@crf.canon.fr>Joel Sherrill2-1/+5
* network/network.c: Fix unnecessary double assignment.
2001-04-162001-04-11 Eric Valette <valette@crf.canon.fr>Joel Sherrill17-0/+2929
* clock/.cvsignore, clock/Makefile.am, clock/p_clock.c, include/8xx_immap.h, include/commproc.h, irq/.cvsignore, irq/Makefile.am, irq/irq.c, irq/irq.h, irq/irq_asm.S, irq/irq_init.c, vectors/.cvsignore, vectors/Makefile.am, vectors/vectors.S, vectors/vectors.h, vectors/vectors_init.c: New file. * Switch the eth_comm BSP to use the "new exception processing model."
2001-04-162001-04-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill4-129/+30
* start/start.S, startup/bspstart.c, startup/linkcmds: Cleanup that was not merged from the simple non-RTEMS program.
2001-04-162001-04-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill3-17/+18
* mongoosev/duart/mg5uart.c, mongoosev/duart/mg5uart.h Modifications made with Gregory Menke <gregory.menke@gsfc.nasa.gov> as he debugged this BSP using a logic analyzer. In particular, there was a mistake where the index not offset of registers was in the header file and the baud rate calculation was incorrect.
2001-04-162001-04-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-5/+19
* start/start.S, startup/bspstart.c, startup/linkcmds: Modifications made with Gregory Menke <gregory.menke@gsfc.nasa.gov> as he debugged this BSP using a logic analyzer.
2001-04-162001-04-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill3-81/+130
* start/start.S, startup/bspstart.c, startup/linkcmds: Modifications made with Gregory Menke <gregory.menke@gsfc.nasa.gov> as he debugged this BSP using a logic analyzer.