]> git.proxmox.com Git - mirror_edk2.git/commit - PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtcEntry.c
PcAtChipsetPkg/PcRtc: get century RTC address in entry point
authorRuiyu Ni <ruiyu.ni@intel.com>
Wed, 18 May 2016 05:18:28 +0000 (13:18 +0800)
committerRuiyu Ni <ruiyu.ni@intel.com>
Mon, 23 May 2016 01:59:11 +0000 (09:59 +0800)
commite38ab18a49ed010c79d14dd21bf4dff5e062dbb1
tree0e86f2459197b699966020e480db5d3c6377d78c
parent9e11e9225a3ecf605e7f360c689f17d91d8115f2
PcAtChipsetPkg/PcRtc: get century RTC address in entry point

When ACPI table is installed before PcRtc driver runs,
the ACPI table installation callback isn't called which causes the
century value isn't written to the CMOS.
The patch calls GetCenturyRtcAddress() in entry point to fix
the bug.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Cc: Anbazhagan Baraneedharan <anbazhagan@hp.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Cc: Star Zeng <star.zeng@intel.com>
PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtc.h
PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtcEntry.c