mirror_edk2/ShellPkg/Library/UefiShellLevel3CommandsLib
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
..
Alias.c Verify memory allocations were successful. 2010-10-04 16:30:40 +00:00
Cls.c ShellPkg: Fixed build error 'variable set but not used' 2013-05-07 17:57:58 +00:00
Echo.c ShellPkg: Update 'echo' command to print everything at once. this allows for format color coding on the output. 2012-01-30 22:48:33 +00:00
GetMtc.c udk2010.up2.shell initial release. 2010-09-14 05:18:09 +00:00
Help.c ShellPkg: Fixed build error 'variable set but not used' 2013-05-07 17:57:58 +00:00
Pause.c ShellPkg: Eliminate loss of high bits in return value from exit command on 64 bit platform. 2011-09-15 20:10:39 +00:00
Touch.c ShellPkg: Update behavior for GetTime() errors. 2013-05-09 16:18:58 +00:00
Type.c cls - add input verification. 2011-03-25 21:01:08 +00:00
UefiShellLevel3CommandsLib.c Clean up the private GUID definition in module Level. 2011-09-21 01:56:00 +00:00
UefiShellLevel3CommandsLib.h Clean up the private GUID definition in module Level. 2011-09-21 01:56:00 +00:00
UefiShellLevel3CommandsLib.inf Clean up the private GUID definition in module Level. 2011-09-21 01:56:00 +00:00
UefiShellLevel3CommandsLib.uni ShellPkg: Rewrite’s Help.c to call the ShellPrintHelp function. 2013-03-12 20:54:07 +00:00
Ver.c udk2010.up2.shell initial release. 2010-09-14 05:18:09 +00:00