Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: d91dff7cbeefe2841ba6fe88fd468d2d9120ecf6
      
https://github.com/tianocore/edk2/commit/d91dff7cbeefe2841ba6fe88fd468d2d9120ecf6
  Author: Michael D Kinney <[email protected]>
  Date:   2026-08-01 (Sat, 01 Aug 2026)

  Changed paths:
    M UefiCpuPkg/CpuDxe/CpuDxe.c

  Log Message:
  -----------
  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 <[email protected]>



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