diff options
author | Dandan Bi <dandan.bi@intel.com> | 2017-03-20 09:26:44 +0800 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2017-03-20 10:26:59 +0800 |
commit | 032862642d7184f7ab335b1c38b43d86c79349f5 (patch) | |
tree | c15203f9271889d8ea26088405547b84339d63de /MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.c | |
parent | 135ae8c873bb18600b8474524453c9ecc6eeed16 (diff) | |
download | edk2-032862642d7184f7ab335b1c38b43d86c79349f5.zip edk2-032862642d7184f7ab335b1c38b43d86c79349f5.tar.gz edk2-032862642d7184f7ab335b1c38b43d86c79349f5.tar.bz2 |
MdeModulePkg/DxeCapsuleLibFmp: Fix build failure
Move the definition of variable "mEsrtTable" and
"mIsVirtualAddrConverted" to DxeCapsuleLib.c.
Cc: Jiewen Yao <jiewen.yao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: jiewen.yao@intel.com
Diffstat (limited to 'MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.c')
-rw-r--r-- | MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.c b/MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.c index 49f1103..2f39778 100644 --- a/MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.c +++ b/MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.c @@ -47,8 +47,8 @@ #include <Protocol/FirmwareManagement.h>
#include <Protocol/DevicePath.h>
-extern EFI_SYSTEM_RESOURCE_TABLE *mEsrtTable;
-extern BOOLEAN mIsVirtualAddrConverted;
+EFI_SYSTEM_RESOURCE_TABLE *mEsrtTable = NULL;
+BOOLEAN mIsVirtualAddrConverted = FALSE;
BOOLEAN mDxeCapsuleLibEndOfDxe = FALSE;
EFI_EVENT mDxeCapsuleLibEndOfDxeEvent = NULL;
|