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
This commit is contained in:
bxing 2006-06-16 07:02:23 +00:00
parent ae86a0c2ed
commit 6fe251ad5c
2 changed files with 3 additions and 2 deletions

View File

@ -27,7 +27,7 @@
.code
;------------------------------------------------------------------------------
; VOID
; VOID *
; EFIAPI
; AsmFlushCacheLine (
; IN VOID *LinearAddress

View File

@ -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