SmbusPpi is defined in PI spec. SmbusLib is defined in Edk2 MdePkg.
Edk2 PEIM can base on SmBusLib. SmBusLib implementation wraps SmBusPpi.
Thanks
Liming
From: devel@edk2.groups.io [mailto:devel@edk2.groups.io]
On Behalf Of Tiger Liu(BJ-RD)
Sent: Thursday, October 31, 2019 6:51 PM
To: devel@edk2.groups.io; Gao, Liming <liming.gao@intel.com>
Subject: [edk2-devel] [edk2] Smbuslib and SmbusPpi
Hi, Liming:
I have a question about smbus access during pei phase.
I found there was not smbus ppi reference implementation in edk2-platform code base.
And there was a SmbusLib reference implementation lib.
So, PEIMs usually use functions provided by SmbusLib?
Not use PeiSmbusPpi’s interface functions?
Thanks
Best wishes,
保密声明:
本邮件含有保密或专有信息,仅供指定收件人使用。严禁对本邮件或其内容做任何未经授权的查阅、使用、复制或转发。
CONFIDENTIAL NOTE:
This email contains confidential or legally privileged information and is for the sole use of its intended recipient. Any unauthorized
review, use, copying or forwarding of this email or the content of this email is strictly prohibited.