mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-21 16:05:03 +08:00
LIBPCI: added PCI shell command
This commit is contained in:
@@ -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
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user