Skip to content

Commit

Permalink
OvmfPkg: RiscV64: build BaseRiscVFpuLib
Browse files Browse the repository at this point in the history
Enable building the BaseRiscVFpuLib library for OvmfPkg to

* Enable the FPU and set it to state 'dirty'.
* Clear the fcsr CSR.

Signed-off-by: Heinrich Schuchardt <[email protected]>
  • Loading branch information
xypron authored and mergify[bot] committed Oct 4, 2024
1 parent f8c7385 commit 91d8069
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions OvmfPkg/RiscVVirt/RiscVVirt.dsc.inc
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@
# RISC-V Architectural Libraries
CpuExceptionHandlerLib|UefiCpuPkg/Library/BaseRiscV64CpuExceptionHandlerLib/BaseRiscV64CpuExceptionHandlerLib.inf
RiscVSbiLib|MdePkg/Library/BaseRiscVSbiLib/BaseRiscVSbiLib.inf
RiscVFpuLib|UefiCpuPkg/Library/BaseRiscVFpuLib/BaseRiscVFpuLib.inf
RiscVMmuLib|UefiCpuPkg/Library/BaseRiscVMmuLib/BaseRiscVMmuLib.inf
PlatformBootManagerLib|OvmfPkg/RiscVVirt/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
ResetSystemLib|OvmfPkg/RiscVVirt/Library/ResetSystemLib/BaseResetSystemLib.inf
Expand Down

0 comments on commit 91d8069

Please sign in to comment.