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