| Commit message (Collapse) | Author | Files | Lines |
|
* cpu.c: Fixed typo.
|
|
* rtems_servers/Makefile.am: Deleted blank lines.
|
|
* rtems_servers/telnetd.c, shell/telnetd.h: Moved from libmisc/shell
so the network stack to address network depenendency.
* rtems_servers/Makefile.am: Modified to reflect above.
|
|
* shell/telnetd.c, shell/telnetd.h: Moved to
libnetworking/rtems_servers so the network stack to address network
depenendency.
* shell/Makefile.am: Modified to reflect above.
|
|
* shell/cmds.c: Removed code from inappropriate source.
|
|
* macros/rtems/score/coresem.inl, inline/rtems/score/coresem.inl:
Cut and paste problem incorrectly enabled interrupts twice with
the first time being too early.
|
|
* src/imfs/imfs_initsupp.c: Create the root node with the
desired permissions. Nodes should be created with the right
permissions because chmod() is not supported by the miniIMFS
so changing after creation is not possible.
|
|
* 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.
|
|
* include/rtems/libio_.h: Added login name, uid, gid, euid, and egid
so they can be part of the private environment.
|
|
* 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.
|
|
* 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.
|
|
* src/getegid.c, src/geteuid.c, src/getgid.c, src/getlogin.c,
src/getuid.c: Now save their values in private user environment.
|
|
* 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.
|
|
* 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.
|
|
* Assisted in design and debug by Joel Sherrill <joel@OARcorp.com>.
* cpu_asm.S: Now works on Mongoose-V. Missed in previous patch.
|
|
* 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>.
|
|
* libc/write.c: Change type of rc to match return type from
underlying function per report from Eric Norum.
|
|
* libc/Makefile.am: Remove -D__STRICT_ANSI__.
|
|
* include/rtems/score/.cvsignore: Add stamp-h, cpuopts.h,
cpuopts.h.in, cpuopts-tmp.h.
|
|
* rtems/score/cpu.h: Remove #undef __STRICT_ANSI__.
|
|
* shell/cmds.c, shell/shell.c: Remove fileno-hacks.
* monitor/mon-symbols.c: Remove #undef __STRICT_ANSI__.
|
|
* configure.in: Add [-ansi -fasm] to RTEMS_PROG_CC_FOR_TARGET.
|
|
* 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.
|
|
* 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.
|
|
* 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>.
|
|
* 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.
|
|
* 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.
|
|
* 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.
|
|
* 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
|
|
* rtems_servers/ftpd.c: Correct argument so hooks work again.
|
|
* 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.
|
|
* 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.
|
|
* 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.
|
|
* include/confdefs.h: Fix real-time clock support.
|
|
* include/rtc.h: New file.
* include/Makefile.am: Updated to reflect above.
|
|
* cpu.c: Removed duplicate declaration for _ISR_Vector_table.
|
|
* 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.
|
|
* 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.
|
|
* sys/utsname.h: Added C++ wrapper.
|
|
* include/.cvsignore: Remove danlgling file.
|
|
* cpu.c, rtems/score/cpu.h, rtems/score/mipstypes.h:
Removed unused variable _CPU_Thread_dispatch_pointer
and cleaned numerous comments.
|
|
* 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.
|
|
* 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()'
|
|
* configure.in: AC_DEFINE RTEMS_UNIX if RTEMS_CPU=unix.
|
|
* monitor/mon-command.c: Use #if defined(RTEMS_UNIX).
|
|
* Makefile.am, rtems/score/Makefile.am:
Apply include_*HEADERS instead of H_FILES.
|
|
* include/rpc/Makefile.am: Apply include_*HEADERS instead of
H_FILES.
|
|
* Makefile.am, arpa/Makefile.am, machine/Makefile.am, net/Makefile.am,
netinet/Makefile.am, nfs/Makefile.am, rtems/Makefile.am,
rtems_servers/Makefile.am, rtems_webserver/Makefile.am,
sys/Makefile.am, vm/Makefile.am:
Apply include_*HEADERS instead of H_FILES.
* include/Makefile.am: Remove.
* Makefile.am: Add handling of *.h files.
* configure.in: Remove include/Makefile.
|
|
* include/rtems/Makefile.am, include/rtems/score/Makefile.am,
inline/rtems/score/Makefile.am, macros/rtems/score/Makefile.am
Apply include_*HEADERS instead of H_FILES.
|
|
* include/Makefile.am, include/rtems/Makefile.am,
inline/rtems/Makefile.am, macros/rtems/Makefile.am:
Apply include_*HEADERS instead of H_FILES.
|