summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/Workspace/BuildClassObject.py
diff options
context:
space:
mode:
authorMichael D Kinney <michael.d.kinney@intel.com>2026-06-02 07:47:09 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2026-08-01 12:48:12 +0300
commit3120fb4b698dae91edff1080c839f4254a40fde4 (patch)
tree8b022147642829aae22bd4aa771888b5b17d3cb2 /BaseTools/Source/Python/Workspace/BuildClassObject.py
parentd91dff7cbeefe2841ba6fe88fd468d2d9120ecf6 (diff)
downloadedk2-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