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 | |
---|
14 | rtems_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 | |
---|