| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
* libc/lseek.c: Modified after discussion with Eugeny S. Mints
<jack@oktet.ru> to correct the behavior. There were two mistakes.
First, iop->offset was incorrectly set for SEEK_END. Second,
iop->offset should be left unmodified if there are errors.
This modification attempts to fix both situations.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* mw-fb\Makefile.am: Corrected problem.
|
|
|
|
|
|
| |
* cpu.c (_CPU_ISR_install_vector): Corrected interrupt range
checking which was SH1 specific. It didn't work for SH2 (has more
interrupt sources).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* pppd/example/Makefile: Removed.
* pppd/example/Makefile-user: Added was Makefile. Renamed to
avoid bootstrap -c clobbering it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* comm/tty_drv.c, comm/uart.c: Correct some minor cut and paste bugs.
|
|
|
|
|
| |
* include/rtems/termiostypes.h, include/sys/ioccom.h:
Update of PPPD to 2.3.11 from 2.3.5 touched these files.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update of PPPD to 2.3.11 from 2.3.5 and addition of an example
application. Mike's notes on the modifications:
- renamed error() function because of namespace problems
- removed calls to the exit() funciton
- removed extra files from the pppd source directory
- defined pppd task constant values in rtemspppd.h
- modifyied example code to get actual tick per second value
- placed the pppd 2.3.11 man page file (pppd.8) into the pppd
directory
* pppd/cbcp.c, pppd/cbcp.h, pppd/main.c, pppd/ppp_tty.c,
pppd/pppmain.c, pppd/rtems-ppp.c, pppd/rtems-ppp.c: Deleted.
* pppd/pppd.8, pppd/rtemsmain.c, pppd/rtemspppd.c, pppd/rtemspppd.h,
pppd/sys-rtems.c, pppd/utils.c, pppd/example/Makefile,
pppd/example/README, pppd/example/init.c, pppd/example/netconfig.h,
pppd/example/ppp.conf, pppd/example/pppdapp.c, pppd/example/system.h:
New files.
* modem/ppp_tty.c, net/if_ppp.h, pppd/Makefile.am, pppd/README,
pppd/STATUS, pppd/auth.c, pppd/ccp.c, pppd/ccp.h, pppd/chap.c,
pppd/chap.h, pppd/chap_ms.c, pppd/chap_ms.h, pppd/chat.c,
pppd/demand.c, pppd/fsm.c, pppd/fsm.h, pppd/ipcp.c, pppd/ipcp.h,
pppd/ipxcp.c, pppd/ipxcp.h, pppd/lcp.c, pppd/lcp.h, pppd/magic.c,
pppd/magic.h, pppd/options.c, pppd/patchlevel.h,
pppd/pathnames.h, pppd/pppd.h, pppd/upap.c, pppd/upap.h: Modified.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* src/msgqsubmit.c: Add a comment indicating that we do not have
to account for possibly blocking during the core send operation
because Classic API message queue send is always non-blocking.
|
|
|
|
|
| |
* src/mqueuesendsupp.c: Account for possibly blocking during the
core send operation.
|
|
|
|
| |
* include/tmacros.h: Attempt to print errno as further information.
|
|
|
|
| |
* sp20/system.h: Account for extra task stacks properly.
|
|
|
|
|
|
| |
* sp13/sp13.scn: Id in screen had wrong class field value.
* sp13/system.h: Account for message buffer memory.
* sp13/task2.c: Remove unnecessary check for failure.
|
|
|
|
| |
* tools/runtest.in: Recognize debug variant of monitor test.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* src/coremutexsurrender.c: Use holder thread not executing
thread because even though they may and often are the same
it is not guaranteed unless the proper attribute is set.
|
|
|
|
|
|
|
|
| |
* include/rtems/score/coremsg.h, src/coremsgsubmit.c: Add a new
return status to account for blocking sends. Otherwise, the
caller will think that the returned message status will have
the ultimate results of the operation. If the send times out,
the final status will be in the return_code of the thread.
|
|
|
|
|
|
| |
* src/msgqsubmit.c: Add a comment indicating that we do not have
to account for possibly blocking during the core send operation
because Classic API message queue send is always non-blocking.
|
|
|
|
|
| |
* src/mqueuesendsupp.c: Account for possibly blocking during the
core send operation.
|
|
|
|
| |
* rtems_telnetd/.cvsignore: New file.
|
|
|
|
| |
* shell/pty.c: Moved to libnetworking/rtems_telnetd.
|
|
|
|
|
| |
* libc/getgrent.c, libc/getpwent.c: the 'ls' and more related command
previous failed after a chroot(). (unknown user & group)
|
|
|
|
|
| |
* src/imfs/imfs_eval.c: The CD_UP problem in imfs_eval has been
touched. The order of the questions is the key.
|
|
|
|
|
| |
* shell/Makefile.am, shell/README, shell/cmds.c, shell/shell.c,
shell/shell.h: Updates.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.am, configure.in, rtems_servers/Makefile.am,
rtems_servers/telnetd.c, rtems_servers/telnetd.h,
rtems_telnetd/Makefile.am, rtems_telnetd/README, rtems_telnetd/icmds.c,
rtems_telnetd/pty.c, rtems_telnetd/pty.h, rtems_telnetd/telnetd.c,
rtems_telnetd/telnetd.h, wrapup/Makefile.am:
- pty and telnetd have a new subdir rtems_telnetd to avoid
the side effect when ftpd change.
- the tcp/ip stats have been implemented into icmds.c and
started when telnetd daemon is started.
* rtems_servers/telnetd.c, rtems_servers/telnetd.h: Removed.
* rtems_telnetd: New directory.
* rtems_telnetd/Makefile.am, rtems_telnetd/README,
rtems_telnetd/icmds.c, rtems_telnetd/pty.c, rtems_telnetd/pty.h,
rtems_telnetd/telnetd.c, rtems_telnetd/telnetd.h: New files.
|
|
|
|
|
|
| |
* psxchroot01/.cvsignore, psxchroot01/Makefile.am, psxchroot01/main.c,
psxchroot01/psxchroot01.scn, psxchroot01/test.c: Implemented the
psxchroot01 test.
|
|
|
|
|
|
| |
* monitor/mon-command.c: Add support for partial command matching.
The monitor used to have this functionality before it was overhauled
to support addition of user commands.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* cpu_asm.S: This patch was co-developed with Eric Norum
<eric.norum@usask.ca>. It closes a one instruction window
on some m68k CPU cores. It fixes symptoms seen as:
1) No more `interrupt handler invoked twice for
a single interrupt'.
2) No more `lockup when mc68360 CPM and PIT interrupts
are at different levels'.
It does insert a little more overhead on machines without hardware
interrupt stacks but correctness has a price.
|
|
|
|
|
|
|
| |
* src/snd_mbx.c, src/tsnd_mbf.c: Unblocking message queue operations
should NOT use _Thread_Executing for return status since it is
permissible to invoke message send operations from an ISR. This was
reported by Suvrat Gupta <suvrat@utstar.com>.
|
|
|
|
|
|
|
| |
* src/mqueuesendsupp.c: Unblocking message queue operations should
NOT use _Thread_Executing for return status since it is permissible
to invoke message send operations from an ISR. This was reported
by Suvrat Gupta <suvrat@utstar.com>.
|
|
|
|
|
|
|
| |
* src/msgqsubmit.c: Unblocking message queue operations should
NOT use _Thread_Executing for return status since it is permissible
to invoke message send operations from an ISR. This was reported
by Suvrat Gupta <suvrat@utstar.com>.
|
|
|
|
|
|
|
|
| |
* include/rtems/score/coremsg.h, inline/rtems/score/coremsg.inl,
src/coremsgsubmit.c: Unblocking message queue operations should
NOT use _Thread_Executing for return status since it is permissible
to invoke message send operations from an ISR. This was reported
by Suvrat Gupta <suvrat@utstar.com>.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* src/imfs/deviceio.c: Make sure errno gets set to reflect
the status from the driver.
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* cpu.c: Fixed typo.
|
|
|
|
|
| |
* console/Makefile.am: Remove RTEMS_H_FILES.
* start/start16.S: include <bspopts.h> to get NEW_GAS.
|
|
|
|
|
|
|
|
| |
* 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@.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
| |
* comm/Makefile.am: Use *_HEADERS instead of *H_FILES.
* io/Makefile.am: Ditto.
* irq/Makefile.am: Ditto.
* pci/Makefile.am: Ditto.
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* start/start.S: Reverse sense of conditional compilation so the
code will compile for a cpu32.
|
|
|
|
| |
* include/Makefile.am: Fixed typo.
|
|
|
|
|
| |
* scitab/Makefile.am, startup/Makefile.am: Use CPU_CLOCK_RATE_HZ as
it is called in configure.in instead of HZ.
|