Revision: 19338
http://sourceforge.net/p/edk2/code/19338
Author: lgao4
Date: 2015-12-18 02:28:44 +0000 (Fri, 18 Dec 2015)
Log Message:
-----------
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 <[email protected]>
Reviewed-by: Jeff Fan <[email protected]>
Modified Paths:
--------------
trunk/edk2/DuetPkg/EfiLdr/EfiLdr.h
trunk/edk2/DuetPkg/EfiLdr/EfiLoader.c
Modified: trunk/edk2/DuetPkg/EfiLdr/EfiLdr.h
===================================================================
--- trunk/edk2/DuetPkg/EfiLdr/EfiLdr.h 2015-12-18 02:28:18 UTC (rev 19337)
+++ trunk/edk2/DuetPkg/EfiLdr/EfiLdr.h 2015-12-18 02:28:44 UTC (rev 19338)
@@ -80,9 +80,6 @@
BIOS_MEMORY_MAP_ENTRY MemoryMapEntry[1];
} BIOS_MEMORY_MAP;
-EFILDR_LOADED_IMAGE DxeCoreImage;
-EFILDR_LOADED_IMAGE DxeIplImage;
-
typedef
VOID
(EFIAPI * EFI_MAIN_ENTRYPOINT) (
Modified: trunk/edk2/DuetPkg/EfiLdr/EfiLoader.c
===================================================================
--- trunk/edk2/DuetPkg/EfiLdr/EfiLoader.c 2015-12-18 02:28:18 UTC (rev
19337)
+++ trunk/edk2/DuetPkg/EfiLdr/EfiLoader.c 2015-12-18 02:28:44 UTC (rev
19338)
@@ -24,6 +24,9 @@
#include "PeLoader.h"
#include "LzmaDecompress.h"
+EFILDR_LOADED_IMAGE DxeCoreImage;
+EFILDR_LOADED_IMAGE DxeIplImage;
+
VOID
SystemHang (
CHAR8 *Message
------------------------------------------------------------------------------
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits