]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Fixed incorrect syntax for immediate HEX value.
authorgeekboy15a <geekboy15a@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 8 Jan 2010 21:39:54 +0000 (21:39 +0000)
committergeekboy15a <geekboy15a@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 8 Jan 2010 21:39:54 +0000 (21:39 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9700 6f19259b-4bc3-4df7-8a09-765794883524

UefiCpuPkg/Library/BaseUefiCpuLib/Ia32/InitializeFpu.S
UefiCpuPkg/Library/BaseUefiCpuLib/X64/InitializeFpu.S

index 4c74957f04afaf6ef79288ab047bb30e02ab16a9..1d7bd21b6e9807ce36bcc12823587fe246a7a9b9 100644 (file)
@@ -1,6 +1,6 @@
 #------------------------------------------------------------------------------\r
 #*\r
-#*   Copyright 2009, Intel Corporation\r
+#*   Copyright 2009 - 2010, Intel Corporation\r
 #*   All rights reserved. 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
@@ -12,8 +12,6 @@
 #*\r
 #------------------------------------------------------------------------------\r
 \r
-\r
-\r
 #\r
 # Float control word initial value: \r
 # all exceptions masked, double-precision, round-to-nearest\r
@@ -57,7 +55,7 @@ ASM_PFX(InitializeFloatingPointUnits):
     # Set OSFXSR bit 9 in CR4\r
     #\r
     movl    %cr4, %eax \r
-    or      $200, %eax\r
+    or      $0x200, %eax\r
     movl    %eax, %cr4\r
     \r
     #\r
index bf8d1c13e46cc650b71a6a7515289c4fa9816075..db415872906ace8902f000a1c0d26932c6a4e1a5 100644 (file)
@@ -41,7 +41,7 @@ ASM_PFX(InitializeFloatingPointUnits):
     # Set OSFXSR bit 9 in CR4
     #
     movq    %cr4, %rax 
-    or      $200, %rax
+    or      $0x200, %rax
     movq    %rax, %cr4
 
     #