audk/MdePkg/Include/IndustryStandard
Ruiyu Ni 400a59737f MdePkg/PciExpress21.h: Fix typo in PCI_REG_PCIE_SLOT_CONTROL
PCI_REG_PCIE_SLOT_CONTROL contains a typo. It is defined as:
typedef union {
  struct {
    UINT32 AttentionButtonPressed : 1;
    UINT32 ...
    ...
  } Bits;
  UINT16   Uint16;
} PCI_REG_PCIE_SLOT_CONTROL;

The bit field data type should be UINT16 instead of UINT32,
results sizeof (PCI_REG_PCIE_SLOT_CONTROL) equals to 4 instead of 2.

Because this structure is used in PCI_CAPABILITY_PCIEXP as below:
typedef struct {
  ...
  PCI_REG_PCIE_SLOT_CONTROL       SlotControl;
  PCI_REG_PCIE_SLOT_STATUS        SlotStatus;
} PCI_CAPABILITY_PCIEXP;

It cause the OFFSET_OF (PCI_CAPABILITY_PCIEXP, SlotStatus) equal
to a wrong value.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
2017-11-08 12:46:50 +08:00
..
Acpi.h MdePkg: Add definitions for ACPI 6.2 2017-10-10 20:47:24 +08:00
Acpi10.h
Acpi20.h
Acpi30.h
Acpi40.h
Acpi50.h
Acpi51.h MdePkg ACPI51: Update GIC version per ACPI 5.1 Errata B 2016-10-26 13:45:20 +08:00
Acpi60.h MdePkg ACPI: Incorrect definition name for ACPI IORT Table signature 2017-02-14 08:43:33 +08:00
Acpi61.h MdePkg ACPI: Incorrect definition name for ACPI IORT Table signature 2017-02-14 08:43:33 +08:00
Acpi62.h MdePkg: Add definitions for ACPI 6.2 2017-10-10 20:47:24 +08:00
AcpiAml.h
AlertStandardFormatTable.h
Atapi.h MdePkg/IndustryStandard: fix build break due to latest Atapi.h change 2016-06-29 15:05:29 +08:00
Bluetooth.h MdePkg/DevicePath: Add BluetoothLe device path node support 2017-06-07 08:46:20 +08:00
Bmp.h
DebugPort2Table.h
DebugPortTable.h
Dhcp.h MdePkg: Refine codes related to Dhcpv4 and Dhcpv6 configuration. 2016-06-23 09:39:11 +08:00
DmaRemappingReportingTable.h MdePkg/include: Add Acpi.h to DMAR table. 2017-09-20 14:45:41 +08:00
ElTorito.h
Emmc.h
HighPrecisionEventTimerTable.h
Hsti.h MdePkg Hsti.h: Update version info to 1.1a 2017-07-18 10:35:32 +08:00
Http11.h
IScsiBootFirmwareTable.h
IoRemappingTable.h MdePkg/IndustryStandard: update ACPI/IORT definitions to revision C 2017-06-27 10:25:05 +00:00
Ipmi.h
IpmiNetFnApp.h
IpmiNetFnBridge.h
IpmiNetFnChassis.h
IpmiNetFnFirmware.h
IpmiNetFnGroupExtension.h
IpmiNetFnSensorEvent.h
IpmiNetFnStorage.h
IpmiNetFnTransport.h
LegacyBiosMpTable.h
LowPowerIdleTable.h MdePkg: Add ACPI Low Power Idle Table (LPIT) definitions 2016-10-20 22:19:38 -07:00
Mbr.h
MemoryMappedConfigurationSpaceAccessTable.h
MemoryOverwriteRequestControlLock.h
Nvme.h MdePkg/Nvme: Add NVME shutdown notification related macros 2017-08-09 15:59:12 +08:00
Pal.h
Pci.h
Pci22.h MdePkg/Pci22.h: Remove deprecated macros 2017-03-10 12:52:10 +08:00
Pci23.h MdePkg/IndustryStandard/Pci23: add vendor-specific capability header 2017-10-03 16:07:25 +02:00
Pci30.h
PciCodeId.h
PciExpress21.h MdePkg/PciExpress21.h: Fix typo in PCI_REG_PCIE_SLOT_CONTROL 2017-11-08 12:46:50 +08:00
PciExpress30.h MdePkg/PCI: Add missing PCI/PCIE definitions 2016-06-22 13:53:15 +08:00
PciExpress31.h MdePkg/PCI: Add missing PCI/PCIE definitions 2016-06-22 13:53:15 +08:00
PeImage.h
Sal.h
Scsi.h MdePkg IndustryStandard/Scsi.h: Add Unmap command support 2016-05-20 13:42:42 +08:00
Sd.h
SdramSpd.h MdePkg IndustryStandard: Add DDR3, DDR4 and LPDDR definition per SPD spec 2016-11-28 11:15:49 +08:00
SdramSpdDdr3.h MdePkg IndustryStandard: Add DDR3, DDR4 and LPDDR definition per SPD spec 2016-11-28 11:15:49 +08:00
SdramSpdDdr4.h MdePkg IndustryStandard: Add DDR3, DDR4 and LPDDR definition per SPD spec 2016-11-28 11:15:49 +08:00
SdramSpdLpDdr.h MdePkg IndustryStandard: Add DDR3, DDR4 and LPDDR definition per SPD spec 2016-11-28 11:15:49 +08:00
SerialPortConsoleRedirectionTable.h
SmBios.h MdePkg: Add definitions for SMBIOS spec 3.1.1 2017-01-24 18:11:50 +08:00
SmBus.h
TcgPhysicalPresence.h MdePkg: Fix typos in comments 2016-10-21 16:40:51 +08:00
TcgStorageCore.h MdePkg: Add TCG_BLOCK_SID_FEATURE_DESCRIPTOR definition. 2016-05-05 12:52:45 +08:00
TcgStorageOpal.h MdePkg: Add TCG_BLOCK_SID_FEATURE_DESCRIPTOR definition. 2016-05-05 12:52:45 +08:00
TcpaAcpi.h
Tls1.h MdePkg: Convert files to CRLF line ending 2017-04-06 15:43:27 +08:00
Tpm2Acpi.h MdePkg: Tpm2Acpi.h: Fix incompatible change 2017-01-11 16:24:53 +08:00
Tpm12.h
Tpm20.h
TpmPtp.h
TpmTis.h
Udf.h MdePkg: Add UDF volume structure definitions 2017-09-25 15:36:19 +08:00
UefiTcgPlatform.h MdePkg: UefiTcgPlatform.h: Add TCG_PCR_EVENT2_HDR definition 2017-02-06 09:28:45 +08:00
Usb.h
WatchdogActionTable.h
WatchdogResourceTable.h
WindowsSmmSecurityMitigationTable.h MdePkg/WSMT.h: update header comment to use official URL link. 2016-05-24 20:06:20 +08:00
WindowsUxCapsule.h