mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-12-28 17:08:18 +01:00
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
|
||
|
}
|
||
|
}
|
||
|
|