/** @file \r
- ACPI 1.0b definitions from the ACPI Specification, revision 1.0b\r
+ ACPI 1.0b definitions from the ACPI Specification, revision 1.0b\r
\r
Copyright (c) 2006 - 2008, Intel Corporation\r
All rights reserved. This program and the accompanying materials \r
/// The commond definition of QWORD, DWORD, and WORD\r
/// Address Space Descriptors\r
///\r
-typedef struct {\r
+typedef PACKED struct {\r
UINT8 Desc;\r
UINT16 Len;\r
UINT8 ResType;\r
\r
#pragma pack()\r
\r
+///\r
+/// the End tag identifies an end of resource data.\r
+///\r
typedef struct {\r
UINT8 Desc;\r
UINT8 Checksum;\r
#define EFI_ACPI_MEMORY_RESOURCE_SPECIFIC_FLAG_TYPE_TRANSLATION (1 << 5)\r
#define EFI_ACPI_MEMORY_RESOURCE_SPECIFIC_FLAG_TYPE_STATIC (0 << 5)\r
\r
+//\r
+// Ensure proper structure formats\r
+//\r
+#pragma pack(1)\r
//\r
// ACPI 1.0b table structures\r
//\r
UINT32 GlobalSystemInterruptVector;\r
} EFI_ACPI_1_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
///\r
UINT8 LocalApicInti;\r
} EFI_ACPI_1_0_LOCAL_APIC_NMI_STRUCTURE;\r
\r
-#pragma pack()\r
-\r
///\r
/// Smart Battery Description Table (SBST)\r
///\r
///\r
#define EFI_ACPI_1_0_SECONDARY_SYSTEM_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('S', 'S', 'D', 'T')\r
\r
+#pragma pack()\r
+\r
#endif\r