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