mirror of https://github.com/acidanthera/audk.git
a2f32ef6ff
SMM core will add a HEADER before each allocated pool memory and clean up this header once it's freed. If a block of allocated pool is marked as read-only after allocation (EfiRuntimeServicesCode type of pool in SMM will always be marked as read-only), #PF exception will be triggered during memory pool freeing. Normally EfiRuntimeServicesCode type of pool should not be freed in the real world. But some test suites will actually do memory free for all types of memory for the purpose of functionality and conformance test. So this issue should be fixed anyway. Cc: Star Zeng <star.zeng@intel.com> Cc: Eric Dong <eric.dong@intel.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Ruiyu Ni <ruiyu.ni@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.wang@intel.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com> |
||
---|---|---|
.. | ||
Dependency.c | ||
Dispatcher.c | ||
Handle.c | ||
HeapGuard.c | ||
HeapGuard.h | ||
InstallConfigurationTable.c | ||
Locate.c | ||
MemoryAttributesTable.c | ||
Notify.c | ||
Page.c | ||
PiSmmCore.c | ||
PiSmmCore.h | ||
PiSmmCore.inf | ||
PiSmmCore.uni | ||
PiSmmCoreExtra.uni | ||
PiSmmCorePrivateData.h | ||
PiSmmIpl.c | ||
PiSmmIpl.inf | ||
PiSmmIpl.uni | ||
PiSmmIplExtra.uni | ||
Pool.c | ||
Smi.c | ||
SmiHandlerProfile.c | ||
SmramProfileRecord.c |