Time.Day = RTC_INIT_DAY;\r
Time.Month = RTC_INIT_MONTH;\r
Time.Year = RTC_INIT_YEAR;\r
+ Time.Nanosecond = 0;\r
}\r
\r
//\r
// Reset time value according to new RTC configuration\r
//\r
- PcRtcSetTime (&Time, Global);\r
-\r
- return EFI_SUCCESS;\r
+ Status = PcRtcSetTime (&Time, Global);\r
+ if(!EFI_ERROR (Status)) {\r
+ return EFI_SUCCESS;\r
+ } else {\r
+ return EFI_DEVICE_ERROR;\r
+ }\r
}\r
\r
/**\r