audk/UefiCpuPkg
rsun3 3a69f7cbe7 UefiCpuPkg S3Resume2: Move the call to RestoreS3PageTables() earlier before SMM S3 resume.
SMM S3 resume may change memory cache type for flash memory range and thus RestoreS3PageTables() in which loops are executed to create page table would have negative performance impact on S3 resume. Move the call to RestoreS3PageTables() earlier before SMM S3 resume can avoid this issue.

Signed-off-by: Sun Rui <rui.sun@intel.com>
Reviewed-by: Yao Jiewen <jiewen.yao@intel.com>


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13231 6f19259b-4bc3-4df7-8a09-765794883524
2012-05-02 02:23:18 +00:00
..
CpuDxe Restore original IDT entry if RegisterInterruptHandler() was used to unregister user defined interrupt handler. 2011-11-16 02:31:31 +00:00
CpuIo2Dxe Update the check condition to allows UINT64 and INT64 data types to be 32-bit aligned on IA32 system. 2011-12-01 06:08:25 +00:00
CpuIo2Smm Code refinement. 2010-07-13 03:08:54 +00:00
CpuIoPei Enhance inf to follow spec. 2011-03-14 08:50:25 +00:00
Include 1. Introduce the API MtrrGetDefaultMemoryType () in Mtrr Library. 2011-10-28 06:01:55 +00:00
Library UefiCpuPkg MtrrLib: For MtrrSetAllMtrrs(), do not set FE/E bits in IA32_MTRR_DEF_TYPE MSR after the MSR is restored. 2012-04-11 01:41:29 +00:00
ResetVector/Vtf0 UefiCpuPkg VTF0: Fix support for finding SEC image of type TE. 2011-09-28 01:36:33 +00:00
Universal/Acpi/S3Resume2Pei UefiCpuPkg S3Resume2: Move the call to RestoreS3PageTables() earlier before SMM S3 resume. 2012-05-02 02:23:18 +00:00
Contributions.txt EDK II Packages: Add Contributions.txt and License.txt files 2012-04-11 23:19:46 +00:00
License.txt Update copyright format 2012-04-24 06:49:39 +00:00
UefiCpuPkg.dec Update package version for MdeModulePkg, UefiCpuPkg. 2011-12-14 01:42:15 +00:00
UefiCpuPkg.dsc Import two CPU Exception Handler Library instances: SecPeiCpuExceptionHandler.inf and DxeSmmCpuExceptionHandler.inf. 2012-03-15 05:24:07 +00:00