From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0619.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe48::619]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 40EA98204A for ; Thu, 9 Feb 2017 08:40: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=5M3WKRcayB73yoEoqEvEUZESIhz31SpbPzgKAbRgkKY=; b=N2gwElhnjXDCP0+/FrtZBdzkR7DXOW66/+4+BNNdCKJ2bVZbC9MMesAKtqYL9WSbs9/pQGkLCQGadc0gMTxa8fkSqhf4N4ENRTg+ecWkzpfwjz2HBVx67B8CqSzcP3CMu8WMnhJy0BeWNOxyr5XIxZtTQmyK3EitUmlCvYZ2vz0= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=leo.duran@amd.com; Received: from leduran-Precision-WorkStation-T5400.amd.com (165.204.77.1) by MWHPR12MB1245.namprd12.prod.outlook.com (10.169.204.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.888.16; Thu, 9 Feb 2017 16:40:46 +0000 From: Leo Duran To: CC: Leo Duran , Jordan Justen , Laszlo Ersek Date: Thu, 9 Feb 2017 10:40:26 -0600 Message-ID: <1486658427-6551-6-git-send-email-leo.duran@amd.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1486658427-6551-1-git-send-email-leo.duran@amd.com> References: <1486658427-6551-1-git-send-email-leo.duran@amd.com> MIME-Version: 1.0 X-Originating-IP: [165.204.77.1] X-ClientProxiedBy: YTOPR01CA0009.CANPRD01.PROD.OUTLOOK.COM (10.166.147.19) To MWHPR12MB1245.namprd12.prod.outlook.com (10.169.204.149) X-MS-Office365-Filtering-Correlation-Id: 1f10f3ea-f7cd-4d6a-2286-08d4510a661a X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(48565401081); SRVR:MWHPR12MB1245; X-Microsoft-Exchange-Diagnostics: 1; MWHPR12MB1245; 3:0UE4y2+DdcA4qDKA3hzN1zR/wxG4gRUQiQnKanX2sIgbVQel8wf68A5jb78aDzaO0sbKodSPUQw+Pp1Ny+u/H6K48M5X8p1EMHcGa/z5Fc10cDKZ0L79gUnu5oBWeiZcm/eqwULfcZ9Bq2R1EyYgaigclPWyQq6fq/poGCdMmwCmDz4z+cVoI+GHTX/G08GMtQDj1Nwq3jFMgXiKiHpsuf9c+ba9oRwtYEBN1xZnCGJdo2T/AKVuDPbWT6mkFp5pTWK5MufHEH/M7YdbfaA15Og46FXtzR+X0AGxyexLURk=; 25:WtgxIyTBk1iujUid4xO4BQHnKvtiEr3HTnffCl9ZRZ2jGpN9rVPwvQXMl37dPcUJi0SEdsw/cc2BAnvlB/B70q9NvUfWkiJEMLuoqnNMWqrEnYqEQi7Y6HHipoWJmg8/XF7h1MCVJra4fFWeP9l2f7ljBd2zPnkycCBxN/41TUgEm+72EUbEmMAvz92c2AVR+zxm/OGLqwQRJLYkcBdsf81ZJvC3d9S1QBuZ8BmnELujHC8kf1HTptwdxHTCwplPCZEIIbs7mXK9al/L4SfGU3AT5+3AopyKQ1rTi+CxP59gOvjjO3G3Q0NzPtGV4b3/8W0ySQu93+pJWSXcr3VXwKQS+lcCB5/Wm4U5dPoLPbMaR+oBkyqIyYPwP2EJv6vmNP7/JXCYxHcLJ7QNvLKMox2sR4TvV7TwdLVxMjyBNXesNfEm+Ec2i85XGU+vQ90mtfDaV1YtExCughcLZprTNQ== X-Microsoft-Exchange-Diagnostics: 1; MWHPR12MB1245; 31:t3wkMCHp3kmqgFun5HceDFaAJXtfBadi4vH3Y4vWkl/VVrtv3lfD+LSidc4Gc42U6QJWNTmJlCixgrB87VKJ1E181imY/fLw8tZ2qWOUu0vaiSkOfAFRuVPKOaORflQ+r6GqNpkRoW6tCFYAR4QBomT5H9zGWjAlVcNlwIDBfp9aWmRxgDECG4MzDZGoHZSgN+fFg0AFxs49NXrN1+aSmG9E5xOm34ZjZrJn/jo24dlTGUAzUBn9cI9fule9oidE; 20:gyQkJnhPjZy7JgE8BYgfS1AZIir2AEE3OPgymsjK2aBemfMUPU96ihgFx9sTl1zMJJ96X2XPB/L4OfX5/zbOw8M3xLeV+CF6DPGtPDclBdDVK5MSDWydHYFw3LcuMPxSeuJunWl/34Nx9D3a8M9tDpFoAeshu9p6QAEE5ubYx9Zdr9WRsr39q7jDAnuYK/YksypXez5qVeCFa8Ep31vSAA5zLFzV9hDH8XZvE5nuonZtNiW5RHXOzthDVZn0m8UYZWjeYSqgAwD3l+ps9VA0A/pWyYZSnFNvNUM6zxH8ULpDQedIkVyi7rnD/XPJGTyph4r20+NK8ZfZ90EtkEUBx6n4j43lbL4v4HRxhU23kH8ee92QsyZUiFMIF0PxBt/f1XudvJLbJtL7E6kfM7xiOUSMRe01qVU4bnT2A1ADt5RM1hCzI0sw5b3Qy3nWuftkDlqcf+77JRBmMkigGJKY7B2n2rCnPbaEvrH/yn4cjqzIbYpFd+UuDJ3rD1lX0T60 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)(20161123560025)(20161123564025)(20161123558025)(20161123555025)(20161123562025)(6072148); SRVR:MWHPR12MB1245; BCL:0; PCL:0; RULEID:; SRVR:MWHPR12MB1245; X-Microsoft-Exchange-Diagnostics: 1; MWHPR12MB1245; 4:DTaan4qgu+1lyiC8UjGGkdx5G0aUc+WmIFeTj3al/klL2q5JJKwfUR4C1o2RWKs/3Y1oZH4q/D6rqGTvooULs9+fBmXSTbDdsBlhQOePU0iSpyMxZCpOF9JcxZUdZtUYgbI4u71L0X57qYyoJP/NbLZHWOUo+X/+gC5eOjBfjZdG6V/6DvZAIwz04UcUB3v34B3jEPiRG5h3Po5GGKyHQY374eq3pq4u3dzUnEtH4V4OUoJApIZGvhNgaBt3PuTLsj4wPZDunZU/U+cda8CE9NB0ITetHWT0X0/Wdv02nPN2+I9zr8ID2fZp2YeMikH9+tTO5DzvBmBT5Cwn72zq2EQiML5c/E76uh7/jRnyIJQ+wqvABfo0fFPP1vesJCh6oQzVW7sGKUJgCPK91XoUbGvAFDYeSSMV1tw5aSPQcsGX4BPFtN4TV9sVuT/ORqY1UM77oXzRjo7Di5Vm0wrVq6k2RkMg8H5d3YkUvLkX1A6QR+o3XHSqEvOHxOUy97Vpx+QCNut5zxkM8Av/02vy7Pg7pIhzXNXgXkbnVg0yxdhgyl3OJb2XHM6CraCRf9p0frXEUftn+oKqe9treKsqg/TCxuBfFCCHJ0BkkVgjM0fXYMj1c4SdW7eKwSl20GQ1IEwZ3rmAAibn2CI09CnQoNDWinCMJoyxPlOHHxPa2WKZTwvSzjPg9UlWzUdJnMAzYyB9Hgj1vRlT7jwG5vDbfg== X-Forefront-PRVS: 02135EB356 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6029001)(6009001)(7916002)(39860400002)(39840400002)(39410400002)(39450400003)(39850400002)(189002)(199003)(101416001)(76176999)(66066001)(2906002)(47776003)(189998001)(54906002)(4326007)(305945005)(53416004)(2351001)(105586002)(106356001)(50986999)(42186005)(5003940100001)(25786008)(92566002)(68736007)(7736002)(50466002)(50226002)(3846002)(6116002)(48376002)(6486002)(97736004)(81156014)(8676002)(81166006)(36756003)(110136004)(2950100002)(38730400002)(33646002)(6916009)(6666003)(86362001)(53936002)(5660300001)(19627235001); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR12MB1245; H:leduran-Precision-WorkStation-T5400.amd.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR12MB1245; 23:MslRZ8scXngkUvYgBFvuCkwiQGfyqQUF3yt/xVXsw?= =?us-ascii?Q?1Cmuze688P0uVAb8O8hk0U8R+T0EhE0RIslZ3Q/TGG/Ip0SlcpiWGRZM+GZe?= =?us-ascii?Q?39OevkIpNZaCNWB3NcCZ3+ERXB67MLEHHypLhF+7w8PZYLz8msXgiIsmcyGg?= =?us-ascii?Q?oo1C9bOhp8aHd7Av3lzrxXy4ATKvGzGhRJc6tSfczDooIAwUiZsz0+lFzNOM?= =?us-ascii?Q?QYDe7g/iiasbhq9X9Q0fV8z4LgmhV9Dqk1zU5xvfd6Z6X0ldX70/CzfE+D4O?= =?us-ascii?Q?S6+brpl705S8aE4u+gUapy1L08a+rnnpcIPqt4uILhmS6R9BIAaNzM2x5W7q?= =?us-ascii?Q?XWRHGjR8JtAYG85/0Mc2pYykfsi5d/Ryy/kgGAnIifvW1poJ+1U1bGxSzfYc?= =?us-ascii?Q?liFc2QFM7/ifsTA+LT3IkExkngt4hw0Lxn2ULTbXdQbzMd/UrwQxCM/yxdeN?= =?us-ascii?Q?e9RWRCwoC2fatT7EnHiwyxpCCoHnYP17VkTexV2o8oBDImxNIpjEeKL27cg8?= =?us-ascii?Q?OY8PAhrIoYr32j6gS1vs5Zx00bxYyyKZj5oM+j1iG4uvr9zb9tHgV81ER7/u?= =?us-ascii?Q?HHsgvNUWqf92O/eUP2SAg83E6WtJdwI5U4WWb3ZesAZ0c2jgWLjT9Bpv1/zm?= =?us-ascii?Q?unu6l7Wg3QLDL71xNhzAITgTlNpBmgh2CbYKYIIxSnyFDDzirREebQPL7NEF?= =?us-ascii?Q?7T7N0hmKK9b2g/vnazRdh0SoSp3ozd+4HG1q+uhGJs7WNc8wEMLfkn1WHjAQ?= =?us-ascii?Q?IS2WdK1PGkKz47xtgJ5kt54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NBcDpMhKZzzv+a5ltMBKIxQggsBhs2ndqo/KiZpD5G6ukFTT X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Feb 2017 16:40:46.4038 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR12MB1245 Subject: [PATCH v3 5/6] OvmfPkg: 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, 09 Feb 2017 16:40: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: Jordan Justen Cc: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Leo Duran Reviewed-by: Laszlo Ersek --- OvmfPkg/OvmfPkgIa32.dsc | 1 + OvmfPkg/OvmfPkgIa32X64.dsc | 1 + OvmfPkg/OvmfPkgX64.dsc | 1 + 3 files changed, 3 insertions(+) diff --git a/OvmfPkg/OvmfPkgIa32.dsc b/OvmfPkg/OvmfPkgIa32.dsc index 993547d..f2fea24 100644 --- a/OvmfPkg/OvmfPkgIa32.dsc +++ b/OvmfPkg/OvmfPkgIa32.dsc @@ -90,6 +90,7 @@ [LibraryClasses] UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf + BmDmaLib|MdeModulePkg/Library/DxeBmDmaLib/DxeBmDmaLib.inf UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf diff --git a/OvmfPkg/OvmfPkgIa32X64.dsc b/OvmfPkg/OvmfPkgIa32X64.dsc index f36604e..0f1f85c 100644 --- a/OvmfPkg/OvmfPkgIa32X64.dsc +++ b/OvmfPkg/OvmfPkgIa32X64.dsc @@ -95,6 +95,7 @@ [LibraryClasses] UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf + BmDmaLib|MdeModulePkg/Library/DxeBmDmaLib/DxeBmDmaLib.inf UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf diff --git a/OvmfPkg/OvmfPkgX64.dsc b/OvmfPkg/OvmfPkgX64.dsc index c5bf1a6..ec43249 100644 --- a/OvmfPkg/OvmfPkgX64.dsc +++ b/OvmfPkg/OvmfPkgX64.dsc @@ -95,6 +95,7 @@ [LibraryClasses] UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf + BmDmaLib|MdeModulePkg/Library/DxeBmDmaLib/DxeBmDmaLib.inf UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf -- 1.9.1