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>
\r
[Sources.RISCV64]\r
Synchronization.c\r
- RiscV64/Synchronization.S\r
+ RiscV64/Synchronization.S | GCC\r
\r
[Sources.LOONGARCH64]\r
Synchronization.c\r
mv a0, a3\r
ret\r
\r
-.global ASM_PFX(InternalSyncCompareExchange64)\r
-\r
//\r
// Compare and xchange a 64-bit value.\r
//\r
// @param a1 : Compare value.\r
// @param a2 : Exchange value.\r
//\r
-ASM_PFX (SyncCompareExchange64):\r
+ASM_PFX (InternalSyncCompareExchange64):\r
lr.d a3, (a0) // Load the value from a0 and make\r
// the reservation of address.\r
bne a3, a1, exit\r