mirror of https://github.com/acidanthera/audk.git
25 lines
437 B
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 ();
|
|
}
|
|
|