Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 28dd588ca80c61c4bea9294785d5d884ad3f2c41
      
https://github.com/tianocore/edk2/commit/28dd588ca80c61c4bea9294785d5d884ad3f2c41
  Author: Heinrich Schuchardt <[email protected]>
  Date:   2024-10-04 (Fri, 04 Oct 2024)

  Changed paths:
    M MdePkg/Include/Register/RiscV64/RiscVEncoding.h

  Log Message:
  -----------
  MdePkg/BaseLib: RISC-V: Add FPU CSR constants

* Define CSR fcsr
* Define bitmasks for vs and fs bit fields in the mstatus register

Signed-off-by: Heinrich Schuchardt <[email protected]>


  Commit: f8c738577f813bbe6cb017cfbb29b70582ab32b4
      
https://github.com/tianocore/edk2/commit/f8c738577f813bbe6cb017cfbb29b70582ab32b4
  Author: Heinrich Schuchardt <[email protected]>
  Date:   2024-10-04 (Fri, 04 Oct 2024)

  Changed paths:
    M UefiCpuPkg/CpuDxeRiscV64/CpuDxe.c
    M UefiCpuPkg/CpuDxeRiscV64/CpuDxe.h
    M UefiCpuPkg/CpuDxeRiscV64/CpuDxeRiscV64.inf
    A UefiCpuPkg/Include/Library/BaseRiscVFpuLib.h
    A UefiCpuPkg/Library/BaseRiscVFpuLib/BaseRiscVFpuLib.inf
    A UefiCpuPkg/Library/BaseRiscVFpuLib/RiscVFpuCore.S
    M UefiCpuPkg/UefiCpuPkg.dec
    M UefiCpuPkg/UefiCpuPkg.dsc

  Log Message:
  -----------
  UefiCpuPkg: RiscV64: initialize FPU

The OpenSSL library uses floating point registers.
The is no guarantee that a prior firmware stage has enabled the FPU.

Provide a library BaseRiscVFpuLib to

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

Signed-off-by: Heinrich Schuchardt <[email protected]>


  Commit: 91d806917fd2be763f067a58ef05fadcf43efab1
      
https://github.com/tianocore/edk2/commit/91d806917fd2be763f067a58ef05fadcf43efab1
  Author: Heinrich Schuchardt <[email protected]>
  Date:   2024-10-04 (Fri, 04 Oct 2024)

  Changed paths:
    M OvmfPkg/RiscVVirt/RiscVVirt.dsc.inc

  Log Message:
  -----------
  OvmfPkg: RiscV64: build BaseRiscVFpuLib

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]>


Compare: https://github.com/tianocore/edk2/compare/71239406652f...91d806917fd2

To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to