RTEMS CPU Kit with SuperCore  4.11.2
internal.h
Go to the documentation of this file.
1 /*
2  * Shell Internal Information
3  *
4  * The license and distribution terms for this file may be
5  * found in the file LICENSE in this distribution or at
6  * http://www.rtems.org/license/LICENSE.
7  */
8 
9 #ifndef _RTEMS_SHELL_INTERNAL_H
10 #define _RTEMS_SHELL_INTERNAL_H
11 
12 #include "shell.h"
13 
16 
17 struct rtems_shell_topic_tt {
18  const char *topic;
19  rtems_shell_topic_t *next;
20 };
21 
22 
23 extern rtems_shell_cmd_t * rtems_shell_first_cmd;
24 extern rtems_shell_topic_t * rtems_shell_first_topic;
25 
26 rtems_shell_topic_t * rtems_shell_lookup_topic(const char *topic);
27 
28 bool rtems_shell_can_see_cmd(const rtems_shell_cmd_t *shell_cmd);
29 
30 int rtems_shell_execute_cmd(const char *cmd, int argc, char *argv[]);
31 
32 extern void rtems_shell_register_monitor_commands(void);
33 
34 extern void rtems_shell_print_heap_info(
35  const char *c,
36  const Heap_Information *h
37 );
38 
39 extern void rtems_shell_print_heap_stats(
40  const Heap_Statistics *s
41 );
42 
43 extern void rtems_shell_print_unified_work_area_message(void);
44 
45 #include <sys/types.h>
46 
47 extern void strmode(mode_t mode, char *p);
48 extern const char *user_from_uid(uid_t uid, int nouser);
49 extern char *group_from_gid(gid_t gid, int nogroup);
50 
51 #endif
Run-time heap statistics.
Definition: heap.h:257
Instantatiate a New Terminal Shell.
Definition: shell.h:80
Information about blocks.
Definition: heap.h:359
Definition: internal.h:18