diff options
| author | Tuan Phan <tuan.phan@oss.qualcomm.com> | 2026-06-09 05:30:38 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2026-06-16 06:17:09 +0300 |
| commit | d48465508bd7ef0777e627ff9fd07d67ef92ae93 (patch) | |
| tree | ad482f1cffa9b98a416e124857182ecbb7bd1147 /BaseTools/Source/Python/Workspace | |
| parent | d7bf8b91f327914e67605e0f26d5d60b4a368bb9 (diff) | |
| download | edk2-d48465508bd7ef0777e627ff9fd07d67ef92ae93.tar.xz | |
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 <tuan.phan@oss.qualcomm.com>
Diffstat (limited to 'BaseTools/Source/Python/Workspace')
0 files changed, 0 insertions, 0 deletions
