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

Go to the source code of this file.

Functions

UINT32 RiscVGetSupervisorModeInterrupts (VOID)
 
BOOLEAN EFIAPI GetInterruptState (VOID)
 

Detailed Description

CPU get interrupt state function for RISC-V

Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.

SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file GetInterruptState.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 28 of file GetInterruptState.c.