diff options
Diffstat (limited to 'UefiCpuPkg/CpuDxe')
-rw-r--r-- | UefiCpuPkg/CpuDxe/CpuDxe.c | 2 | ||||
-rw-r--r-- | UefiCpuPkg/CpuDxe/CpuDxe.h | 1 | ||||
-rw-r--r-- | UefiCpuPkg/CpuDxe/CpuDxe.inf | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/UefiCpuPkg/CpuDxe/CpuDxe.c b/UefiCpuPkg/CpuDxe/CpuDxe.c index 17513e758f..c755d8a289 100644 --- a/UefiCpuPkg/CpuDxe/CpuDxe.c +++ b/UefiCpuPkg/CpuDxe/CpuDxe.c @@ -1247,6 +1247,8 @@ InitializeCpu ( EFI_STATUS Status;
EFI_EVENT IdleLoopEvent;
+ InitializeFloatingPointUnits ();
+
//
// Make sure interrupts are disabled
//
diff --git a/UefiCpuPkg/CpuDxe/CpuDxe.h b/UefiCpuPkg/CpuDxe/CpuDxe.h index 9baccb2565..a75ec0593f 100644 --- a/UefiCpuPkg/CpuDxe/CpuDxe.h +++ b/UefiCpuPkg/CpuDxe/CpuDxe.h @@ -29,6 +29,7 @@ #include <Library/DebugLib.h>
#include <Library/MtrrLib.h>
#include <Library/LocalApicLib.h>
+#include <Library/UefiCpuLib.h>
#include <Guid/IdleLoopEvent.h>
//
diff --git a/UefiCpuPkg/CpuDxe/CpuDxe.inf b/UefiCpuPkg/CpuDxe/CpuDxe.inf index 3373efab16..b43506ef58 100644 --- a/UefiCpuPkg/CpuDxe/CpuDxe.inf +++ b/UefiCpuPkg/CpuDxe/CpuDxe.inf @@ -38,6 +38,7 @@ UefiBootServicesTableLib
UefiDriverEntryPoint
LocalApicLib
+ UefiCpuLib
[Sources]
CpuDxe.c
|