/** @file \r
ACPI 1.0b definitions from the ACPI Specification, revision 1.0b\r
\r
- Copyright (c) 2006 - 2007, Intel Corporation\r
+ Copyright (c) 2006 - 2008, Intel Corporation\r
All rights reserved. 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
\r
#pragma pack()\r
//\r
-// Define for Pci Host Bridge Resource Allocation\r
+// Define for Desriptor\r
//\r
#define ACPI_ADDRESS_SPACE_DESCRIPTOR 0x8A\r
#define ACPI_END_TAG_DESCRIPTOR 0x79\r
\r
+//\r
+// Resource Type\r
+//\r
#define ACPI_ADDRESS_SPACE_TYPE_MEM 0x00\r
#define ACPI_ADDRESS_SPACE_TYPE_IO 0x01\r
#define ACPI_ADDRESS_SPACE_TYPE_BUS 0x02\r
///\r
#define ACPI_TIMER_FREQUENCY 3579545\r
\r
+\r
//\r
-// Make sure structures match spec\r
+// The commond definition of QWORD, DWORD, and WORD\r
+// Address Space Descriptors\r
//\r
-#pragma pack(1)\r
-\r
typedef struct {\r
UINT8 Desc;\r
UINT16 Len;\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
-#pragma pack()\r
-\r
-\r
//\r
// Ensure proper structure formats\r
//\r
\r
//\r
// Root System Description Table\r
-// No definition needed as it is a common description table header followed by a\r
-// variable number of UINT32 table pointers.\r
+// No definition needed as it is a common description table header, the same with \r
+// EFI_ACPI_DESCRIPTION_HEADER, followed by a variable number of UINT32 table pointers.\r
//\r
\r
///\r
\r
//\r
// Multiple APIC Description Table APIC structure types\r
-// All other values between 0x09 an 0xFF are reserved and\r
+// All other values between 0x05 an 0xFF are reserved and\r
// will be ignored by OSPM.\r
//\r
#define EFI_ACPI_1_0_PROCESSOR_LOCAL_APIC 0x00\r