summaryrefslogtreecommitdiffstats
path: root/UefiCpuPkg
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2009-11-30 06:28:42 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2009-11-30 06:28:42 +0000
commit86973faa319a56d489d7ff0927682b5c232b6114 (patch)
treefb39042d253d6f84a560c2b694ee8cb7ef3011cd /UefiCpuPkg
parent0d34b1cfc73c48c08cb1eab81741e9ebd623a355 (diff)
downloadedk2-86973faa319a56d489d7ff0927682b5c232b6114.tar.gz
edk2-86973faa319a56d489d7ff0927682b5c232b6114.tar.bz2
edk2-86973faa319a56d489d7ff0927682b5c232b6114.zip
Update x64 version of InitializeFpu.asm to use raw op-codes instead of 'finit' so that some early version of MS assemblers can support.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9496 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'UefiCpuPkg')
-rw-r--r--UefiCpuPkg/Library/BaseUefiCpuLib/X64/InitializeFpu.asm5
1 files changed, 4 insertions, 1 deletions
diff --git a/UefiCpuPkg/Library/BaseUefiCpuLib/X64/InitializeFpu.asm b/UefiCpuPkg/Library/BaseUefiCpuLib/X64/InitializeFpu.asm
index 34c6de6f53..5098124a9c 100644
--- a/UefiCpuPkg/Library/BaseUefiCpuLib/X64/InitializeFpu.asm
+++ b/UefiCpuPkg/Library/BaseUefiCpuLib/X64/InitializeFpu.asm
@@ -41,7 +41,10 @@ InitializeFloatingPointUnits PROC PUBLIC
;
; Initialize floating point units
;
- finit
+ ; The following opcodes stand for instruction 'finit'
+ ; to be supported by some 64-bit assemblers
+ ;
+ DB 9Bh, 0DBh, 0E3h
fldcw mFpuControlWord
;