]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Include/IndustryStandard/Pci23.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6240 6f19259b...
[mirror_edk2.git] / MdePkg / Include / IndustryStandard / Pci23.h
1 /** @file
2 Support for PCI 2.3 standard.
3
4 Copyright (c) 2006 - 2008, Intel Corporation
5 All rights reserved. This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
9
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12
13 **/
14
15 #ifndef _PCI23_H_
16 #define _PCI23_H_
17
18 #include <IndustryStandard/Pci22.h>
19
20 ///
21 /// Definitions of PCI class bytes and manipulation macros.
22 ///
23 #define PCI_IF_EHCI 0x20
24
25 ///
26 /// defined in PCI Express Spec.
27 ///
28 #define PCI_EXP_MAX_CONFIG_OFFSET 0x1000
29
30 //
31 // PCI Capability List IDs and records
32 //
33 #define EFI_PCI_CAPABILITY_ID_PCIX 0x07
34
35 #pragma pack(1)
36 ///
37 /// Capability EFI_PCI_CAPABILITY_ID_PCIX, defined in PCI-X Addendum to the PCI Local Bus Specification
38 ///
39 typedef struct {
40 EFI_PCI_CAPABILITY_HDR Hdr;
41 UINT16 CommandReg;
42 UINT32 StatusReg;
43 } EFI_PCI_CAPABILITY_PCIX;
44
45 ///
46 /// Capability EFI_PCI_CAPABILITY_PCIX_BRDG, defined in PCI-X Addendum to the PCI Local Bus Specification
47 ///
48 typedef struct {
49 EFI_PCI_CAPABILITY_HDR Hdr;
50 UINT16 SecStatusReg;
51 UINT32 StatusReg;
52 UINT32 SplitTransCtrlRegUp;
53 UINT32 SplitTransCtrlRegDn;
54 } EFI_PCI_CAPABILITY_PCIX_BRDG;
55
56 #pragma pack()
57
58 #define PCI_CODE_TYPE_EFI_IMAGE 0x03
59
60 #endif