diff options
author | Nhi Pham <nhi@os.amperecomputing.com> | 2024-06-18 16:41:53 +0700 |
---|---|---|
committer | Liming Gao <gaoliming@byosoft.com.cn> | 2024-06-19 08:53:42 +0800 |
commit | 26a30abdd0f7fe5a9d2421cba6efe9397185ad98 (patch) | |
tree | f6b7de3b1c8ac5a575e6cadf09d513fcf5ca3c4b /License-History.txt | |
parent | c1d1910be6e04a8b1a73090cf2881fb698947a6e (diff) | |
download | edk2-26a30abdd0f7fe5a9d2421cba6efe9397185ad98.tar.gz |
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>
Diffstat (limited to 'License-History.txt')
0 files changed, 0 insertions, 0 deletions