From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from atlmailgw1.ami.com (atlmailgw1.ami.com [63.147.10.40]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id AFE6E1A1E5E for ; Wed, 14 Sep 2016 12:21:46 -0700 (PDT) X-AuditID: ac1060b2-a7fff7000000467b-c3-57d9a3474647 Received: from atlms2.us.megatrends.com (atlms2.us.megatrends.com [172.16.96.152]) (using TLS with cipher AES128-SHA (128/128 bits)) (Client did not present a certificate) by (Symantec Messaging Gateway) with SMTP id 92.5B.18043.743A9D75; Wed, 14 Sep 2016 15:21:45 -0400 (EDT) Received: from ATLMS1.us.megatrends.com ([fe80::8c55:daf0:ef05:5605]) by atlms2.us.megatrends.com ([fe80::29dc:a91e:ea0c:cdeb%12]) with mapi id 14.03.0123.003; Wed, 14 Sep 2016 15:21:35 -0400 From: Felix Poludov To: "edk2-devel@lists.01.org" Thread-Topic: SMM PciExpressLib Instance Thread-Index: AdIOvM3WzWBKxCZ2QHKMF5UwmknEdw== Date: Wed, 14 Sep 2016 19:21:34 +0000 Message-ID: <9333E191E0D52B4999CE63A99BA663A00270FEBD4C@atlms1.us.megatrends.com> Accept-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: x-originating-ip: [172.16.99.93] MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrDKsWRmVeSWpSXmKPExsWyRiBhhq7n4pvhBrv3GFnsOXSU2YHRo3v2 P5YAxqgGRpvEvLz8ksSSVIWU1OJkW6WAosyyxORKJYXMFFslQyWFgpzE5NTc1LwSW6XEgoLU vBQlOy4FDGADVJaZp5Cal5yfkpmXbqvkGeyva2FhaqlrqGQXkpGqkJmXll+Um1iSmZ+nkJyf VwJUnZoCFFVI6OLM2Hz9BWvBu6csFVebdrE1MLZcZuli5OCQEDCRmHjfuouRi0NIYDaTRO/x G8wQzmFGifuLLgAVcXKwCahIbDp7gRnEFhEwl2idf4UJxBYWUJZo3rKDHSKuIXFjzn9WCFtP YsPzS2D1LAKqEme/TGUDsXkFAiX+PfoE1ssoICbx/dQaMJtZQFzi1pP5YLaEgIjEw4un2SBs UYmXj/+xQtgKElved7JD1GdKPF1znxlipqDEyZlPWCYwCs5CMmoWkrJZSMpmAf3MLJAv0fpH HaJER2LB7k9sELa2xLKFr5lh7DMHHjNhivtIzFj0EypuJLFu+WwgmwvI3s0ocWfyO6giRYkp 3Q/ZFzDyrGIUSizJyU3MzEkvN9RLzM3US87P3cQISTCbdjC2XDQ/xCjAwajEwysz+2a4EGti WXFl7iFGFaAhjzasvsAoxZKXn5eqJMJrNB8ozZuSWFmVWpQfX1Sak1p8iNEJGLwTmaW4QZEN TD3xxgYGUqIwjqGJmYm5kbmhpYm5sbGSOG/RH99wIYF0YCrMTk0tSC2CGcLEwSnVwLiyeBb3 tTM5XQX3epZ2Xtj7x2fW6fWeP2z1t7RJZ2y40baA7yYT43ru+383zTHMFjXkWiXsLHi5XlSI ++cN9Um7TX/f++E9/7fXpnJ7o0dVOb5KzqemuH1wtFUqZX/KxHb0Z1za7ZTkPzNiV0yI/PL0 8pyQgKsyf8/x1druZOdhtP+gXdWySV6JpTgj0VCLuag4EQC5sFQSXwMAAA== X-Content-Filtered-By: Mailman/MimeDel 2.1.21 Subject: SMM PciExpressLib Instance 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: Wed, 14 Sep 2016 19:21:47 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Dear MdePkg maintainer, MdePkg does not provide a specialized instance of PciExpressLib for SMM Driv= ers. It provides Base instance that is typically used by SMM Drivers. However, BasePciExpressLib calls PcdGet64 (PcdPciExpressBaseAddress) on ever= y PCI-E access and PcdPciExpressBaseAddress is declared in MdePkg.dec as a potentially dyna= mic token. SMM Drivers cannot use BasePciExpressLib when PcdPciExpressBaseAddress is dy= namic. This patch adds SMM instance of PciExpressLib based on BasePciExpressLib. The only difference from BasePciExpressLib is a constructor that caches PCD= value into a local variable. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Felix Polyudov > Thanks Felix Please consider the environment before printing this email. The information contained in this message may be confidential and proprietar= y to American Megatrends, Inc. This communication is intended to be read on= ly by the individual or entity to whom it is addressed or by their designee.= If the reader of this message is not the intended recipient, you are on not= ice that any distribution of this message, in any form, is strictly prohibit= ed. Please promptly notify the sender by reply e-mail or by telephone at 77= 0-246-8600, and then delete or destroy all copies of the transmission.