]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Library/BaseLib/RiscV64/CpuPause.c
MdePkg: Apply uncrustify changes
[mirror_edk2.git] / MdePkg / Library / BaseLib / RiscV64 / CpuPause.c
CommitLineData
7601b251
AC
1/** @file\r
2 CPU pause 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\r
9#include "BaseLibInternals.h"\r
10\r
2f88bd3a
MK
11extern VOID\r
12RiscVCpuPause (\r
13 VOID\r
14 );\r
7601b251
AC
15\r
16/**\r
17 Requests CPU to pause for a short period of time.\r
18\r
19 Requests CPU to pause for a short period of time. Typically used in MP\r
20 systems to prevent memory starvation while waiting for a spin lock.\r
21\r
22**/\r
23VOID\r
24EFIAPI\r
25CpuPause (\r
26 VOID\r
27 )\r
28{\r
29 RiscVCpuPause ();\r
30}\r