]> git.proxmox.com Git - mirror_edk2.git/commit
UefiPayloadPkg: Fix debug print error level hob not save correct
authorNing Feng <ning.feng@intel.com>
Mon, 9 Jan 2023 12:28:09 +0000 (07:28 -0500)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 10 Jan 2023 03:44:38 +0000 (03:44 +0000)
commit2cc6d4c8ed54e36fd9638dafdb293dd9a4c54cf9
tree692befc1af7131c270096ba3b9471c5b392e84b0
parent33a3408fbbf988aaa8ecc6e721cf83e3ae810e54
UefiPayloadPkg: Fix debug print error level hob not save correct

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4264
Fix debug print error level hob not save correct DebugPrintErrorlevel
Should cover the case:
Header.Length == UNIVERSAL_PAYLOAD_SIZEOF_THROUGH_FIELD ()
Cc: Ray Ni <ray.ni@intel.com>
Cc: Sean Rhodes <sean@starlabs.systems>
Cc: James Lu <james.lu@intel.com>
Cc: Gua Guo <gua.guo@intel.com>
Signed-off-by: Ning Feng <ning.feng@intel.com>
Reviewed-by: Gua Guo <gua.guo@intel.com>
UefiPayloadPkg/Library/DebugPrintErrorLevelLibHob/DebugPrintErrorLevelLibHob.c