8354 sync regcomp(3C) with upstream (fix make catalog)
[unleashed/tickless.git] / usr / src / uts / intel / io / pci / pcihrt.h
blob7192eca2c54a92a9fd46bc88eea97db75f881586
1 /*
2 * CDDL HEADER START
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
7 * with the License.
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 * or http://www.opensolaris.org/os/licensing.
11 * See the License for the specific language governing permissions
12 * and limitations under the License.
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 * If applicable, add the following below this CDDL HEADER, with the
17 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner]
20 * CDDL HEADER END
23 * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
28 * pcihrt.h -- PCI Hot-Plug Resource Table
31 #ifndef _PCIHRT_H
32 #define _PCIHRT_H
34 #pragma ident "%Z%%M% %I% %E% SMI"
36 #ifdef __cplusplus
37 extern "C" {
38 #endif
40 struct hrt_hdr { /* PCI Hot-Plug Configuration Resource Table header */
41 uint32_t hrt_sig; /* $HRT */
42 uint16_t hrt_avail_imap; /* Bitmap of unused IRQs */
43 uint16_t hrt_used_imap; /* Bitmap of IRQs used by PCI */
44 uchar_t hrt_entry_cnt; /* no. of PCI hot-plug slot entries */
45 uchar_t hrt_ver; /* version no. = 1 */
46 uchar_t hrt_resv0; /* reserved */
47 uchar_t hrt_resv1; /* reserved */
48 uchar_t hrt_resv2; /* reserved */
49 uchar_t hrt_resv3; /* reserved */
50 uchar_t hrt_resv4; /* reserved */
51 uchar_t hrt_resv5; /* reserved */
54 struct php_entry { /* PCI hot-plug slot entry */
55 uchar_t php_devno; /* PCI dev/func no. of the slot */
56 uchar_t php_pri_bus; /* Primary bus of this slot */
57 uchar_t php_sec_bus; /* Secondary bus of this slot */
58 uchar_t php_subord_bus; /* Max Subordinate bus of this slot */
59 uint16_t php_io_start; /* allocated I/O space starting addr */
60 uint16_t php_io_size; /* allocated I/O space size in bytes */
61 uint16_t php_mem_start; /* allocated Memory space start addr */
62 uint16_t php_mem_size; /* allocated Memory space size in 64k */
63 uint16_t php_pfmem_start; /* allocated Prefetchable Memory start */
64 uint16_t php_pfmem_size; /* allocated Prefetchable size in 64k */
67 #ifdef __cplusplus
69 #endif
71 #endif /* _PCIHRT_H */