audk/PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe
Chen Lin Z 2839fed575 PcAtChipsetPkg: Write RTC time in PcRtcInit() only when it is needed
In PcRtcInit(), it always read RTC time and then write it back. It could
potentially cause two issues:
1) There is time gap between read RTC and write RTC, writing RTC time on
every boot could cause RTC time drift after many reboot cycles

2) Writing RTC registers on every boot could cause some unnecessary delay,
slightly impact the boot performance.

The change is only writing RTC time when 1) the current RTC time is not
valid or 2) the RegisterB value is changed.

Signed-off-by: Chen Lin Z <lin.z.chen@intel.com>
2024-11-13 09:05:56 +00:00
..
PcRtc.c PcAtChipsetPkg: Write RTC time in PcRtcInit() only when it is needed 2024-11-13 09:05:56 +00:00
PcRtc.h PcAtChipsetPkg: Use DV bit to stop the RTC first when changing the time 2024-11-13 09:05:56 +00:00
PcRtc.uni PcAtChipsetPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:20 -07:00
PcRtcEntry.c PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe: rename LibRtcVirtualNotifyEvent 2023-10-18 16:15:41 +00:00
PcRtcExtra.uni PcAtChipsetPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:20 -07:00
PcatRealTimeClockRuntimeDxe.inf PcAtChipsetPkg: Add PCD for RTC default year 2023-03-27 06:19:04 +00:00