From 9bb1fced77588cd00dea7a2c81b04a494db77c52 Mon Sep 17 00:00:00 2001 From: erictian Date: Thu, 17 Nov 2011 08:35:08 +0000 Subject: [PATCH] PcAtChipsetPkg: install RTC ARCH protocol even if the "RTC" variable is corrupted. signed-off-by: erictian reviewed-by: hhtian git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12734 6f19259b-4bc3-4df7-8a09-765794883524 --- PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtc.c b/PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtc.c index f874f3fb8f..292c25def7 100644 --- a/PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtc.c +++ b/PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtc.c @@ -206,6 +206,8 @@ PcRtcInit ( Time.Month = RTC_INIT_MONTH; Time.Year = RTC_INIT_YEAR; Time.Nanosecond = 0; + Time.TimeZone = EFI_UNSPECIFIED_TIMEZONE; + Time.Daylight = 0; } //