From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0621.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe46::621]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 67D7581C66 for ; Fri, 13 Jan 2017 14:14:41 -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=Qs6Wz4KhspO67hgjs3z9cEzvLTnsGAE5E1uIj2h9JbheTjep51t7iF8SpceoXRaNRYUC9YTOFEq+onbK1kYK9qNeHvz4pZdEGSrqUtsc9+XyO8H6f3bYcMeDGZEnFQFx1v3W8DJ9jsiXUY4eT0FdfOqeUqHusW1g3o0wqYlLPZI= 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:37 +0000 From: Leo Duran To: CC: , , , , , , , , Leo Duran Date: Fri, 13 Jan 2017 16:14:13 -0600 Message-ID: <1484345656-3574-4-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: 1138aa8f-a85d-4d8f-bec2-08d43c019102 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:MWHPR12MB1248; X-Microsoft-Exchange-Diagnostics: 1; MWHPR12MB1248; 3:wTpCuO5UYQwt15iRi4MaqYgSNxz3Z5QJjzZ8S5eLqz2csm4c/P84SSv56ODe2yEbjD5rFpLqtbTZkE5enrlNpTe/VvEivWz31gzfdzv8+hmFKL2rG/a5SkxyRpNllA7BMUnNfD0iyyKNJ6KC12sRMOjI5MSAP5pSGAJzcMDqjMT6ZvuS8qY3KF3rNtG1R4p9l7Q9SwFSQXXXEQM/CC77heNjTFAS/g4HCdNbgoDnZaPgDj6PD0WYfvdOTB96itygJwlUXitAwVPYKg3pQmDJkw== X-Microsoft-Exchange-Diagnostics: 1; MWHPR12MB1248; 25:TlKb3nt4dPCrLujSsJHKjP/0LJRfm4tLVdMi8ScqO72piYRowGoICioKoC98pIPbblvMUtYMk8Ptgb7TkOGpmytek3rLAPRT2+fu7LEhlcXdKg7I5VKwh2BzHJqHfdiBqeed/P3TDpo7b9rC+McNo/CH/cfxDz/EoTix5y3WJhp9deddYRkD5i6oLfz+A2XI8AM+pYpaKMylUXDjOXSwHpR/ZZtlRqgkSS1ha+OBkQrj8gK4vytDX+6ViwZ1Mpm1b+XwsQDfQi0Vb7G42dmT1ZdxEn3rgMzqbb3VD6vz4jM5VpIkX/WiNMBjtSkcOSzKQHQf4XOIeRwzPP6c4yBrsLv1mFyqGyDKfHduIdiRHWAai4rNhwPLm8ShqtdYUzEWZzJ+qF2tHSan0t0VVR+SRpKkyumQhfsumCMiKHoCgKwGcPuDreUkb3ethvKMlAju+yXuoIV2FIG8X8Ms6LE/ORdCBcxI1WZ026iFQraJ2oXWPTLqA9lTxX63uB7ot7GkLhBtjQsXFCh1I5TQo38nNOuovP+j8Kfg2bUK+R/2zzqUqtb1H7nX0HIpaKlo5akSAAtMs85nN+2VCZP9jIZOc7V257HZMKrWmYc/fR6rQYowx/7Kj7gnqmpGDZKN1BR41Ixw2aRfW7Km2ZupNm79DXK4qSqiNGMqvZ6p2ttQQ6KkEj7Ofgz1gv2gnIwRkW8o/lhd7VwdQxp5L3kUKAaTdLFzfmi1ltjyvcB/j7GUI8n1cx3XnDGa5smN4NVyvAG9 X-Microsoft-Exchange-Diagnostics: 1; MWHPR12MB1248; 31:GpoSY613NSJq7Anbo84DFmTMuDVejCWqQE0BmPelw72GNfyHiDZ4IRg5qaULVnF6MuDyQwsUqHsa6Yl6INMHfaN/fA/KGAN+HG2XfJP/vPtuqilmYVSE0FhagULIkQ8tLdrPZyt3s9QklQV+PvFQsGnBirMfVQLBPPJtsZWodD19ZOIUEmoW23SwVepl8LvDjXlIZ/k9Tbm4K6Ghj3FpJuQlS6eYTqHTTBUpwn7FFJA4f4I2KJoqH5xJ5dzBYtGZAmYfMSbky9YEGv89e9HiXg==; 20:F0oYChz7y7gSIpm+Fhjc0kUGFzTM7gmoHIcjH1tMlS3hXuq1xvXuVYLd7QpdvlunU6TGB+I+X6U/GTIA98h/TaTs/2yPS74ay4NsvCd/CMj5JdnBTXGTc7AG8uKpij1+j9jTNPtNP4LyWbSyBJZ9UgTg13fZmctqPPeYb/+4zQtiZE+SgljHYIxAp726/grgDhQ/EOhZrC5x38tio9A0JoLJG+MJelMQbIGm8Oqr0/VDX9UncLlV39a5QlbD7uBGru8lfeivi0isxdzS4Sh20BEJlezXwJ+Hkc2LtiA3Ee6Aph40Yhb5vSOCZNqMnmrFLgZtpco7GSoNYnNCzUDMzDX4IFq3Qw0fNu88wcQ5l5w7ozW3O7AdfLagDvVHINLXbYER4WU6aoItlwopefKA9LexArBhYLck+u8XnvJSGnjAJsW3/MRFabQBkiWARecwbWdVnIsx4iJoYXi8JcknuA3xpMd6rFq3bnZxG0XpcL4/SFC/OsdLnQqBzpPUdvBg 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:a+qwBn47gI1XxJx/GsMaVJ+MTrPsLrjGODtWZsQ/N+FHbsrFCYNXntC7sD3kBfaLOBtMRn07eOwdzpHdD1uDkZo5aWNO1qFWo95tBJoTK122B6FLzp1Nnl4CAl3JwRfuiJW+pe4+0jaUE3OZ0ecvQ6ZWvHUZJ43KiWvzbiK/U0nySr3cx8MSU8aMkoC1WnfaxOZP8VxsKVHikNxUPz5pVUcd5MCIYOO3btHLSG8dRqEya9dCPLukDC6VloL+edkgrqY+KABrhmcyTnhQi6esxHSCINECm7E19MBIQ6+avKzpjrhKzbnd/AZB8XMNMqrTPkQdsiI99UGrJO++0Is56eXWrzRxtLakr1J3vbtyxeXsO78TYjSLFgSPNP9zo4tPPOKyd6PEGtJp+NtZnlNEcilEFZPUH2j2JgvemoRkWSzEr89jPmX0MFO1TMjn5R1kK9lcov2PnGvT74crOrJnwfp6COCzhDDAnqp1/sWF5rns4ecQeRXjqnh4Dlp6LIWvpyls9zV+8Cec9q1zTZw/rsHAeK1XIfPdBkfzb3ZC+Jpp0zLU1Bn2T2RrT3BQolujJ4MpigV4vlAvCuSeuhzsqLEjKWkY+r89a3DNbK5idGUJTTSq4qxFTVrIEtDzqxEX+LleJXUp6V/aVgdht8EwSJXk2GaHynyfhJ6UrSXYDvWXkOFpRqUxxqWCKKqR9q/M343CcwBSqWPAMBCiwuOI9Q== 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:LzBumjxVzipVhTeIq060uxSAN2R76VkIHBc7ILQLI?= =?us-ascii?Q?ZIbZ/2sT4+KMX/qsfiZmETcTwVHxfvbFky07aoYC0V17yQj2+zIHz5fY+YRp?= =?us-ascii?Q?c+4JdEtP+8w/qlFm16iHMl7LIfQ8RrlCkndQlzxjDJFkTTUupEv3LjtW851D?= =?us-ascii?Q?5aiaXc0HN3uOlE1qoCD6zAxWmVnJbzlZz8eG/SFcziT9PWaX+kGSpuFqaI84?= =?us-ascii?Q?nOXY4838hdu8RZeUIF8GlYSNYCuNv8ikEWPqoABxBbsZSKECeHCF7G+hQWpF?= =?us-ascii?Q?WbLn/fEvkYkZGoFndyj1yjoWe9v/Jrpg9Wg7wIH2g3NMdLSxLqDoKZDy9ur2?= =?us-ascii?Q?cfD02rTKP69X8d6gC/d7d0UK2xvX3F1A4E7y41A2npB4BtqjedizddxAenPt?= =?us-ascii?Q?k7rjFN16k3E8oz9lG9Gk4WAMjbTWhMMvI2o9e+iGZiK0bO4wznT7n13Y2USd?= =?us-ascii?Q?VthZ8uYYXrbB43NyUBM55eG6VGOfhCmQIGWjmjiXRQ8D0KBjWQ5q7xAVZO0O?= =?us-ascii?Q?pfdUrHttwBLP9qc27FYoaXMWYFjJE9WIY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jhHoZpHytXHgsaYhKzC6Y2EwBo0l1FMsp9VbToTxzu551pyK5ZvX+A6w6NsOzeJEhjWuqh3oQVFH2gW65Xw2lrHun+1g==; 20:WqkGE+++/Op49JE9T1I8mqLckFT4FkXSADJ6iszAYjfYGEC0Qi6GMGavMk2AZ7mMXK/25YbDBKDnpSa4uSangkWKydyGlbXPiNYQ6OFKL5ZVw3X9SOitU7+or+LYyg1T6TFx2V6eC4h9HWhyBqVu+Emi0thcEZGy20syHouthKWfmN48ZrjZFS32Hp/X2xAtKtfJ24JJ3B2Uv0gHBfyjeGTNcyKC7CXy1jxz5KZi1n9iEvz6526OdWRgRSAq/ZOd X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Jan 2017 22:14:37.5869 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR12MB1248 Subject: [RFC v2 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: Fri, 13 Jan 2017 22:14:41 -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