]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Ia32/ProcessorBind.h
Updated headers to follow coding standard
[mirror_edk2.git] / MdePkg / Include / Ia32 / ProcessorBind.h
index 2ed3a02ee3d1e20bed346e79c73e732d0319994d..61273e624ce6ae678073086abfe92b5f34757f4b 100644 (file)
@@ -10,8 +10,6 @@
   THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
   WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
 \r
-  Module Name:  ProcessorBind.h\r
-\r
 **/\r
 \r
 #ifndef __PROCESSOR_BIND_H__\r
 //\r
 #pragma warning ( disable : 4127 )\r
 \r
+//\r
+// This warning is caused by functions defined but not used. For precompiled header only.\r
+//\r
+#pragma warning ( disable : 4505 )\r
+\r
+//\r
+// This warning is caused by empty (after preprocessing) souce file. For precompiled header only.\r
+//\r
+#pragma warning ( disable : 4206 )\r
 \r
 #endif\r
 \r
@@ -137,6 +144,11 @@ typedef INT32   INTN;
 //\r
 #define MAX_ADDRESS   0xFFFFFFFF\r
 \r
+//\r
+// The stack alignment required for IA-32\r
+//\r
+#define CPU_STACK_ALIGNMENT   sizeof(UINTN)\r
+\r
 //\r
 // Modifier to ensure that all protocol member functions and EFI intrinsics\r
 // use the correct C calling convention. All protocol member functions and\r
@@ -165,3 +177,4 @@ typedef INT32   INTN;
 #endif\r
 \r
 #endif\r
+\r