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 (#110848): https://edk2.groups.io/g/devel/message/110848
Mute This Topic: https://groups.io/mt/102440663/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: 
https://edk2.groups.io/g/devel/leave/9847357/21656/1706620634/xyzzy 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to