Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 1a6c837638e4081b5154fd224666a80e1eda85fe
      
https://github.com/tianocore/edk2/commit/1a6c837638e4081b5154fd224666a80e1eda85fe
  Author: Tan, Dun <dun....@intel.com>
  Date:   2022-05-09 (Mon, 09 May 2022)

  Changed paths:
    M UefiPayloadPkg/UniversalPayloadBuild.py

  Log Message:
  -----------
  UefiPayloadPkg: Fix the UPL build failure

Add double quotes to LlvmObjcopyPath.
Blank space in LlvmObjcopyPath will cause build failure.
This build failure is introduced by 2306555bf908 (
"UefiPayloadPkg: Fix IA32 entry build failure").

Signed-off-by: Dun Tan <dun....@intel.com>
Reviewed-by: Ray Ni <ray...@intel.com>
Reviewed-by: Guo Dong <guo.d...@intel.com>
Cc: Benjamin You <benjamin....@intel.com>
Cc: Sean Rhodes <sean@starlabs.systems>


  Commit: 29ae55a0b8194fef2e769f2882297aa601b4777a
      
https://github.com/tianocore/edk2/commit/29ae55a0b8194fef2e769f2882297aa601b4777a
  Author: Chao, Zhuoran <zhuoran.c...@intel.com>
  Date:   2022-05-09 (Mon, 09 May 2022)

  Changed paths:
    M PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtc.c

  Log Message:
  -----------
  PcAtChipsetPkg: Change the flow of PcRtcInit()

REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3913

The original flow of PcRtcInit() is like:
1. Guarantee atomic accesses to the RTC time registers and
   read out the value.
2. Program RTC register B. (adopt 12h mode or 24h mode. Current
   bios code sets RTC to 24h mode by default).
3. Then function ConvertRtcTimeToEfiTime converts the RTC time
   value to their 24h mode by checking the hour format bit
   (1:24h mode,0:12h mode).
And here lies the problem: Step3 will fail to adjust the value
if Step2 already sets RTC to 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.

ConvertRtcTimeToEfiTime is modified to be more robust.

Reviewed-by: Ray Ni <ray...@intel.com>

Signed-off-by: Zhuoran Chao <zhuoran.c...@intel.com>


Compare: https://github.com/tianocore/edk2/compare/8079d4dc4f8a...29ae55a0b819


_______________________________________________
edk2-commits mailing list
edk2-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to