DuetPkg: Fix GCC error to avoid the duplicated global variables in EfiLdr

Move the global variable definitions into source code instead of head filer.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19338 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Liming Gao 2015-12-18 02:28:44 +00:00 committed by lgao4
parent dd62310aaf
commit 031950dfdc
2 changed files with 3 additions and 3 deletions

View File

@ -80,9 +80,6 @@ typedef struct {
BIOS_MEMORY_MAP_ENTRY MemoryMapEntry[1]; BIOS_MEMORY_MAP_ENTRY MemoryMapEntry[1];
} BIOS_MEMORY_MAP; } BIOS_MEMORY_MAP;
EFILDR_LOADED_IMAGE DxeCoreImage;
EFILDR_LOADED_IMAGE DxeIplImage;
typedef typedef
VOID VOID
(EFIAPI * EFI_MAIN_ENTRYPOINT) ( (EFIAPI * EFI_MAIN_ENTRYPOINT) (

View File

@ -24,6 +24,9 @@ Revision History:
#include "PeLoader.h" #include "PeLoader.h"
#include "LzmaDecompress.h" #include "LzmaDecompress.h"
EFILDR_LOADED_IMAGE DxeCoreImage;
EFILDR_LOADED_IMAGE DxeIplImage;
VOID VOID
SystemHang ( SystemHang (
CHAR8 *Message CHAR8 *Message