]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Library/BaseLib/Ia32/EnableDisableInterrupts.c
MdePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdePkg / Library / BaseLib / Ia32 / EnableDisableInterrupts.c
1 /** @file
2 EnableDisableInterrupts function
3
4 Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
6
7 **/
8
9
10
11
12 /**
13 Enables CPU interrupts for the smallest window required to capture any
14 pending interrupts.
15
16 **/
17 VOID
18 EFIAPI
19 EnableDisableInterrupts (
20 VOID
21 )
22 {
23 _asm {
24 sti
25 nop
26 nop
27 cli
28 }
29 }
30