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 BCC54821F2 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=wOqHJ2spI9HLm81slpp5G0RyJ82atZ7P0gz+Lw5kpps=; b=fW31sGGeCCv6rcURXaKUmt5G4NckWPrHgAX4X+hs8VbAlcgQmnYjVIGA72cB1XmwpdoFsLAPZyWMkAh4R17tKqw6SbSAoWCdBpW4I1xW5vKgabepUXPre+VR4REqW5QL9gpjNN+1uf9+rZDghxpWygd+0CfOLHe/6iLFtiK7nDA= 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 , Feng Tian , Star Zeng Date: Thu, 2 Mar 2017 12:46:34 -0600 Message-ID: <1488480396-32358-5-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: 364cad81-8737-4ee9-e4ca-08d4619c7b0f 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:XLpNpDfZWK40J/TScNp0gOEuRbSh8jVPhfO4UTO/OHq8tdSusTlY8STt6+yTmW09qWkRIoffiRBhQoEjWRQW7gvD1xHpqzrjWb41eAqd4U0QG2Rw7LpoqpMorN6zi+iPv6JwLjvhJne73Nz5xvpK/LIxU9kRHNznlmnUagEApIG6+8f/vMkXgAm5YlfaprO+kjv6SXSR06scW7aXT/m63VDV+KUo2fkGMU6YQJfv7bEFhuylUArpcqQWAHKottUxU0MGvsJVjWgqPKQbGRlbjyFsrKpQErrJy+pQ2bLQvJ4=; 25:wzl+Ez4fHzSIsW38wD1aNe0t0OjhotkUiBV+W+HhEuktBdZWAFDpTKCaSbdhtDC1pQeVQDKaAZ9vkDsYmhaXrp6bVqyBhMYTSG/kOKo3lCIN1Kdwj71QpR2I9LJCI3YmcW9KyzUaCEOIbHUiJHMCTL+6vuQBx167OFVSvZV+farJNVMsHdFSHc7E5TZb/ihW8+DY8dWegBS9p0GsNIo2Kz/hSNrvvvF/6Oi/6TGOyVAkTVMlWuhe2CidINJjWpsW5liTPbpm5FBgB6ajujKZctlO+L/dp+AWCvC/skTBiMQhkjKYnFf2aZnWrXkeL890qB3RfcS5Fv6w63mMYiCpX1nlSY8pSZnaLpu+KFq08cG0BcnHkv9/iwZg/Dhk4598tfa1/FJ05LsEasKav+S0cMYe56Cenmu49i2oS7ZQ5ubZlI8ru0f0EXcw2HwXHH367Mu4Se7ElbN3GDa85+jcEw== X-Microsoft-Exchange-Diagnostics: 1; CY4PR12MB1239; 31:me2wQzhANDBK9igu39YMCRDkngU0noyHOqMZmcFzoo09dWBIT5+cCeU3f5FH4kEkq89CqRBn/k1zkgFZjDKfmcrcOCnYgnJFzSv5EhSicZ/MR7v+SM236EC2PS+k//SYY0Mu+1S55w7XRx27gJ4eMkwDoFylY/c/0WmF6K/9QGD6P0tmpVv7CmLdMRrQQdbfLZDyMFfeajwivGrn/kXtOWmJbJkWERTcxoUtFhrUfZwfHXUwkU//T4v3S/HuRfkL; 20:7JfxZQuTTV41vRaM0y6btjK0xmmf3VAIQUV6OQJwc8ls0xip+YNQI0Jk61RcnopEKcFmtSZlJwnIvcIJygp8dOUHwPvdU8PukMaW5LiGpNcQwWqAus9YNX5074ymxLh0qP+2Gc8GGGFX74HqGpF1rNuBtk6U8k/XdoRS4lNKSsuYOmYijDdoWL33w3OzZD19+j6DFSatR7g+prHMBeTRn1p6lgx6AcHD/UN+E4hicZjLRYB4yp4UUmcbBuy9B3AKRMgQJMKQg9avDxjPvf1Ht4qzaJsJ+8uZLNMrfgMLOoKoKLRuJUuYEhU2Hhi0LzL3B0rRmmCQeEsZQvRi8/Vo8FVwwhlLgMueFsS19mxE80V8e/DQp83uLOT5kWMvYDVuparTvmA0w+awb6mamUiX4VGg1WEq+Aj9tZ+4GKEry0jdoUw+TIxPkUbbpIeNwhxrU5tkx2Qkw16LV5akz5c74nVY/ImmwQbXxherwxiTV6NXNyLWGAJjnnHjKePOYpsA 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:DAiPbo1/u0MSz9fA69cGVGeudZdKHs2sj3EIq8ueJZgUfrfjmKV5xkZnBsbvNAkAiDK2RB42ntxuHk0VizxcnUxPhEv02Z0/siSpH9LgbiwqzMtBipya3D/yuQgKVWaaVrNn3zQAyjLp4OoaLVBPnPn4sjUzaT3AGvV+iejibCD7cFfanWrEC7myUEtT3dD9wcIqfd/7wITpnnkRS2MLA11jxJRTZVE620bOJ5rHY+R/0SjZvcsS5rOV4gFn2mEl8M/r18JGRFRXKutyKJTEZOyMub3Qm5Ne8x4Ck5+VhFSXYXvpBI+jgNXXHniqTz14NNw5TvWYEIo8Lt3LOEKFBLfITwjgbV/TxOmNallA37d/niU2/9/2K9ZD0YuyPlWaiVYhLo48JektFmUvqcDfx0t0s0YCcQn6XpEDuJpDkTuX0882492UwIaV0f/FyCVQ5l+NcxMBIXwB9h3snwb3wdQWD2MDPHcRlpy8u9v9DM5kVsNmZCk0xs9oP8h1nUyp7CqMTIKpXGfEQKnIZOROBUBNFCmOye6tWxu2UDO1THBwWnN3flm9OQV8UXyP3fltF3uBSaORNjWd/o+OwtrrfJdu4Xj+og0I/aqWlwPj0v/ng/5vPTkY6v/1hbXymhgZVTmovUlOtHIdF0/Eo449X0hgKUnsaaBOX9YD1SUpV7jAwGw9mCcdYxY8UHezOrR9W8nX7/SpVwrNWROizK/5Ig== 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:ckEJFNJ5LL7USsnVm7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dQsWLEK+XfHfnsxBV0RPoXuAtcRVmExXZ/xPL2KuveWmk9NgSTh?= =?us-ascii?Q?Iy0ACYA3tuAA9RB0ZR2IvsbZhX2w75uNvUR1Pk1tGkpsgdm3hG++rPjoR5Fj?= =?us-ascii?Q?bgSod0a6FfLNI/f0tvbpqm/7Nt8xXtufyJUZMefmBZvC2ekmlDUGK52Oy3Ls?= =?us-ascii?Q?sVVOxLfZ6sbIFyotaUl5XJ+JfIF?= X-Microsoft-Exchange-Diagnostics: 1; CY4PR12MB1239; 6:vnF/a3hZw9Ir/I5uBnYyosP0sAETV41uDi5GgFj/yasIPt6kPZcu8didxKP1p4nYEI9db4FZaxHdGkpHlB+ip9/m214GE0Dz7f4VyO51JVv/5tYvHLkQVX49++fFHz12bHxG0DhlRWi/yJua53iXk34rO0WaRKCnPP/pz+bntwhL8GMhng10Tfx9M/q009xPezMlCgdn3tN33reGBDa4gSS2IXwpXo6y7k7mkQIw/azFGqy1oRU5wU/8qo452l4hFJA6JS8DAdItBExtZH09UDbF9UaxJTHIxG0zzSqP19fbHCzpEPtOSzoaUdSi0EDmHNG9m832m0esDAGXJditCzcsNMW/Cnb5U6J8w3p4L8QOktA0CsG+5SSidR+Jd56LHo22hg2PjcrTgWRMAB+AAeBwsj6k+l5sBZPsF4AhkDM=; 5:S+0RQNbZGYNPcvD5A8nHcVW0wBzGitzmK0fKy+05ZEXw4/LNd5a08cTY5AA2JZEZmvxHGBpjkx40THwycazHOF3q4sLCB6sMV7D5TK5ksrEGzEZ0x+ao2nTWVoH3Ob0HJcc1UkaEFaoDDgB4FULSQQ==; 24:sHYL/SzGX3TTBus1LlF9veseOQYm5uzH342e2Jf4/qYsspJAOv1ZXEKAjtvK2MbquEANd3ljdFrukFOVU8drnnb/XLw/ghW+WinNeTOHqJM= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY4PR12MB1239; 7:ogvGj7d9m0ZBfRW9FytbJl+fHGo9IDEN8EW6Mh0j4rS9Yd/FbtLVpBB9SQYl+vBjItlW2rDh76tbOCpJKae5GD0W1P4gCZ+Ln5lAklU7kfuE3TBEnK043xVk2N4aeonvDYicaBIWs3/JeZ/Oyb0cgd8XalylnICRZ3xtQtXH41t0+qbxLWNBLmto0XeEjFROsxL5X0WB2GsEnsNlPT33EEnyWbJ/cuaZQJ2h0K3vMuY2k3JPVprq+kgS8H5ExBho9+4TC3EzXQmhlfw9m/yqdRDo3M4M73bE0JYOrXEnAMHPMygSK9wBFn6QSL/kYVtPCr2O/e9vjkiMMP0KZYmL3A==; 20:28pTBk8Gh4SW6YXW/s7jkQXsHu2eP7+Xcz83tmh+xjTcHbawrs1Cy7GOcYbTYsBIadzGoLuACtdtOu2aIkalLQHl0p250qjaBwB+9ij+7ABWAkoi1mk/OeZKaM8yP0vuFvpQQ9zG4ig3QgwZM1FI0Qdifi29De3+OF3/h+UF1quygGnV4Zp0zz93eYI82QMNuIRdRYfOctLLDv4qqVW+a4suOIhXP1yKiUuszaVfQ5nk2MHB3OQUCqQInTE0GIB9 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Mar 2017 18:46:47.1302 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR12MB1239 Subject: [PATCH v4 4/6] MdeModulePkg: 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: Feng Tian Cc: Star Zeng Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Leo Duran Reviewed-by: Laszlo Ersek --- MdeModulePkg/MdeModulePkg.dsc | 1 + 1 file changed, 1 insertion(+) diff --git a/MdeModulePkg/MdeModulePkg.dsc b/MdeModulePkg/MdeModulePkg.dsc index 0c63197..d8f9a21 100644 --- a/MdeModulePkg/MdeModulePkg.dsc +++ b/MdeModulePkg/MdeModulePkg.dsc @@ -49,6 +49,7 @@ PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf SortLib|MdeModulePkg/Library/BaseSortLib/BaseSortLib.inf + BmDmaLib|MdeModulePkg/Library/DxeBmDmaLib/DxeBmDmaLib.inf # # UEFI & PI # -- 2.7.4