Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: 3120fb4b698dae91edff1080c839f4254a40fde4
https://github.com/tianocore/edk2/commit/3120fb4b698dae91edff1080c839f4254a40fde4
Author: Michael D Kinney <[email protected]>
Date: 2026-08-01 (Sat, 01 Aug 2026)
Changed paths:
M UefiCpuPkg/CpuDxeRiscV64/CpuDxe.c
Log Message:
-----------
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 <[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