]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Ia32/ProcessorBind.h
Add #define CPU_STACK_ALIGNMENT to the ProcessorBind.h for each of the supported...
[mirror_edk2.git] / MdePkg / Include / Ia32 / ProcessorBind.h
index 2ed3a02ee3d1e20bed346e79c73e732d0319994d..b0a991ef815b3e3373afd3d85fed93799b79b55a 100644 (file)
 //\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 +146,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