diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-05-23 16:46:22 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-05-23 16:46:49 -0500 |
commit | 36f4cb93ed8f1837658d7dc9b805681b9cb45ec6 (patch) | |
tree | 1ec0dbd803062f13bc37aa7f032efe06187eb2de /schedsim/shell/shared/add_commands_stub.c | |
parent | main_dump_all_cpus.c: Return error do not exit (diff) | |
download | rtems-schedsim-36f4cb93ed8f1837658d7dc9b805681b9cb45ec6.tar.bz2 |
Use shared main() and file processor
Diffstat (limited to 'schedsim/shell/shared/add_commands_stub.c')
-rw-r--r-- | schedsim/shell/shared/add_commands_stub.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/schedsim/shell/shared/add_commands_stub.c b/schedsim/shell/shared/add_commands_stub.c new file mode 100644 index 0000000..d2b1961 --- /dev/null +++ b/schedsim/shell/shared/add_commands_stub.c @@ -0,0 +1,26 @@ +/* + * COPYRIGHT (c) 1989-2013. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.com/license/LICENSE. + */ + +#include <newlib/getopt.h> +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <ctype.h> +#include <assert.h> + +#include "shell.h" +#include "rtems_sched.h" + +extern int main_dump_ready_tasks(int argc, char **argv); +extern int main_set_current_cpu(int argc, char **argv); +extern int main_dispatch(int argc, char **argv); + +void add_commands(void) +{ +} |