]> git.proxmox.com Git - mirror_edk2.git/commit
DynamicTablesPkg: AcpiSsdtPcieLibArm : Add UID to slot creation
authorJeff Brasen <jbrasen@nvidia.com>
Wed, 24 Aug 2022 04:35:53 +0000 (22:35 -0600)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 1 Sep 2022 13:53:17 +0000 (13:53 +0000)
commit0a4079ad86f5869426bf4278a9a2681642fd7d79
tree31611a542740050615d5aaf9574b3418d10eb9a1
parentb9bb27e1ff40d93fd39c1257df28ecde0642bb07
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>
DynamicTablesPkg/Include/Library/SsdtPcieSupportLib.h
DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtPcieLibArm/SsdtPcieGenerator.c
DynamicTablesPkg/Library/Common/SsdtPcieSupportLib/SsdtPcieSupportLib.c