MdePkg/BaseSynchronizationLib: Fix function names in function headers

Some of the function names in function header comment blocks in
assembly files do not match the symbol name in the assembly sources.
Update function header comment blocks to match symbol name.

Cc: Liming Gao <liming.gao@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Andrew Fish <afish@apple.com>
Cc: Jeff Fan <jeff.fan@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Michael Kinney <michael.d.kinney@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
diff --git a/MdePkg/Library/BaseSynchronizationLib/X64/InterlockedCompareExchange16.asm b/MdePkg/Library/BaseSynchronizationLib/X64/InterlockedCompareExchange16.asm
index e891922..262adeb 100644
--- a/MdePkg/Library/BaseSynchronizationLib/X64/InterlockedCompareExchange16.asm
+++ b/MdePkg/Library/BaseSynchronizationLib/X64/InterlockedCompareExchange16.asm
@@ -27,7 +27,7 @@
 ;------------------------------------------------------------------------------

 ; UINT16

 ; EFIAPI

-; InterlockedCompareExchange16 (

+; InternalSyncCompareExchange16 (

 ;   IN      volatile UINT16           *Value,

 ;   IN      UINT16                    CompareValue,

 ;   IN      UINT16                    ExchangeValue

diff --git a/MdePkg/Library/BaseSynchronizationLib/X64/InterlockedCompareExchange16.nasm b/MdePkg/Library/BaseSynchronizationLib/X64/InterlockedCompareExchange16.nasm
index efe3249..eebed5a 100644
--- a/MdePkg/Library/BaseSynchronizationLib/X64/InterlockedCompareExchange16.nasm
+++ b/MdePkg/Library/BaseSynchronizationLib/X64/InterlockedCompareExchange16.nasm
@@ -28,7 +28,7 @@
 ;------------------------------------------------------------------------------

 ; UINT16

 ; EFIAPI

-; InterlockedCompareExchange16 (

+; InternalSyncCompareExchange16 (

 ;   IN      volatile UINT16           *Value,

 ;   IN      UINT16                    CompareValue,

 ;   IN      UINT16                    ExchangeValue

diff --git a/MdePkg/Library/BaseSynchronizationLib/X64/InterlockedCompareExchange32.asm b/MdePkg/Library/BaseSynchronizationLib/X64/InterlockedCompareExchange32.asm
index 269a3c7..711b399 100644
--- a/MdePkg/Library/BaseSynchronizationLib/X64/InterlockedCompareExchange32.asm
+++ b/MdePkg/Library/BaseSynchronizationLib/X64/InterlockedCompareExchange32.asm
@@ -26,7 +26,7 @@
 ;------------------------------------------------------------------------------

 ; UINT32

 ; EFIAPI

-; InterlockedCompareExchange32 (

+; InternalSyncCompareExchange32 (

 ;   IN      volatile UINT32           *Value,

 ;   IN      UINT32                    CompareValue,

 ;   IN      UINT32                    ExchangeValue

diff --git a/MdePkg/Library/BaseSynchronizationLib/X64/InterlockedCompareExchange32.nasm b/MdePkg/Library/BaseSynchronizationLib/X64/InterlockedCompareExchange32.nasm
index 31142d0..5ed4ba5 100644
--- a/MdePkg/Library/BaseSynchronizationLib/X64/InterlockedCompareExchange32.nasm
+++ b/MdePkg/Library/BaseSynchronizationLib/X64/InterlockedCompareExchange32.nasm
@@ -27,7 +27,7 @@
 ;------------------------------------------------------------------------------

 ; UINT32

 ; EFIAPI

-; InterlockedCompareExchange32 (

+; InternalSyncCompareExchange32 (

 ;   IN      volatile UINT32           *Value,

 ;   IN      UINT32                    CompareValue,

 ;   IN      UINT32                    ExchangeValue

diff --git a/MdePkg/Library/BaseSynchronizationLib/X64/InterlockedCompareExchange64.asm b/MdePkg/Library/BaseSynchronizationLib/X64/InterlockedCompareExchange64.asm
index 80d03fd..be429d8 100644
--- a/MdePkg/Library/BaseSynchronizationLib/X64/InterlockedCompareExchange64.asm
+++ b/MdePkg/Library/BaseSynchronizationLib/X64/InterlockedCompareExchange64.asm
@@ -26,7 +26,7 @@
 ;------------------------------------------------------------------------------

 ; UINT64

 ; EFIAPI

-; InterlockedCompareExchange64 (

+; InternalSyncCompareExchange64 (

 ;   IN      volatile UINT64           *Value,

 ;   IN      UINT64                    CompareValue,

 ;   IN      UINT64                    ExchangeValue

diff --git a/MdePkg/Library/BaseSynchronizationLib/X64/InterlockedCompareExchange64.nasm b/MdePkg/Library/BaseSynchronizationLib/X64/InterlockedCompareExchange64.nasm
index 819daed..2b268b6 100644
--- a/MdePkg/Library/BaseSynchronizationLib/X64/InterlockedCompareExchange64.nasm
+++ b/MdePkg/Library/BaseSynchronizationLib/X64/InterlockedCompareExchange64.nasm
@@ -27,7 +27,7 @@
 ;------------------------------------------------------------------------------

 ; UINT64

 ; EFIAPI

-; InterlockedCompareExchange64 (

+; InternalSyncCompareExchange64 (

 ;   IN      volatile UINT64           *Value,

 ;   IN      UINT64                    CompareValue,

 ;   IN      UINT64                    ExchangeValue

diff --git a/MdePkg/Library/BaseSynchronizationLib/X64/InterlockedDecrement.asm b/MdePkg/Library/BaseSynchronizationLib/X64/InterlockedDecrement.asm
index 23f03c4..4dc3886 100644
--- a/MdePkg/Library/BaseSynchronizationLib/X64/InterlockedDecrement.asm
+++ b/MdePkg/Library/BaseSynchronizationLib/X64/InterlockedDecrement.asm
@@ -26,7 +26,7 @@
 ;------------------------------------------------------------------------------

 ; UINT32

 ; EFIAPI

-; InterlockedDecrement (

+; InternalSyncDecrement (

 ;   IN      volatile UINT32           *Value

 ;   );

 ;------------------------------------------------------------------------------

diff --git a/MdePkg/Library/BaseSynchronizationLib/X64/InterlockedDecrement.nasm b/MdePkg/Library/BaseSynchronizationLib/X64/InterlockedDecrement.nasm
index 780d902..60f4311 100644
--- a/MdePkg/Library/BaseSynchronizationLib/X64/InterlockedDecrement.nasm
+++ b/MdePkg/Library/BaseSynchronizationLib/X64/InterlockedDecrement.nasm
@@ -27,7 +27,7 @@
 ;------------------------------------------------------------------------------

 ; UINT32

 ; EFIAPI

-; InterlockedDecrement (

+; InternalSyncDecrement (

 ;   IN      volatile UINT32           *Value

 ;   );

 ;------------------------------------------------------------------------------

diff --git a/MdePkg/Library/BaseSynchronizationLib/X64/InterlockedIncrement.asm b/MdePkg/Library/BaseSynchronizationLib/X64/InterlockedIncrement.asm
index 44f264f..fc086b6 100644
--- a/MdePkg/Library/BaseSynchronizationLib/X64/InterlockedIncrement.asm
+++ b/MdePkg/Library/BaseSynchronizationLib/X64/InterlockedIncrement.asm
@@ -26,7 +26,7 @@
 ;------------------------------------------------------------------------------

 ; UINT32

 ; EFIAPI

-; InterlockedIncrement (

+; InternalSyncIncrement (

 ;   IN      volatile UINT32           *Value

 ;   );

 ;------------------------------------------------------------------------------

diff --git a/MdePkg/Library/BaseSynchronizationLib/X64/InterlockedIncrement.nasm b/MdePkg/Library/BaseSynchronizationLib/X64/InterlockedIncrement.nasm
index e1c70a4..7f877b5 100644
--- a/MdePkg/Library/BaseSynchronizationLib/X64/InterlockedIncrement.nasm
+++ b/MdePkg/Library/BaseSynchronizationLib/X64/InterlockedIncrement.nasm
@@ -27,7 +27,7 @@
 ;------------------------------------------------------------------------------

 ; UINT32

 ; EFIAPI

-; InterlockedIncrement (

+; InternalSyncIncrement (

 ;   IN      volatile UINT32           *Value

 ;   );

 ;------------------------------------------------------------------------------