From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0615.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe4a::615]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 96D7E821CF for ; Thu, 2 Mar 2017 10:46:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=y+ynEQZUne93TkxyuI70RzsbnEbJzOV0GrQo69OB9Ik=; b=wOBUVacyxffjnbNYTAZAiXs8JAsUYHnpoILFPEMQGOPnW3zXlHinSK8ktTojKXqUVtLauIpY7QHxqWInmAKJEehMYqx6ulp9Ko8to3uPnvUZxFAn5JdjT+cJ0FNcUpgxFFwPyKHhzDzZ5c4Q9sJO6wENiQlrNimLsjhf6LxOESI= Authentication-Results: ml01.01.org; dkim=none (message not signed) header.d=none;ml01.01.org; dmarc=none action=none header.from=amd.com; Received: from leduran-Precision-WorkStation-T5400.amd.com (165.204.77.1) by CY4PR12MB1239.namprd12.prod.outlook.com (10.168.167.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.933.12; Thu, 2 Mar 2017 18:46:46 +0000 From: Leo Duran To: CC: Leo Duran , Maurice Ma , Prince Agyeman Date: Thu, 2 Mar 2017 12:46:33 -0600 Message-ID: <1488480396-32358-4-git-send-email-leo.duran@amd.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1488480396-32358-1-git-send-email-leo.duran@amd.com> References: <1488480396-32358-1-git-send-email-leo.duran@amd.com> MIME-Version: 1.0 X-Originating-IP: [165.204.77.1] X-ClientProxiedBy: DM5PR17CA0027.namprd17.prod.outlook.com (10.173.128.141) To CY4PR12MB1239.namprd12.prod.outlook.com (10.168.167.14) X-MS-Office365-Filtering-Correlation-Id: bac877a8-21e7-44f7-111b-08d4619c7aba X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(48565401081); SRVR:CY4PR12MB1239; X-Microsoft-Exchange-Diagnostics: 1; CY4PR12MB1239; 3:19schtXpnwNbr2OhamvXkHdphXT9zyY1sEjgcHvNsSDZE19CRv969eMPeFIjcjvgSNmzmmr/wN2UP5ztH6ePrJ7fxwlFG/3CcF2NeVMvW+T2NOFxcew1F1k/FfqHEN8r2RYOzqz9CScXsJmj9+Q8Qn4MUfzSv/rLT6ywPTXKjdFmj+z6EIIpYxxu5VmD3UnQsQ8YVhVng3GMPKYTQi9NuqvIviQj5ikaTEpGzgAvUTx+1DR9WP22/6vNGzbve8qZ7iBCx0AVE853iY5VcRxVcG18fiMVH6QKqk5AnjyD9dU=; 25:WIOfYEQJEUWk4kZp4jb9glAvMjiGvNjjrn2HIHwKk8dXHpidmBd/3hoZbuSC/5McECfION/7oeRm/Y7O8HfY0e+MbvgeiExn4jJLx2Jo9wWE690Joofak7xxlds7e+uSDaDr6kjlkopSGIJCrviy61VELrsrv2IxWtw+1Bhuyc+TiV0s7QOuRDR2A1eB/+3uZOzI42bsi+T0T1XhAlZD6YuCLUSXcvyoIwyfeNYfaGnFjWZ8xPuvABA8W+pKN1C4uRaYnT/hQHWXOt6aR8AsiXPZnNN1y6/ZTihKkGGNuJBPjrPWKnEyhGiu9GkODmz/6DPZPUIZydpqdKVpAgx37dhtxgV/Re8Q72HV936BL+Y0ekJglNes2dNTQbzl1CATXxTH9kV3z8FPIqI9rTyPrgQIwcwgzkzicqamwcsztlPv7naNANLyoNu0zzUY0odg X-Microsoft-Exchange-Diagnostics: 1; CY4PR12MB1239; 31:NRVXis2o6x8XXJR+RVYATPOoSgstl9Pv5t1WT9tRaxP/5sBZmYMQJ/o7t6vv+sAglyMxpf4qRCb55DjzScIaxa/BfaaYl2h6qaB3STZT7PpDdmhtWSWgNU/1Ve1hwXHnIBn0tyugyKZA6lc0TgSSqr9SwJE8ApOpaYO68gs28tggKwBD0imIWAjMg3S9vW/+sE5r420vKPZJelOEthW/8Iw+CCM/lPbSn2bvqj12IxKQa6DDqCCqv2ToV+ChVKrQ; 20:0i2boHscxgka6jPjnRFk3iRoLeHTHtO5zyP+MYy6kJ9jJq4Z3w/Cvlu2dk/uEzsPXlQRr8gwSqMp1U76pQbDwKUxjuiBNl4AH2jkoL+EPwQ5+FXw43TXZ3xrFBU1MnMY3gdH7qPs6IcoQkajXLKLfMmaTOtPhGkon1dLvaAxXpfVXCujJ452q8zmscMhUqkJHgquqac01/a+sOxa5QwR8W6OLkmQizckgjtVJ8BsDh23Ljaz0hEvMqPPL8bLM563y7RxaV7rt90Dn8KvV5FRn4sKVfH6MbxgOOMifj0dOM6+DPgu+XLfmJo2+K2h5I22jfLkUui4qmEg/Ubf/EMCIx/qOsbregAjv32cpbOp7hKUsKxPVjXvZp12c5D+TBGxzDLGc1C8o7oHyTSQ3BJiS3sHw1FOpr+v2/JYuWyoBSEzWLPHTiXnV48wcBQpBZQNACGcm63raUnYH5c0VqsTI41MZOE6UXcen/twLR1cw4afukrQw3UDXode5tISnTyF X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(767451399110)(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(6055026)(6041248)(20161123564025)(20161123562025)(20161123560025)(20161123555025)(20161123558025)(6072148); SRVR:CY4PR12MB1239; BCL:0; PCL:0; RULEID:; SRVR:CY4PR12MB1239; X-Microsoft-Exchange-Diagnostics: 1; CY4PR12MB1239; 4:wAD13Ol4HjTFRX2mUB+XkEugX4TWaL/OIvwKZIg+Pmkt+TNr9bmXS7o4ONYFFf2fjpTj1lh1utIQIn/QCfDky0qnn2VQH68vyiByJLtBlrx9PK6tyzQI7eG2PT94VbTHnZCTOUwE8sY+dH0Tc/poDY7h6Tyq6uYzYOFzRWk641yGtjLmjFuaIlut9kwaOhQsPfXUAsKBBcD9Y2yRQgUtHb2TXtU/uDhEvOcpB93sr6Y7wfFynfsfyBvelsHD8cO9ZY0yfMA3N0YMxhYUIBpl2UieC/C+/us2RQbN3LtynClRuibo3f+jTnb0AjTB6l+WfACeSBWwFA6OJANyTVxlrg4kpY1seCmz37HF3LBfEz0/6XO93h0vfd+XtxMTT/2IIgGRqBgXf9N4vvplnsrAXC61isWYY7qlXSZ9JNmgGbNdf9c2fKlhsAVtkxp5od+ZaQe8Lymw27I+a2dnrIOYlFBtbmeeyefPkTNemRSBB/x656mIQeMBiLh0tbn8B1MhcZw1nGiTHYVZoCJYIlWwkmnQhEkRnUZ5TQwJ57HRvO65+ASAsBEvSTkHqeIONbchjd8MCO3V+qTs0B3KNJ8n07SN0p+lkkjhJ2qunEcUGIdY+fpNgLE72wylm6TvG9iec7d+EzL2UR8tL5WBtHkqKqr6efZJWcFEo8PjmiMc11eAMIJzP+7pXAMroU7wI4D9 X-Forefront-PRVS: 023495660C X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6029001)(6009001)(7916002)(39850400002)(39450400003)(39410400002)(39860400002)(39840400002)(76176999)(6486002)(2906002)(50986999)(25786008)(6116002)(189998001)(6666003)(7736002)(36756003)(6916009)(2950100002)(3846002)(305945005)(5660300001)(66066001)(50226002)(42186005)(53416004)(47776003)(4326008)(48376002)(50466002)(33646002)(81166006)(92566002)(8676002)(110136004)(38730400002)(5003940100001)(86362001)(54906002)(53936002)(2351001)(19627235001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR12MB1239; H:leduran-Precision-WorkStation-T5400.amd.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY4PR12MB1239; 23:gtth5OuGcrpqI8aOaEC9sGParDW0kaM/RXc7q5HKG?= =?us-ascii?Q?lG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g/xMNLmnAdw?= =?us-ascii?Q?AYT7nQTblBXb9ODRD2fj5mTpr4hRDQM6J0Aar+zIz7QihsZAVmRopNdmiYuY?= =?us-ascii?Q?fTNoljXfCfpZVYEmUUB0HNQ8OwCXVFfD5CD1PmkekBj8pQXuLYViFc+/Cols?= =?us-ascii?Q?17it8Gm9WZ1N2Apy2RMUkRC0fyrCf6V/FHvw09TKSaKmrLjbNmywWKRth9qb?= =?us-ascii?Q?haDJwB1tvE=3D?= X-Microsoft-Exchange-Diagnostics: 1; CY4PR12MB1239; 6:SKUOrjeDkY+DlkwImOigB2yGorDsPayCSuIwA002nZSmXf072+HHtOrPm7fV5dSjDc+8g9KrFiCM/HXIZYrDTAs31bSZmkXdbyJCX7LZcgoHdOxpC8O9UnTN4pmrHgfRrlQzhC+DAVAoVB0qsoAa5+bG/MF03goKPdDw+4W1MzaK0etThary1EKzazjwpWUNu8RLM20vPoV92NCIbr57QQ7zqMc0d2b53lUuO2sqRT79eGuwmFAu/vM7qOH9v2J4IoiIJ3RmiUr74CONNqvgI7BrOg/KjvqnYi0BM6yuReD65ey6Q0rF/tZ9ltxSbzioY3zj+XR0khaGA02X2ymRnx6R/Ooevg72+PhtVqFjH1+CRGIk7P8Ius8T1Pk0M/q4rt2C2Aqsm9+zTGT1stWgtPVSQ/GyjC1oAuj4RFiLPyI=; 5:Y4nkD1zP0eHTmR4f12umU7lU8E36I6ESu/i0led/1qVafGdwzfGWRR6UylBo9eyKLh/PIoNAO6f5gao+1+2l/ahw1SldqD1jDJTjlsZtpt3y6lZEq/rf6G+a1A3Crvy2DXSPu90ygKlddjMH40kYFA==; 24:Bv5VgoDePiySET2DJLlFELvP7N9jf9yG+WzGH84WlBk6+gzVF78kSRCT/w73O6Ez+BfWadE52DYHAUcw9G8QHRyZnPxYuvpHKXGyocxnqsM= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY4PR12MB1239; 7:4o3e71arS4KBcuUf2SA8xAK/+TT0LIKMWaX+S1j/KQLvFNKVcWpL3al3WyNjh5RCVk5z2OzlAcCQE7dlq7YKNYXzV0LBln9D3shbfamP98YKmxwilsd0UqZ69XGly/4Kt3qZrq99cg7cohD1X5ptPHD5A7/g+m0TEYdNiFxHViRLU55JpByxZh+pcw6I2MWZCfQwwM6ihagWjugzMf/osLkNzD7/McB8xgyg2mRPbCOwQr+V+Z4EXvBj8MASNjX2t0o80dQiTATb3yUjRMr7p4RaFzpCm9Q3KCRpqVfAwvLUYS6I7bPJ1qJ/oPd6eWGIidC9Gv9Ccmw3zfs8Zb1EzQ==; 20:u0Jw13KdMCRaCuv0EQzQ/BOU1xeXT7S9p2eyUM9R2OGvm4TxoR5sBbZd3g6klG0gozUA21uwXb6LESpwSt6TSYgK9sVYUDCebJflfqhGXOcW1RML430TXMTwdfVrjjjAeXHPSbYLVA7s1ZsXYyQOVAXqfbjbQoGIkFweGGe2YjU0/81p3wvoNWKOJ7bwFcpnBngiuSIayyT54UL/4xK5k1TXHI6a/S/t9j5EuSVrWCpIv4Stv05CJjtb15jaTXwK X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Mar 2017 18:46:46.5697 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR12MB1239 Subject: [PATCH v4 3/6] CorebootPayloadPkg: Resolve BmDmaLib class for PciHostBridgeDxe driver X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Mar 2017 18:46:48 -0000 Content-Type: text/plain This patch adds the new DxeBmDmaLib (BmDmaLib class) library, which provides an abstraction layer for DMA operations implemented by the PciHostBridgeDxe driver. Cc: Maurice Ma Cc: Prince Agyeman Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Leo Duran Reviewed-by: Laszlo Ersek --- CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc | 3 +++ CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc | 3 +++ 2 files changed, 6 insertions(+) diff --git a/CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc b/CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc index cdfcb75..59a599f 100644 --- a/CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc +++ b/CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc @@ -4,6 +4,8 @@ # Provides drivers and definitions to create uefi payload for coreboot. # # Copyright (c) 2014 - 2016, Intel Corporation. All rights reserved.
+# Copyright (c) 2017, AMD Inc. All rights reserved.
+# # This program and the accompanying materials are licensed and made available under # the terms and conditions of the BSD License that accompanies this distribution. # The full text of the license may be found at @@ -140,6 +142,7 @@ PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf + BmDmaLib|MdeModulePkg/Library/DxeBmDmaLib/DxeBmDmaLib.inf # # UEFI & PI diff --git a/CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc b/CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc index 6b16af6..5177811 100644 --- a/CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc +++ b/CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc @@ -4,6 +4,8 @@ # Provides drivers and definitions to create uefi payload for coreboot. # # Copyright (c) 2014 - 2016, Intel Corporation. All rights reserved.
+# Copyright (c) 2017, AMD Inc. All rights reserved.
+# # This program and the accompanying materials are licensed and made available under # the terms and conditions of the BSD License that accompanies this distribution. # The full text of the license may be found at @@ -140,6 +142,7 @@ PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf + BmDmaLib|MdeModulePkg/Library/DxeBmDmaLib/DxeBmDmaLib.inf # # UEFI & PI -- 2.7.4