diff options
author | Star Zeng <star.zeng@intel.com> | 2016-07-08 10:37:46 +0800 |
---|---|---|
committer | Star Zeng <star.zeng@intel.com> | 2016-07-09 10:35:28 +0800 |
commit | 072a3ca1d36a42aec97f871c808776ee7038ca06 (patch) | |
tree | 83193e092190ada76551d7f7d3b3ea8ed8a3dac8 /BaseTools/Source/Python/GenFds/FvImageSection.py | |
parent | 2a3a91eb9dd9c45bce2647988519bf3754fe8a5d (diff) | |
download | edk2-platforms-072a3ca1d36a42aec97f871c808776ee7038ca06.tar.xz |
MdeModulePkg MemoryProfile.h:two bytes of Reserved[4] as ActionStringOffset
At 94092aa60341a3e4b1e1ea7c362781b8404ac538, we extended
MEMORY_PROFILE_ALLOC_INFO to add ActionStringOffset and
Reserved2[6] fields, that was not aware the Reserved[4]
field can be reused to have better memory profile database
size efficiency.
With the patch, PcdMemoryProfilePropertyMask|0x3 and
PcdMemoryProfileMemoryType|0xffff, the memory profile
database size can be reduced as below on my sample platform.
UefiMemoryProfileSize - 0x1597A8 -> UefiMemoryProfileSize - 0x12AB28
SmramProfileSize - 0xCF68 -> SmramProfileSize - 0xB8E8
Cc: Jiewen Yao <jiewen.yao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/GenFds/FvImageSection.py')
0 files changed, 0 insertions, 0 deletions