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 6BD58821CC 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=5OxmL+KUMPQ/rye+acA6LE6G1vVB7aIhTBWP3TEhiqw=; b=xpfp4TF2317fdruPnPGk5w7rIHFgjzRhXzHZLjcJbzlcUrNZufSCwwtRr+sI0uH7EvfoXyvA80ukbvGu1+uOXtyQn918J7V9iIsNEwpdx5y57ex9GcMfB1YU6387WIABBKEK/r7vEtYg9AB/ndOYqgAvVIdrJ1AN5Hkgf0ysx6U= 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 , Laszlo Ersek , Ard Biesheuvel Date: Thu, 2 Mar 2017 12:46:32 -0600 Message-ID: <1488480396-32358-3-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: 00614428-7e77-47e3-026a-08d4619c7a79 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:a0ekrXgcknjb27oSw5of6CVXjLi8G1ZrdrRlS3yJT05QHZ92t8PWOrKQY5f8wSfiqCOTsriyPlEaCKvuCI9jOUqp/YyILjipwVmAo+FhK2uEhLg8+4iA8bygMMaDQTkqv+XbmJ22WYncfnZ5mnxgofniJzKt+Jc0CbkbOusFhTus47kb4VOIsKlnzYutAKppSUngFEMsD0MgdbV0SOSfCgX1HQAMQJ4EiDXaGLjKpkUVVX1kDMyzSNP7YSXDCqL7Yixn5GQgTTGLJ9uk+IQDavf9SWpYvBqAKb6fWcHTH6I=; 25:TXvSSed8wEMWXXFhC5l3EWtD8u02TKa/xw2OozIlrHtLs2xZthA3vgxUzISrQwHmd+Hay2L8rErjaMd4NVkljk/o0/zAVQrnH03rd2tnUHfSROdPOTqoZTyut8npS0FpyUzwqkjGL1M0rQmC6syQQTApnyvlIo9ZxhbFMw9zmuFI0G3CFv2qEB6RctJqHUxqIEnqkzOa6N3sTJyMw8c7v0JvP9D7feAKPLYE52AjGfFFCMWcr1QVdbxKilHf/OleznD301+Srz5foi1u22UE3MD+zvOLWy14mZ6AcdbvwdsAgSPFoUIglEACHnzlEKaKL9jUKXSbiWn789PdhyfGcyt97SvwDCLfCr6tgFckHKxCRwATfBD9o5iY6tcgM1z8Pf7UcGcfpJMgpZTSyQBBy+U8rjoj2riWGxIvKTtxugHsv5effYhgglt41B9f/TfL X-Microsoft-Exchange-Diagnostics: 1; CY4PR12MB1239; 31:wQ851DUhv0z3r/rPoA1ozekVaGVlM9Eg3UoooY7cALZm1n/BwNbNqOg3EcKqYExIIXR6AKm9bnSbF6Qypo72BKAPnAAeXGvXFsAoLlVta2jbg+v8CzAMEs+mDHkNt/RZGIR5TZlHGDbuVPmGX5WxWoGJsTFe1o9YJQOfvhxvzzXBTJeoLZ6CrjrI9kk24MtdWTsKswiEO78OMVuF7eHPnwRTQqn+LbnZ/HZqDdCVOuQ=; 20:nAlts72Fi5/qCRria69mVJ7K3GOXhj6ZI0E17N8a08rVE9NY6fHuNrGOjr2FslXtkQOr1AHKgn9rtdK3XdE7xkOyp8IzPqslCSr84MMGi+n1yZJ+npWKYxOEEfwInUC/kubk7NVJrZFV5Dj98LoKmeenbdj8WkIrIdQtT+trKcCdrR4tT+suuga6EIxbQJNdFFzOIymgoo8PbSZXbFE2lVcP+YXqUQBLeIbMTa0xNu/34mtI4/i5tlFSGaPynKyWBrch+HDnLZcRecSyzkbkhB8LnjnglKffbeDjJOUSIFE3JgtsPSBZSODE0yIaCmGIHY7/vRyoDZSLimoffEv48nmB5nYzk1IYZIadKnVNcHmkJR8fWCyvirR5QMRoxBkC/1hG7znpB/Aq3x8279hRdL60Cxj+mCkOqTcrQ947WkeRVBDwDgfmak+/YUx0Tq5AOEcQRpy10XC9VHbjD0oVbQwH908rY/2wLLttujfucKGbLf0OR/gycAVqxpRwsPpp X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(767451399110); 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:znxZVS1wIo1g7Nni8IW6pdLm2TB6KV3+vfoNDURnNh+b7tMfBiiDtkXXIKBXm7umt8ALopeJEuegKaIkkFdHV/VfLRC4VXhK1D8O66Ji5Y7997Fj4qvlaG4Jzx3Rj9ulB3isluiUBkWsjJkozr2yhvdNPu3IukxLS4lTyp2pE0B5H7pGlC/wt+RLvoCvineVfHGJpAfWBJKPIZ0YrBMoLE8WWWbmtItYniF8RmX++2Ar9uasqOt6Ru7MpQDBj+0LPD4eQJIpFDngFMWesUJxOlnI6HlOzppDxOIJEA7wosFnillszzHXJdJtmPHLd90gXvWPUwAKnF25wGdFfFMjbTU0HTEFLRUYoFi3NBw8RkZLoxtg7ngB19S8scuObZAVHBggW3AKsLPmAQV2RQRpf4mVa0vUGWHl+gYQPefeL/LxpYRZjmzqu95NzMKHknI6gKYY1KqQUrix2kN0IMl0E4z4gx6IuRg7TOkhjaZkZLCmIudFqs8hTgBDTdVtW5scQgB9RyZ+GiJc+t04cHJOf7/ww66iwzSpTHupYp20c9+Nlyks44Vz39qBwtG3fAMgUaaseO4FaLJdBoEWOkF6c+iWW/q5l4WmXmGu6aHMl0D0FXV6BbYlRiUPK6CaNQ1m2keLbubeAvWyWuBx5L0sm91e8SnMvrLUkAItMZDbDpw= 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); 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:v1cxcPapW+9pZjWfaZ2wYpdPGFcUR+bnlRQqw9rkJ?= =?us-ascii?Q?mSVaceMtcRG2HePglQs25UZ0VOHVWpvCx2laIIMtoKP9NRKiJrYf8LSLOBIX?= =?us-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EpwDytLvX0+6tM/pnOkOmxI?= =?us-ascii?Q?qy9j1Ue5imnA4p8vZHzlmMfN+Ema+6SQsKniTnY7HO+s4FtTMKUfnkOaQ/yC?= =?us-ascii?Q?ugklqlxYbVnfK7b20PrXRig9bXo?= X-Microsoft-Exchange-Diagnostics: 1; CY4PR12MB1239; 6:H+PgBmhFmG963bynls8pltD7ZlWy/33mXrNw2fzGttaWs9sNEWz0UC2LATL57LcWb5bARJaVcDK4q1se+yXhmo0QAIOamxrqToQJZgXkokauwryTiWS4pJwmBI2vVgFBb+/HaznM4GU3r5GQ0isjWv2A4lfy3lkZgLJXBJE+w5PakFkdMgByolWo8wSjD2Ivt7LKktzX1I4VxSlKQ2Bmk0HrhqLplfL8yUVhBLbp+LYEu6DJskKeVQoAGmjbQgDs6bEzEmsw3tQ+IVqrqkROj94bzHyuvA5BJ8Tm2WYTFldmmN1NhBL+MxZJHCWtKykf5MK3prv4GQ7HqQeq/c0LW5kkLd6asMtcP1rEJSpD26gi6PTLH1f2t8cM1HAh2dkbbvPGaolaP64B+nWEBwY4FPooFdEPYKzeUYW4HCzGvgk=; 5:chQe6Qrh2czX1flaQG2VIry/d9xqw7VVs2jFg+xoBELh/6V2OU5gEiLVJicKS9iTtjZyeUukf12u48hq0H5FMfhCxw3KbBScvg9hgiJp00x1zmEjdDFW0Ka06LaAAQHlVIy3wbVHR4cclMK0tcwekg==; 24:kKHEQ82RS1987/NIwcMzHFTV9TvHr1jhrM3I+VXLHvFVPFrOXMfmNmASl/fPRwTDV9+ou1A/fcMOjgXy9JkuB8BdXooFcIrhpF1Y5SqFXjc= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY4PR12MB1239; 7:KPfUVJtZOAIi/5E07SsdZg36jC7INDK/6luYzTadabNWfKB/9w6xiwAbcnz5KcY350p0d0bafyX7NaupTEZh4vcDaPkbe6LXl+m2h3Ahn3j9jtz1PfpgB83I6fDsOH6W+OWtYAhaF0UR9TYoiXu+StD6GOgSwlAbwkHpAXvJOs1g59mw3VDY7a88JbswA9UlV1Y80tfJa4hoeX5JAre6WsMH/WvnTbTQxhe4WBf0OHHPSA3041dYwytbIsXqswsUtEUEkLST653LRuxN3bas0w28dX+XhsXM7Tw/8WToc8CM88KLrAF2UoE4a45VJ+16hXei+66ZKOD5EuFtNVEEkg==; 20:kff+r0EQo55OjP3LU+vZem6icv3U6IW1wQsn4XjavPb3EeorRoCLfarGRtGy69y9Ov0uaFiyUXb84RJL/8/KKB7QbBS2IjKNgn/uEe8YSgpGilf3XYVg4KWnuW1ttlWr+nnOFOsDn35w2i+IAgQEKzZMEo3biiYnudH6XCUTNXHhdISxjlBLJxZz4YFrVslykKFdR1pVlLg4+Gj4MYGnfcOVesEiVCDDDrg84jaHe2CY+dp7HzXklXxHPOKky9Pf X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Mar 2017 18:46:46.1433 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR12MB1239 Subject: [PATCH v4 2/6] ArmVirtPkg: 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: Laszlo Ersek Cc: Ard Biesheuvel Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Leo Duran Reviewed-by: Laszlo Ersek --- ArmVirtPkg/ArmVirtQemu.dsc | 2 ++ ArmVirtPkg/ArmVirtQemuKernel.dsc | 2 ++ 2 files changed, 4 insertions(+) diff --git a/ArmVirtPkg/ArmVirtQemu.dsc b/ArmVirtPkg/ArmVirtQemu.dsc index 615e1fc..04edf99 100644 --- a/ArmVirtPkg/ArmVirtQemu.dsc +++ b/ArmVirtPkg/ArmVirtQemu.dsc @@ -2,6 +2,7 @@ # Copyright (c) 2011-2015, ARM Limited. All rights reserved. # Copyright (c) 2014, Linaro Limited. All rights reserved. # Copyright (c) 2015 - 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 @@ -59,6 +60,7 @@ TimerLib|ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.inf NorFlashPlatformLib|ArmVirtPkg/Library/NorFlashQemuLib/NorFlashQemuLib.inf + BmDmaLib|MdeModulePkg/Library/DxeBmDmaLib/DxeBmDmaLib.inf CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf PlatformBootManagerLib|ArmVirtPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf diff --git a/ArmVirtPkg/ArmVirtQemuKernel.dsc b/ArmVirtPkg/ArmVirtQemuKernel.dsc index e490269..bc8701c 100644 --- a/ArmVirtPkg/ArmVirtQemuKernel.dsc +++ b/ArmVirtPkg/ArmVirtQemuKernel.dsc @@ -2,6 +2,7 @@ # Copyright (c) 2011-2015, ARM Limited. All rights reserved. # Copyright (c) 2014, Linaro Limited. All rights reserved. # Copyright (c) 2015 - 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 @@ -58,6 +59,7 @@ TimerLib|ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.inf NorFlashPlatformLib|ArmVirtPkg/Library/NorFlashQemuLib/NorFlashQemuLib.inf + BmDmaLib|MdeModulePkg/Library/DxeBmDmaLib/DxeBmDmaLib.inf CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf PlatformBootManagerLib|ArmVirtPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf -- 2.7.4