2 This file contains some basic ACPI definitions that are consumed by drivers
3 that do not care about ACPI versions.
5 Copyright (c) 2006, Intel Corporation
6 All rights reserved. This program and the accompanying materials
7 are licensed and made available under the terms and conditions of the BSD License
8 which accompanies this distribution. The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
22 // Common table header, this prefaces all ACPI tables, including FACS, but
23 // excluding the RSD PTR structure
28 } EFI_ACPI_COMMON_HEADER
;
31 // Common ACPI description table header. This structure prefaces most ACPI tables.
44 UINT32 CreatorRevision
;
45 } EFI_ACPI_DESCRIPTION_HEADER
;
49 // Define for Pci Host Bridge Resource Allocation
51 #define ACPI_ADDRESS_SPACE_DESCRIPTOR 0x8A
52 #define ACPI_END_TAG_DESCRIPTOR 0x79
54 #define ACPI_ADDRESS_SPACE_TYPE_MEM 0x00
55 #define ACPI_ADDRESS_SPACE_TYPE_IO 0x01
56 #define ACPI_ADDRESS_SPACE_TYPE_BUS 0x02
59 // Make sure structures match spec
69 UINT64 AddrSpaceGranularity
;
72 UINT64 AddrTranslationOffset
;
74 } EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR
;
79 } EFI_ACPI_END_TAG_DESCRIPTOR
;
82 // General use definitions
84 #define EFI_ACPI_RESERVED_BYTE 0x00
85 #define EFI_ACPI_RESERVED_WORD 0x0000
86 #define EFI_ACPI_RESERVED_DWORD 0x00000000
87 #define EFI_ACPI_RESERVED_QWORD 0x0000000000000000