CloverBootloader/MdePkg/Library/BaseLib/Ia32/EnableDisableInterrupts.c
2019-09-03 12:58:42 +03:00

31 lines
408 B
C

/** @file
EnableDisableInterrupts function
Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
/**
Enables CPU interrupts for the smallest window required to capture any
pending interrupts.
**/
VOID
EFIAPI
EnableDisableInterrupts (
VOID
)
{
_asm {
sti
nop
nop
cli
}
}