]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UefiCpuPkg/Library/BaseUefiCpuLib/X64/InitializeFpu.asm
UefiCpuPkg: Use FINIT instead of hex values
[mirror_edk2.git] / UefiCpuPkg / Library / BaseUefiCpuLib / X64 / InitializeFpu.asm
index 0a036b6ae39cb17dfcef6d0f2ab006faeb237984..331af15cc666401f54a8399239504d952fe13148 100644 (file)
@@ -1,6 +1,6 @@
 ;------------------------------------------------------------------------------\r
 ;*\r
-;*   Copyright (c) 2009, Intel Corporation. All rights reserved.<BR>\r
+;*   Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR>\r
 ;*   This program and the accompanying materials\r
 ;*   are licensed and made available under the terms and conditions of the BSD License\r
 ;*   which accompanies this distribution.  The full text of the license may be found at\r
@@ -16,9 +16,9 @@
 .const\r
 ;\r
 ; Float control word initial value: \r
-; all exceptions masked, double-precision, round-to-nearest\r
+; all exceptions masked, double-extended-precision, round-to-nearest\r
 ;\r
-mFpuControlWord       DW      027Fh\r
+mFpuControlWord       DW      037Fh\r
 ;\r
 ; Multimedia-extensions control word:\r
 ; all exceptions masked, round-to-nearest, flush to zero for masked underflow\r
@@ -28,13 +28,13 @@ mMmxControlWord       DD      01F80h
 .code\r
 \r
 \r
-;
+;\r
 ; Initializes floating point units for requirement of UEFI specification.\r
 ;\r
 ; This function initializes floating-point control word to 0x027F (all exceptions\r
 ; masked,double-precision, round-to-nearest) and multimedia-extensions control word\r
 ; (if supported) to 0x1F80 (all exceptions masked, round-to-nearest, flush to zero\r
-; for masked underflow).
+; for masked underflow).\r
 ;\r
 InitializeFloatingPointUnits PROC PUBLIC\r
 \r