mirror of https://github.com/acidanthera/audk.git
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:
parent
dd62310aaf
commit
031950dfdc
|
@ -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) (
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue