diff options
| author | Michael D Kinney <michael.d.kinney@intel.com> | 2026-06-02 07:47:09 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2026-08-01 12:48:12 +0300 |
| commit | 3120fb4b698dae91edff1080c839f4254a40fde4 (patch) | |
| tree | 8b022147642829aae22bd4aa771888b5b17d3cb2 /BaseTools/Source/Python/Workspace/BuildClassObject.py | |
| parent | d91dff7cbeefe2841ba6fe88fd468d2d9120ecf6 (diff) | |
| download | edk2-3120fb4b698dae91edff1080c839f4254a40fde4.tar.xz | |
UefiCpuPkg/CpuDxeRiscV64: Read hardware state in GetInterruptState
Fix CpuGetInterruptState() to read the actual hardware interrupt flag
(sstatus.SIE) via BaseLib's GetInterruptState() instead of returning a cached
boolean variable. The cached variable becomes stale in interrupt context
where hardware disables interrupts without going through the protocol's
DisableInterrupt() call.
This is a PI Spec conformance fix: EFI_CPU_ARCH_PROTOCOL.GetInterruptState()
is specified to return the current processor interrupt state.
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Workspace/BuildClassObject.py')
0 files changed, 0 insertions, 0 deletions
