audk/MdeModulePkg/Core/Dxe
Star Zeng c5d5379937 MdeModulePkg DxeCore: Move ProcessLibraryConstructorList()
to right after CoreInitializeGcdServices().

Why?
Some platforms maybe report both below 4G and above 4G memory resource hob as tested,
then CoreInitializeMemoryServices() will find and add the tested above 4G memory resource hob to memory descriptor for early memory allocation services,
then if ProcessLibraryConstructorList() that has library constructor tries to allocate below 4G memory and will fail.
In fact, the following CoreInitializeGcdServices() will add all the memory resource hob to GCD map,
and add the tested below 4G memory resource hob to memory descriptor,
but it has been too late for ProcessLibraryConstructorList().

Also move below two lines as they are needed to be after
the constructor of DxeCorePerfomanceLib.
  PERF_END   (NULL,"PEI", NULL, 0) ;
  PERF_START (NULL,"DXE", NULL, 0) ;

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18146 6f19259b-4bc3-4df7-8a09-765794883524
2015-08-04 01:41:48 +00:00
..
Dispatcher MdeModulePkg DxeCore: Fix VS2013 build failure. 2014-11-19 07:11:59 +00:00
DxeMain MdeModulePkg DxeCore: Move ProcessLibraryConstructorList() 2015-08-04 01:41:48 +00:00
Event MdeModulePkg DxeCore: Add debug message to assist TPL related issues. 2015-06-01 06:40:38 +00:00
FwVol MdeModulePkg DxeCore: Fix potential FV overflow of 4GB boundary on a 32-bit systems. 2014-12-17 00:39:51 +00:00
FwVolBlock DxeCore is designed to trust input data, so add comments to reminder caller to do check to follow PI specification when necessary. 2014-01-17 03:42:09 +00:00
Gcd MdeModulePkg: Update the short name for persistent memory type. 2015-05-19 07:22:14 +00:00
Hand Update code to support VS2013 tool chain. 2014-07-28 07:52:57 +00:00
Image MdeModulePkg: Update DxeCore to handle LoadFile DevicePath 2015-07-02 04:28:21 +00:00
Library Update the copyright notice format 2010-04-24 09:49:11 +00:00
Mem MdeModulePkg: Merge GCD range before convert it to EFI memory 2015-07-02 07:48:48 +00:00
Misc MdeModulePkg: Refine code to make it more readable. 2015-07-03 01:39:06 +00:00
SectionExtraction MdeModulePkg DxeCore: Don't cache memory mapped IO FV. 2014-08-27 08:31:44 +00:00
DxeCore.uni MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
DxeCoreExtra.uni MdeModulePkg: INF/DEC file updates to EDK II packages 2014-08-28 06:53:43 +00:00
DxeMain.h MdeModulePkg: move arch-specific allocation granularity defines to DxeMain.h 2015-07-02 07:32:44 +00:00
DxeMain.inf MdeModulePkg: rename PropertiesTableEnable to PcdPropertiesTableEnable 2015-07-02 07:32:33 +00:00