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