summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseLib/Ia32/FlushCacheLine.asm
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library/BaseLib/Ia32/FlushCacheLine.asm')
-rw-r--r--MdePkg/Library/BaseLib/Ia32/FlushCacheLine.asm2
1 files changed, 2 insertions, 0 deletions
diff --git a/MdePkg/Library/BaseLib/Ia32/FlushCacheLine.asm b/MdePkg/Library/BaseLib/Ia32/FlushCacheLine.asm
index a64f96bf7e..1979f6d9eb 100644
--- a/MdePkg/Library/BaseLib/Ia32/FlushCacheLine.asm
+++ b/MdePkg/Library/BaseLib/Ia32/FlushCacheLine.asm
@@ -39,7 +39,9 @@ AsmFlushCacheLine PROC
; then promote flush range to flush entire cache.
;
mov eax, 1
+ push ebx
cpuid
+ pop ebx
mov eax, [esp + 4]
test edx, BIT19
jz @F