From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0613.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe48::613]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 4F80681F53 for ; Thu, 9 Feb 2017 08:40:46 -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=ALgmrFyssxbocb2sEiShq38QPzTS5iz3EDhB4hAAUt0=; b=BGNir8se+YTgAqo2wQ70EnO8yVLFYLa3cEV0GgDkBQeTeS/Ki+cnWSUD0rx9zQwK92aIzS6CXjgEkrYNUTrHVFKCTeqXmdeN+2LWJKmoTZo1QL/hKrrs7yUG9Dyzz36aJJA3ekk9GMriu5w83FWNx6tWL8eoitneiCfQNP4+PuU= 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:43 +0000 From: Leo Duran To: CC: Leo Duran , Maurice Ma , Prince Agyeman Date: Thu, 9 Feb 2017 10:40:24 -0600 Message-ID: <1486658427-6551-4-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: 8b7eb239-7882-49ed-724c-08d4510a6450 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:7ExJpbS5sbB2rZWfici5Ft57WYlCQ3BWbK8pjko7ian1KgLGP17LO9kLqT8ceIF7MtrHV5XR/DN6VRdI0vvuvPXC65VjMH7GO2lAsdpy6bxUovl9HssZ7dm+eJx5ijuymxwKE8fj1Gywp5PVDrllRlb1FBYvJ0ZbLguJJeb2x8uSPxZIjZpUctYdmRP9ww8c6XUue/xz9nWwW9YA5Xr7kiQuN4ZVbiU1m03Mv3kTuijpcG+YK6NWsEZsryPYwrLC478K2FKQ7tI482eQKBe/1Om85aON59fgK7//lIL48P0=; 25:7XmwNj3oBEFXqimFC+bNxy+ibTFJjpIvTw+cVWuOV0aWKxVGT0XUWbUADdcvt4umprMawteNCn8Ra7Qh9Sbq/AP23eZ6VsOMOhrJxAbg7scb0l3r6TH9pOKy+BBQBgee9URAPx+oABMf+a5Ul0XdJjae5AGAsiUNPefIifoNptupcgehodpLAvE+TSzK8eb78NmpZg5Z82DZCCssbP4yifUz2jmKdnPlby1L2PiFiXKOebWqD97INkGn3kepExGJdmxpxX4c5XerMgPo0E9W3RV4o88NOQf2EGY6QeiKG34/BjDOtC3flVFYcN+8neKlhQG4r8V9EZ9n+tnzQeKWxk0U6fxg+z5oBXYbtfJB0MUnRx810zPRUtJl9DCJMaRHiixE0rjsgTJA0Ea1xXGm9477pBvBpIAlTG2JnLN0L4qvoW696OEFokCZnzWXH8+XYdnGp8wAbpMtm4Swi1esQg== X-Microsoft-Exchange-Diagnostics: 1; MWHPR12MB1245; 31:lOKZ7HnBlWIqAV4I5Z3tY2MfZq6pTX+wiFcl/YCNWZVD4+TX3O2TpF1Ms+HPm1K+p8++EuZcpvwlOto2yF745eitFOsqFc7R9UNRMkuT1X1i208DoEH6QDXrEHuJxB2uMUhTIMbkezbg70lYyAQeldJSgHWpmQhXkCXTNYOliMcv6eiNM2H3EpACusQmykGpL0gF2sQvAh+/juZnLz6PXGJezKPM2jXH2YoF5TsV+8x8x3ebKJT/8P4Iv7sIY9yq; 20:4v/T6FJ/VYJeYJwVRUZ98EXg8ym36Jy9yov77cQP67y75NwZZwTFP5Er/J7dtnuWk41HRxQUUccbFzTIW8s71l7UA6D9SWKXlMzk4Ycnis6hadxofhPlzTU9CmukLx8nBKgcfTvSBPI/OYoYSG9m0dijgkiJoiaZTGdTy0F6NpU88VcJFbWMJweRpk670mkjV9giHSLFXmgGGMAujhVf9+EheiKhKPmnvI6vOCQTlcmN2Bxo6MG42PpKCLtJn4lYm2LTlrSIkFi13Ons/pVY4KAPOIfQq0fKO26vzD0VFUG2CmwkPGv19Vo/am+FlGfCzalXsdcYfC+4Ztg9KSahiEKagncWl7AoeWUGOiI9ICsWkXmuzQGVCyXdg3PH/VIgYVu6TxJAjGgMqKdBBrRvtXY7oIFj1CzTb3qdqYMYPvFdvD/EnODaFOKx87/HxNb5Rmd7z/BbWjVW7Thw0BU1s0tVJw71ADMCPtTfgQMtOGUt37GkAi9q8fDXeKcdEDmc 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:fegfn1lTjRDamqtKY0wddAAzHX+XHYxRG3pz2iTZ8lB70KwkIWDbpfZ2ruBgLTpVE4cZ+8mpHfTzBZJ5PhLGcQerBn1d26lTxD7erQvWXrNKLXQuo1ulZZz38vedOlA3SyTMwMvWUR40iCn8SjndnkfcxJ07QcIdr8RvlfSiLlN6TJcaIe9VNZ2kAO6l57Kulb7d+ReKZo0L2lCGgU9nAV9yhqm24q2Dq3uBuJKYh31LSJPbBDEY2Van4ifRNJTm1pdLQnHv9ZL5MV+lFzFGWYt4dULjrGlHrx+njKPZbk3JA4K/WQwYkjb6FlBKAS9ik6lmXHh5hfBivet145hBdAOMjgJWiZ2IHY+zRP2vPLDYDrrqYRFQqZoOLBt3dPzKmo0aMHT3a3QOnw1NgdtRFUZ63+eOpGQaNse/TXO7c7GV40bqTHAM0VoqtZuu/Yd/fZRo7CTVgzUI2DvNuH6hmHVnN7X54/G4tblFludq7g7gvtKSGMU6Wa7NxgFdIdSluH9IzyubB2ls+aVcLtr7kZrI8Qh9Fy3j3DXMfsxAZFZ+lkrVcimnwSXsiOARc8joUhgHe8QLCBd0JmingM0YEM5CERz1kLmyQgSDCN6Z74CDHH25lXt/Q5huhLVxEKYOtJI9YPr/QMEDyV6OlKGmVGE5iqvI+9ydajt3qdSomYXvp1/ibq7rvGkKMCDsyL4o 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:+N89wk1f5ppt4T87xt3og31brn/baROhgtW7Z2Yg9?= =?us-ascii?Q?dtS4K7YXSi1PoeNYSFTyiJorL0mxnZ1HfOXqxGsFCU9gEuXUHQx668rdnMi3?= =?us-ascii?Q?xU9B15r8HIrVJPEUi1GXtpfg4Sr6yX/KRV6K/a9QpcQJq3QkAtDjEn7cHXCL?= =?us-ascii?Q?BXYbI1tiElMDe6jjSvO/AS+5LonjOwXjLZrTCsyO4SlocPBrBR9200cWIu+i?= =?us-ascii?Q?fAjn1LoKn1KCn52FOU4vOF+LXo8dtj+16df6YNmeRFVerTsoETb+tGYFl7Hn?= =?us-ascii?Q?dzv7ROtNy8CKHmJJ7hwNe2hrmOWEirysE/e8b/44fLCIDAR+la2r7lvqvU2o?= =?us-ascii?Q?JpmFbQzk+0/XCcCjT2cKJbumJb4CjiCg1tPYcpjuVhviE6S0Ws698z/0FPWS?= =?us-ascii?Q?MJdWKe0Hql2fPhmL5wJUSdkujwE1x8aw0CoWLNwErV86T9pGkCGt5rz2q8e+?= =?us-ascii?Q?8bWTUNtAfiCTzdzC+0gP4wSZEBaEToiSt6hQJZOLMkDZbM2qzieZ6FqjoUoy?= =?us-ascii?Q?uVaePC+Sx89liA0Kcg7xKjE4/OsCmqG5fdMvreWdn/TpNOgfqG1/EjEE/Yjw?= =?us-ascii?Q?aZajrB+fJUyJ3f6tCnYq8R+3wHmMEX5K1E8wstUAtNkeiw2+u5ArRepQdFdk?= =?us-ascii?Q?SOSTyy67cfI1aa1bDaRVWp+cDQXQTJWkv5XHzM4zkAFoMnlehCgHPaTXe1q4?= =?us-ascii?Q?fSBTgh0ahWPubJwXDeBF3bkm+joHpvw2ySVytqnikZiTdbQTBW8gbhPdtpQs?= =?us-ascii?Q?0skgk07syqT3giMiNe+x0xt1pnGSp1GHYq+tnhRHZL7aeCSog+ALzMYWIqbv?= =?us-ascii?Q?1ExcdwXCWj0a1dk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r6VCbmXX+ckdzhz X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Feb 2017 16:40:43.4163 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR12MB1245 Subject: [PATCH v3 3/6] CorebootPayloadPkg: 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:46 -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: Maurice Ma Cc: Prince Agyeman Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Leo Duran Reviewed-by: Laszlo Ersek --- CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc | 1 + CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc | 1 + 2 files changed, 2 insertions(+) diff --git a/CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc b/CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc index cdfcb75..12fcd3f 100644 --- a/CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc +++ b/CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc @@ -140,6 +140,7 @@ [LibraryClasses] PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf + BmDmaLib|MdeModulePkg/Library/DxeBmDmaLib/DxeBmDmaLib.inf # # UEFI & PI diff --git a/CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc b/CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc index 6b16af6..28e1ffa 100644 --- a/CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc +++ b/CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc @@ -140,6 +140,7 @@ [LibraryClasses] PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf + BmDmaLib|MdeModulePkg/Library/DxeBmDmaLib/DxeBmDmaLib.inf # # UEFI & PI -- 1.9.1