diff options
| author | Michael D Kinney <michael.d.kinney@intel.com> | 2026-06-02 07:47:02 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2026-08-01 12:18:09 +0300 |
| commit | d91dff7cbeefe2841ba6fe88fd468d2d9120ecf6 (patch) | |
| tree | a383651041f26c11757a0029196998fe68373070 /BaseTools/Source/Python/Workspace/MetaFileTable.py | |
| parent | 3f97b8bc7fd8eb8ab3af439bf521a7a73c0542b4 (diff) | |
| download | edk2-d91dff7cbeefe2841ba6fe88fd468d2d9120ecf6.tar.xz | |
UefiCpuPkg/CpuDxe: Read hardware interrupt state in GetInterruptState
Fix CpuGetInterruptState() to read the actual hardware interrupt flag
(RFLAGS.IF) 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/MetaFileTable.py')
0 files changed, 0 insertions, 0 deletions
