[edk2-devel] [PATCH] PcAtChipsetPkg: Change the flow of PcRtcInit()

2022-04-25 Thread Zhuoran Chao
its 24h mode. The solution is to program RTC register B a little later when all the original RTC registers' value is retrieved, adjusted and validated. Cc: Ray Ni Signed-off-by: Zhuoran Chao --- PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtc.c | 14 +++--- 1 file changed, 7 inser

Re: [edk2-devel] [PATCH] PcAtChipsetPkg: Change the flow of PcRtcInit()

2022-04-28 Thread Zhuoran Chao
24h mode. The hour value in 12h mode will not be converted to its 24h mode. The solution is to program RTC register B a little later when all the original RTC registers' value is retrieved, adjusted and validated. Cc: Ray Ni Signed-off-by: Zhuoran Chao --- PcAtChips

[edk2-devel] [PATCH v2] PcAtChipsetPkg: Change the flow of PcRtcInit()

2022-05-06 Thread Zhuoran Chao
its 24h mode. The solution is to program RTC register B a little later when all the original RTC registers' value is retrieved, adjusted and validated. ConvertRtcTimeToEfiTime is modified to be more robust. Cc: Ray Ni Signed-off-by: Zhuoran Chao --- .../PcatRealTimeClockRuntimeDxe/Pc

[edk2-devel] [PATCH v3] PcAtChipsetPkg: Change the flow of PcRtcInit()

2022-05-07 Thread Zhuoran Chao
its 24h mode. The solution is to program RTC register B a little later when all the original RTC registers' value is retrieved, adjusted and validated. ConvertRtcTimeToEfiTime is modified to be more robust. Cc: Ray Ni Signed-off-by: Zhuoran Chao --- .../PcatRealTimeClockRuntimeDxe/Pc