summaryrefslogtreecommitdiffstats
path: root/c (unfollow)
Commit message (Collapse)AuthorFilesLines
2001-05-252001-05-25 Joel Sherrill <joel@OARcorp.com>Joel Sherrill3-8/+10
* 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-252001-05-25 Joel Sherrill <joel@OARcorp.com>Joel Sherrill8-1/+211
* Added once version of psxchroot01 test for user review. * psxchroot01: New directory. * psxchroot01/Makefile.am, psxchroot01/main.c, psxchroot01/test.c, psxchroot01/psxchroot01.scn, psxchroot01/.cvsignore: New files. * configure.in, Makefile.am: Modified to reflect above.
2001-05-242000-05-24 Fernando Ruiz Casas <fernando.ruiz@ctv.es>Joel Sherrill4-0/+59
* 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 Sherrill12-78/+1028
* monitor/mon-prmisc.c: Correct print line. * shell/Makefile.am: Added new file telnetd.c. * shell/telnetd.c, shell/telnetd.h, shell/pty.c: New files. * shell/shell.c, shell/cmds.c, shell/shell.h: Numerous improvments: - The shell_init has a new parameter 'forever' because in /dev/console you need that this process runs forever but in tcp/ip not. (respawn?) - A new task for every session opened trought tcp/ip telnet client. (the chargen,daytime and more are possible of implementation but I ask me if they are necesary) - Exit from the session delete the task and when the client fails too. - More cmds have been implemented. (very reduced version of these) umask, chmod, id, whoami, rm, cat, ... - A reduced line edit has been implemented. Ctrl-C abort the input, Ctrl-d in the first position gives EOF (logout). '\b' and DEL makes the rubout operation. I think that readline() for every session spents a lot of resources.
2001-05-242000-05-24 Fernando Ruiz Casas <fernando.ruiz@ctv.es>Joel Sherrill7-18/+37
* 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-242000-05-24 Fernando Ruiz Casas <fernando.ruiz@ctv.es>Joel Sherrill6-1/+43
* src/getegid.c, src/geteuid.c, src/getgid.c, src/getlogin.c, src/getuid.c: Now save their values in private user environment.
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-242000-05-24 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-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.
2001-05-242000-05-24 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-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-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-242001-05-24 Greg Menke <gregory.menke@gsfc.nasa.gov>Joel Sherrill2-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-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-222001-05-22 Greg Menke <gregory.menke@gsfc.nasa.gov>Joel Sherrill3-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-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-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-9/+5
* configure.in: Remove RTEMS_PROG_CC_FOR_TARGET, RTEMS_PROG_CXX_FOR_TARGET, RTEMS_CANONICALIZE_TOOLS.
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 Sherrill3-2/+7
* libc/write.c: Change type of rc to match return type from underlying function per report from Eric Norum.
2001-05-102001-05-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill18-9/+45
* configure.in: Use RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm]).
2001-05-102001-05-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill4-6/+14
* libc/Makefile.am: Remove -D__STRICT_ANSI__.
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-092001-05-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-0/+9
* include/rtems/score/.cvsignore: Add stamp-h, cpuopts.h, cpuopts.h.in, cpuopts-tmp.h.
2001-05-082001-05-07 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-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-082001-05-07 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-1/+5
* configure.in: Add [-ansi -fasm] to RTEMS_PROG_CC_FOR_TARGET.
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-082001-05-07 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-2/+4
* rtems/score/cpu.h: Remove #undef __STRICT_ANSI__.
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-04-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill4-5/+7
* shell/cmds.c, shell/shell.c: Remove fileno-hacks. * monitor/mon-symbols.c: Remove #undef __STRICT_ANSI__.
2001-05-072001-04-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill9-4/+24
* 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-05-072001-05-07 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-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-262001-04-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-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-242001-04-24 Joel Sherrill <joel@OARcorp.com>Joel Sherrill5-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.