From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0628.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe48::628]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id E1E7D81FF9 for ; Thu, 9 Feb 2017 08:40:43 -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=wyeDjSftCGQ6EuvUajFavEwoBENUYZuNagJoa5HGalA=; b=vP0GORPMusA41QBSZ5wZImxql16v6PLBY89GV9ZruNceUAB5Tdo/Z4O2Mx37zRSC0HF380CmpqleMd1dSzFJH2lfayRXK2E7spCac/r8Gu4Txu0XIMunxe45U96tT2ww8m6WxRzQBwJtpJZviRJjggZqZxlRHBxw/EXlvARiOIU= 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:41 +0000 From: Leo Duran To: CC: Leo Duran , Laszlo Ersek , Ard Biesheuvel Date: Thu, 9 Feb 2017 10:40:23 -0600 Message-ID: <1486658427-6551-3-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: 91ca58c1-f645-4897-3c35-08d4510a6369 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:R/cxiwEYu7nwvd87R0YJgdXk4C6qtCknX3ge4IRWzgDHZ4ZRAzwfmZ8DCS5ChG9z8Z87pKGu1vqy0o8GNGbJD9HJeHEg9IdO24rjyHnPg59w3Z/8HUWllNzXfjLiC7YPKh/XkrLcpbKxzg9THY9Xu5v/06EpMzUk386eoO55mKj5Nr/pKoYVYXxHdqenImafnZkaiJ3qsxyGZMuZuzYDzKAg5aRyIn+5piew5j4eciQJjPvT2oKK5OAhfCgnsmbO7qmG+7VyP4t4aDUwsEzp9cyaay82sFV6dPsPqkZkWj0=; 25:wR9OWEFFfJiWmXG48Az5RogccILjYYecf+iRLfZF3PUrBQlpg14yx0B3DrwHcpU36AU0+E8g178lfzdVy0etEi/w56wQ8u6XcAig2WWFWIGZ6Sd6IKwA+wdk0nqGLrvkfgm3e9LWzAW8XzOvCcDMUlw65DZ+EDhgvep2MetLQDrHkoiUtoeeCZEpq8rXvSdmQnlXqVE8FDqGZopFyL0o+YP68UvErRLPovVG+HYM31QVnqYtxG0Ssitz4U9ZexsdiX/Oc44sKf0rA/jwg79Lqg0K07IkSpHR+dWh5vplRQNs3JY+pLwmgi62laWzB/+/cqBLEHE0o40AuGd5RVpmd84s/3Wso01Ra7L1uVhXSq5CwEh+A3afituBPnK4BN6i1a14fAlJRggfbMCLYp3fRz2CutJrLH0iNo/LFbDbRJNoLXQmLl2oaMfg4QlmFB6HB9bjvgfjsLPN5ecIllOJqw== X-Microsoft-Exchange-Diagnostics: 1; MWHPR12MB1245; 31:I5lUuDYEjwjHY09nUmrgd3GY75mFub2Av9iDHhFzqZovflZadXLRkpu1NNBtf8/UvkDHBQ5dFFGhjHxATo5B/TzHpzpym4AtdW5eOK/HFDgzPvaOUcNK72GHlYPIykDavEMt/W/+OlVYIq4hpljduGYuyjkk5YGbCLuONkIYfFmaYCfq6kCACVJYMwNUKWkwFSsKcOTviirekjTzzHjmlYUTJHntgu/8/RyPsoRjtdh5lBldEwRsjtte5K08Va/Z; 20:ssz1Ru65bh1Bs+D2JwVL2eXOeut/oXlsRGsx4SRohv2Ra/+IUhlvnh1RlGZ0uOPEpFbdNzezCXJzfaIKKq0FBF1TwpPNNnLAmIJBULkmypftMExnjpRaWV8vzvS1fdFAM7AXC3PqqCAKxVR8EuzmBPWsxdxCEkSi3IGBXCbMyvtrBmA5+TlMBfN+hV/hByy/YZquOtwPSY3nvRiYAb7fFPXMBTibv6yNTjjDUUUJqraTsWqrhlHw6RG3BbNLolDU8jWr8+UgUOq6nLNdBq0Hb1Tb4IaqYHP+4Y5SQu0Nw9U1F6uOZyKGsKasdH1pOKgRrnNiSWWQZSHUm5fhrQgMill79CCznwhUMIzH0qSYJeV9MBvR7uEa16FZ50Uxh6aE7uropZs90qyexB9u0A3KUpj5QBqi5kM79AjjTipUDzEchMqZPHXJe00iVLEbG26iGEgpOM5Ek7K/I1l6IRTGJ64SRL5zKVTj5nHb4cy7uessDX8XU0GR+84ngbhavuUs 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)(20161123560025)(20161123564025)(20161123558025)(20161123555025)(20161123562025)(6072148); SRVR:MWHPR12MB1245; BCL:0; PCL:0; RULEID:; SRVR:MWHPR12MB1245; X-Microsoft-Exchange-Diagnostics: 1; MWHPR12MB1245; 4:8RqD4kVnj1WdbF2UJqf46DNuTESKtNm6J8sZQPfLNcb7hgZxYl41kvTU+a++xoSZQUlk1KvVSFkUxbh7y7HSFlqBMvyXV2kjHH27SWOfjTYqzxS6cG5WgUJaXQZ2m0KFjXVIHb/WQoO97DO4dMeoVehnpyx4KSu522uIKWU0Dcw0DN7vq3RevuGf9AUrK4PhKiWA+Hs7h9snpXr4CLbSVyFAMHGEXctZIet8H1Ldkumz/IrVK1GxvIQoRhSbxNbXtpPa54R98imnzQJhrpkcKFPNKL04x6aKAPgZjK2RS8BKEV2DijnnFjAd99wJYPPZ/g5kYFN0JpRdltu79BRPn8ea88iXEaXEuWIK/ppHQqJ0lJDQlwFAnNP8l/bJI9Bz4wlzn80jCDYVUf9ItXAiu0Mllanrvj8V2BluUP4Ky11DbggVxNQwoxuLLpz9jiSMFFaOzJi1ouokN33CmAbLCS3McT8PwsY/o1nEFHtJWg6uSG/IZS6jTDHMRbiDPET2EHxXoUaAiOCHe0bFq4BGf/FXAXXTFbsmqEj/xQffoyckyDtiDXi1PdlsyWnfF93MupgsDeDdm7kv0nDP7t9jP6HWjx+D4oG0ki3Hno0U9UJFYKYV2LKvubTjdWNoT/XGT4QQFB1r0JjtfIU+sGgizoyB+JOi3rdDkkhSjk3f6es= 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); 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; MWHPR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aZ39H7QF6KuG8XX6kvaly0+pALg6joA==; 24:gq3Nu1yfbhxi0kTpF2aFVvQi/HSQbvh2pmBzp3lPp75R9/FCAvT89xkyLYlGAL/A4Fm4WffAEFo0hd1L9lmd3bbHZNUnZc2Le+94DGwn1A8= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; MWHPR12MB1245; 7:jxn+nWb8YmkLJzTmfMG9TeYak2cHDVy+FWr5DGMOqci6K968U7O1uQywv9Gqdg3zxrLoCON0ZMtYppkfhzOJi4K5/OpQ9CfML4ji/4fu4/Y1aWgIe62gS1Si8rbZSS60C012+pOPZMJnU+xo0mtxFad5jrQ47mi8SUFgB5PLKC34jUev4Bu3OruCx1sCagPWuV/dgTXmZuSXCYx6gy82ATimlkWYBbVAvAg6/jw+Nmk1L4NhNRJCcBTVKIoq10h61uTys1Qmq2EPar5lLn9+3JL0bqVrf9JXnUNdzHgJc01oKrFCZoFeqAQb0dIwaxP87KsscYgK/YlBoKJcdpw4kUfLkCHg+KEkdcJUDsLpSn3E6b5yQraC2WvLVCm7+5AVBLk6imZlWnD1tMV/HNVxf/GHlvXJ1Ke5as1W6SHuw9s58JLiyQRuneVhzeJ2nvbMBiMZ+oReUpyaigDBkBTto5iHECQzpfs0tsxmwZaMjXpA1Ocd8w7Wz8diwJ3S46TyVmk/GkE6+Y0mJRkiK5Pysw==; 20:gNWxoabaLHoEfCpndydiV6oSScmUAh0Jecthpvp76imB05bjWH7Ohu8mn39oWS+RDvQjaln1fk7W4zR18ZN95iH7OTWyHc0oydTGSRqSzGkC0nosEsyDBVUZdlxcNtJ+VNO9LbAKNS9faS7oi9qizwVo7rO2DR/bnrlJwfb2WQe5aPMveW5WEiOvWCP0PkzSQT0R0dmQTiV7TSyzA8CU79Mr2gS4krlFlUUPZ5XKR0X1ftO8T1+YYlQVrlr0BZEB X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Feb 2017 16:40:41.9041 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR12MB1245 Subject: [PATCH v3 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, 09 Feb 2017 16:40:44 -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 | 1 + ArmVirtPkg/ArmVirtQemuKernel.dsc | 1 + 2 files changed, 2 insertions(+) diff --git a/ArmVirtPkg/ArmVirtQemu.dsc b/ArmVirtPkg/ArmVirtQemu.dsc index 8fe3c38..d318f82 100644 --- a/ArmVirtPkg/ArmVirtQemu.dsc +++ b/ArmVirtPkg/ArmVirtQemu.dsc @@ -59,6 +59,7 @@ [LibraryClasses.common] TimerLib|ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.inf NorFlashPlatformLib|ArmVirtPkg/Library/NorFlashQemuLib/NorFlashQemuLib.inf + BmDmaLib|MdeModulePkg/Library/DxeBmDmaLib/DxeBmDmaLib.inf CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf diff --git a/ArmVirtPkg/ArmVirtQemuKernel.dsc b/ArmVirtPkg/ArmVirtQemuKernel.dsc index aa40374..721d78a 100644 --- a/ArmVirtPkg/ArmVirtQemuKernel.dsc +++ b/ArmVirtPkg/ArmVirtQemuKernel.dsc @@ -58,6 +58,7 @@ [LibraryClasses.common] TimerLib|ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.inf NorFlashPlatformLib|ArmVirtPkg/Library/NorFlashQemuLib/NorFlashQemuLib.inf + BmDmaLib|MdeModulePkg/Library/DxeBmDmaLib/DxeBmDmaLib.inf CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf -- 1.9.1