aboutsummaryrefslogtreecommitdiffstats
path: root/roms/edk2/MdePkg/Library/BaseLib/RiscV64/RiscVCpuPause.S
diff options
context:
space:
mode:
Diffstat (limited to 'roms/edk2/MdePkg/Library/BaseLib/RiscV64/RiscVCpuPause.S')
-rw-r--r--roms/edk2/MdePkg/Library/BaseLib/RiscV64/RiscVCpuPause.S14
1 files changed, 14 insertions, 0 deletions
diff --git a/roms/edk2/MdePkg/Library/BaseLib/RiscV64/RiscVCpuPause.S b/roms/edk2/MdePkg/Library/BaseLib/RiscV64/RiscVCpuPause.S
new file mode 100644
index 000000000..6660c2fcb
--- /dev/null
+++ b/roms/edk2/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.<BR>
+//
+// SPDX-License-Identifier: BSD-2-Clause-Patent
+//
+//------------------------------------------------------------------------------
+
+ASM_GLOBAL ASM_PFX(RiscVCpuPause)
+ASM_PFX(RiscVCpuPause):
+ nop
+ ret