diff options
author | Ruiyu Ni <ruiyu.ni@intel.com> | 2017-01-25 15:18:13 +0800 |
---|---|---|
committer | Ruiyu Ni <ruiyu.ni@intel.com> | 2017-02-10 16:52:00 +0800 |
commit | 35a461cb502877670062560e1edd231aeb35f738 (patch) | |
tree | 84194395b49e728d9e2d40d828f1c2629c9cfedc /BaseTools/License.txt | |
parent | a419fd0d2934b640fdd2381b2706aded7bdfb5ca (diff) | |
download | edk2-platforms-35a461cb502877670062560e1edd231aeb35f738.tar.xz |
MdePkg/Pci22.h: Deprecate out-of-Spec IncompatiblePciDevice macros
DEVICE_ID_NOCARE is defined as 0xFFFF but Spec says (UINT64) -1
should be used to match any VendorId/DeviceId/RevisionId/
SubsystemVendorId/SubsystemDeviceId.
PCI_BAR_OLD_ALIGN/PCI_BAR_EVEN_ALIGN/PCI_BAR_SQUAD_ALIGN/
PCI_BAR_DQUAD_ALIGN are defined but Spec doesn't have such
definitions.
PCI_BAR_ALL is defined as 0xFF but Spec says (UINT64)-1 should be
used to match all BARs.
PCI_ACPI_UNUSED and PCI_BAR_NOCHANGE are defined as 0 which
compliant with Spec but the name is too general and causes confusing.
IncompatiblePciDeviceSupport could directly use 0.
All of the above macros are marked as deprecated.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Cc: Jeff Fan <jeff.fan@intel.com>
Diffstat (limited to 'BaseTools/License.txt')
0 files changed, 0 insertions, 0 deletions