acpi_pci.h (5c59319b) acpi_pci.h (7b1019a6)
1/*
2 * CDDL HEADER START
3 *
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.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 7 unchanged lines hidden (view full) ---

16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 *
19 * CDDL HEADER END
20 */
21/*
22 * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
23 * Use is subject to license terms.
1/*
2 * CDDL HEADER START
3 *
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.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 7 unchanged lines hidden (view full) ---

16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 *
19 * CDDL HEADER END
20 */
21/*
22 * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
23 * Use is subject to license terms.
24 * Copyright 2016 Joyent, Inc.
24 */
25
26#ifndef _ACPI_PCI_H
27#define _ACPI_PCI_H
28
29#ifdef __cplusplus
30extern "C" {
31#endif
32
33/*
34 * Memory mapped configuration space address description table documented
25 */
26
27#ifndef _ACPI_PCI_H
28#define _ACPI_PCI_H
29
30#ifdef __cplusplus
31extern "C" {
32#endif
33
34/*
35 * Memory mapped configuration space address description table documented
35 * in ACPI 3.0. These definitions are currently not included in the
36 * actbl.h from Intel. This file will need to be removed once Intel has
37 * updated their include file with these information.
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.
38 */
39 */
39#define MCFG_SIG "MCFG" /* Memory mapped config space address */
40 /* description table's signature */
41
42#pragma pack(1)
43
44typedef struct cfg_base_addr_alloc {
45 UINT64 base_addr;
46 UINT16 segment;
47 UINT8 start_bno;
48 UINT8 end_bno;
49 UINT32 reserved;

--- 24 unchanged lines hidden ---
40#pragma pack(1)
41
42typedef struct cfg_base_addr_alloc {
43 UINT64 base_addr;
44 UINT16 segment;
45 UINT8 start_bno;
46 UINT8 end_bno;
47 UINT32 reserved;

--- 24 unchanged lines hidden ---