summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseLib
diff options
context:
space:
mode:
authorbxing <bxing@6f19259b-4bc3-4df7-8a09-765794883524>2006-06-16 07:02:23 +0000
committerbxing <bxing@6f19259b-4bc3-4df7-8a09-765794883524>2006-06-16 07:02:23 +0000
commit6fe251ad5cb3cbb68ee183ea45ee16da40efcb6f (patch)
treee64fa3e3fe74b05b0bb7e9604a3f2660282a88fb /MdePkg/Library/BaseLib
parentae86a0c2ed1eb011019836897c3e592dab1ff347 (diff)
downloadedk2-6fe251ad5cb3cbb68ee183ea45ee16da40efcb6f.zip
edk2-6fe251ad5cb3cbb68ee183ea45ee16da40efcb6f.tar.gz
edk2-6fe251ad5cb3cbb68ee183ea45ee16da40efcb6f.tar.bz2
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/BaseLib')
-rw-r--r--MdePkg/Library/BaseLib/Ia32/FlushCacheLine.asm2
-rw-r--r--MdePkg/Library/BaseLib/X64/FlushCacheLine.asm3
2 files changed, 3 insertions, 2 deletions
diff --git a/MdePkg/Library/BaseLib/Ia32/FlushCacheLine.asm b/MdePkg/Library/BaseLib/Ia32/FlushCacheLine.asm
index d79f217..c1e6466 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 1d470e8..9978e73 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