X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FLibrary%2FBaseLib%2FRiscV64%2FRiscVCpuPause.S;fp=MdePkg%2FLibrary%2FBaseLib%2FRiscV64%2FRiscVCpuPause.S;h=6660c2fcb363c03a7c07b146e4a7ac5cfed0946b;hp=0000000000000000000000000000000000000000;hb=7601b251fd5cfd6cd70d40bc9c88b3b371143654;hpb=d3abb40d77e770e07708a31e757d8f11e513293c diff --git a/MdePkg/Library/BaseLib/RiscV64/RiscVCpuPause.S b/MdePkg/Library/BaseLib/RiscV64/RiscVCpuPause.S new file mode 100644 index 0000000000..6660c2fcb3 --- /dev/null +++ b/MdePkg/Library/BaseLib/RiscV64/RiscVCpuPause.S @@ -0,0 +1,14 @@ +//------------------------------------------------------------------------------ +// +// CpuPause for RISC-V +// +// Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.
+// +// SPDX-License-Identifier: BSD-2-Clause-Patent +// +//------------------------------------------------------------------------------ + +ASM_GLOBAL ASM_PFX(RiscVCpuPause) +ASM_PFX(RiscVCpuPause): + nop + ret