audk/MdeModulePkg/Library/DxeCapsuleLibFmp
Nhi Pham 26a30abdd0 MdeModulePkg/DxeCapsuleLibFmp: Fix compilation error
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>
2024-06-19 08:53:42 +08:00
..
CapsuleOnDisk.c MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
CapsuleOnDisk.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
DxeCapsuleLib.c MdeModulePkg/DxeCapsuleLibFmp: Fix compilation error 2024-06-19 08:53:42 +08:00
DxeCapsuleLib.inf MdeModulePkg/DxeCapsuleLibFmp: Use new Variable Lock interface 2021-11-10 09:27:33 +00:00
DxeCapsuleLib.uni MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
DxeCapsuleProcessLib.c MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
DxeCapsuleProcessLibNull.c MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
DxeCapsuleReportLib.c MdeModulePkg: Update code to be more C11 compliant by using __func__ 2023-04-10 14:19:57 +00:00
DxeCapsuleReportLibNull.c MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
DxeCapsuleRuntime.c MdeModulePkg/DxeCapsuleLibFmp: Fix compilation error 2024-06-19 08:53:42 +08:00
DxeRuntimeCapsuleLib.inf MdeModulePkg: Add Capsule On Disk APIs into CapsuleLib. 2019-06-26 15:10:42 +08:00
DxeRuntimeCapsuleLib.uni MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00