]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/IndustryStandard/Acpi30.h
Refine code to make code follow the coding style.
[mirror_edk2.git] / MdePkg / Include / IndustryStandard / Acpi30.h
index 207f060bee6b708bc199038455e79c5ebb605ebd..5c6a5690fd1c2bef69bcd0ee46003b24539645ff 100644 (file)
@@ -1,8 +1,8 @@
 /** @file   \r
-  ACPI 3.0 definitions from the ACPI Specification Revision 3.0b October 10, 2006.\r
+  ACPI 3.0 definitions from the ACPI Specification Revision 3.0b October 10, 2006\r
 \r
-  Copyright (c) 2006 - 2008, Intel Corporation\r
-  All rights reserved. This program and the accompanying materials                          \r
+  Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>\r
+  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
   http://opensource.org/licenses/bsd-license.php                                            \r
@@ -31,8 +31,6 @@ typedef struct {
   UINT8   AccessSize;\r
   UINT64  Address;\r
 } EFI_ACPI_3_0_GENERIC_ADDRESS_STRUCTURE;\r
-     \r
-#pragma pack()\r
 \r
 //\r
 // Generic Address Space Address IDs\r
@@ -108,10 +106,6 @@ typedef struct {
 ///\r
 #define EFI_ACPI_3_0_EXTENDED_SYSTEM_DESCRIPTION_TABLE_REVISION 0x01\r
 \r
-//           \r
-// Ensure proper structure formats\r
-//           \r
-#pragma pack(1)\r
 ///\r
 /// Fixed ACPI Description Table Structure (FADT)\r
 ///\r
@@ -169,7 +163,6 @@ typedef struct {
   EFI_ACPI_3_0_GENERIC_ADDRESS_STRUCTURE  XGpe0Blk;\r
   EFI_ACPI_3_0_GENERIC_ADDRESS_STRUCTURE  XGpe1Blk;\r
 } EFI_ACPI_3_0_FIXED_ACPI_DESCRIPTION_TABLE;\r
-#pragma pack()\r
 \r
 ///\r
 /// FADT Version (as defined in ACPI 3.0 spec.)\r
@@ -372,11 +365,6 @@ typedef struct {
   UINT16  Flags;\r
   UINT32  GlobalSystemInterrupt;\r
 } EFI_ACPI_3_0_NON_MASKABLE_INTERRUPT_SOURCE_STRUCTURE;\r
-  \r
-//\r
-// Ensure proper structure formats\r
-//\r
-#pragma pack(1)\r
 \r
 ///\r
 /// Local APIC NMI Structure\r
@@ -399,8 +387,6 @@ typedef struct {
   UINT64  LocalApicAddress;\r
 } EFI_ACPI_3_0_LOCAL_APIC_ADDRESS_OVERRIDE_STRUCTURE;\r
 \r
-#pragma pack()\r
-\r
 ///\r
 /// IO SAPIC Structure\r
 ///\r
@@ -524,10 +510,6 @@ typedef struct {
 ///\r
 #define EFI_ACPI_3_0_PROCESSOR_LOCAL_APIC_SAPIC_ENABLED (1 << 0)\r
 \r
-//\r
-// Ensure proper structure formats\r
-//\r
-#pragma pack(1)\r
 ///\r
 /// Memory Affinity Structure Definition\r
 ///\r
@@ -545,8 +527,6 @@ typedef struct {
   UINT64  Reserved3;\r
 } EFI_ACPI_3_0_MEMORY_AFFINITY_STRUCTURE;\r
 \r
-#pragma pack()\r
-\r
 //\r
 // Memory Flags.  All other bits are reserved and must be 0.\r
 //\r
@@ -698,4 +678,6 @@ typedef struct {
 ///\r
 #define EFI_ACPI_3_0_ISCSI_BOOT_FIRMWARE_TABLE_SIGNATURE  SIGNATURE_32('i', 'B', 'F', 'T')\r
 \r
+#pragma pack()\r
+\r
 #endif\r