diff --git a/MdePkg/Library/BaseLib/Ia32/FlushCacheLine.asm b/MdePkg/Library/BaseLib/Ia32/FlushCacheLine.asm index d79f217610..c1e6466d04 100644 --- a/MdePkg/Library/BaseLib/Ia32/FlushCacheLine.asm +++ b/MdePkg/Library/BaseLib/Ia32/FlushCacheLine.asm @@ -27,7 +27,7 @@ .code ;------------------------------------------------------------------------------ -; VOID +; VOID * ; EFIAPI ; AsmFlushCacheLine ( ; IN VOID *LinearAddress diff --git a/MdePkg/Library/BaseLib/X64/FlushCacheLine.asm b/MdePkg/Library/BaseLib/X64/FlushCacheLine.asm index 1d470e8753..9978e734aa 100644 --- a/MdePkg/Library/BaseLib/X64/FlushCacheLine.asm +++ b/MdePkg/Library/BaseLib/X64/FlushCacheLine.asm @@ -24,7 +24,7 @@ .code ;------------------------------------------------------------------------------ -; VOID +; VOID * ; EFIAPI ; AsmFlushCacheLine ( ; IN VOID *LinearAddress @@ -32,6 +32,7 @@ ;------------------------------------------------------------------------------ AsmFlushCacheLine PROC clflush [rcx] + mov rax, rcx ret AsmFlushCacheLine ENDP