]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/IndustryStandard/WatchdogActionTable.h
Code have been checked with spec
[mirror_edk2.git] / MdePkg / Include / IndustryStandard / WatchdogActionTable.h
index e94061383dcb423c9a05cb5fbae64cba4dfb0b8f..ab67c3fd92da070a122514635ec219c08b10550c 100644 (file)
@@ -1,6 +1,6 @@
 /** @file   \r
   ACPI Watchdog Action Table (WADT) as defined at\r
 /** @file   \r
   ACPI Watchdog Action Table (WADT) as defined at\r
-  Microsoft Hardware Watchdog Timers Design Specification\r
+  Microsoft Hardware Watchdog Timers Design Specification.\r
 \r
   Copyright (c) 2008, Intel Corporation\r
   All rights reserved. This program and the accompanying materials                          \r
 \r
   Copyright (c) 2008, Intel Corporation\r
   All rights reserved. This program and the accompanying materials                          \r
 \r
 #include <IndustryStandard/Acpi.h>\r
 \r
 \r
 #include <IndustryStandard/Acpi.h>\r
 \r
+//\r
+// Ensure proper structure formats\r
+//\r
+#pragma pack(1)\r
 ///\r
 /// Watchdog Action Table definition.\r
 ///\r
 ///\r
 /// Watchdog Action Table definition.\r
 ///\r
@@ -49,6 +53,8 @@ typedef struct {
   UINT32                                  Mask;\r
 } EFI_ACPI_WATCHDOG_ACTION_1_0_WATCHDOG_ACTION_INSTRUCTION_ENTRY;\r
 \r
   UINT32                                  Mask;\r
 } EFI_ACPI_WATCHDOG_ACTION_1_0_WATCHDOG_ACTION_INSTRUCTION_ENTRY;\r
 \r
+#pragma pack()\r
+\r
 ///\r
 /// WDAT Revision (defined in spec)\r
 ///\r
 ///\r
 /// WDAT Revision (defined in spec)\r
 ///\r