summaryrefslogtreecommitdiffstats
path: root/tools/schedsim/shell/shared/schedsim_shell.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/schedsim/shell/shared/schedsim_shell.h')
-rw-r--r--tools/schedsim/shell/shared/schedsim_shell.h56
1 files changed, 56 insertions, 0 deletions
diff --git a/tools/schedsim/shell/shared/schedsim_shell.h b/tools/schedsim/shell/shared/schedsim_shell.h
new file mode 100644
index 0000000000..4b23d1c42d
--- /dev/null
+++ b/tools/schedsim/shell/shared/schedsim_shell.h
@@ -0,0 +1,56 @@
+/*
+ * BASED UPON SOURCE IN RTEMS, MODIFIED FOR SIMULATOR
+ *
+ * COPYRIGHT (c) 1989-2010.
+ * 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.
+ *
+ * $Id$
+ */
+
+#ifndef __SCHEDSIM_SHELL_h
+#define __SCHEDSIM_SHELL_h
+
+#include <rtems.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+void PRINT_EXECUTING(void);
+void PRINT_HEIR(void);
+
+struct rtems_shell_topic_tt;
+typedef struct rtems_shell_topic_tt rtems_shell_topic_t;
+
+struct rtems_shell_topic_tt {
+ const char *topic;
+ rtems_shell_topic_t *next;
+};
+
+extern rtems_shell_cmd_t * rtems_shell_first_cmd;
+extern rtems_shell_topic_t * rtems_shell_first_topic;
+
+rtems_shell_topic_t * rtems_shell_lookup_topic(const char *topic);
+
+extern rtems_shell_cmd_t *rtems_shell_Initial_commands[];
+extern rtems_shell_alias_t *rtems_shell_Initial_aliases[];
+
+int lookup_task(
+ const char *string,
+ rtems_id *id
+);
+
+int lookup_semaphore(
+ const char *string,
+ rtems_id *id
+);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif