1 | /* |
---|
2 | * BASED UPON SOURCE IN RTEMS, MODIFIED FOR SIMULATOR |
---|
3 | * |
---|
4 | * COPYRIGHT (c) 1989-2010. |
---|
5 | * On-Line Applications Research Corporation (OAR). |
---|
6 | * |
---|
7 | * The license and distribution terms for this file may be |
---|
8 | * found in the file LICENSE in this distribution or at |
---|
9 | * http://www.rtems.com/license/LICENSE. |
---|
10 | * |
---|
11 | * $Id$ |
---|
12 | */ |
---|
13 | |
---|
14 | #include "shell.h" |
---|
15 | #include <stdio.h> |
---|
16 | |
---|
17 | extern rtems_shell_cmd_t rtems_shell_ECHO_Command; |
---|
18 | extern rtems_shell_cmd_t rtems_shell_HELP_Command; |
---|
19 | |
---|
20 | extern rtems_shell_cmd_t rtems_shell_RTEMS_INIT_Command; |
---|
21 | extern rtems_shell_cmd_t rtems_shell_TASK_CREATE_Command; |
---|
22 | extern rtems_shell_cmd_t rtems_shell_TASK_DELETE_Command; |
---|
23 | extern rtems_shell_cmd_t rtems_shell_TASK_MODE_Command; |
---|
24 | extern rtems_shell_cmd_t rtems_shell_TASK_PRIORITY_Command; |
---|
25 | extern rtems_shell_cmd_t rtems_shell_TASK_SUSPEND_Command; |
---|
26 | extern rtems_shell_cmd_t rtems_shell_TASK_RESUME_Command; |
---|
27 | extern rtems_shell_cmd_t rtems_shell_TASK_WAKE_AFTER_Command; |
---|
28 | |
---|
29 | extern rtems_shell_cmd_t rtems_shell_CLOCK_TICK_Command; |
---|
30 | |
---|
31 | |
---|
32 | extern rtems_shell_cmd_t rtems_shell_SEMAPHORE_CREATE_Command; |
---|
33 | extern rtems_shell_cmd_t rtems_shell_SEMAPHORE_DELETE_Command; |
---|
34 | extern rtems_shell_cmd_t rtems_shell_SEMAPHORE_OBTAIN_Command; |
---|
35 | extern rtems_shell_cmd_t rtems_shell_SEMAPHORE_RELEASE_Command; |
---|
36 | extern rtems_shell_cmd_t rtems_shell_SEMAPHORE_FLUSH_Command; |
---|
37 | |
---|
38 | extern rtems_shell_cmd_t rtems_shell_TASK_EXECUTING_Command; |
---|
39 | extern rtems_shell_cmd_t rtems_shell_TASK_HEIR_Command; |
---|
40 | |
---|
41 | rtems_shell_cmd_t *rtems_shell_Initial_commands[] = { |
---|
42 | /* Generic Commands */ |
---|
43 | &rtems_shell_ECHO_Command, |
---|
44 | &rtems_shell_HELP_Command, |
---|
45 | |
---|
46 | /* RTEMS Classic API Type Commands */ |
---|
47 | &rtems_shell_RTEMS_INIT_Command, |
---|
48 | &rtems_shell_TASK_CREATE_Command, |
---|
49 | &rtems_shell_TASK_DELETE_Command, |
---|
50 | &rtems_shell_TASK_MODE_Command, |
---|
51 | &rtems_shell_TASK_PRIORITY_Command, |
---|
52 | &rtems_shell_TASK_SUSPEND_Command, |
---|
53 | &rtems_shell_TASK_RESUME_Command, |
---|
54 | &rtems_shell_TASK_WAKE_AFTER_Command, |
---|
55 | |
---|
56 | &rtems_shell_CLOCK_TICK_Command, |
---|
57 | |
---|
58 | &rtems_shell_SEMAPHORE_CREATE_Command, |
---|
59 | &rtems_shell_SEMAPHORE_DELETE_Command, |
---|
60 | &rtems_shell_SEMAPHORE_OBTAIN_Command, |
---|
61 | &rtems_shell_SEMAPHORE_RELEASE_Command, |
---|
62 | &rtems_shell_SEMAPHORE_FLUSH_Command, |
---|
63 | |
---|
64 | /* RTEMS Helper Commands */ |
---|
65 | &rtems_shell_TASK_EXECUTING_Command, |
---|
66 | &rtems_shell_TASK_HEIR_Command, |
---|
67 | NULL |
---|
68 | }; |
---|
69 | |
---|
70 | rtems_shell_alias_t *rtems_shell_Initial_aliases[] = { |
---|
71 | NULL |
---|
72 | }; |
---|
73 | |
---|