From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (EUR04-DB3-obe.outbound.protection.outlook.com [40.107.6.50]) by mx.groups.io with SMTP id smtpd.web11.1745.1633890689435068223 for ; Sun, 10 Oct 2021 11:31:30 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=FXAEWc0c; spf=pass (domain: arm.com, ip: 40.107.6.50, mailfrom: khasim.mohammed@arm.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=p/i7y4czaqvYeMoHPUgXL8XpQ6/MRVkqYyLd/LJ4PoI=; b=FXAEWc0c4MCicaQVS457jap1ZV/CylQIaUcOIA8O3IHK/vpzLucRuMHTS5bqDc5SLbaPz9SRfEHdVcOKAUcvnKdDHHJS0TNOGMrne80nbFRhOqZsRAGninYlRZAqXMoloSBOFPJqECegZGMZMW/BkZBxTgqdx90vdeuFlthVxoM= Received: from DB6P193CA0021.EURP193.PROD.OUTLOOK.COM (2603:10a6:6:29::31) by AM0PR08MB4610.eurprd08.prod.outlook.com (2603:10a6:208:104::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.24; Sun, 10 Oct 2021 18:31:25 +0000 Received: from DB5EUR03FT036.eop-EUR03.prod.protection.outlook.com (2603:10a6:6:29:cafe::ad) by DB6P193CA0021.outlook.office365.com (2603:10a6:6:29::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.24 via Frontend Transport; Sun, 10 Oct 2021 18:31:24 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; edk2.groups.io; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;edk2.groups.io; dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DB5EUR03FT036.mail.protection.outlook.com (10.152.20.185) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.18 via Frontend Transport; Sun, 10 Oct 2021 18:31:24 +0000 Received: ("Tessian outbound b9598e0ead92:v103"); Sun, 10 Oct 2021 18:31:24 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: bc34addbc45ff7c5 X-CR-MTA-TID: 64aa7808 Received: from 5691fc01cd10.4 by 64aa7808-outbound-1.mta.getcheckrecipient.com id CE2DF59D-331C-430B-A524-274C0A1D21FD.1; Sun, 10 Oct 2021 18:31:14 +0000 Received: from EUR05-AM6-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 5691fc01cd10.4 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Sun, 10 Oct 2021 18:31:14 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VWKXBk++qYesxI4VgQzuYsdg3CIhWg5eIZjN6s6DXmhZg8uxa/DovMieiuzLqfrXowpzVupcyjFAELcQlLVAA02QKh6cQ/72wrPlvKx6vkgYgGj0ZnwPFrc4gZ2TWViNSFyV+fyEPhc026VGIA9siltXCpqGBBhj91wp2086BYVo4i35/m7G6x0JW9xb255vJgJGHPcywe5oEmBmzhqc06WtAbKgZ5KO3aN9JUYMo9VLF5pu5zCklVJg1adJ5863Q/BUMGXLkqgUwOpwOm+hGAvcOTKyh60DgMkguaRUaGRQYSLYvksVdJhRBS+jZbmwau+RtRFKcx5/sf6CxvUTqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=p/i7y4czaqvYeMoHPUgXL8XpQ6/MRVkqYyLd/LJ4PoI=; b=FNEkaL8Xkf1cW2z4g4zD3yiFexiqx3U6Tp+x62/LkNeSfRftNTGVkzVNADidyhP4dnAupbvKaKaICwpnhGPrgihNDcdFbgz+ANg3Ul21PQb4t3BTcfXQbUoXuc8ypadSR68vXQZ/vHIiHxi3SwfT1FdzShWb2XFKd56p7K9hYrUqiAvmLcNonv180SLq6Xbif31nCkygG6DA1/7AqxVFsLH4UmE8XbUmCHJs+xoaf9eX1Y4noX42MboQ2mb/e+7by2iweIO1GOh0inXT+ItkZZgascYs2BrWV/ztDq4yyPtSv35O2GX3vMIUY36BmIah7d/RM/2CJHxHw0rbwNyUEA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=p/i7y4czaqvYeMoHPUgXL8XpQ6/MRVkqYyLd/LJ4PoI=; b=FXAEWc0c4MCicaQVS457jap1ZV/CylQIaUcOIA8O3IHK/vpzLucRuMHTS5bqDc5SLbaPz9SRfEHdVcOKAUcvnKdDHHJS0TNOGMrne80nbFRhOqZsRAGninYlRZAqXMoloSBOFPJqECegZGMZMW/BkZBxTgqdx90vdeuFlthVxoM= Authentication-Results-Original: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=arm.com; Received: from PA4PR08MB5902.eurprd08.prod.outlook.com (2603:10a6:102:e0::10) by PA4PR08MB6288.eurprd08.prod.outlook.com (2603:10a6:102:f3::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.19; Sun, 10 Oct 2021 18:31:06 +0000 Received: from PA4PR08MB5902.eurprd08.prod.outlook.com ([fe80::e5a7:9474:4463:d258]) by PA4PR08MB5902.eurprd08.prod.outlook.com ([fe80::e5a7:9474:4463:d258%2]) with mapi id 15.20.4587.025; Sun, 10 Oct 2021 18:31:06 +0000 From: "Khasim Mohammed" To: devel@edk2.groups.io Cc: nd@arm.com, Khasim Syed Mohammed , Sami Mujawar , Chandni Cherukuri , anukou01 , Manoj Kumar Subject: [PATCH v2 5/7] Platform/ARM/N1Sdp: Introduce platform specific asl tables Date: Sun, 10 Oct 2021 23:59:54 +0530 Message-Id: <20211010182956.13526-6-khasim.mohammed@arm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20211010182956.13526-1-khasim.mohammed@arm.com> References: <20211010182956.13526-1-khasim.mohammed@arm.com> X-ClientProxiedBy: LO4P123CA0392.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:18f::19) To PA4PR08MB5902.eurprd08.prod.outlook.com (2603:10a6:102:e0::10) MIME-Version: 1.0 Received: from e116623.arm.com (217.140.99.251) by LO4P123CA0392.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:18f::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.20 via Frontend Transport; Sun, 10 Oct 2021 18:31:04 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b5fcd4a6-53cb-4e29-5b54-08d98c1c2a78 X-MS-TrafficTypeDiagnostic: PA4PR08MB6288:|AM0PR08MB4610: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:3044;OLM:3044; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: 6zMgM4oCV8/SUAwtGAp/crHxTROmIA+CtEbPFTSYKOYLvrU+eCdX8f97rZHfeV1zBA0h6KuzuLt+GVL3KtvVFycxTSciR6Pkm19nr68w4FPwj33DUAZGRHcw6Az82rOAYB37uHGdBO4boS6yeqmc5jD4+yrgvH5ukpe0hThoukkSxwltP2yO3MLD0yLQiE3cmeA1CmnnnkBer4fwR2jBHnjIdT7IBDy29apWkakIaEatC3KTSy62biklK5sWYJKmcahqgZND6x1JMJ3QsslzpfTom+2VWdmWaWHfk2xbjthIdgLQoe3qh2Y5fQ2cak2KT35Jb0FAWvyXhTuSpA+WB5+MzXgZf6q81ZFuvb2izXEBLtyRvA0hp/MAkczk2pkt2TXyr4aAVTwA6APo0bdiErRJ9tO4PvmnHO7pcjLgiBl3mTj6PCe5EWdvgLXdL3jFzrsIsA7tJDknsi2ovqZlwDeTwnguMgDwD5xhAf+V6NWYkB2j0xMFdjogmeSNO7jCCHvaEtmh/EayR0M0hjC8O4AV/+78KCzAOQ8psO1pfRqgSPTGMFAsaoCqjv8ErhBae4Wpga2ZXQmrFmDm8lfYIxu6KXAzZl25Rjs8YoRLFUml0svzUBseWxq6gVt6jl0/xHjpLwoXyqFNyEB9/Kv1lE4x/Y63i+LWkfd9/9vdUzfnDbtgC35V6kLTRYBaTSPvk6qZU3GAuE0to0KZtUFs8w== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PA4PR08MB5902.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(6666004)(30864003)(66946007)(508600001)(6916009)(5660300002)(2616005)(956004)(86362001)(83380400001)(66476007)(66556008)(36756003)(6486002)(2906002)(1076003)(52116002)(7696005)(4326008)(26005)(38350700002)(38100700002)(316002)(8676002)(54906003)(186003)(8936002);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR08MB6288 Original-Authentication-Results: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=arm.com; Return-Path: Khasim.Mohammed@arm.com X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT036.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 5a59a411-c14a-4080-8794-08d98c1c1f4b X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 7pSM86fSYOLm3XK+UzWCk4tAQal0h1diwX/R8ZCCyxCcm7XKHoBUYcdIoJpN7j2kLWXgKqYc+vukoCdVVg5DxuScbFjGZAKzdcZqhXZ+AiYH79+tfD5aZo9Lb2X/yRXw5YdQ6Yzb+Msg3HHhI8nloSFRLqA0qVjG+iQEWz+tCgmE6Sf0Fok26+WTtLDCXpe67ki48G192DN7tmtjoxZGJKJL0Nss3p9Te32vcpprZiSnq4znDWj+5xLzCzgdvMcd1HOW8EberAY7nTRmSSoPlRx3lL4MK5fh2WGNt7fQlAZjywWy9HaTtkkTF1PZCm9+xEs0hpj9RiMWB9pLx2s2VING0CQhrunCJM6Q07VLLSmu21K8fpZH1AcE87Yv5PUOl5NIWGnHhHMQ3lf32TyhXjL0rLdHWHARL51nkm9Xn2COCBDMSnJb6iR+2tOM+n20xJ6IjhTT962zKj2YcRn5uqnRDWqg0npicVRgo/BEe2IR2T0emA0f1jnqSgtsyDDkMkYZR87Flv0SLmE8J7KcEARD3dL8E52xwFjHD4Q7SIdxzM+OxKOS1HuMRaJIGgDgkU390QUKn3X/iTkGP3w1geqyCOElMW2n7Mou8DamX9QNHImGmctdVp3UhTfMGxSXhD3icU4CpuivPyt2e1uFTwUS/f72PYO222khy6bRGpRl343PcZeWxX8V7q/TcLaIRZbNTYH39WxEEGJ/VUzsyg== X-Forefront-Antispam-Report: CIP:63.35.35.123;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:64aa7808-outbound-1.mta.getcheckrecipient.com;PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com;CAT:NONE;SFS:(4636009)(46966006)(36840700001)(2906002)(54906003)(70206006)(36756003)(36860700001)(30864003)(508600001)(82310400003)(86362001)(1076003)(316002)(70586007)(2616005)(81166007)(356005)(186003)(47076005)(6486002)(7696005)(956004)(8676002)(6666004)(6916009)(5660300002)(336012)(4326008)(83380400001)(8936002)(26005);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Oct 2021 18:31:24.9069 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b5fcd4a6-53cb-4e29-5b54-08d98c1c2a78 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: DB5EUR03FT036.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB4610 Content-Type: text/plain This patch creates Dsdt.asl, SsdtPci.asl and SsdtRemotePci.asl files to provide the platform specific APCI table entries. Three PCI root ports are available on N1Sdp, PCI0 is the default root port PCI1 is the CCIX root port and PCI2 is the Remote host root port. The Remote host specific entries are defined in a separate file SsdtRemotePci.asl to avoid confusions with other PCI entries and for better readability and understanding of interfaces. Signed-off-by: Sami Mujawar Signed-off-by: Khasim Syed Mohammed Signed-off-by: Chandni Cherukuri Signed-off-by: anukou01 Signed-off-by: Manoj Kumar --- .../AslTables/Dsdt.asl | 477 ++++++++++++++++++ .../AslTables/SsdtPci.asl | 247 +++++++++ .../AslTables/SsdtRemotePci.asl | 156 ++++++ 3 files changed, 880 insertions(+) create mode 100644 Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManagerDxe/AslTables/Dsdt.asl create mode 100644 Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManagerDxe/AslTables/SsdtPci.asl create mode 100644 Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManagerDxe/AslTables/SsdtRemotePci.asl diff --git a/Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManagerDxe/AslTables/Dsdt.asl b/Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManagerDxe/AslTables/Dsdt.asl new file mode 100644 index 0000000000..0d7dde1a73 --- /dev/null +++ b/Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManagerDxe/AslTables/Dsdt.asl @@ -0,0 +1,477 @@ +/** @file + Differentiated System Description Table Fields (DSDT) + + Copyright (c) 2021, ARM Limited. All rights reserved.
+ + SPDX-License-Identifier: BSD-2-Clause-Patent +**/ + +#include "N1SdpAcpiHeader.h" +#include "NeoverseN1Soc.h" + +#define ACPI_GRAPH_REV 0 +#define ACPI_GRAPH_UUID "ab02a46b-74c7-45a2-bd68-f7d344ef2153" + +#define CORESIGHT_GRAPH_UUID "3ecbc8b6-1d0e-4fb3-8107-e627f805c6cd" + +#define CS_LINK_MASTER 1 +#define CS_LINK_SLAVE 0 + +#define DSD_CS_GRAPH_BEGIN(_nports) \ + Package () { \ + 1, \ + ToUUID(CORESIGHT_GRAPH_UUID), \ + _nports, + +#define DSD_CS_GRAPH_END \ + } + +#define DSD_GRAPH_BEGIN(_nports) \ + ToUUID(ACPI_GRAPH_UUID), \ + Package() { \ + ACPI_GRAPH_REV, \ + 1, \ + DSD_CS_GRAPH_BEGIN(_nports) + +#define DSD_GRAPH_END \ + DSD_CS_GRAPH_END \ + } + +#define DSD_PORTS_BEGIN(_nports) \ + Name (_DSD, Package () { \ + DSD_GRAPH_BEGIN(_nports) + +#define DSD_PORTS_END \ + DSD_GRAPH_END \ + }) + +#define CS_PORT(_port, _rport, _rphandle, _dir) \ + Package () { _port, _rport, _rphandle, _dir} + +#define CS_INPUT_PORT(_port, _rport, _rphandle) \ + CS_PORT(_port, _rport, _rphandle, CS_LINK_SLAVE) + +#define CS_OUTPUT_PORT(_port, _rport, _rphandle) \ + CS_PORT(_port, _rport, _rphandle, CS_LINK_MASTER) + +DefinitionBlock("Dsdt.aml", "DSDT", 1, "ARMLTD", "N1Sdp", EFI_ACPI_ARM_OEM_REVISION) { + Scope(_SB) { + Device(CP00) { // Ares-0: Cluster 0, Cpu 0 + Name(_HID, "ACPI0007") + Name(_UID, 0) + Name(_STA, 0xF) + Device(ETM0) { // ETM on Cluster0 CPU0 + Name (_HID, "ARMHC500") + Name (_CID, "ARMHC500") + Name (_CRS, ResourceTemplate() { + QWordMemory ( + ResourceProducer, + PosDecode, + MinFixed, + MaxFixed, + Cacheable, + ReadWrite, + 0x00000000, // Granularity + FixedPcdGet64 (PcdCsEtm0Base), // Min Base Address + FixedPcdGet64 (PcdCsEtm0MaxBase), // Max Base Address + 0, // Translate + FixedPcdGet32 (PcdCsComponentSize) // Length + ) + }) + DSD_PORTS_BEGIN(1) + CS_OUTPUT_PORT(0, 0, \_SB_.SFN0) + DSD_PORTS_END + } // ETM0 + } + + Device(CP01) { // Ares-1: Cluster 0, Cpu 1 + Name(_HID, "ACPI0007") + Name(_UID, 1) + Name(_STA, 0xF) + Device(ETM1) { // ETM on Cluster0 CPU1 + Name (_HID, "ARMHC500") + Name (_CID, "ARMHC500") + Name (_CRS, ResourceTemplate() { + QWordMemory ( + ResourceProducer, + PosDecode, + MinFixed, + MaxFixed, + Cacheable, + ReadWrite, + 0x00000000, // Granularity + FixedPcdGet64 (PcdCsEtm1Base), // Min Base Address + FixedPcdGet64 (PcdCsEtm1MaxBase), // Max Base Address + 0, // Translate + FixedPcdGet32 (PcdCsComponentSize) // Length + ) + }) + DSD_PORTS_BEGIN(1) + CS_OUTPUT_PORT(0, 1, \_SB_.SFN0) + DSD_PORTS_END + } // ETM1 + } + + Device(CP02) { // Ares-2: Cluster 1, Cpu 0 + Name(_HID, "ACPI0007") + Name(_UID, 2) + Name(_STA, 0xF) + Device(ETM2) { // ETM on Cluster1 CPU0 + Name (_HID, "ARMHC500") + Name (_CID, "ARMHC500") + Name (_CRS, ResourceTemplate() { + QWordMemory ( + ResourceProducer, + PosDecode, + MinFixed, + MaxFixed, + Cacheable, + ReadWrite, + 0x00000000, // Granularity + FixedPcdGet64 (PcdCsEtm2Base), // Min Base Address + FixedPcdGet64 (PcdCsEtm2MaxBase), // Max Base Address + 0, // Translate + FixedPcdGet32 (PcdCsComponentSize) // Length + ) + }) + DSD_PORTS_BEGIN(1) + CS_OUTPUT_PORT(0, 0, \_SB_.SFN1) + DSD_PORTS_END + } // ETM2 + } + + Device(CP03) { // Ares-3: Cluster 1, Cpu 1 + Name(_HID, "ACPI0007") + Name(_UID, 3) + Name(_STA, 0xF) + Device(ETM3) { // ETM on Cluster0 CPU0 + Name (_HID, "ARMHC500") + Name (_CID, "ARMHC500") + Name (_CRS, ResourceTemplate() { + QWordMemory ( + ResourceProducer, + PosDecode, + MinFixed, + MaxFixed, + Cacheable, + ReadWrite, + 0x00000000, // Granularity + FixedPcdGet64 (PcdCsEtm3Base), // Min Base Address + FixedPcdGet64 (PcdCsEtm3MaxBase), // Max Base Address + 0, // Translate + FixedPcdGet32 (PcdCsComponentSize) // Length + ) + }) + + DSD_PORTS_BEGIN(1) + CS_OUTPUT_PORT(0, 1, \_SB_.SFN1) + DSD_PORTS_END + } // ETM3 + } + + Device(ETF0) { + Name(_HID, "ARMHC97C") // TMC + Name(_CID, "ARMHC97C") // TMC + Name(_CRS, ResourceTemplate() { + QWordMemory ( + ResourceProducer, + PosDecode, + MinFixed, + MaxFixed, + Cacheable, + ReadWrite, + 0x00000000, // Granularity + FixedPcdGet64 (PcdCsEtf0Base), // Min Base Address + FixedPcdGet64 (PcdCsEtf0MaxBase), // Max Base Address + 0, // Translate + FixedPcdGet32 (PcdCsComponentSize) // Length + ) + }) + + DSD_PORTS_BEGIN(2) + CS_OUTPUT_PORT(0, 0, \_SB_.FUN), + CS_INPUT_PORT(0, 0, \_SB_.SFN0) + DSD_PORTS_END + } // ETF0 + + Device(ETF1) { + Name(_HID, "ARMHC97C") // TMC + Name(_CID, "ARMHC97C") // TMC + Name(_CRS, ResourceTemplate() { + QWordMemory ( + ResourceProducer, + PosDecode, + MinFixed, + MaxFixed, + Cacheable, + ReadWrite, + 0x00000000, // Granularity + FixedPcdGet64 (PcdCsEtf1Base), // Min Base Address + FixedPcdGet64 (PcdCsEtf1MaxBase), // Max Base Address + 0, // Translate + FixedPcdGet32 (PcdCsComponentSize) // Length + ) + }) + + DSD_PORTS_BEGIN(2) + CS_OUTPUT_PORT(0, 1, \_SB_.FUN), + CS_INPUT_PORT(0, 0, \_SB_.SFN1) + DSD_PORTS_END + } // ETF1 + + Device(ETF2) { + Name(_HID, "ARMHC97C") // TMC + Name(_CID, "ARMHC97C") // TMC + Name(_CRS, ResourceTemplate() { + QWordMemory ( + ResourceProducer, + PosDecode, + MinFixed, + MaxFixed, + Cacheable, + ReadWrite, + 0x00000000, // Granularity + FixedPcdGet64 (PcdCsEtf2Base), // Min Base Address + FixedPcdGet64 (PcdCsEtf2MaxBase), // Max Base Address + 0, // Translate + FixedPcdGet32 (PcdCsComponentSize) // Length + ) + }) + + DSD_PORTS_BEGIN(2) + CS_OUTPUT_PORT(0, 5, \_SB_.MFUN), + CS_INPUT_PORT(0, 0, \_SB_.STM0) + DSD_PORTS_END + } // ETF2 + + Device(FUN) { + Name(_HID, "ARMHC9FF") + Name(_CID, "ARMHC9FF") + Name(_CRS, ResourceTemplate() { + QWordMemory ( + ResourceProducer, + PosDecode, + MinFixed, + MaxFixed, + Cacheable, + ReadWrite, + 0x00000000, // Granularity + FixedPcdGet64 (PcdCsFunnel0Base), // Min Base Address + FixedPcdGet64 (PcdCsFunnel0MaxBase), // Max Base Address + 0, // Translate + FixedPcdGet32 (PcdCsComponentSize) // Length + ) + }) + DSD_PORTS_BEGIN(3) + CS_OUTPUT_PORT(0, 0, \_SB_.MFUN), + CS_INPUT_PORT(0, 0, \_SB_.ETF0), + CS_INPUT_PORT(1, 0, \_SB_.ETF1) + DSD_PORTS_END + } // FUN + + Device(STM0) { + Name(_HID, "ARMHC502") // STM + Name(_CID, "ARMHC502") + Name(_CRS, ResourceTemplate() { + QWordMemory ( + ResourceProducer, + PosDecode, + MinFixed, + MaxFixed, + Cacheable, + ReadWrite, + 0x00000000, // Granularity + FixedPcdGet64 (PcdCsStmBase), // Min Base Address + FixedPcdGet64 (PcdCsStmMaxBase), // Max Base Address + 0, // Translate + FixedPcdGet32 (PcdCsComponentSize) // Length + ) + Memory32Fixed(ReadWrite, + FixedPcdGet32 (PcdCsStmStimulusBase), + FixedPcdGet32 (PcdCsStmStimulusSize)) + }) + + DSD_PORTS_BEGIN(1) + CS_OUTPUT_PORT(0, 0, \_SB_.ETF2) + DSD_PORTS_END + } + + Device(MFUN) { // Master Funnel + Name(_HID, "ARMHC9FF") // Funnel + Name(_CID, "ARMHC9FF") // Funnel + Name(_CRS, ResourceTemplate() { + QWordMemory ( + ResourceProducer, + PosDecode, + MinFixed, + MaxFixed, + Cacheable, + ReadWrite, + 0x00000000, // Granularity + FixedPcdGet64 (PcdCsFunnel1Base), // Min Base Address + FixedPcdGet64 (PcdCsFunnel1MaxBase), // Max Base Address + 0, // Translate + FixedPcdGet32 (PcdCsComponentSize) // Length + ) + }) + + DSD_PORTS_BEGIN(3) + CS_OUTPUT_PORT(0, 0, \_SB_.REP), + CS_INPUT_PORT(0, 0, \_SB_.FUN), + CS_INPUT_PORT(5, 0, \_SB_.ETF2) + DSD_PORTS_END + } // MFUN + + Device(REP) { + Name(_HID, "ARMHC98D") // Replicator + Name(_CID, "ARMHC98D") // Replicator + Name(_CRS, ResourceTemplate() { + QWordMemory ( + ResourceProducer, + PosDecode, + MinFixed, + MaxFixed, + Cacheable, + ReadWrite, + 0x00000000, // Granularity + FixedPcdGet64 (PcdCsReplicatorBase), // Min Base Address + FixedPcdGet64 (PcdCsReplicatorMaxBase), // Max Base Address + 0, // Translate + FixedPcdGet32 (PcdCsComponentSize) // Length + ) + }) + + DSD_PORTS_BEGIN(3) + CS_OUTPUT_PORT(0, 0, \_SB_.TPIU), + CS_OUTPUT_PORT(1, 0, \_SB_.ETR), + CS_INPUT_PORT(0, 0, \_SB_.MFUN) + DSD_PORTS_END + } // REP + + Device(TPIU) { + Name(_HID, "ARMHC979") // TPIU + Name(_CID, "ARMHC979") // TPIU + Name(_CRS, ResourceTemplate() { + QWordMemory ( + ResourceProducer, + PosDecode, + MinFixed, + MaxFixed, + Cacheable, + ReadWrite, + 0x00000000, // Granularity + FixedPcdGet64 (PcdCsTpiuBase), // Min Base Address + FixedPcdGet64 (PcdCsTpiuMaxBase), // Max Base Address + 0, // Translate + FixedPcdGet32 (PcdCsComponentSize) // Length + ) + }) + + DSD_PORTS_BEGIN(1) + CS_INPUT_PORT(0, 0, \_SB_.REP) + DSD_PORTS_END + } // TPIU + + Device(ETR) { + Name(_HID, "ARMHC97C") // TMC + Name(_CID, "ARMHC97C") // TMC + Name(_CCA, 0) // The ETR on this platform is not coherent + Name(_CRS, ResourceTemplate() { + QWordMemory ( + ResourceProducer, + PosDecode, + MinFixed, + MaxFixed, + Cacheable, + ReadWrite, + 0x00000000, // Granularity + FixedPcdGet64 (PcdCsEtrBase), // Min Base Address + FixedPcdGet64 (PcdCsEtrMaxBase), // Max Base Address + 0, // Translate + FixedPcdGet32 (PcdCsComponentSize) // Length + ) + }) + + Name(_DSD, Package() { + DSD_GRAPH_BEGIN(1) + CS_INPUT_PORT(0, 1, \_SB_.REP) + DSD_GRAPH_END, + + ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"), + Package() { + Package(2) {"arm,scatter-gather", 1} + } + }) + + } // ETR + + Device(SFN0) { // Static Funnel 0 + Name(_HID, "ARMHC9FE") // Funnel + Name(_CID, "ARMHC9FE") // Funnel + + DSD_PORTS_BEGIN(3) + CS_OUTPUT_PORT(0, 0, \_SB_.ETF0), + CS_INPUT_PORT(0, 0, \_SB_.CP00.ETM0), + CS_INPUT_PORT(1, 0, \_SB_.CP01.ETM1) + DSD_PORTS_END + } // SFN0 + + Device(SFN1) { // Static Funnel 1 + Name(_HID, "ARMHC9FE") // Funnel + Name(_CID, "ARMHC9FE") // Funnel + + DSD_PORTS_BEGIN(3) + CS_OUTPUT_PORT(0, 0, \_SB_.ETF1), + CS_INPUT_PORT(0, 0, \_SB_.CP02.ETM2), + CS_INPUT_PORT(1, 0, \_SB_.CP03.ETM3) + DSD_PORTS_END + } // SFN1 + + Device(CMN6) { + Name(_HID, "ARMHC600") + + Name(_CRS, ResourceTemplate () { + // Region location is platform specific + // Other name(s) of this region: PERIPHBASE + QWordMemory ( + ResourceConsumer, + PosDecode, + MinFixed, + MaxFixed, + NonCacheable, + ReadWrite, + 0x00000000, + 0x50000000, + 0x5FFFFFFF, + 0x00000000, + 0x10000000, + , + , + CFGR + ) + + // Sub-region location is platform specific + // Other name(s) of this region: ROOTNODEBASE + QWordMemory ( + ResourceConsumer, + PosDecode, + MinFixed, + MaxFixed, + NonCacheable, + ReadWrite, + 0x00000000, + 0x50D00000, + 0x50D03FFF, + 0x00000000, + 0x00004000, + , + , + ROOT + ) + + // CMN600_INTREQPMU_DTC0 + Interrupt (ResourceConsumer, Level, ActiveHigh, Exclusive) { 78 } + }) + } + } // Scope(_SB) +} diff --git a/Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManagerDxe/AslTables/SsdtPci.asl b/Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManagerDxe/AslTables/SsdtPci.asl new file mode 100644 index 0000000000..87a4fdaf88 --- /dev/null +++ b/Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManagerDxe/AslTables/SsdtPci.asl @@ -0,0 +1,247 @@ +/** @file + Secondary System Description Table (SSDT) + + Copyright (c) 2021, ARM Limited. All rights reserved.
+ + SPDX-License-Identifier: BSD-2-Clause-Patent +**/ + +#include "N1SdpAcpiHeader.h" + +/* + See ACPI 6.4 Section 6.2.13 + + There are two ways that _PRT can be used. + + In the first model, a PCI Link device is used to provide additional + configuration information such as whether the interrupt is Level or + Edge triggered, it is active High or Low, Shared or Exclusive, etc. + + In the second model, the PCI interrupts are hardwired to specific + interrupt inputs on the interrupt controller and are not + configurable. In this case, the Source field in _PRT does not + reference a device, but instead contains the value zero, and the + Source Index field contains the global system interrupt to which the + PCI interrupt is hardwired. + + We use the first model with link indirection to set the correct + interrupt type as PCI defaults (Level Triggered, Active Low) are not + compatible with GICv2. +*/ +#define LNK_DEVICE(Unique_Id, Link_Name, irq) \ + Device(Link_Name) { \ + Name(_HID, EISAID("PNP0C0F")) \ + Name(_UID, Unique_Id) \ + Name(_PRS, ResourceTemplate() { \ + Interrupt(ResourceProducer, Level, ActiveHigh, Exclusive) { irq } \ + }) \ + Method (_CRS, 0) { Return (_PRS) } \ + Method (_SRS, 1) { } \ + Method (_DIS) { } \ +} + +#define PRT_ENTRY(Address, Pin, Link) \ + Package (4) { \ + Address, /* uses the same format as _ADR */ \ + Pin, /* The PCI pin number of the device (0-INTA, 1-INTB, 2-INTC, 3-INTD) */ \ + Link, /* Interrupt allocated via Link device */ \ + Zero /* global system interrupt number (no used) */ \ +} + +/* + See Reference [1] 6.1.1 + "High word-Device #, Low word-Function #. (for example, device 3, + function 2 is 0x00030002). To refer to all the functions on a device #, + use a function number of FFFF)." +*/ +#define ROOT_PRT_ENTRY(Pin, Link) PRT_ENTRY(0x0000FFFF, Pin, Link) // Device 0 for Bridge. + +DefinitionBlock("SsdtPci.aml", "SSDT", 1, "ARMLTD", "N1Sdp", + EFI_ACPI_ARM_OEM_REVISION) +{ + Scope (_SB) { + + // PCI Root Complex + LNK_DEVICE(1, LNKA, 201) + LNK_DEVICE(2, LNKB, 202) + LNK_DEVICE(3, LNKC, 203) + LNK_DEVICE(4, LNKD, 204) + LNK_DEVICE(5, LNKE, 233) + LNK_DEVICE(6, LNKF, 234) + LNK_DEVICE(7, LNKG, 235) + LNK_DEVICE(8, LNKH, 236) + + // PCI Root Complex + Device(PCI0) { + Name (_HID, EISAID("PNP0A08")) // PCI Express Root Bridge + Name (_CID, EISAID("PNP0A03")) // Compatible PCI Root Bridge + Name (_SEG, Zero) // PCI Segment Group number + Name (_BBN, Zero) // PCI Base Bus Number + Name (_CCA, 1) // Cache Coherency Attribute + + // Root Complex 0 + Device (RP0) { + Name(_ADR, 0xF0000000) // Dev 0, Func 0 + } + + // PCI Routing Table + Name(_PRT, Package() { + ROOT_PRT_ENTRY(0, LNKA), // INTA + ROOT_PRT_ENTRY(1, LNKB), // INTB + ROOT_PRT_ENTRY(2, LNKC), // INTC + ROOT_PRT_ENTRY(3, LNKD), // INTD + }) + + // Root complex resources + Method (_CRS, 0, Serialized) { + Name (RBUF, ResourceTemplate () { + WordBusNumber ( // Bus numbers assigned to this root + ResourceProducer, + MinFixed, + MaxFixed, + PosDecode, + 0, // AddressGranularity + FixedPcdGet32 (PcdPcieBusMin), // AddressMinimum - Minimum Bus Number + FixedPcdGet32 (PcdPcieBusMax), // AddressMaximum - Maximum Bus Number + 0, // AddressTranslation - Set to 0 + FixedPcdGet32 (PcdPcieBusCount) // RangeLength - Number of Busses + ) + + DWordMemory ( // 32-bit BAR Windows + ResourceProducer, + PosDecode, + MinFixed, + MaxFixed, + Cacheable, + ReadWrite, + 0x00000000, // Granularity + FixedPcdGet32 (PcdPcieMmio32Base), // Min Base Address + FixedPcdGet32 (PcdPcieMmio32MaxBase), // Max Base Address + FixedPcdGet32 (PcdPcieMmio32Translation), // Translate + FixedPcdGet32 (PcdPcieMmio32Size) // Length + ) + + QWordMemory ( // 64-bit BAR Windows + ResourceProducer, + PosDecode, + MinFixed, + MaxFixed, + Cacheable, + ReadWrite, + 0x00000000, // Granularity + FixedPcdGet64 (PcdPcieMmio64Base), // Min Base Address + FixedPcdGet64 (PcdPcieMmio64MaxBase), // Max Base Address + FixedPcdGet64 (PcdPcieMmio64Translation), // Translate + FixedPcdGet64 (PcdPcieMmio64Size) // Length + ) + + DWordIo ( // IO window + ResourceProducer, + MinFixed, + MaxFixed, + PosDecode, + EntireRange, + 0x00000000, // Granularity + FixedPcdGet32 (PcdPcieIoBase), // Min Base Address + FixedPcdGet32 (PcdPcieIoMaxBase), // Max Base Address + FixedPcdGet32 (PcdPcieIoTranslation), // Translate + FixedPcdGet32 (PcdPcieIoSize), // Length + , + , + , + TypeTranslation + ) + }) // Name(RBUF) + + Return (RBUF) + } // Method (_CRS) + } + + // CCIX Root Complex + Device(PCI1) { + Name (_HID, EISAID("PNP0A08")) // PCI Express Root Bridge + Name (_CID, EISAID("PNP0A03")) // Compatible PCI Root Bridge + Name (_SEG, 1) // PCI Segment Group number + Name (_BBN, Zero) // PCI Base Bus Number + Name (_CCA, 1) // Cache Coherency Attribute + + // Root Complex 1 + Device (RP1) { + Name(_ADR, 0xF0000000) // Dev 0, Func 0 + } + + // PCI Routing Table + Name(_PRT, Package() { + ROOT_PRT_ENTRY(0, LNKE), // INTA + ROOT_PRT_ENTRY(1, LNKF), // INTB + ROOT_PRT_ENTRY(2, LNKG), // INTC + ROOT_PRT_ENTRY(3, LNKH), // INTD + }) + + // Root complex resources + Method (_CRS, 0, Serialized) { + Name (RBUF, ResourceTemplate () { + WordBusNumber ( // Bus numbers assigned to this root + ResourceProducer, + MinFixed, + MaxFixed, + PosDecode, + 0, // AddressGranularity + FixedPcdGet32 (PcdCcixBusMin), // AddressMinimum - Minimum Bus Number + FixedPcdGet32 (PcdCcixBusMax), // AddressMaximum - Maximum Bus Number + 0, // AddressTranslation - Set to 0 + FixedPcdGet32 (PcdCcixBusCount) // RangeLength - Number of Busses + ) + + DWordMemory ( // 32-bit BAR Windows + ResourceProducer, + PosDecode, + MinFixed, + MaxFixed, + Cacheable, + ReadWrite, + 0x00000000, // Granularity + FixedPcdGet32 (PcdCcixMmio32Base), // Min Base Address + FixedPcdGet32 (PcdCcixMmio32MaxBase), // Max Base Address + FixedPcdGet32 (PcdCcixMmio32Translation), // Translate + FixedPcdGet32 (PcdCcixMmio32Size) // Length + ) + + QWordMemory ( // 64-bit BAR Windows + ResourceProducer, + PosDecode, + MinFixed, + MaxFixed, + Cacheable, + ReadWrite, + 0x00000000, // Granularity + FixedPcdGet64 (PcdCcixMmio64Base), // Min Base Address + FixedPcdGet64 (PcdCcixMmio64MaxBase), // Max Base Address + FixedPcdGet64 (PcdCcixMmio64Translation), // Translate + FixedPcdGet64 (PcdCcixMmio64Size) // Length + ) + + DWordIo ( // IO window + ResourceProducer, + MinFixed, + MaxFixed, + PosDecode, + EntireRange, + 0x00000000, // Granularity + FixedPcdGet32 (PcdCcixIoBase), // Min Base Address + FixedPcdGet32 (PcdCcixIoMaxBase), // Max Base Address + FixedPcdGet32 (PcdCcixIoTranslation), // Translate + FixedPcdGet32 (PcdCcixIoSize), // Length + , + , + , + TypeTranslation + ) + }) // Name(RBUF) + + Return (RBUF) + } // Method (_CRS) + } + + } +} diff --git a/Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManagerDxe/AslTables/SsdtRemotePci.asl b/Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManagerDxe/AslTables/SsdtRemotePci.asl new file mode 100644 index 0000000000..2af3a63c5c --- /dev/null +++ b/Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManagerDxe/AslTables/SsdtRemotePci.asl @@ -0,0 +1,156 @@ +/** @file + Secondary System Description Table (SSDT) + + Copyright (c) 2021, ARM Limited. All rights reserved.
+ + SPDX-License-Identifier: BSD-2-Clause-Patent +**/ + +#include "N1SdpAcpiHeader.h" + +/* + See ACPI 6.4 Section 6.2.13 + + There are two ways that _PRT can be used. + + In the first model, a PCI Link device is used to provide additional + configuration information such as whether the interrupt is Level or + Edge triggered, it is active High or Low, Shared or Exclusive, etc. + + In the second model, the PCI interrupts are hardwired to specific + interrupt inputs on the interrupt controller and are not + configurable. In this case, the Source field in _PRT does not + reference a device, but instead contains the value zero, and the + Source Index field contains the global system interrupt to which the + PCI interrupt is hardwired. + + We use the first model with link indirection to set the correct + interrupt type as PCI defaults (Level Triggered, Active Low) are not + compatible with GICv2. +*/ +#define LNK_DEVICE(Unique_Id, Link_Name, irq) \ + Device(Link_Name) { \ + Name(_HID, EISAID("PNP0C0F")) \ + Name(_UID, Unique_Id) \ + Name(_PRS, ResourceTemplate() { \ + Interrupt(ResourceProducer, Level, ActiveHigh, Exclusive) { irq } \ + }) \ + Method (_CRS, 0) { Return (_PRS) } \ + Method (_SRS, 1) { } \ + Method (_DIS) { } \ +} + +#define PRT_ENTRY(Address, Pin, Link) \ + Package (4) { \ + Address, /* uses the same format as _ADR */ \ + Pin, /* The PCI pin number of the device (0-INTA, 1-INTB, 2-INTC, 3-INTD) */ \ + Link, /* Interrupt allocated via Link device */ \ + Zero /* global system interrupt number (no used) */ \ +} + +/* + See Reference [1] 6.1.1 + "High word-Device #, Low word-Function #. (for example, device 3, + function 2 is 0x00030002). To refer to all the functions on a device #, + use a function number of FFFF)." +*/ +#define ROOT_PRT_ENTRY(Pin, Link) PRT_ENTRY(0x0000FFFF, Pin, Link) // Device 0 for Bridge. + +DefinitionBlock("SsdtRemotePci.aml", "SSDT", 1, "ARMLTD", "N1Sdp", + EFI_ACPI_ARM_OEM_REVISION) +{ + Scope (_SB) { + + // Remote PCI Root Complex + LNK_DEVICE(9, LNKI, 681) + LNK_DEVICE(10, LNKJ, 682) + LNK_DEVICE(11, LNKK, 683) + LNK_DEVICE(12, LNKL, 684) + + //Remote PCIe root complex + Device(PCI2) { + Name (_HID, EISAID("PNP0A08")) // PCI Express Root Bridge + Name (_CID, EISAID("PNP0A03")) // Compatible PCI Root Bridge + Name (_SEG, 2) // PCI Segment Group number + Name (_BBN, Zero) // PCI Base Bus Number + Name (_CCA, 1) // Cache Coherency Attribute + + // Remote Root Complex 0 + Device (RP0) { + Name(_ADR, 0xF0000000) // Dev 0, Func 0 + } + + // PCI Routing Table + Name(_PRT, Package() { + ROOT_PRT_ENTRY(0, LNKI), // INTA + ROOT_PRT_ENTRY(1, LNKJ), // INTB + ROOT_PRT_ENTRY(2, LNKK), // INTC + ROOT_PRT_ENTRY(3, LNKL), // INTD + }) + + // Root complex resources + Method (_CRS, 0, Serialized) { + Name (RBUF, ResourceTemplate () { + WordBusNumber ( // Bus numbers assigned to this root + ResourceProducer, + MinFixed, + MaxFixed, + PosDecode, + 0, // AddressGranularity + FixedPcdGet32 (PcdPcieBusMin), // AddressMinimum - Minimum Bus Number + FixedPcdGet32 (PcdPcieBusMax), // AddressMaximum - Maximum Bus Number + 0, // AddressTranslation - Set to 0 + FixedPcdGet32 (PcdPcieBusCount) // RangeLength - Number of Busses + ) + + QWordMemory ( // 32-bit BAR Windows + ResourceProducer, + PosDecode, + MinFixed, + MaxFixed, + Cacheable, + ReadWrite, + 0x00000000, // Granularity + FixedPcdGet32 (PcdPcieMmio32Base), // Min Base Address + FixedPcdGet32 (PcdPcieMmio32MaxBase), // Max Base Address + FixedPcdGet32 (PcdRemotePcieMmio32Translation), // Translate + FixedPcdGet32 (PcdPcieMmio32Size) // Length + ) + + QWordMemory ( // 64-bit BAR Windows + ResourceProducer, + PosDecode, + MinFixed, + MaxFixed, + Cacheable, + ReadWrite, + 0x00000000, // Granularity + FixedPcdGet64 (PcdPcieMmio64Base), // Min Base Address + FixedPcdGet64 (PcdPcieMmio64MaxBase), // Max Base Address + FixedPcdGet64 (PcdRemotePcieMmio64Translation), // Translate + FixedPcdGet64 (PcdPcieMmio64Size) // Length + ) + + QWordIo ( // IO window + ResourceProducer, + MinFixed, + MaxFixed, + PosDecode, + EntireRange, + 0x00000000, // Granularity + FixedPcdGet32 (PcdPcieIoBase), // Min Base Address + FixedPcdGet32 (PcdPcieIoMaxBase), // Max Base Address + FixedPcdGet64 (PcdRemotePcieIoTranslation), // Translate + FixedPcdGet32 (PcdPcieIoSize), // Length + , + , + , + TypeTranslation + ) + }) // Name(RBUF) + + Return (RBUF) + } // Method (_CRS) + } + } +} -- 2.17.1