mirror of
https://git.proxmox.com/git/mirror_edk2
synced 2026-01-06 19:07:47 +00:00
In the EFI_RETURN_STATUS_EXTENDED_DATA structure from PI-1.7, there may be
padding between the DataHeader and ReturnStatus members. The
REPORT_STATUS_CODE_EX() macro starts populating the structure immediately
after DataHeader, therefore the source data must provide for the padding.
Extract the BmReportLoadFailure() function from EfiBootManagerBoot(),
prepare a zero padding (if any) in a temporary
EFI_RETURN_STATUS_EXTENDED_DATA object, and fix the
REPORT_STATUS_CODE_EX() macro invocation.
Cc: Dandan Bi <dandan.bi@intel.com>
Cc: Hao Wu <hao.a.wu@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Sean Brogan <sean.brogan@microsoft.com>
Cc: Star Zeng <star.zeng@intel.com>
Bugzilla: https://bugzilla.tianocore.org/show_bug.cgi?id=1539
Fixes:
|
||
|---|---|---|
| .. | ||
| BmBoot.c | ||
| BmBootDescription.c | ||
| BmConnect.c | ||
| BmConsole.c | ||
| BmDriverHealth.c | ||
| BmHotkey.c | ||
| BmLoadOption.c | ||
| BmMisc.c | ||
| InternalBm.h | ||
| UefiBootManagerLib.inf | ||
| UefiBootManagerLib.uni | ||