mirror of https://github.com/acidanthera/audk.git
400a59737f
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> |
||
---|---|---|
.. | ||
Acpi.h | ||
Acpi10.h | ||
Acpi20.h | ||
Acpi30.h | ||
Acpi40.h | ||
Acpi50.h | ||
Acpi51.h | ||
Acpi60.h | ||
Acpi61.h | ||
Acpi62.h | ||
AcpiAml.h | ||
AlertStandardFormatTable.h | ||
Atapi.h | ||
Bluetooth.h | ||
Bmp.h | ||
DebugPort2Table.h | ||
DebugPortTable.h | ||
Dhcp.h | ||
DmaRemappingReportingTable.h | ||
ElTorito.h | ||
Emmc.h | ||
HighPrecisionEventTimerTable.h | ||
Hsti.h | ||
Http11.h | ||
IScsiBootFirmwareTable.h | ||
IoRemappingTable.h | ||
Ipmi.h | ||
IpmiNetFnApp.h | ||
IpmiNetFnBridge.h | ||
IpmiNetFnChassis.h | ||
IpmiNetFnFirmware.h | ||
IpmiNetFnGroupExtension.h | ||
IpmiNetFnSensorEvent.h | ||
IpmiNetFnStorage.h | ||
IpmiNetFnTransport.h | ||
LegacyBiosMpTable.h | ||
LowPowerIdleTable.h | ||
Mbr.h | ||
MemoryMappedConfigurationSpaceAccessTable.h | ||
MemoryOverwriteRequestControlLock.h | ||
Nvme.h | ||
Pal.h | ||
Pci.h | ||
Pci22.h | ||
Pci23.h | ||
Pci30.h | ||
PciCodeId.h | ||
PciExpress21.h | ||
PciExpress30.h | ||
PciExpress31.h | ||
PeImage.h | ||
Sal.h | ||
Scsi.h | ||
Sd.h | ||
SdramSpd.h | ||
SdramSpdDdr3.h | ||
SdramSpdDdr4.h | ||
SdramSpdLpDdr.h | ||
SerialPortConsoleRedirectionTable.h | ||
SmBios.h | ||
SmBus.h | ||
TcgPhysicalPresence.h | ||
TcgStorageCore.h | ||
TcgStorageOpal.h | ||
TcpaAcpi.h | ||
Tls1.h | ||
Tpm2Acpi.h | ||
Tpm12.h | ||
Tpm20.h | ||
TpmPtp.h | ||
TpmTis.h | ||
Udf.h | ||
UefiTcgPlatform.h | ||
Usb.h | ||
WatchdogActionTable.h | ||
WatchdogResourceTable.h | ||
WindowsSmmSecurityMitigationTable.h | ||
WindowsUxCapsule.h |