UefiCpuPkg CpuDxe: Call UefiCpuLib.InitializeFloatingPointUnits () to initialize X87 FPU Control Word for BSP.

For a platform tip with 32-bit PEI+64-bit DXE, InitializeFloatingPointUnits () should be called for BSP in the DXE phase.

Signed-off-by: Sun Rui <rui.sun@intel.com>
Reviewed-by: Fan Jeff <jeff.fan@intel.com>


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13511 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
rsun3
2012-07-06 05:49:53 +00:00
parent 0e18586429
commit 661cab5d6a
4 changed files with 5 additions and 0 deletions

View File

@@ -1247,6 +1247,8 @@ InitializeCpu (
EFI_STATUS Status;
EFI_EVENT IdleLoopEvent;
InitializeFloatingPointUnits ();
//
// Make sure interrupts are disabled
//