DynamicTablesPkg: AcpiSsdtPcieLibArm : Add UID to slot creation
Expose the UID value to GeneratePciSlots(). This is needed for some cases for example: https://docs.microsoft.com/en-us/windows-hardware/drivers/pci/dsd-for-pcie-root-ports#identifying-externally-exposed-pcie-root-ports Name (_DSD, Package () { ToUUID("EFCC06CC-73AC-4BC3-BFF0-76143807C389"), Package () { Package (2) {"ExternalFacingPort", 1}, Package (2) {"UID", 0}, } }) Signed-off-by: Jeff Brasen <jbrasen@nvidia.com> Reviewed-by: Pierre Gondois <pierre.gondois@arm.com> Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
This commit is contained in:
committed by
mergify[bot]
parent
b9bb27e1ff
commit
0a4079ad86
@@ -54,9 +54,10 @@ AddOscMethod (
|
||||
used. It should be possible to enumerate them, but this is additional
|
||||
information.
|
||||
|
||||
@param [in] PciInfo Pci device information.
|
||||
@param [in] MappingTable The mapping table structure.
|
||||
@param [in, out] PciNode Pci node to amend.
|
||||
@param [in] PciInfo Pci device information.
|
||||
@param [in] MappingTable The mapping table structure.
|
||||
@param [in] Uid Unique Id of the Pci device.
|
||||
@param [in, out] PciNode Pci node to amend.
|
||||
|
||||
@retval EFI_SUCCESS Success.
|
||||
@retval EFI_INVALID_PARAMETER Invalid parameter.
|
||||
@@ -67,6 +68,7 @@ EFIAPI
|
||||
GeneratePciSlots (
|
||||
IN CONST CM_ARM_PCI_CONFIG_SPACE_INFO *PciInfo,
|
||||
IN CONST MAPPING_TABLE *MappingTable,
|
||||
IN UINT32 Uid,
|
||||
IN OUT AML_OBJECT_NODE_HANDLE PciNode
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user