Disable the warning of bitfield
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 27 Jun 2007 04:59:16 +0000 (04:59 +0000)
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 27 Jun 2007 04:59:16 +0000 (04:59 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2768 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Include/IndustryStandard/Pal.h

index 4f079ad..f260172 100644 (file)
 //\r
 // IPF Specific Functions\r
 //\r
-\r
+#ifdef _MSC_VER\r
+//\r
+// Disabling bitfield type checking warnings.\r
+//\r
+#pragma warning ( disable : 4214 )\r
+#endif\r
+  \r
 typedef struct {\r
   UINT64                    Status;\r
   UINT64                    r9;\r
@@ -140,6 +146,7 @@ typedef struct {
        UINT64  AliasBoundary:8;\r
        UINT64  TagLsBits:8;\r
        UINT64  TagMsBits:8;\r
+       UINT64  Reserve:8;\r
 } PAL_CACHE_INFO_RETURN2;\r
 \r
 /**\r