diff options
author | erictian <erictian@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-11-17 08:35:08 +0000 |
---|---|---|
committer | erictian <erictian@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-11-17 08:35:08 +0000 |
commit | 9bb1fced77588cd00dea7a2c81b04a494db77c52 (patch) | |
tree | 97ac903423de6c0cd46e34e4b86cd79726353492 /PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtc.c | |
parent | 83a6cf345c32d27d58af490ea7c80056f2179713 (diff) | |
download | edk2-9bb1fced77588cd00dea7a2c81b04a494db77c52.tar.gz edk2-9bb1fced77588cd00dea7a2c81b04a494db77c52.tar.bz2 edk2-9bb1fced77588cd00dea7a2c81b04a494db77c52.zip |
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
Diffstat (limited to 'PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtc.c')
-rw-r--r-- | PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtc.c | 2 |
1 files changed, 2 insertions, 0 deletions
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;
}
//
|