]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Library/BaseLib/RiscV64/DisableInterrupts.c
MdePkg: Apply uncrustify changes
[mirror_edk2.git] / MdePkg / Library / BaseLib / RiscV64 / DisableInterrupts.c
1 /** @file
2 CPU disable interrupt function for RISC-V
3
4 Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
5
6 SPDX-License-Identifier: BSD-2-Clause-Patent
7 **/
8 #include "BaseLibInternals.h"
9
10 extern VOID
11 RiscVDisableSupervisorModeInterrupts (
12 VOID
13 );
14
15 /**
16 Disables CPU interrupts.
17
18 **/
19 VOID
20 EFIAPI
21 DisableInterrupts (
22 VOID
23 )
24 {
25 RiscVDisableSupervisorModeInterrupts ();
26 }