audk/ShellPkg/Library
jcarsey 391206e775 ShellPkg: Update behavior for GetTime() errors.
Please find the attached patch that fixes the ShellPkg when gRT->GetTime() returns an error (eg: early UEFI platform bringup with a RTC controller that is not supported).
On some platforms, gRT->GetTime() might not return EFI_SUCCESS. The Shell must check the return status before to assume the returned time is valid.


Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <Olivier.Martin@arm.com>
Reviewed-by: Jaben Carsey <Jaben.Carsey@intel.com>

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14337 6f19259b-4bc3-4df7-8a09-765794883524
2013-05-09 16:18:58 +00:00
..
BasePathLib ShellPkg: fix support for "\" (or "\.") meaning root of drive. 2011-09-20 21:01:34 +00:00
BaseSortLib Refine comments and two code style. 2011-09-02 08:05:34 +00:00
UefiDpLib Add the missing file to the inf. 2013-04-02 08:34:45 +00:00
UefiFileHandleLib ShellPkg: Enable Runtime DXE drivers to make use of Shell libraries with the expectation that the driver is responsible for ensuring that they are only called when boot services are present. Also adds a ShellCommandLib Depex for gEfiUnicodeCollation2ProtocolGuid to fix constructor crash when used by drivers. 2012-05-30 17:34:16 +00:00
UefiHandleParsingLib Add missing braces around initializer. 2012-10-11 02:15:23 +00:00
UefiShellCEntryLib remove empty sections in INF files. 2011-06-08 18:28:03 +00:00
UefiShellCommandLib ShellPkg: Updates to 'help' command 2012-12-13 21:26:22 +00:00
UefiShellDebug1CommandsLib ShellPkg: Return an error when it happens 2013-05-09 16:16:21 +00:00
UefiShellDriver1CommandsLib ShellPkg: Fixed build error 'variable set but not used' 2013-05-07 17:57:58 +00:00
UefiShellInstall1CommandsLib ShellPkg: Fixed build error 'variable set but not used' 2013-05-07 17:57:58 +00:00
UefiShellLevel1CommandsLib ShellPkg: Fixed build error 'variable set but not used' 2013-05-07 17:57:58 +00:00
UefiShellLevel2CommandsLib ShellPkg: Update behavior for GetTime() errors. 2013-05-09 16:18:58 +00:00
UefiShellLevel3CommandsLib ShellPkg: Update behavior for GetTime() errors. 2013-05-09 16:18:58 +00:00
UefiShellLib ShellPkg: Add ShellPrintHelp function to ShellLib. 2013-03-04 21:54:02 +00:00
UefiShellNetwork1CommandsLib 1. Fix a bug in PXE driver that the PXE boot do not restart if a new boot option on the different IP stack is selected. 2012-10-17 08:23:41 +00:00
UefiSortLib ShellPkg: Enable Runtime DXE drivers to make use of Shell libraries with the expectation that the driver is responsible for ensuring that they are only called when boot services are present. Also adds a ShellCommandLib Depex for gEfiUnicodeCollation2ProtocolGuid to fix constructor crash when used by drivers. 2012-05-30 17:34:16 +00:00