BaseSynchronizationLib: Fix RISC-V helper name

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4143

Fix the name of InternalSyncCompareExchange64() function.

Signed-off-by: Sunil V L <sunilvl@ventanamicro.com>
Reported-by: Zhihao Li <zhihao.li@intel.com>
Tested-by: Zhihao Li <zhihao.li@intel.com>

Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Zhiguang Liu <zhiguang.liu@intel.com>
Cc: Daniel Schaefer <git@danielschaefer.me>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
This commit is contained in:
Sunil V L 2022-11-11 19:21:06 +08:00 committed by mergify[bot]
parent c8c978d328
commit b92e049522
2 changed files with 2 additions and 4 deletions

View File

@ -81,7 +81,7 @@
[Sources.RISCV64]
Synchronization.c
RiscV64/Synchronization.S
RiscV64/Synchronization.S | GCC
[Sources.LOONGARCH64]
Synchronization.c

View File

@ -36,8 +36,6 @@ exit:
mv a0, a3
ret
.global ASM_PFX(InternalSyncCompareExchange64)
//
// Compare and xchange a 64-bit value.
//
@ -45,7 +43,7 @@ exit:
// @param a1 : Compare value.
// @param a2 : Exchange value.
//
ASM_PFX (SyncCompareExchange64):
ASM_PFX (InternalSyncCompareExchange64):
lr.d a3, (a0) // Load the value from a0 and make
// the reservation of address.
bne a3, a1, exit