source: multiio/pcmmio/original/pcmmio_shell.c @ 6749071

Last change on this file since 6749071 was 6749071, checked in by Joel Sherrill <joel.sherrill@…>, on 07/20/09 at 17:46:11

2009-07-20 Joel Sherrill <joel.sherrill@…>

  • Makefile, main_pcmmio_din.c, pcmmio_commands.h, pcmmio_shell.c: Add dout command.
  • main_pcmmio_dout.c: New file.
  • Property mode set to 100644
File size: 1.8 KB
Line 
1/*
2 *  COPYRIGHT (c) 1989-2009.
3 *  On-Line Applications Research Corporation (OAR).
4 *
5 *  The license and distribution terms for this file may be
6 *  found in the file LICENSE in this distribution or at
7 *  http://www.rtems.com/license/LICENSE.
8 *
9 *  $Id$
10 */
11
12#include "pcmmio_commands.h"
13
14rtems_task Init(
15  rtems_task_argument ignored
16)
17{
18  printf(
19    "\n"
20    "\n"
21    "*** Shell Configured with WinSystems PCMMIO Commands ***\n"
22    "Type \"help pcmmio\" for more information\n"
23    "\n"
24  );
25  rtems_shell_init(
26    "SHLL",                          /* task_name */
27    RTEMS_MINIMUM_STACK_SIZE * 4,    /* task_stacksize */
28    100,                             /* task_priority */
29    "/dev/console",                  /* devname */
30    false,                           /* forever */
31    true,                            /* wait */
32    NULL                             /* login */
33  );
34}
35
36/* RTEMS configuration */
37
38#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
39#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
40#ifdef RTEMS_BSP_HAS_IDE_DRIVER
41#define CONFIGURE_APPLICATION_NEEDS_IDE_DRIVER
42#endif
43#define CONFIGURE_APPLICATION_NEEDS_LIBBLOCK
44#define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
45
46#define CONFIGURE_MAXIMUM_TASKS                  20
47#define CONFIGURE_MAXIMUM_SEMAPHORES             20
48#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 20
49#define CONFIGURE_STACK_CHECKER_ENABLED
50
51#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
52#define CONFIGURE_EXTRA_TASK_STACKS         (6 * RTEMS_MINIMUM_STACK_SIZE)
53
54#define CONFIGURE_MALLOC_STATISTICS
55
56#define CONFIGURE_INIT
57#include <rtems/confdefs.h>
58
59#define CONFIGURE_SHELL_USER_COMMANDS \
60  CONFIGURE_PCMMIO_COMMANDS
61#define CONFIGURE_SHELL_USER_ALIASES \
62  CONFIGURE_PCMMIO_ALIASES
63
64#define CONFIGURE_SHELL_COMMANDS_INIT
65#define CONFIGURE_SHELL_COMMANDS_ALL
66
67#include <rtems/shellconfig.h>
68
Note: See TracBrowser for help on using the repository browser.