mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
MdePkg: CompilerIntrinsicsLib: Add RiscV64 support
Add memcpy/memset implementations for RiscV64 as they may be required by compiler during linking when build with the -Os flag. Signed-off-by: Tuan Phan <tuan.phan@oss.qualcomm.com>
This commit is contained in:
parent
d0b66f1671
commit
7da9028ca3
2 changed files with 5 additions and 4 deletions
|
|
@ -60,12 +60,12 @@
|
|||
# implements exception handling for SEC and PEI_CORE, it can use StackCheckLib for these phases in its DSC.
|
||||
StackCheckLib|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
|
||||
|
||||
[LibraryClasses.AARCH64]
|
||||
[LibraryClasses.AARCH64, LibraryClasses.RISCV64]
|
||||
#
|
||||
# It is not possible to prevent the AARCH64 compilers from inserting generic intrinsic functions.
|
||||
# This library provides the intrinsic functions generated by these compilers.
|
||||
# It is not possible to prevent compilers from inserting generic intrinsic functions.
|
||||
# This library provides the intrinsic functions generated by compilers.
|
||||
#
|
||||
# Linking this here as a null library will cause all AARCH64 files to link against it and have
|
||||
# Linking this here as a null library will cause all files to link against it and have
|
||||
# definitions for the intrinsic functions.
|
||||
#
|
||||
NULL|MdePkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
|
||||
|
|
|
|||
|
|
@ -217,6 +217,7 @@
|
|||
MdePkg/Library/PeiServicesTablePointerLibRiscV/PeiServicesTablePointerLib.inf
|
||||
MdePkg/Library/DxeRiscvMpxyLib/DxeRiscvMpxy.inf
|
||||
MdePkg/Library/DxeRiscvRasAgentClientLib/DxeRiscvRasAgentClientLib.inf
|
||||
MdePkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
|
||||
|
||||
[Components.LOONGARCH64]
|
||||
MdePkg/Library/PeiServicesTablePointerLibKs0/PeiServicesTablePointerLibKs0.inf
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue