Skip to content
Commit b71f2bda authored by Shindo, Miki's avatar Shindo, Miki Committed by Chasel Chiu
Browse files

MinPlatformPkg: Fix SetLargeVariable fail issue.

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4454



On Server platform, when the large variable "FspNvsBuffer" is already
in the UEFI variable store and the remaining variable storage space is
less than the large variable size, and also not in OS runtime, then we
need to add the size of the current data that will end up being
replaced by the new data to the remaining space before we decide that
there is not enough space to store the large variable.

Cc: Chasel Chiu <chasel.chiu@intel.com>
Cc: Nate DeSimone <nathaniel.l.desimone@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Eric Dong <eric.dong@intel.com>
Co-authored-by: default avatarXiaoqiang Zhang <xiaoqiang.zhang@intel.com>
Signed-off-by: default avatarMiki Shindo <miki.shindo@intel.com>
Reviewed-by: default avatarNate DeSimone <nathaniel.l.desimone@intel.com>
Reviewed-by: default avatarChasel Chiu <chasel.chiu@intel.com>
parent 748929b8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment