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@intel.com>
Sent: Monday, August 16, 2021 11:16 AM
To: Zhang, Qi1 <qi1.zhang@intel.com>
Cc: Yao, Jiewen <jiewen.yao@intel.com>; devel@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