]> git.proxmox.com Git - mirror_edk2.git/commit
BaseUefiCpuLib: Preserve EBX register in InitializeFloatingPointUnits
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 16 Dec 2009 23:29:20 +0000 (23:29 +0000)
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 16 Dec 2009 23:29:20 +0000 (23:29 +0000)
commitd6d8e8925fbe83c353ffde27dcf35b77c22ec12d
tree8ca5a4073b0003fa3a991b275356b296d4b49354
parent0913fadc1af9edf545d5dd4120e0a708dfb73af0
BaseUefiCpuLib: Preserve EBX register in InitializeFloatingPointUnits

The EBX register should be preserved for the IA32 C calling convention.
The use of the CPUID instruction was modifying the EBX register, so
we push and pop EBX.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9573 6f19259b-4bc3-4df7-8a09-765794883524
UefiCpuPkg/Library/BaseUefiCpuLib/Ia32/InitializeFpu.S
UefiCpuPkg/Library/BaseUefiCpuLib/Ia32/InitializeFpu.asm