summaryrefslogtreecommitdiffstats
path: root/DynamicTablesPkg
diff options
context:
space:
mode:
authorVidya Sagar <vidyas@nvidia.com>2023-09-21 20:10:05 +0000
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2023-09-22 14:46:02 +0000
commit8b2e6b90b85fd4b1f7f921da09b16f5175acea8a (patch)
tree449541310ea37268b3ce12414b46ff785050d7aa /DynamicTablesPkg
parent909e870e3405a983bc4c61622467e235053a4041 (diff)
downloadedk2-8b2e6b90b85fd4b1f7f921da09b16f5175acea8a.tar.gz
edk2-8b2e6b90b85fd4b1f7f921da09b16f5175acea8a.tar.bz2
edk2-8b2e6b90b85fd4b1f7f921da09b16f5175acea8a.zip
DynamicTablesPkg: AcpiSsdtPcieLibArm: Use QWord to describe I/O range
Use AmlCodeGenRdQWordIo() to generate the I/O range in _CRS instead of AmlCodeGenRdDWordIo() to cater to the scenarios where 64-bit addresses can be used to generate I/O packets over the PCIe bus. Signed-off-by: Jeff Brasen <jbrasen@nvidia.com> Reviewed-by: Pierre Gondois <pierre.gondois@arm.com> Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
Diffstat (limited to 'DynamicTablesPkg')
-rw-r--r--DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtPcieLibArm/SsdtPcieGenerator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtPcieLibArm/SsdtPcieGenerator.c b/DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtPcieLibArm/SsdtPcieGenerator.c
index c54ae6f551..9ddaddc198 100644
--- a/DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtPcieLibArm/SsdtPcieGenerator.c
+++ b/DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtPcieLibArm/SsdtPcieGenerator.c
@@ -540,7 +540,7 @@ GeneratePciCrs (
switch (AddrMapInfo->SpaceCode) {
case PCI_SS_IO:
- Status = AmlCodeGenRdDWordIo (
+ Status = AmlCodeGenRdQWordIo (
FALSE,
TRUE,
TRUE,