This file contains the latest ACPI definitions that are\r
consumed by drivers that do not care about ACPI versions.\r
\r
- Copyright (c) 2006, 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
#ifndef _ACPI_H_\r
#define _ACPI_H_\r
\r
-#include <IndustryStandard/Acpi3_0.h>\r
+#include <IndustryStandard/Acpi30.h>\r
\r
#endif\r
/** @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
/** @file \r
ACPI 2.0 definitions from the ACPI Specification, revision 2.0\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
// Ensure proper structure formats\r
//\r
#pragma pack(1)\r
-//\r
-// ACPI Specification Revision\r
-//\r
-#define EFI_ACPI_2_0_REVISION 0x02\r
\r
///\r
/// ACPI 2.0 Generic Address Space definition\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
// Extended System Description Table\r
-// No definition needed as it is a common description table header followed by a\r
-// variable number of UINT64 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 UINT64 table pointers.\r
//\r
\r
///\r
/** @file \r
- ACPI 3.0 definitions from the ACPI Specification Revision 3.0 September 2, 2004\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
//\r
#pragma pack(1)\r
\r
-///\r
-/// ACPI Specification Revision\r
-///\r
-#define EFI_ACPI_3_0_REVISION 0x03\r
-\r
///\r
/// ACPI 3.0 Generic Address Space definition\r
///\r
} EFI_ACPI_3_0_ROOT_SYSTEM_DESCRIPTION_POINTER;\r
\r
///\r
-/// RSD_PTR Revision (as defined in ACPI 3.0 spec.)\r
+/// RSD_PTR Revision (as defined in ACPI 3.0b spec.)\r
///\r
-#define EFI_ACPI_3_0_ROOT_SYSTEM_DESCRIPTION_POINTER_REVISION 0x02 // ACPISpec30 (Revision 3.0 September 2, 2004) says current value is 2\r
+#define EFI_ACPI_3_0_ROOT_SYSTEM_DESCRIPTION_POINTER_REVISION 0x02 ///< ACPISpec (Revision 3.0b) says current value is 2\r
\r
///\r
/// Common table header, this prefaces all ACPI tables, including FACS, but\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
// Extended System Description Table\r
-// No definition needed as it is a common description table header followed by a\r
-// variable number of UINT64 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 UINT64 table pointers.\r
//\r
\r
///\r
// Differentiated System Description Table,\r
// Secondary System Description Table\r
// and Persistent System Description Table,\r
-// no definition needed as they are common description table header followed by a\r
-// definition block.\r
+// no definition needed as they are common description table header, the same with\r
+// EFI_ACPI_DESCRIPTION_HEADER, followed by a definition block.\r
//\r
#define EFI_ACPI_3_0_DIFFERENTIATED_SYSTEM_DESCRIPTION_TABLE_REVISION 0x02\r
#define EFI_ACPI_3_0_SECONDARY_SYSTEM_DESCRIPTION_TABLE_REVISION 0x02\r