]> git.proxmox.com Git - mirror_edk2.git/commit
FmpDevicePkg/FmpDxe: Use new Variable Lock interface
authorYang Jie <jie.yang@intel.com>
Tue, 19 Oct 2021 03:11:04 +0000 (11:11 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 26 Oct 2021 05:19:17 +0000 (05:19 +0000)
commit2f6f3329add328103cb0654b71d7b814dc0c9759
treecb59dd27b99881146be91495b491cfb52adad621
parentb80c17b62d989ec00e528c6307c726ce6800bcc4
FmpDevicePkg/FmpDxe: Use new Variable Lock interface

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3655
The code in FmpDevicePkg call the deprecated interface
VariableLockRequestToLockc. So I changed the code in
FmpDevicePkg using RegisterBasicVariablePolicy, instead
of the deprecated interface.

Signed-off-by: Yang Jie <jie.yang@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Guomin Jiang <guomin.jiang@intel.com>
Cc: Wei6 Xu <wei6.xu@intel.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Reviewed-by: Wei6 Xu <wei6.xu@intel.com>
FmpDevicePkg/FmpDevicePkg.dsc
FmpDevicePkg/FmpDxe/FmpDxe.h
FmpDevicePkg/FmpDxe/FmpDxe.inf
FmpDevicePkg/FmpDxe/VariableSupport.c