mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-29 12:35:53 +01:00
7c0aa811ec
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
31 lines
408 B
C
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
|
|
}
|
|
}
|
|
|