X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FLibrary%2FBaseLib%2FX64%2FFlushCacheLine.asm;h=9978e734aa52e40b430e762e7f524c96f9256067;hp=1d470e8753e34d0d378e8f229529f895d6119061;hb=6fe251ad5cb3cbb68ee183ea45ee16da40efcb6f;hpb=ae86a0c2ed1eb011019836897c3e592dab1ff347 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