]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/CpuDeadLoop.c
according to IA32 intel architecture spec, mwait instuction needs not the operands.
[mirror_edk2.git] / MdePkg / Library / BaseLib / CpuDeadLoop.c
index 325be96d934ac23b98807a5d3fc1d9351ef236e1..bf40c2dd8c8da3c578a61691e63e816e497dda06 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Base Library CPU Functions for all architectures.\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2008, Intel Corporation<BR>\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,9 +12,7 @@
 \r
 **/\r
 \r
-//\r
-// Include common header file for this module.\r
-//\r
+\r
 \r
 #include <Base.h>\r
 #include <Library/BaseLib.h>\r
@@ -36,5 +34,5 @@ CpuDeadLoop (
 {\r
   volatile UINTN  Index;\r
 \r
-  for (Index = 0; 0 == Index;);\r
+  for (Index = 0; Index == 0;);\r
 }\r