From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on061a.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe49::61a]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 334C281C78 for ; Fri, 13 Jan 2017 14:14: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=PWu7yopMPZGznNHbTqSSkPs5ATPdDly2hsnzuMWBGfE=; b=M9x+W5FyUbYxRBZtDePbm32qN/mHUxc+kDVEiMvG84gEOfwX6nruMA+ayf+YIGfWkKZ2PMrs1zX/9MbvqGuiZ3hjBEeZPyHx1atZIPQZFpTJEOBPmXxYDLuK5l2Amy+yY5B4quPaDxWy4nrGadacKWy8EpvRrljlJCmcx41lQPo= 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 MWHPR12MB1248.namprd12.prod.outlook.com (10.169.205.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.845.12; Fri, 13 Jan 2017 22:14:43 +0000 From: Leo Duran To: CC: , , , , , , , , Leo Duran Date: Fri, 13 Jan 2017 16:14:15 -0600 Message-ID: <1484345656-3574-6-git-send-email-leo.duran@amd.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1484345656-3574-1-git-send-email-leo.duran@amd.com> References: <1484345656-3574-1-git-send-email-leo.duran@amd.com> MIME-Version: 1.0 X-Originating-IP: [165.204.77.1] X-ClientProxiedBy: YQXPR01CA0019.CANPRD01.PROD.OUTLOOK.COM (10.165.102.157) To MWHPR12MB1248.namprd12.prod.outlook.com (10.169.205.8) X-MS-Office365-Filtering-Correlation-Id: 7ba6c879-5f90-45b9-0798-08d43c0194ad X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:MWHPR12MB1248; X-Microsoft-Exchange-Diagnostics: 1; MWHPR12MB1248; 3:rSlgBT4T84RmNAolFgmuyQsVH+mQj9e913Vr4Y5mRD7jNQhjST3aXUBIWOzP7Z3Mrv7iiYM/x0ZzWOMR5KG4HtcYDhxKnamhPgoTAmIUovuTUkw4wDDRtvSbZnENkFMDbfUiPyeEXV4k316uKXlmdia74N85j/4k+YsXk4/qnJJt9lo0qW58LNd0zYGOGpO7a5mMa5nhEeyxsXa8DD6b8tIiIlZX/n24mJmj74kFmgpDGGmVbDT9kABZ3l/qB2VGud8wwntRA23BGZPBc7qRZw==; 25:fiCN4kMwofjfmhYzcoBE5lbja940C46Qo1HRdvZAW1Oj4WZNyhFj7sqqnleD71KW/IK1bAk0bqNUAUSI6IRYXD0RX2FjeUd+5D+YG4YroTm7uBSi8Q00bZAaWuxq0kxjRU83Tf1VdjiVp0vojJKgWqPMnZRyIlkWKrYYU8OC+Jpx5PFoEF/NDVmar96QDlNThqbXYrfkzmQq0lJaL+6iKAihF+OwAAeaPQ6/8jas6x9ZnQxQp0FpwLcps6rgqQBgsH7RvbrXwQy2j1SzEi+AUPJggIe/kpaHJA/i7joXN0NZZY0xTc2v7lfaQFunaeYkmupSgpxlwz1tqGnanxVbcdflC5ExyGqWH1t5bUuxZQQiP/FPGPXbrSmEWrPBbVBq5xrvm/K/jAafSupIZqymhqULHqmTWhMTkLOv/tQND71wmkvlfpzWP/f3Q+pwdrEBIAYUNpwNXo1qcn2WSogavg== X-Microsoft-Exchange-Diagnostics: 1; MWHPR12MB1248; 31:lEki21vaAuq/cMf9NtuunXJ+zOMHL0WxcSk5yy9bVibQVpGb2yIq3IOj8xZ3FWDNVgjTJwCc7uXZNpTDAN5ssVOC3oNjgHbHREX8VUu++Csn3US0iHnQ+yZ2450L0UsigqsPcLgt/CX/ooSwcxx/QxfagCyL6whvFvpxzYm+vlJ4u/7bkz1z3FggGeP8viLwBtXgxNBbv5KOUmjJOtLjepK5ftBmCzWAZMS2nXyIwT2Vu9asFg3mdFvEqX2NlPFO; 20:IA6WSHFxmIHlsFKDIwpCSVsPP5I7ygtVhDsYvctQGmLJ9pcFsA/m5LnOAfwItQso4H7slZuZ2lEkBJwgVv71+sPv+mgYwgbgbYFIoRSFhV8xZsiGcYiwulsof70eqI7rFr05mccfVmuUfSUqGTca4a7gpeBkYgkgcMFY4CHdnbb8fHcuChZAiBqv8gUHcWq4IUGRWhtXhN8X5NCH9RIunhiqCXuKHJSmEAXn9IUl6l8MnuVWFU/2MqSOy4TUcou1V31kxUA+ifNyYw71izs08RkWKife6eudeFj2liqHDVckVfnJUDERrC0n87QlZRiNkXBas06Ack2oZs6kohjgCUFS72W4qrCODf7DtNXESuBS2Chc1NzQ2L8VP0m9u4QXD8YFib8D1O1sl38V5/aHAnhjtwYPklalPgwPPN0I55j0IvoRSAojCA0QJ82NLofXZ7f/OlUg7o681ejRmFaP63FJqO/IZbnETGrEI35pINS9Du6gKcVxptsEOrHgdd8K 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)(5005006)(8121501046)(3002001)(10201501046)(6055026)(6041248)(20161123560025)(20161123558021)(20161123555025)(20161123562025)(20161123564025)(6072148); SRVR:MWHPR12MB1248; BCL:0; PCL:0; RULEID:; SRVR:MWHPR12MB1248; X-Microsoft-Exchange-Diagnostics: 1; MWHPR12MB1248; 4:KxvyjGV4v/Yy1k3DGy3CM950BFgVaCmAdlh2hIGoul/Cdyj2Z21WuB1A2vdb/ryLFTNn+YZWZlm1Lo75f8mfC8uT+oSWQIY05JCuRcHvgf8LZ8QFhjsVzrSJviVlgUE/KAvIoRv5B4HlMYKup8zaq7ZOxo9UP5QY7vv+FrXuNb1GjQsQypwIZlT30Soi5pWsVKECsydomG8UTmUcc1aELXLRsIwWNhc1jpKbI5+eu1MfyVHAoE+afdLfgpDaKmjiF0LlRoo5eTse9qF3mPUJx73yDf348PG9zrlRd2BWcPya63igxs1hqylquUIKEQ81zSGP7Kxpo398b9hEgX58eiHjNOw0NfSSRgM97eZkMq0mxJrN9XOjmbtdizF2PPmqm/Chh7qhninHUfH9jG9W1fywcgPjCk+30bA3MLW48Q+FjVm7+g4n0u2rPA4HFNzmPC0/wVCd7B6Xq+/v0rYy9fKNgWzM+zD/3CBuldKHredq4bLTcDls6Z9sfmggtxppFR1GdlWknTgRCC9zr+JUErt1Zx7bTEtiPJJjRsTkPu9hSuisp4N/XwK3egJ1cmGbbojwSCX4GAOsn+vlpvgW1seVRb35oQI+og8T2f1DFNI5zZ63yZ2GJYqpXXRgT+CxNIGCouG34Hnhqlq0hoDGa4VqBmMiA8sE0mcAHLHt2A1vGZ8lA8XIxesbYAVRNPI/wOKZYlnFMjHKxqri+ia+9Q== X-Forefront-PRVS: 018632C080 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6029001)(6009001)(7916002)(39450400003)(39410400002)(39860400002)(39840400002)(39850400002)(199003)(189002)(5003940100001)(50466002)(48376002)(50986999)(76176999)(92566002)(25786008)(5660300001)(38730400001)(54906002)(6916009)(2950100002)(6486002)(110136003)(305945005)(7736002)(6666003)(81166006)(81156014)(36756003)(189998001)(68736007)(97736004)(86362001)(8676002)(53416004)(42186005)(33646002)(106356001)(101416001)(2351001)(47776003)(50226002)(6116002)(3846002)(2906002)(4326007)(105586002)(66066001)(27001)(19627235001); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR12MB1248; H:leduran-Precision-WorkStation-T5400.amd.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX: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; MWHPR12MB1248; 23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xICXMM5JOf9hYjNWBO9YraudHdbMekQpw7Ifa9Ned6XT4+1YI8yMffbn1qFWY/+IXOVBnO5kYgH8WKZFhn/avsakNUtU8GpbiGxz+ctxWD6UQaSOg=; 24:vkxicAr7oce0GJNOgPNglGMDcwh8WjQZ80KA1F4V9KVqfKBxs8XMyamxTWxws2GXaJU3ZmtiI27tK3J1LtlPairfHf22TAFgnjZicYRvMgQ= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; MWHPR12MB1248; 7:r74FGGRvtlZMGe5+QM2ucYKqmSOMTJAQ8satrth72Vh2+wYbkEKiYzJ5dZ+8HFbLD95vA2ZLBbZw8Uz2ktvIwAdhqAqhcn7e2fHo9qBjs11JGJllq9XVWVB0HCKh8b+XJnnttlPBL7dd485fIFSfgNXHLJU+hJwBVXSUofYuycxB/DfGM/ToL7GTH35PsSQ93Zw1q1Q1JPlvdbuarC2lheEXAQouP3Cumv4op2C/QRdPAmp4JYXxxqkLFdTW4XYDWxkQCJbrAYCfZCfPC9374pY0p/kIgSsQw+2bEOoxUzNvKV1f3BtRIedtF0mJs2gyFHotEMhJE90f3H69QmNleCHehugwWQPzlaCS+Ie4HYgcekQYoSsqta0NBotnjDqJNW/BYWWP/84bviRuClfGvZJ2/tjQHPRt52QFRwsk0I8z6mTFR2a2HxngYKcwlAqhtyzduQOjz5DHu8QEIfTDYQ==; 20:TCrzjXKKFfkqAsghsmQUEtHUE/ytk6+mNBRONrdL3TBx2GCNWhJVleBsJ0udtaka2Rz3K/KLAtavJ0dw7q0cgSqztoIx7oVB2kJBaJ241/MHXfYEUIVPxbWkarn1/ONNquANvrnR02lIssvEyM+RBVzYgQA1HlLhsGHagNHtn91ipOpt24sUE9Ke0ygo3MCczoQ1rCB7b4DirjAmbyBSE1FNjn6fkBhNH2dFPnjwSWmILMhOMOTWd4ofajQvQpq4 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Jan 2017 22:14:43.7641 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR12MB1248 Subject: [RFC v2 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: Fri, 13 Jan 2017 22:14: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 e97f7f0..e1cf06a 100644 --- a/OvmfPkg/OvmfPkgIa32.dsc +++ b/OvmfPkg/OvmfPkgIa32.dsc @@ -89,6 +89,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 8e3e04c..711bca8 100644 --- a/OvmfPkg/OvmfPkgIa32X64.dsc +++ b/OvmfPkg/OvmfPkgIa32X64.dsc @@ -94,6 +94,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 6ec3fe0..bf8bb15 100644 --- a/OvmfPkg/OvmfPkgX64.dsc +++ b/OvmfPkg/OvmfPkgX64.dsc @@ -94,6 +94,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