edk2/UefiCpuPkg
Michael D Kinney 3120fb4b69 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>
2026-08-01 09:48:12 +00:00
..
Application/Cpuid UefiCpuPkg: Calculate DisplayFamily correctly 2023-03-07 10:42:38 +00:00
CpuDxe UefiCpuPkg/CpuDxe: Read hardware interrupt state in GetInterruptState 2026-08-01 09:18:09 +00:00
CpuDxeRiscV64 UefiCpuPkg/CpuDxeRiscV64: Read hardware state in GetInterruptState 2026-08-01 09:48:12 +00:00
CpuFeatures UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
CpuIo2Dxe UefiCpuPkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
CpuIo2Smm UefiCpuPkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
CpuIoPei UefiCpuPkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
CpuMmio2Dxe UefiCpuPkg: Drop ARM32 Support 2025-09-25 22:04:10 +00:00
CpuMpPei UefiCpuPkg/CpuMpPei: Support AMD GetProcessorCoreType 2026-03-11 09:14:23 +00:00
CpuS3DataDxe UefiCpuPkg: Save MTRR by lockbox in CpuS3DataDxe 2024-06-04 07:40:27 +00:00
CpuTimerDxeRiscV64 UefiCpuPkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
Include UefiCpuPkg/AmdSvsmLib: add AmdSvsmUefiMmRequest 2026-06-12 12:27:27 +00:00
Library UefiCpuPkg/BaseArchSupportLib: Include what you use 2026-07-13 20:18:37 +00:00
MicrocodeMeasurementDxe UefiCpuPkg/MicrocodeMeasurementDxe: Fix exception 2023-03-10 07:13:14 +00:00
PiSmmCommunication UefiCpuPkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
PiSmmCpuDxeSmm UefiCpuPkg: Replace manual alignment checks with helper macros 2026-06-09 07:20:10 +00:00
ResetVector UefiCpuPkg, OvmfPkg: Rename .asm files to .nasm.inc in ResetVector 2026-03-23 09:47:30 +00:00
SecCore UefiCpuPkg: Set up 256 IDT Descs in SEC/PEI/SMM 2026-03-07 03:58:40 +00:00
SecMigrationPei UefiCpuPkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
Test UefiCpuPkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
Universal/Acpi/S3Resume2Pei UefiCpuPkg/S3Resume2Pei: Rename EDKII_PEI_MP_SERVICES2_PPI 2025-04-18 17:13:55 +00:00
UefiCpuPkg.ci.yaml Global: Set MarkdownLintCheck plugin to AuditOnly 2026-07-29 12:32:09 +00:00
UefiCpuPkg.dec UefiCpuPkg: fix various typos 2025-11-21 21:49:59 +00:00
UefiCpuPkg.dsc UefiCpuPkg: RiscV64: CpuTimerLib: Add SEC/PEI and DXE library instances 2026-06-16 03:17:09 +00:00
UefiCpuPkg.uni UefiCpuPkg: Refine the PCD usage comment 2024-06-14 07:02:37 +00:00
UefiCpuPkgExtra.uni UefiCpuPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:28 -07:00