TianoCore EDK2 master
|
#include "BaseLibInternals.h"
Go to the source code of this file.
Functions | |
BOOLEAN EFIAPI | SaveAndDisableInterrupts (VOID) |
BOOLEAN EFIAPI | SetInterruptState (IN BOOLEAN InterruptState) |
Base Library CPU Functions for all architectures.
Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file Cpu.c.
BOOLEAN EFIAPI SaveAndDisableInterrupts | ( | VOID | ) |
BOOLEAN EFIAPI SetInterruptState | ( | IN BOOLEAN | InterruptState | ) |
Set the current CPU interrupt state.
Sets the current CPU interrupt state to the state specified by InterruptState. If InterruptState is TRUE, then interrupts are enabled. If InterruptState is FALSE, then interrupts are disabled. InterruptState is returned.
InterruptState | TRUE if interrupts should be enabled. FALSE if interrupts should be disabled. |