audk/MdePkg/Library/BaseLib/RiscV64/DisableInterrupts.c

25 lines
437 B
C

/** @file
CPU disable interrupt function for RISC-V
Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "BaseLibInternals.h"
extern VOID RiscVDisableSupervisorModeInterrupts (VOID);
/**
Disables CPU interrupts.
**/
VOID
EFIAPI
DisableInterrupts (
VOID
)
{
RiscVDisableSupervisorModeInterrupts ();
}