Changeset bde6ac20 in rtems for cpukit


Ignore:
Timestamp:
Nov 20, 2018, 3:45:51 PM (7 months ago)
Author:
kuaLeYi <kualeyidxa@…>
Branches:
master
Children:
94529131
Parents:
edae517
git-author:
kuaLeYi <kualeyidxa@…> (11/20/18 15:45:51)
git-committer:
Joel Sherrill <joel@…> (11/20/18 15:45:51)
Message:

Misc: Minor English fixes (GCI 2018)

Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ftpd/ftpd.c

    redae517 rbde6ac20  
    11/* FIXME: 1. Parse command is a hack.  We can do better.
    22 *        2. OSV: hooks support seems to be bad, as it requires storing of
    3  *           entire input file in memory.  Seem to be better to change it to
     3 *           entire input file in memory.  Seems to be better to change it to
    44 *           something more reasonable, like having
    55 *           'hook_write(void const *buf, int count)' routine that will be
     
    3535 *      * Bug in `close_data_socket()' introduced by previous change fixed.
    3636 *      * `command_pasv()' changed to set timeout on socket we are listening on
    37  *        and code fixed to don't close socket twice on error.
     37 *        and code fixed to not close socket twice on error.
    3838 *      * `serr()' changed to clear `errno'.
    3939 *      * `data_socket()' changed to clear `errno' before `bind()'.
     
    6868 *        converted to upper-case to be more compatible with RFC (command
    6969 *        names are not case-sensitive.)
    70  *      * Reformat comments so that they have RTEMS look-and-feel.
     70 *      * Reformat comments so that they have RTEMS look and feel.
    7171 *
    7272 *    2001-01-16        Sergei Organov <osv@javad.ru>
     
    228228#define FTPD_SYSTYPE "UNIX Type: L8"
    229229
    230 /* Seem to be unused */
     230/* Seems to be unused */
    231231#if 0
    232232#define FTPD_WELCOME_MESSAGE \
     
    310310{
    311311/*
    312  * If we build not for the legacy network stack, then we use the libbsd.  In
     312 * If we do not build for the legacy network stack, then we use the libbsd.  In
    313313 * the libbsd there is no global network stack semaphore which provides round
    314314 * robin fairness for threads of equal priority.
     
    14761476    if(i == NUM_FIELDS)
    14771477    {
    1478       /* Note: while it contradicts with RFC959, we don't allow PORT command
    1479        * to specify IP address different than those of the originating client
     1478      /* Note: while it contradicts RFC959, we don't allow PORT command
     1479       * to specify IP address different from that of the originating client
    14801480       * for the sake of safety. */
    14811481      if (ip_info.u.ip == info->def_addr.sin_addr.s_addr)
     
    18561856 * session
    18571857 *
    1858  * This task handles single session.  It is waked up when the FTP daemon gets a
     1858 * This task handles single session.  It is woken up when the FTP daemon gets a
    18591859 * service request from a remote machine.  Here, we watch for commands that
    18601860 * will come through the control connection.  These commands are then parsed
     
    19161916
    19171917          /*
    1918            * We could also try to continue here, however, discarding the rest
     1918           * We could also try to continue here; however, discarding the rest
    19191919           * of the current command line and figuring out when the next command
    19201920           * starts with fgets() is not that easy.  It would be better to avoid
  • cpukit/libdrvmgr/README

    redae517 rbde6ac20  
    88INITIALIZATION
    99==============
    10 The Driver Manager can be intialized in two different ways:
     10The Driver Manager can be initialized in two different ways:
    1111 1. during RTEMS startup
    1212 2. started by user, typically in the Init task
     
    3434See Level 1 and Level 2 below.
    3535
    36 Other differences is that IRQ, System Clock Timer, debug Console
    37 and Console can be initialized by the help of the driver manager
     36Other differences are that IRQ, System Clock Timer, debug Console
     37and Console can be initialized with the help of the driver manager
    3838when initialized during start up. Between Level0 and Level1 the
    39 RTEMS I/O Manager drivers are initialized. The LEON3 BSP has
    40 therefore two different versions of the basic drivers.
     39RTEMS I/O Manager drivers are initialized. The LEON3 BSP therefore
     40has two different versions of the basic drivers.
    4141
    4242
     
    4949LEVEL1 - FIND/RESET/IRQ Clear
    5050-----------------------------
    51 The driver is for the first time informed of the presence of a
     51The driver is, for the first time, informed of the presence of a
    5252device. Only basic initialization.
    5353
     
    6666- Register Console UART
    6767
    68 During this intialization level interrupts may not be registered,
    69 enabled or disabled at the IRQ controller. But, all IRQ sources
     68During this initialization level interrupts may not be registered,
     69enabled or disabled at the IRQ controller, but all IRQ sources
    7070should be cleared to avoid spurious interrupts later on.
    7171
     
    7373AFTER LEVEL1 - if initialized during startup
    7474--------------------------------------------
    75 The statically configured drivers are initialized as normally by RTEMS. The
     75The statically configured drivers are initialized as normal by RTEMS. The
    7676hardware was found in LEVEL1.
    7777
Note: See TracChangeset for help on using the changeset viewer.