diff options
| author | Benjamin Doron <benjamin.doron@9elements.com> | 2025-10-30 20:09:49 +0300 |
|---|---|---|
| committer | Ard Biesheuvel <workofard@gmail.com> | 2025-11-24 12:08:45 +0300 |
| commit | 0199530a52435541f997d60b54177c5fa86b6b3c (patch) | |
| tree | a2e214d5b473e10b6a250ad4bdbbfa1997e7d3f2 /MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptSave.c | |
| parent | 1aedb79e9b1c4acbc6563ae984c27d772e95f824 (diff) | |
| download | edk2-0199530a52435541f997d60b54177c5fa86b6b3c.tar.xz | |
UefiCpuPkg: BaseRiscVMmuLib: Fix the logic toggling the interrupt state
`GetInterruptState` ultimately queries the hardware, which means that
once the first check disables interrupts, they won't be enabled later.
The proper way to do this is with `SaveAndDisableInterrupts`.
Signed-off-by: Benjamin Doron <benjamin.doron@9elements.com>
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptSave.c')
0 files changed, 0 insertions, 0 deletions
