dmake: do not set MAKEFLAGS=k
[unleashed/tickless.git] / arch / x86 / include / sys / acpi / acpi_pci.h
blobb4fd3393ab986d1f614c8a486094752564f74375
1 /*
2 * CDDL HEADER START
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 * or http://www.opensolaris.org/os/licensing.
10 * See the License for the specific language governing permissions
11 * and limitations under the License.
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
19 * CDDL HEADER END
22 * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
23 * Use is subject to license terms.
24 * Copyright 2016 Joyent, Inc.
27 #ifndef _ACPI_PCI_H
28 #define _ACPI_PCI_H
30 #ifdef __cplusplus
31 extern "C" {
32 #endif
35 * Memory mapped configuration space address description table documented
36 * in ACPI 3.0. These definitions are currently not the same as in the
37 * actbl2.h from Intel. This file might be removed if the code can be ported
38 * to use the definition provided by Intel.
40 #pragma pack(1)
42 typedef struct cfg_base_addr_alloc {
43 UINT64 base_addr;
44 UINT16 segment;
45 UINT8 start_bno;
46 UINT8 end_bno;
47 UINT32 reserved;
48 } CFG_BASE_ADDR_ALLOC;
50 typedef struct mcfg_table {
51 char Signature[4]; /* MCFG signature */
52 UINT32 Length; /* Length of table, in bytes */
53 UINT8 Revision; /* ACPI Specification minor version # */
54 UINT8 Checksum; /* To make sum of entire table == 0 */
55 char OemId[6]; /* OEM identification */
56 char OemTableId[8]; /* OEM table identification */
57 UINT32 OemRevision; /* OEM revision number */
58 char CreatorId[4]; /* Table creator vendor Id */
59 UINT32 CreatorRevision; /* Table creator utility revision no */
60 UINT8 Reserved[8]; /* Reserved */
61 /* List of memory mapped cfg base address allocation structures */
62 CFG_BASE_ADDR_ALLOC CfgBaseAddrAllocList[1];
63 } MCFG_TABLE;
65 #pragma pack()
67 #ifdef __cplusplus
69 #endif
71 #endif /* _ACPI_PCI_H */