summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/PiDxeS3BootScriptLib/InternalBootScriptLib.h
diff options
context:
space:
mode:
authorBenjamin Doron <benjamin.doron@9elements.com>2025-10-30 20:09:49 +0300
committerArd Biesheuvel <workofard@gmail.com>2025-11-24 12:08:45 +0300
commit0199530a52435541f997d60b54177c5fa86b6b3c (patch)
treea2e214d5b473e10b6a250ad4bdbbfa1997e7d3f2 /MdeModulePkg/Library/PiDxeS3BootScriptLib/InternalBootScriptLib.h
parent1aedb79e9b1c4acbc6563ae984c27d772e95f824 (diff)
downloadedk2-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/InternalBootScriptLib.h')
0 files changed, 0 insertions, 0 deletions