[edk2-devel] Why SetVariableCheckHandlerMor() is implemented in VariableSmm and TcgMorLockSmm?

Yao, Jiewen jiewen.yao at intel.com
Mon Aug 16 03:22:12 UTC 2021


TcgMorLockSmm is only for secure MOR V1.

VariableSmm covers secure MOR V1 and V2.

I think we can remove TcgMorLockSmm.

Thank you
Yao Jiewen

From: Ni, Ray <ray.ni at intel.com>
Sent: Monday, August 16, 2021 11:16 AM
To: Zhang, Qi1 <qi1.zhang at intel.com>
Cc: Yao, Jiewen <jiewen.yao at intel.com>; devel at edk2.groups.io
Subject: Why SetVariableCheckHandlerMor() is implemented in VariableSmm and TcgMorLockSmm?

Qi,
I happened to find that there are duplicated implementations in VariableSmm driver and TcgMorLockSmm driver.
Do you know why the check needs to be done in two places?

Can we remove the one in VariableSmm driver?

Thanks,
Ray


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#79327): https://edk2.groups.io/g/devel/message/79327
Mute This Topic: https://groups.io/mt/84915977/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/edk2-devel-archive/attachments/20210816/fd5290c7/attachment.htm>


More information about the edk2-devel-archive mailing list