Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: d48465508bd7ef0777e627ff9fd07d67ef92ae93
      
https://github.com/tianocore/edk2/commit/d48465508bd7ef0777e627ff9fd07d67ef92ae93
  Author: Tuan Phan <[email protected]>
  Date:   2026-06-16 (Tue, 16 Jun 2026)

  Changed paths:
    R UefiCpuPkg/Library/BaseRiscV64CpuTimerLib/BaseRiscV64CpuTimerLib.inf
    R UefiCpuPkg/Library/BaseRiscV64CpuTimerLib/BaseRiscV64CpuTimerLib.uni
    R UefiCpuPkg/Library/BaseRiscV64CpuTimerLib/CpuTimerLib.c
    A UefiCpuPkg/Library/RiscV64CpuTimerLib/CpuTimerLib.c
    A UefiCpuPkg/Library/RiscV64CpuTimerLib/RiscV64CpuTimerDxeLib.inf
    A UefiCpuPkg/Library/RiscV64CpuTimerLib/RiscV64CpuTimerLib.uni
    A UefiCpuPkg/Library/RiscV64CpuTimerLib/RiscV64CpuTimerSecLib.inf
    M UefiCpuPkg/UefiCpuPkg.dsc

  Log Message:
  -----------
  UefiCpuPkg: RiscV64: CpuTimerLib: Add SEC/PEI and DXE library instances

Commit c27b5554 introduced a constructor that calls
GetPerformanceCounterProperties() to help initializing mTimeBase early.
However, in the PEI phase, this constructor may run before
the HOB list is available, leading to a crash.

This patch fixes the issue by providing a separate library instances
for the SEC/PEI phases that avoid invoking this constructor.

Also, rename this library as it can not be base library anymore.

Signed-off-by: Tuan Phan <[email protected]>


  Commit: 04bf52c212d1b97bbc8b4ac0c7f53b1bb7e1a111
      
https://github.com/tianocore/edk2/commit/04bf52c212d1b97bbc8b4ac0c7f53b1bb7e1a111
  Author: Tuan Phan <[email protected]>
  Date:   2026-06-16 (Tue, 16 Jun 2026)

  Changed paths:
    M UefiCpuPkg/Library/RiscV64CpuTimerLib/CpuTimerLib.c

  Log Message:
  -----------
  UefiCpuPkg: RiscV64: CpuTimerLib: Fix coding style error

Fixed coding style reported by Ecc tool.

Signed-off-by: Tuan Phan <[email protected]>


  Commit: 8812785128a3574abf5da87cd3388bd435073a7f
      
https://github.com/tianocore/edk2/commit/8812785128a3574abf5da87cd3388bd435073a7f
  Author: Tuan Phan <[email protected]>
  Date:   2026-06-16 (Tue, 16 Jun 2026)

  Changed paths:
    M OvmfPkg/RiscVVirt/RiscVVirtQemu.dsc

  Log Message:
  -----------
  OvmfPkg/RiscVVirt: Add TimerLib instance for SEC/PEI and DXE

Provide separate TimerLib instances for the SEC, PEI and DXE phases.

Signed-off-by: Tuan Phan <[email protected]>


Compare: https://github.com/tianocore/edk2/compare/d7bf8b91f327...8812785128a3

To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to