mirror of https://github.com/acidanthera/audk.git
The commit "MdeModulePkg/DxeCapsuleLibFmp: Fix crash if no ESRT is found" leads to a compilation error in MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.inf. The issue occurs because the variable mDxeCapsuleLibReadyToBootEvent which is declared as extern does not exist, while it is defined in DxeCapsuleRuntime.c, a file not included in DxeCapsuleLib.inf. This patch is to fix this by moving the variable defintion to DxeCapsuleLib.c and declare it as extern in DxeCapsuleRuntime.c. Reported-by: Gua Guo <gua.guo@intel.com> Signed-off-by: Nhi Pham <nhi@os.amperecomputing.com> |
||
---|---|---|
.. | ||
CapsuleOnDisk.c | ||
CapsuleOnDisk.h | ||
DxeCapsuleLib.c | ||
DxeCapsuleLib.inf | ||
DxeCapsuleLib.uni | ||
DxeCapsuleProcessLib.c | ||
DxeCapsuleProcessLibNull.c | ||
DxeCapsuleReportLib.c | ||
DxeCapsuleReportLibNull.c | ||
DxeCapsuleRuntime.c | ||
DxeRuntimeCapsuleLib.inf | ||
DxeRuntimeCapsuleLib.uni |