mirror of https://github.com/acidanthera/audk.git
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:
parent
ae86a0c2ed
commit
6fe251ad5c
|
@ -27,7 +27,7 @@
|
|||
.code
|
||||
|
||||
;------------------------------------------------------------------------------
|
||||
; VOID
|
||||
; VOID *
|
||||
; EFIAPI
|
||||
; AsmFlushCacheLine (
|
||||
; IN VOID *LinearAddress
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue