audk/MdeModulePkg
Dandan Bi 60a86abf95 MdeModulePkg/HiiDB: Minimize memory allocation times after ReadyToBoot
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1597

Currently RTData are allocated at/after ReadyToBoot to store the
contents in HiiDatabase and the HII configurations for OS runtime
utilization.
Some platforms may meet S4 resume issue since the allocation after
ReadyToBoot cause memory map change.
Now this patch is to do some overallocation to minimize the number
of memory allocations after ReadyToBoot and also add warning
message when do allocation after ReadyToBoot.

Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
2019-04-28 09:32:42 +08:00
..
Application MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
Bus MdeModulePkg/AhciPei: Add PEI BlockIO support 2019-04-24 16:13:19 +08:00
Core MdeModulePkg/DxeCore: Please static checker for false report 2019-04-28 08:31:38 +08:00
Include MdeModulePkg: introduce PE/COFF image emulator protocol 2019-04-14 18:35:41 -07:00
Library MdeModulePkg/FileExplorer: Set Handle to NULL after uninstall protocol 2019-04-28 09:32:42 +08:00
Logo MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
Universal MdeModulePkg/HiiDB: Minimize memory allocation times after ReadyToBoot 2019-04-28 09:32:42 +08:00
MdeModulePkg.dec MdeModulePkg: introduce PE/COFF image emulator protocol 2019-04-14 18:35:41 -07:00
MdeModulePkg.dsc MdeModulePkg: Change the SMM debug lib instance 2019-04-22 09:52:54 +08:00
MdeModulePkg.uni MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
MdeModulePkgExtra.uni MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00