diff options
author | bxing <bxing@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-06-16 07:02:23 +0000 |
---|---|---|
committer | bxing <bxing@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-06-16 07:02:23 +0000 |
commit | 6fe251ad5cb3cbb68ee183ea45ee16da40efcb6f (patch) | |
tree | e64fa3e3fe74b05b0bb7e9604a3f2660282a88fb /MdePkg/Library | |
parent | ae86a0c2ed1eb011019836897c3e592dab1ff347 (diff) | |
download | edk2-platforms-6fe251ad5cb3cbb68ee183ea45ee16da40efcb6f.tar.xz |
Updated CpuFlushCacheLine() to return the address flushed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@535 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library')
-rw-r--r-- | MdePkg/Library/BaseLib/Ia32/FlushCacheLine.asm | 2 | ||||
-rw-r--r-- | MdePkg/Library/BaseLib/X64/FlushCacheLine.asm | 3 |
2 files changed, 3 insertions, 2 deletions
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
|