summaryrefslogtreecommitdiffstats
path: root/c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2000-05-24 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-05-2414-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.
* 2000-05-24 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-05-241-7/+38
| | | | | | | * rtems/score/mips.h: Added constants for MIPS exception numbers. All exceptions should be given low numbers and thus can be installed and processed in a uniform manner. Variances between various MIPS ISA levels were not accounted for.
* 2000-05-24 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-05-241-0/+7
| | | | | | | | * rtems/score/mips.h: Added constants for MIPS exception numbers. All exceptions should be given low numbers and thus can be installed and processed in a uniform manner. Variances between various MIPS ISA levels were not accounted for.
* 2001-05-24 Greg Menke <gregory.menke@gsfc.nasa.gov>Joel Sherrill2001-05-242-2/+6
| | | | * clock/clock.S: Move placement of nop.
* 2001-05-24 Greg Menke <gregory.menke@gsfc.nasa.gov>Joel Sherrill2001-05-243-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-24 Greg Menke <gregory.menke@gsfc.nasa.gov>Joel Sherrill2001-05-242-57/+157
| | | | | * Assisted in design and debug by Joel Sherrill <joel@OARcorp.com>. * cpu_asm.S: Now works on Mongoose-V. Missed in previous patch.
* 2001-05-22 Greg Menke <gregory.menke@gsfc.nasa.gov>Joel Sherrill2001-05-228-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-22 Greg Menke <gregory.menke@gsfc.nasa.gov>Joel Sherrill2001-05-226-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-22 Greg Menke <gregory.menke@gsfc.nasa.gov>Joel Sherrill2001-05-223-21/+86
| | | | | | | | * rtems/score/cpu.h: Add the interrupt stack structure and enhance the context initialization to account for floating point tasks. * rtems/score/mips.h: Added the routines mips_set_cause(), mips_get_fcr31(), and mips_set_fcr31(). * Assisted in design and debug by Joel Sherrill <joel@OARcorp.com>.
* 2001-05-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-05-115-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-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-05-116-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-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-05-115-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-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-05-113-1/+9
| | | | * configure.in: Use RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm]).
* 2001-05-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-05-1185-43/+211
| | | | * configure.in: Use RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm]).
* 2001-05-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-05-112-9/+5
| | | | | * configure.in: Remove RTEMS_PROG_CC_FOR_TARGET, RTEMS_PROG_CXX_FOR_TARGET, RTEMS_CANONICALIZE_TOOLS.
* 2001-05-11 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-05-112-5/+31
| | | | | * tools/runtest: Add functionality to avoid letting simulator run too long.
* 2001-05-11 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-05-113-2/+7
| | | | | * libc/write.c: Change type of rc to match return type from underlying function per report from Eric Norum.
* 2001-05-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-05-1018-9/+45
| | | | * configure.in: Use RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm]).
* 2001-05-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-05-104-6/+14
| | | | * libc/Makefile.am: Remove -D__STRICT_ANSI__.
* 2001-05-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-05-096-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-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-05-092-0/+9
| | | | | * include/rtems/score/.cvsignore: Add stamp-h, cpuopts.h, cpuopts.h.in, cpuopts-tmp.h.
* 2001-05-07 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-05-081-11/+3
| | | | | | | | | | * leaf.cfg: Remove CFLAGS_DEBUG_OPTIMIZE_V. * compilers/gcc-no_bsp.cfg: Remove CPP_CC_FLAGS. * compilers/gcc-portsw.cfg: Remove CPP_CC_FLAGS. * compilers/gcc-target-default.cfg: Remove *_DEBUG_OPTIMIZE_*-flags, remove unused flags, remove -ansi from CPP. * custom/eth_comm.cfg: Remove CPU_DEFINES. * custom/sim68000.cfg: Remove CPU_DEFINES.
* 2001-05-07 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-05-082-1/+5
| | | | * configure.in: Add [-ansi -fasm] to RTEMS_PROG_CC_FOR_TARGET.
* 2001-05-07 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-05-082-2/+4
| | | | * ne2000/ne2000.c: Remove #define __INSIDE_RTEMS_BSD_TCPIP_STACK__.
* 2001-05-07 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-05-082-2/+4
| | | | * rtems/score/cpu.h: Remove #undef __STRICT_ANSI__.
* 2001-04-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-05-072-1/+6
| | | | * configure.in: Add [-ansi -fasm] to RTEMS_PROG_CC_FOR_TARGET.
* 2001-04-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-05-074-5/+7
| | | | | * shell/cmds.c, shell/shell.c: Remove fileno-hacks. * monitor/mon-symbols.c: Remove #undef __STRICT_ANSI__.
* 2001-04-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-05-079-4/+24
| | | | * configure.in: Add [-ansi -fasm] to RTEMS_PROG_CC_FOR_TARGET.
* 2001-05-07 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-05-073-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-07 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-05-072-2/+26
| | | | | * console/conscfg.c: Added an entry for the second serial port.
* 2001-05-07 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-05-072-67/+95
| | | | | | * cpu_asm.S: Merged patches from Gregory Menke <Gregory.D.Menke.1@gsfc.nasa.gov> that clean up stack usage and include nops in the delay slots.
* 2001-04-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-04-261-1/+1
| | | | | | | | * compilers/gcc-no_bsp.cfg: Remove -ansi -fasm. * compilers/gcc-default.cfg: Dito. * compilers/gcc-portsw.cfg: Remove -Hansi. * custom/posix.cfg: Remove inclusion of target.cfg. * custom/simhppa.cfg: Remove -ansi -fasm.
* 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.