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 E2D07821FA 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=2HBFa596Otek9S4gdhLPAqEcsk3dCVZBZJKM0v0b/2E=; b=eV8HpIR929FkoayJefw9FLhPZbbhHPOJt50TPTmF59gK3ETpymwpg1Lb7CO8XEXvTZoJt2saEQM0pkEI3EymeA+9LTUZLySqozrC1jdN80v5jSHz8WLAYX1jtGI5LsZxlrXs3HBD1N8BLcVIjx8F5CA6GcIkiWN3WQaduc4Swuw= 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:47 +0000 From: Leo Duran To: CC: Leo Duran , Jordan Justen , Laszlo Ersek Date: Thu, 2 Mar 2017 12:46:35 -0600 Message-ID: <1488480396-32358-6-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: 25720355-5d15-4b0a-ee9a-08d4619c7b5d 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:WCfMSqqZUF5b6KyGRtMoxuhBUqfmI0EXCMX87qwBVMfhhurCxNFORF2PurLd75sp67+QsilDXgadO+Ywj8E+soSVAERfl1HPCYHRFimOr9czISXLWQHNeWCzbmqU5RgLqPSc3CYU6Ag2mYeziyCwCere+KGFqPY2KQsDb8wn+2j7d8j3xmdU/w1Wfuqo0NepGTixUQCVUpu68IprwlTzeZ1aUZHfhudOXRVHJgvlUK/2+VM8WSE3Ng4X/2puSe78Gjtdl+dM5ExH4lEw0OJxt5mVv+WARGMk5h+uhTEuHx0=; 25:vy7CULDKSyBTme5Cf9ktBekKMtCZSI+sbKuY1nTOxanRrsiD+g733lPulYnycSEByIuHn3iqJn3p9VRBxKAI6GdOoxJyRnKWo3OhLW96yoSYHiDDibbaLNLFSmXxHTdh16xI/qs9LXaQ7NMs6uO5nqztF9kpSbX1FUNUrna+HEUSrtYCopPKhSX6VqkuzppSzlG3SV8eSkW8Z0bahkBPBye0olJHeeESkyYpbKJTKsIOuK+kQ2VTr9BP/v1vvzQ77nz01jj0DaVrGIE6N/0tYZQekwk8usGVZAQ6wgA0nUx/jf8NEqUFxEgABBPEqHIZ3Aah7gFGqpgJRYi+DLC/TqzBzto8avgIV/mcQMWISJTBfmQkfKohd2oQGBbaC8EKQ9dMLmEvsKIWAjl6qIqbMnB46Hd2PKc/M6UbbktZYqz+71PVhkeIPo7cpfCO9ixpv9M9XxtLxWEshzHsKQmUZw== X-Microsoft-Exchange-Diagnostics: 1; CY4PR12MB1239; 31:1ajA22Cv0ZKnftjMSSUfLLIzEjwtsoKZ/s0vjU/FJhuAT5Y6AyTxGst4Vr3eJ2IK4BtfacnphcN7WmBK5F+h+PYmPT901UkqQU2slLJELbzP8tuUqSdaWJGO6boBJf/z2QVaEem8DQ1oEVJv0K/Hin9fzhjOPvS12FGJikpf2KJ44nIjMiEhgozt+b35c2g7QUcJ/DZVVTm/B7g9WOMZEF7uTgN4ghGOR3wqTMNQrS0=; 20:Z+OZiM88CBvhCOlWB/D82Qxe7dG+G5InDDvmKXa2TJ+Rn/PVF6ZQv+ZKLzBO9gEmBGr87XMo6hLc1XOJfSIE/U0KbwBnpiFr9aKoHHQ1EvTPgtckAVuwTjBvXZJFf0t0/RsANSaXvWTf8/YZds8u01nPSPj6lFqCmBE9EAA33nx/RIvJLcSM9vjcXTEpUdZlAbNuNr3TryFWcqatm9Ms8Xjcq2P1FGCbQt59YE7hXkYbnQIdeTEuBiiUXySPRrmc3EsFQzLwOh6VTVfppcEbcH6GxDtCm2JHW15O7JjrPK18Y+fEATU2YII559bnWwWWCUfWyBybXIrByXQt+eoOnu9MKsEGEbbcnQ5KwYDE4Ui6kQtBLVVFfsz1XiahX3npT5FstBw3YIH+CaUmFbGvm0FPkcGIwacRs+ZFHWB+pW3riEdEXnIkU12JDAGcugCL1HsAy2h/lrxM+iCQQ7T3k/UOFQaNCiKXNr0YSuEB8s5hGOkrH88pyY/YwB9N+3dc 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:vLNrHVLa1P3JPAG1TTf2ao81RnXSoLNq0XpXRZAwzl/X+HNSbivht6cSVuKzHRUAgv+930kb2LlUDTxwcbKiE+DxOfLfGE31xbAtxV2+StpHCcKVJZaCbeckZxnGALbix13wEMtN9+FDG+AftvV+qnvGIilreRIl3Z2ODLtT5/hMpCsHo/s7U8Xp7S7IUACQKJnjl9zq6ZCrQAobDuP6JLpmw7Ko4L2oAnp+NEG400uKeI36TMdFQs+hHx4C2FFj/4P49vQVmOsE3SduwSfnGI7dwMSKkryEAtBbXrL0nU9KlPURdNsRC5YCxv98y0mfOixHvg1DjgPbERIV5OUtxWu5tkmHSgR4D640h7yCy2PvjyCzPjqGHYwPuPZqJ5a2jkvbcRgyNEUh5GN54OxK5SoNITGUu2qbXSjXM2TWT4jL75l1MD59dP4UKFpG+Co7BKT1uKX1gLgqbFdlVM6pdkZrG9diZTIS5w04FT7hwMgOtoPebqBEHPoFx9BvuPZUedXekKIovUiGX87T5PM4XUk328Ia2eJFAs8pw+m/gVCDgksODaNOWnQKYMysd0mHU6Oh7a7CSkt10aNQIwyPRZA0HISJfiBOdND9jFNF4LZlrHfWUWHSnYgwCvch/ePACRxL8bpPS2LUjLRxGmvnEnAWvdaWEje4TZOxRx9INTRgRsmcpgiTNDc+wBOCXhPZAcbsFuWVBgsO8jdUs4AG3g== 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)(575784001)(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:EqmyE7xAtBAkRqwA699n3oD/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PM X-Microsoft-Exchange-Diagnostics: 1; CY4PR12MB1239; 7:YXxnMluIrwK+ik1Zs6xkMiFwm0IDIdf6dgnuswVCEA4+1mW0AF58Fm+/EwAtyvaSBWMqOZ4lH8DD1CLQKj4AvO2uDDPi/oWOno8wGnWUvEs4bqMUQoE3xFfZINWyJTJNwMUNgrxCfRjC7CmfqgtCBfjle8BJqCZOQMOPmFeKHwU7iX8Mgzq1VqbWTqyY7S+Jkq0I+tfGjjZKpKLykn9h56SX9d5b6b7195Tne3N6Os6GP4FGfLE6Sl64+PTcJc8NLwE/uTDfg6LJt/KGHKs+L8TngR/lRXTc8XAxkN+XFVO6P8Y60mly+/zCkF+0HEvkGz+L0zVA2y8JrXaX1+Gfvg==; 20:Ogwwo5qRKwBl3VhK9Xy5N1PwcvnLafX4b7SRazQ/5muTBbXu+JIyKgdBqOb6W4JmLkeVVDKpMQ8pT8nwY9z0AhofV1wZezNRx2+6oJDdn/a951i6NxK915jhBURa/HQDH4hyPYXtPSbTyTUyZHxhRQ6mWnQJZrXpOo8FrLyZIaPaWM4TuWDS/PjFUwxCnWvCzQOZz79tzBL5JVw3wV56kxSHaPmEMGwDbuQGgOSv91XDottHCasz8VIHJUiJjmZO X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Mar 2017 18:46:47.6416 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR12MB1239 Subject: [PATCH v4 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, 02 Mar 2017 18:46:49 -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 | 2 ++ OvmfPkg/OvmfPkgIa32X64.dsc | 2 ++ OvmfPkg/OvmfPkgX64.dsc | 2 ++ 3 files changed, 6 insertions(+) diff --git a/OvmfPkg/OvmfPkgIa32.dsc b/OvmfPkg/OvmfPkgIa32.dsc index 0bce56b..345bbc7 100644 --- a/OvmfPkg/OvmfPkgIa32.dsc +++ b/OvmfPkg/OvmfPkgIa32.dsc @@ -3,6 +3,7 @@ # # Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.
# (C) Copyright 2016 Hewlett Packard Enterprise Development LP
+# 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 @@ -90,6 +91,7 @@ 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 56f7ff9..d798eb3 100644 --- a/OvmfPkg/OvmfPkgIa32X64.dsc +++ b/OvmfPkg/OvmfPkgIa32X64.dsc @@ -3,6 +3,7 @@ # # Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.
# (C) Copyright 2016 Hewlett Packard Enterprise Development LP
+# 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 @@ -95,6 +96,7 @@ 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 d0b0b0e..b751974 100644 --- a/OvmfPkg/OvmfPkgX64.dsc +++ b/OvmfPkg/OvmfPkgX64.dsc @@ -3,6 +3,7 @@ # # Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.
# (C) Copyright 2016 Hewlett Packard Enterprise Development LP
+# 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 @@ -95,6 +96,7 @@ 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 -- 2.7.4