Changeset 6cd4a5c in rtems for testsuites/samples


Ignore:
Timestamp:
Mar 19, 2014, 4:17:39 PM (6 years ago)
Author:
Christian Mauderer <Christian.Mauderer@…>
Branches:
4.11, master
Children:
f68401e
Parents:
f8b2eb03
git-author:
Christian Mauderer <Christian.Mauderer@…> (03/19/14 16:17:39)
git-committer:
Sebastian Huber <sebastian.huber@…> (03/20/14 08:10:26)
Message:

cpukit/shell: Replace task variables with posix keys.

Use posix keys for current shell environment instead of task variables. With
this patch the shell needs one posix-key and one posix-key-value-pair
configured.

Update documentation for the shell.

Adapt samples/fileio:

  • Add necessary objects.
  • Add login function and custom device name for better testing of the shell.
Location:
testsuites/samples/fileio
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • testsuites/samples/fileio/init.c

    rf8b2eb03 r6cd4a5c  
    709709    RTEMS_MINIMUM_STACK_SIZE * 4,    /* task_stacksize */
    710710    100,                             /* task_priority */
    711     "/dev/console",                  /* devname */
     711    "/dev/foobar",                   /* devname */
     712    /* device is currently ignored by the shell if it is not a pty */
    712713    false,                           /* forever */
    713714    true,                            /* wait */
    714     NULL                             /* login */
     715    rtems_shell_login_check          /* login */
    715716  );
    716717}
  • testsuites/samples/fileio/system.h

    rf8b2eb03 r6cd4a5c  
    4848#endif
    4949
     50#define CONFIGURE_MAXIMUM_POSIX_KEYS             1
     51#define CONFIGURE_MAXIMUM_POSIX_KEY_VALUE_PAIRS  1
     52
    5053#if FILEIO_BUILD
    5154  #define CONFIGURE_APPLICATION_NEEDS_LIBBLOCK
Note: See TracChangeset for help on using the changeset viewer.