From: Sean Brogan <[email protected]> REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1400
Add EnableInterruptsAndSleep function. Cc: Michael D Kinney <[email protected]> Cc: Liming Gao <[email protected]> Cc: Sean Brogan <[email protected]> Cc: Michael Turner <[email protected]> Cc: Bret Barkelew <[email protected]> Signed-off-by: Zhichao Gao <[email protected]> --- MdePkg/Include/Library/BaseLib.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/MdePkg/Include/Library/BaseLib.h b/MdePkg/Include/Library/BaseLib.h index ebd7dd274c..8ab2c12328 100644 --- a/MdePkg/Include/Library/BaseLib.h +++ b/MdePkg/Include/Library/BaseLib.h @@ -5033,6 +5033,17 @@ LongJump ( ); +/** + Enables CPU interrupts and then waits for an interrupt to arrive. + +**/ +VOID +EFIAPI +EnableInterruptsAndSleep ( + VOID + ); + + /** Enables CPU interrupts. -- 2.21.0.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#41304): https://edk2.groups.io/g/devel/message/41304 Mute This Topic: https://groups.io/mt/31741729/21656 Group Owner: [email protected] Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
