1881Sjohnny /* 2881Sjohnny * CDDL HEADER START 3881Sjohnny * 4881Sjohnny * The contents of this file are subject to the terms of the 5*8772SDan.Mick@Sun.COM * Common Development and Distribution License (the "License"). 6*8772SDan.Mick@Sun.COM * You may not use this file except in compliance with the License. 7881Sjohnny * 8881Sjohnny * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9881Sjohnny * or http://www.opensolaris.org/os/licensing. 10881Sjohnny * See the License for the specific language governing permissions 11881Sjohnny * and limitations under the License. 12881Sjohnny * 13881Sjohnny * When distributing Covered Code, include this CDDL HEADER in each 14881Sjohnny * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15881Sjohnny * If applicable, add the following below this CDDL HEADER, with the 16881Sjohnny * fields enclosed by brackets "[]" replaced with your own identifying 17881Sjohnny * information: Portions Copyright [yyyy] [name of copyright owner] 18881Sjohnny * 19881Sjohnny * CDDL HEADER END 20881Sjohnny */ 21881Sjohnny /* 22*8772SDan.Mick@Sun.COM * Copyright 2009 Sun Microsystems, Inc. All rights reserved. 23881Sjohnny * Use is subject to license terms. 24881Sjohnny */ 25881Sjohnny 26881Sjohnny #ifndef _ACPI_PCI_H 27881Sjohnny #define _ACPI_PCI_H 28881Sjohnny 29881Sjohnny #ifdef __cplusplus 30881Sjohnny extern "C" { 31881Sjohnny #endif 32881Sjohnny 33881Sjohnny /* 34881Sjohnny * Memory mapped configuration space address description table documented 35881Sjohnny * in ACPI 3.0. These definitions are currently not included in the 36881Sjohnny * actbl.h from Intel. This file will need to be removed once Intel has 37881Sjohnny * updated their include file with these information. 38881Sjohnny */ 39881Sjohnny #define MCFG_SIG "MCFG" /* Memory mapped config space address */ 40881Sjohnny /* description table's signature */ 41881Sjohnny 42881Sjohnny #pragma pack(1) 43881Sjohnny 44881Sjohnny typedef struct cfg_base_addr_alloc { 45881Sjohnny UINT64 base_addr; 46*8772SDan.Mick@Sun.COM UINT16 segment; 47881Sjohnny UINT8 start_bno; 48881Sjohnny UINT8 end_bno; 49881Sjohnny UINT32 reserved; 50881Sjohnny } CFG_BASE_ADDR_ALLOC; 51881Sjohnny 52881Sjohnny typedef struct mcfg_table { 53881Sjohnny char Signature[4]; /* MCFG signature */ 54881Sjohnny UINT32 Length; /* Length of table, in bytes */ 55881Sjohnny UINT8 Revision; /* ACPI Specification minor version # */ 56881Sjohnny UINT8 Checksum; /* To make sum of entire table == 0 */ 57881Sjohnny char OemId[6]; /* OEM identification */ 58881Sjohnny char OemTableId[8]; /* OEM table identification */ 59881Sjohnny UINT32 OemRevision; /* OEM revision number */ 60881Sjohnny char CreatorId[4]; /* Table creator vendor Id */ 61881Sjohnny UINT32 CreatorRevision; /* Table creator utility revision no */ 62881Sjohnny UINT8 Reserved[8]; /* Reserved */ 63881Sjohnny /* List of memory mapped cfg base address allocation structures */ 64881Sjohnny CFG_BASE_ADDR_ALLOC CfgBaseAddrAllocList[1]; 65881Sjohnny } MCFG_TABLE; 66881Sjohnny 67881Sjohnny #pragma pack() 68881Sjohnny 69881Sjohnny #ifdef __cplusplus 70881Sjohnny } 71881Sjohnny #endif 72881Sjohnny 73881Sjohnny #endif /* _ACPI_PCI_H */ 74