]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Library/BaseLib/Ia32/EnableDisableInterrupts.c
MdePkg: Apply uncrustify changes
[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 Enables CPU interrupts for the smallest window required to capture any
11 pending interrupts.
12
13 **/
14 VOID
15 EFIAPI
16 EnableDisableInterrupts (
17 VOID
18 )
19 {
20 _asm {
21 sti
22 nop
23 nop
24 cli
25 }
26 }