LIBPCI: added PCI shell command

This commit is contained in:
Daniel Hellstrom
2015-04-17 01:10:15 +02:00
parent a31845f7f9
commit 02550220c5
3 changed files with 543 additions and 1 deletions
+2 -1
View File
@@ -110,7 +110,8 @@ libshell_a_SOURCES = shell/cat_file.c shell/cmds.c shell/internal.h \
shell/main_mkrfs.c shell/main_debugrfs.c shell/main_df.c \
shell/main_lsof.c shell/main_edit.c \
shell/main_blkstats.c shell/main_rtrace.c \
shell/shell-wait-for-input.c
shell/shell-wait-for-input.c \
shell/main_pci.c
libshell_a_SOURCES += shell/main_cmdls.c
libshell_a_SOURCES += shell/main_cmdchown.c
libshell_a_SOURCES += shell/main_cmdchmod.c
File diff suppressed because it is too large Load Diff
+16
View File
@@ -95,6 +95,11 @@ extern rtems_shell_cmd_t rtems_shell_RTRACE_Command;
extern rtems_shell_cmd_t rtems_shell_PING_Command;
#endif
/*
* Extern for System commands
*/
extern rtems_shell_cmd_t rtems_shell_PCI_Command;
extern rtems_shell_cmd_t * const rtems_shell_Initial_commands[];
/*
@@ -509,6 +514,17 @@ extern rtems_shell_alias_t * const rtems_shell_Initial_aliases[];
&rtems_shell_RTC_Command,
#endif
/*
* System related commands
*/
#if defined(RTEMS_PCI_CONFIG_LIB)
#if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
!defined(CONFIGURE_SHELL_NO_COMMAND_PCI)) || \
defined(CONFIGURE_SHELL_COMMAND_PCI)
&rtems_shell_PCI_Command,
#endif
#endif
/*
* User defined shell commands
*/