summaryrefslogtreecommitdiffstats
path: root/c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2001-04-24 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-04-245-2/+13
| | | | | | | | | * 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-24 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-04-244-0/+18
| | | | | | | | * src/imfs/memfile.c (memfile_open): Did not set iop->size and thus the value was incorrect. 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>.
* 2001-04-24 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-04-243-0/+56
| | | | | | | * psxfile01/test.c, psxfile01/psxfile01.scn : Added test case for open, write, reopen, append twice from Andrew Bythell <abythell@nortelnetworks.com> that tripped an initialization problem in the IMFS.
* 2000-04-24 Eric Norum <eric.norum@usask.ca>Joel Sherrill2001-04-244-72/+142
| | | | | | * lib/rtems_bsdnet_ntp.c: Modifications to make the RTEMS NTP synchronization a little more robust -- no NTP daemon yet, but at least it trys a little harder when the primary NTP server is down.
* 2000-04-23 Jiri Gaisler <jiri@gaisler.com>Joel Sherrill2001-04-242-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.
* 2000-04-23 Jiri Gaisler <jiri@gaisler.com>Joel Sherrill2001-04-234-6/+14
| | | | * console/debugputs.c: Switched to unsigned characters.
* 2001-04-20 Correo Fernando-ruiz <correo@fernando-ruiz.com>Joel Sherrill2001-04-208-42/+134
| | | | | | | | | | | | | | | | | * 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-20 Correo Fernando-ruiz <correo@fernando-ruiz.com>Joel Sherrill2001-04-2010-1/+1104
| | | | | | | * Added initial shell functionality. * Makefile.am, configure.in, wrapup/Makefile.am: * shell/.cvsignore, shell/Makefile.am, shell/README, shell/cmds.c, shell/shell.c, shell/shell.h: New files.
* 2001-04-20 Radzislaw Galler <rgaller@et.put.poznan.pl>Joel Sherrill2001-04-209-39/+54
| | | | | | | * modem/ppp.c, pppd/main.c, pppd/pppmain.c, pppd/rtems-ppp.c, pppd/modem_example/modem.c, pppd/modem_example/ppp.c: Translated Polish comments and other strings into English * pppd/STATUS: Updated to reflect the changes
* 2001-04-20 Jake Janovetz <janovetz@uiuc.edu>Joel Sherrill2001-04-203-1/+9
| | | | * rtems_servers/ftpd.c: Correct argument so hooks work again.
* 2001-04-20 Eric Valette <valette@crf.canon.fr>Joel Sherrill2001-04-206-3/+15
| | | | | * include/bsp.h: Added include of <bsp/vectors.h> * vectors/vectors.h: Corrected typos.
* 2001-04-20 Eric Valette <valette@crf.canon.fr>Joel Sherrill2001-04-2010-1809/+26
| | | | | | | | | | | | | | | | | * mcp750 directory renamed new_exception processing as it supports many more CPU models. * configure.in, src/powerpc/Makefile.am, src/powerpc/new_exception_processing/Makefile.am, src/powerpc/new_exception_processing/remdeb_f.x: New files formerly in mcp750 plus modifications. * src/powerpc/mcp750/.cvsignore, src/powerpc/mcp750/Makefile.am, src/powerpc/mcp750/remdeb.h, src/powerpc/mcp750/remdeb_f.x, src/powerpc/mcp750/remdeb_svc.c, src/powerpc/mcp750/remdeb_xdr.c: Removed when moved to new_exception_processing. * configure.in, src/powerpc/Makefile.am, src/powerpc/new_exception_processing/Makefile.am, src/powerpc/new_exception_processing/remdeb_f.x: Modified as part of this effort to add support for the MPC8xx.
* 2001-04-20 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-04-202-0/+7
| | | | | * sp298/sp28.scn: Minor adjustment so test output matches the screen file.
* 2001-04-20 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-04-2012-309/+306
| | | | | | | | * psx04/init.c, psx04/psx04.scn, psx07/init.c, psx07/psx07.scn, psxfile01/psxfile01.scn, psxmsgq01/psxmsgq01.scn, psxreaddir/test.c, psxstat/psxstat.scn, psxstat/test.c, psxtime/psxtime.scn, psxtimer/psxtimer.scn: Various adjustments so test output matches screens more reliably.
* 2001-04-20 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-04-205-6/+12
| | | | | | * itronmbf01/itronmbf01.scn, itronmbox01/init.c, itronsem01/itronsem01.scn, itrontime01/init.c: Various adjustments so test output matches screens more reliably.
* 2001-04-20 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-04-202-10/+23
| | | | | | | * devnull/devnull.c (null_initialize): Added check to ensure that the driver is only initialized once. Otherwise, it will abort when the device /dev/null is present. (null_write): Do not dereference a NULL pointer.
* 2001-04-20 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-04-204-0/+26
| | | | | | | | * src/imfs/imfs_debug.c (IMFS_print_jnode): Modified to print only information that does not vary based on target or memory configuration. The old prints are still there in case they are needed in the future to debug. Printing target dependent addresses makes the test output vary by target unnecessarily.
* 2001-04-20 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-04-203-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-20 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-04-205-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-20 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-04-202-1/+6
| | | | | * clock/clockdrv.c: Account for the fact that ClockRate is in cycles not megahertz.
* 2001-04-20 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-04-202-0/+15
| | | | | | * cpu_asm.S: Added code to save and restore SR and EPC to properly support nested interrupts. Note that the ISR (not RTEMS) enables interrupts allowing the nesting to occur.
* 2001-04-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-04-162-0/+11
| | | | * include/confdefs.h: Fix real-time clock support.
* 2001-04-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-04-164-2/+82
| | | | | * include/rtc.h: New file. * include/Makefile.am: Updated to reflect above.
* 2001-04-11 Eric Valette <valette@crf.canon.fr>Joel Sherrill2001-04-162-1/+5
| | | | * network/network.c: Fix unnecessary double assignment.
* 2001-04-11 Eric Valette <valette@crf.canon.fr>Joel Sherrill2001-04-1617-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-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-04-164-129/+30
| | | | | * start/start.S, startup/bspstart.c, startup/linkcmds: Cleanup that was not merged from the simple non-RTEMS program.
* 2001-04-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-04-163-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-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-04-162-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-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-04-163-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.
* 2001-04-11 Eric Valette <valette@crf.canon.fr>Joel Sherrill2001-04-1111-58/+141
| | | | | | | | * Makefile.am, configure.in, console/console.c, include/Makefile.am, include/bsp.h, network/network.c, startup/Makefile.am, startup/bspstart.c, startup/linkcmds, wrapup/Makefile.am: Switch the eth_comm BSP to use the "new exception processing model."
* 2001-04-11 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-04-112-2/+4
| | | | * cpu.c: Removed duplicate declaration for _ISR_Vector_table.
* 2001-03-30 Eric Valette <valette@crf.canon.fr>Joel Sherrill2001-04-066-1788/+8
| | | | | | | | * mpc8xx/vectors/.cvsignore, mpc8xx/vectors/Makefile.am, mpc8xx/vectors/README, mpc8xx/vectors/align_h.S mpc8xx/vectors/vectors.S: These files were removed in support of switching the mpc8xx to the use the "new exception processing model."
* 2001-03-30 Eric Valette <valette@crf.canon.fr>Joel Sherrill2001-04-064-1/+13
| | | | | | | * configure.in, motorola_powerpc/Makefile.am, motorola_powerpc/configure.in: These modifications are in support of switching the mpc8xx to the use the "new exception processing model."
* 2001-03-30 Eric Valette <valette@crf.canon.fr>Joel Sherrill2001-04-064-2/+10
| | | | | | * Makefile.am, console/consoleIo.h, include/bsp.h: These modifications are part of the conversion of the mpc8xx CPU to the "new exception processing model."
* 2001-03-30 Eric Valette <valette@crf.canon.fr>Joel Sherrill2001-04-0617-140/+734
| | | | | | | | | | | | | * mpc8xx/exceptions/.cvsignore, mpc8xx/exceptions/Makefile.am, mpc8xx/exceptions/asm_utils.S, mpc8xx/exceptions/raw_exception.c, mpc8xx/exceptions/raw_exception.h: New files. * configure.in, mpc6xx/mmu/bat.h, mpc8xx/Makefile.am, mpc8xx/clock/clock.c, mpc8xx/console-generic/console-generic.c, mpc8xx/include/mpc8xx.h, mpc8xx/mmu/mmu.c, new_exception_processing/cpu.h, shared/include/byteorder.h, wrapup/Makefile.am: This is conversion of the mpc8xx CPU to the "new exception processing model."
* 2001-03-30 Eric Valette <valette@crf.canon.fr>Joel Sherrill2001-04-0630-63/+3165
| | | | | | | | | | | | | | | * clock/.cvsignore, clock/Makefile.am, clock/p_clock.c, include/8xx_immap.h, include/commproc.h, include/mbx.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 files. * Makefile.am, configure.in, console/console.c, include/Makefile.am, network/network.c, startup/Makefile.am, startup/bspstart.c, startup/imbx8xx.c, startup/linkcmds, startup/mmutlbtab.c, startup/start.S, wrapup/Makefile.am: The modifications to this BSP reflect the conversion of the mpc8xx CPU to the "new exception processing model."
* 2001-03-26 Zoltan Kocsi <zoltan@bendor.com.au>Joel Sherrill2001-03-292-0/+8
| | | | | | * src/eventsurrender.c: Clear event condition when task is unblocked. This makes sure that subsequent event send thinks the task is still blocked and overwrites the initial events received.
* 2001-03-23 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-03-234-0/+20
| | | | | | | | * src/imfs/memfile.c: Reapply fix from bug report from Jose Sturniolo <jsturnio@nec.com.ar> where NULL pointer was dereferenced when freeing a triply indirect file. The fix was applied to the 4.5 release branch and not the development branch.
* 2001-03-19 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-03-194-0/+25
| | | | * sys/utsname.h: Added C++ wrapper.
* 2001-03-15 Ralf Corsepiu <corsepius@faw.uni-ulm.de>Joel Sherrill2001-03-153-2/+8
| | | | * include/.cvsignore: Remove danlgling file.
* 2001-03-14 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-03-146-6/+14
| | | | | | | * serial/Makefile.am, serial/mc68681.c, serial/ns16550.c, serial/serprobe.c, serial/z85c30.c: Now install sersupp.h to <libchip/sersupp.h> so libchip style serial drivers can be written in libcpu or libbsp.
* 2001-03-14 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-03-142-0/+12
| | | | * console/console.c: Added printk() support.
* 2001-03-14 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-03-147-10/+22
| | | | | * clock/clockdrv.c, console/conscfg.c, include/bsp.h, start/start.S, startup/bspstart.c, timer/timer.c: Comments corrected.
* 2001-02-22 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-03-1428-0/+1400
| | | | | | | | | | | | | | * The Generic Mongoose-V BSP uses only the peripherals found on the Synova Mongoose-V CPU. This is a radiation hardened CPU based on the LSI Logic 33K. * .cvsignore, ChangeLog, Makefile.am, README, bsp_specs, configure.in, clock/.cvsignore, clock/Makefile.am, clock/clockdrv.c, console/.cvsignore, console/Makefile.am, console/conscfg.c, include/.cvsignore, include/Makefile.am, include/bsp.h, start/.cvsignore, start/Makefile.am, start/regs.S, start/start.S, startup/.cvsignore, startup/Makefile.am, startup/bspstart.c, startup/linkcmds, timer/.cvsignore, timer/Makefile.am, timer/timer.c, wrapup/.cvsignore, wrapup/Makefile.am: New files.
* 2001-03-14 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-03-146-96/+59
| | | | | | * cpu.c, rtems/score/cpu.h, rtems/score/mipstypes.h: Removed unused variable _CPU_Thread_dispatch_pointer and cleaned numerous comments.
* 2001-03-13 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-03-1421-3/+1614
| | | | | | | | | | | | | | | | * Added mongoose-v, mongoose-v/include, and mongoose-v/vectorisrs directories. * mongoosev/.cvsignore, mongoosev/Makefile.am, mongoosev/README, mongoosev/duart/.cvsignore, mongoosev/duart/Makefile.am, mongoosev/duart/README.mguart, mongoosev/duart/mg5uart.c, mongoosev/duart/mg5uart.h, mongoosev/duart/mg5uart_reg.c, mongoosev/include/.cvsignore, mongoosev/include/Makefile.am, mongoosev/include/mongoose-v.h, mongoosev/vectorisrs/.cvsignore, mongoosev/vectorisrs/Makefile.am, mongoosev/vectorisrs/vectorisrs.c: New files. * Makefile.am, configure.in, shared/interrupts/Makefile.am, shared/interrupts/maxvectors.c: Added support for mongoosev. * tx39/vectorisrs/vectorisrs.c: Corrected warning.
* 2001-03-08 Ralf Corsepiu <corsepius@faw.uni-ulm.de>Joel Sherrill2001-03-142-2/+7
| | | | | * configure.in: Use ${MAKE} in message at the end of the configure.in.
* 2001-03-13 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-03-146-722/+405
| | | | | | | * cpu.c, cpu_asm.S, iregdef.h, rtems/score/cpu.h, rtems/score/mips.h: Merged MIPS1 and MIPS3 code reducing the number of lines of assembly. Also reimplemented some assembly routines in C further reducing the amount of assembly and increasing maintainability.
* 2001-01-31 Sergei Organov <osv@javad.ru>Joel Sherrill2001-03-053-265/+191
| | | | | | | | | | | | | | | * rtems_servers/ftp.d: Following changes: - Hacks with current dir and root dir removed in favor of new libio support for task-local current and root directories. - Bug in `close_data_socket()' introduced by previous change fixed. - `command_pasv()' changed to set timeout on socket we are listening on and code fixed to don't close socket twice on error. - `serr()' changed to clear `errno'. - `data_socket()' changed to clear `errno' before `bind()'. - `session()' changed to clear `errno' before processing session. - `close_data_socket()' fixed to close both active and passive sockets - Initialize info->data_socket to -1 in `daemon()' - Initialize `fname' to empty string in `exec_command()'
* 2001-02-18 Ralf Corsepiu <corsepius@faw.uni-ulm.de>Joel Sherrill2001-03-052-5/+11
| | | | * include/Makefile.am: Apply include_*HEADERS instead of H_FILES.