Hi, Laszlo:
Got it.

Thanks a lot!

I study the udk code, and find there are no smm pcd drivers, so can't use dynamic pcd in smm code.







At 2023-11-07 20:45:16, "Laszlo Ersek" <lersek@redhat.com> wrote: >On 11/7/23 12:31, Yoshinoya wrote: >> Hi, All: >> Could dynamic PCD be used in smm driver code? >> >> It seems pcd has pei/dxe drivers, but not have smm related infrastructur >> drivers. > >Dynamic PCDs (or more generally, DXE protocols) can be used in the entry >point functions of DXE_SMM_DRIVER modules, to my understanding. Dynamic >PCDs can't be used in any SMM services (callbacks, protocol member >functions, SMI handlers, etc) that those modules provide (i.e., dynamic >PCDs can't be used after the entry point function has returned). > >I'm not sure about MM_STANDALONE modules. The PI spec probably explains >the environment in which the entry points of those modules are invoked. > >Laszlo > > > > >
_._,_._,_

Groups.io Links:

You receive all messages sent to this group.

View/Reply Online (#110950) | | Mute This Topic | New Topic
Your Subscription | Contact Group Owner | Unsubscribe [rebecca@openfw.io]

_._,_._,_