mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-24 06:04:52 +02:00
Fix CpuIdEx.asm to return correct ECX/EDX value.
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14134 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
862379feff
commit
4e6b101f3d
@ -1,6 +1,6 @@
|
|||||||
;------------------------------------------------------------------------------
|
;------------------------------------------------------------------------------
|
||||||
;
|
;
|
||||||
; Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>
|
; Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>
|
||||||
; This program and the accompanying materials
|
; This program and the accompanying materials
|
||||||
; are licensed and made available under the terms and conditions of the BSD License
|
; are licensed and made available under the terms and conditions of the BSD License
|
||||||
; which accompanies this distribution. The full text of the license may be found at
|
; which accompanies this distribution. The full text of the license may be found at
|
||||||
@ -56,7 +56,7 @@ AsmCpuidEx PROC USES ebx
|
|||||||
jecxz @F
|
jecxz @F
|
||||||
mov [ecx], edx
|
mov [ecx], edx
|
||||||
@@:
|
@@:
|
||||||
mov edx, [ebp + 28]
|
mov ecx, [ebp + 28]
|
||||||
jecxz @F
|
jecxz @F
|
||||||
pop [ecx]
|
pop [ecx]
|
||||||
@@:
|
@@:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user