]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UefiCpuPkg/Library/BaseUefiCpuLib/Ia32/InitializeFpu.asm
Update the copyright notice format
[mirror_edk2.git] / UefiCpuPkg / Library / BaseUefiCpuLib / Ia32 / InitializeFpu.asm
index 55244c72a9ee8e4e5912cd77f8196a365e506cc8..3c31da98f69910e7388a2c44cfeec55d1b00dbff 100644 (file)
@@ -1,7 +1,7 @@
 ;------------------------------------------------------------------------------\r
 ;*\r
-;*   Copyright 2009, Intel Corporation\r
-;*   All rights reserved. This program and the accompanying materials\r
+;*   Copyright (c) 2009, 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
 ;*   http://opensource.org/licenses/bsd-license.php\r
@@ -30,15 +30,18 @@ mMmxControlWord       DD      01F80h
     .xmm\r
     .code\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
+    push    ebx\r
+\r
     ;\r
     ; Initialize floating point units\r
     ;\r
@@ -67,6 +70,7 @@ InitializeFloatingPointUnits PROC PUBLIC
     ;\r
     ldmxcsr mMmxControlWord\r
 Done:\r
+    pop     ebx\r
 \r
     ret\r
 \r