audk/MdeModulePkg/Core/Dxe
mdkinney d436d5ca09 Guarantee that free memory in the 4K page starting at address 0 is always cleared to 0. The algorithm is to clear page zero if it is registered with the DXE Core with type EfiConventionalMemory, and to also clear page zero if it is freed using the UEFI Boot Service FreePages(). This patch improves OS compatibility for OSes that may evaluate page 0 for legacy data structures. Before this patch, free memory may contain random values which induces random boot failures for some OSes. This patch may also help find NULL pointer bugs sooner because all of the fields in a data structure dereferenced through NULL will also be NULL now.
Signed-off-by: Michael Kinney <michael.d.kinney@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14218 6f19259b-4bc3-4df7-8a09-765794883524
2013-03-22 21:20:07 +00:00
..
Dispatcher 1. Update DxeCore to get correct AuthenticationStatus and invoke gSecurity after FV image file is extracted by ReadSection(), and remove the gSecurity invoking in SmmDriverDispatchHandler() in SmmCore since FV has been verified in DxeCore. 2013-01-29 07:43:17 +00:00
DxeMain Add missing status code in several modules. 2012-10-30 04:23:40 +00:00
Event Fix comparisons of enumerated types which may cause warnings for some compilers. 2012-08-28 06:48:28 +00:00
FwVol Update DxeCore and FwVolDxe drivers to inherit authentication status for the FV image, if the image came from an FV image file and section in another firmware volume. 2012-05-29 05:22:01 +00:00
FwVolBlock Update DxeCore and FwVolDxe drivers to inherit authentication status for the FV image, if the image came from an FV image file and section in another firmware volume. 2012-05-29 05:22:01 +00:00
Gcd Fix code potential errors. 2012-10-16 09:27:49 +00:00
Hand Add PI1.2.1 SAP2 support and UEFI231B mantis 896 2012-08-22 02:32:12 +00:00
Image Fix the memory leak issue and enhance the check for CoreReadImageFile return. 2012-09-07 01:35:44 +00:00
Library Update the copyright notice format 2010-04-24 09:49:11 +00:00
Mem Guarantee that free memory in the 4K page starting at address 0 is always cleared to 0. The algorithm is to clear page zero if it is registered with the DXE Core with type EfiConventionalMemory, and to also clear page zero if it is freed using the UEFI Boot Service FreePages(). This patch improves OS compatibility for OSes that may evaluate page 0 for legacy data structures. Before this patch, free memory may contain random values which induces random boot failures for some OSes. This patch may also help find NULL pointer bugs sooner because all of the fields in a data structure dereferenced through NULL will also be NULL now. 2013-03-22 21:20:07 +00:00
Misc MdeModulePkg DXE Core: Refine code to avoid UNIXGCC build break. 2011-12-09 02:35:04 +00:00
SectionExtraction Build the registered guid HOB and SystemTable to record the GUID itself in PeiExtractGuidedSectionLib and DxeExtractGuidedSectionLib, and also state the restriction in BaseExtractGuidedSectionLib. 2012-11-08 01:12:56 +00:00
DxeMain.h Add PI1.2.1 SAP2 support and UEFI231B mantis 896 2012-08-22 02:32:12 +00:00
DxeMain.inf MdeModulePkg: eliminate all implicit library dependencies for all modules in MdeModulePkg on PcdLib 2012-11-01 06:59:25 +00:00