We need to tell caller whether the GetTime() succeeds or fails.
EFI_DEVICE_ERROR The time could not be retrieved due to a hardware error.
From: Zeng, Star
Sent: Tuesday, May 28, 2013 12:50 PM
To: [email protected]; Ni, Ruiyu; 'Jordan Justen'
Subject: RE: [edk2] [PATCH] FatPkg: Make FatGetCurrentFatTime() always return a
valid time
Why not to let gRT->GetTime() itself to return the time(1980.1.1) if it fails
to get the real time? If we update the code in FatPkg, other places that call
gRT->GetTime() may also need to be updated.
Thanks.
Star
From: Olivier Martin [mailto:[email protected]]
Sent: Wednesday, May 08, 2013 1:00 AM
To: Ni, Ruiyu; 'Jordan Justen'
Cc: [email protected]<mailto:[email protected]>
Subject: [edk2] [PATCH] FatPkg: Make FatGetCurrentFatTime() always return a
valid time
Dear FatPkg maintainers,
Please find this patch that makes FatGetCurrentFatTime() always return a valid
time.
Without this patch if gRT->GetTime fails to return the time then some
operations on the filesystem could fail.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin
<[email protected]<mailto:[email protected]>>
Regards,
Olivier
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel