TianoCore EDK2 master
Loading...
Searching...
No Matches
X86GetInterruptState.c File Reference
#include "BaseLibInternals.h"

Go to the source code of this file.

Functions

BOOLEAN EFIAPI GetInterruptState (VOID)
 

Detailed Description

IA-32/x64 GetInterruptState()

Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file X86GetInterruptState.c.

Function Documentation

◆ GetInterruptState()

BOOLEAN EFIAPI GetInterruptState ( VOID  )

Retrieves the current CPU interrupt state.

Returns TRUE is interrupts are currently enabled. Otherwise returns FALSE.

Return values
TRUECPU interrupts are enabled.
FALSECPU interrupts are disabled.

Definition at line 23 of file X86GetInterruptState.c.