summaryrefslogtreecommitdiff
path: root/MdePkg/Include/IndustryStandard/Pci23.h
diff options
context:
space:
mode:
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2008-10-27 01:52:32 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2008-10-27 01:52:32 +0000
commitbc14bdb317105f282ca5e6543e97ae545dd681df (patch)
treeef82bdce16719c2dd9a9c56963324633082a347a /MdePkg/Include/IndustryStandard/Pci23.h
parentefe08f48c555f56f16b568098e4d7047ce1e7e84 (diff)
downloadedk2-platforms-bc14bdb317105f282ca5e6543e97ae545dd681df.tar.xz
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6240 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include/IndustryStandard/Pci23.h')
-rw-r--r--MdePkg/Include/IndustryStandard/Pci23.h42
1 files changed, 39 insertions, 3 deletions
diff --git a/MdePkg/Include/IndustryStandard/Pci23.h b/MdePkg/Include/IndustryStandard/Pci23.h
index 6ddd6970cd..e1289f75c6 100644
--- a/MdePkg/Include/IndustryStandard/Pci23.h
+++ b/MdePkg/Include/IndustryStandard/Pci23.h
@@ -1,7 +1,7 @@
/** @file
Support for PCI 2.3 standard.
- Copyright (c) 2006, Intel Corporation
+ Copyright (c) 2006 - 2008, Intel Corporation
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -15,10 +15,46 @@
#ifndef _PCI23_H_
#define _PCI23_H_
+#include <IndustryStandard/Pci22.h>
+
+///
+/// Definitions of PCI class bytes and manipulation macros.
+///
+#define PCI_IF_EHCI 0x20
+///
+/// defined in PCI Express Spec.
+///
#define PCI_EXP_MAX_CONFIG_OFFSET 0x1000
-#define EFI_PCI_CAPABILITY_ID_PCIEXP 0x10
-#include <IndustryStandard/Pci22.h>
+//
+// PCI Capability List IDs and records
+//
+#define EFI_PCI_CAPABILITY_ID_PCIX 0x07
+
+#pragma pack(1)
+///
+/// Capability EFI_PCI_CAPABILITY_ID_PCIX, defined in PCI-X Addendum to the PCI Local Bus Specification
+///
+typedef struct {
+ EFI_PCI_CAPABILITY_HDR Hdr;
+ UINT16 CommandReg;
+ UINT32 StatusReg;
+} EFI_PCI_CAPABILITY_PCIX;
+
+///
+/// Capability EFI_PCI_CAPABILITY_PCIX_BRDG, defined in PCI-X Addendum to the PCI Local Bus Specification
+///
+typedef struct {
+ EFI_PCI_CAPABILITY_HDR Hdr;
+ UINT16 SecStatusReg;
+ UINT32 StatusReg;
+ UINT32 SplitTransCtrlRegUp;
+ UINT32 SplitTransCtrlRegDn;
+} EFI_PCI_CAPABILITY_PCIX_BRDG;
+
+#pragma pack()
+
+#define PCI_CODE_TYPE_EFI_IMAGE 0x03
#endif