From 22ed4172f7998db711f72f973fa75a469ed817e4 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 27 May 2009 14:23:23 +0000 Subject: 2009-05-27 Sebastian Huber * libcsupport/include/rtc.h: New RTC driver interface. * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Added RTC command. * libmisc/shell/main_rtc.c: New file. --- cpukit/libmisc/shell/shellconfig.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'cpukit/libmisc/shell/shellconfig.h') diff --git a/cpukit/libmisc/shell/shellconfig.h b/cpukit/libmisc/shell/shellconfig.h index f3bc16ddc4..d7179b5629 100644 --- a/cpukit/libmisc/shell/shellconfig.h +++ b/cpukit/libmisc/shell/shellconfig.h @@ -55,6 +55,8 @@ extern rtems_shell_cmd_t rtems_shell_UNMOUNT_Command; extern rtems_shell_cmd_t rtems_shell_BLKSYNC_Command; extern rtems_shell_cmd_t rtems_shell_FDISK_Command; +extern rtems_shell_cmd_t rtems_shell_RTC_Command; + extern rtems_shell_cmd_t rtems_shell_HALT_Command; extern rtems_shell_cmd_t rtems_shell_CPUUSE_Command; extern rtems_shell_cmd_t rtems_shell_STACKUSE_Command; @@ -368,6 +370,13 @@ extern rtems_shell_filesystems_t *rtems_shell_Mount_filesystems[]; #endif #endif + /* Miscanellous shell commands */ + #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) \ + && !defined(CONFIGURE_SHELL_NO_COMMAND_RTC)) \ + || defined(CONFIGURE_SHELL_COMMAND_RTC) + &rtems_shell_RTC_Command, + #endif + /* * User defined shell commands */ -- cgit v1.2.3