diff options
author | Yi Li <yi1.li@intel.com> | 2023-08-03 12:37:39 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2023-08-09 07:10:31 +0000 |
commit | 43e0ede26b7ad720175fa83f7cf0d1d78742b181 (patch) | |
tree | 85b93223d2d47d39989135f8f73c2e9350e50214 /CryptoPkg | |
parent | f0d3e597540f5c3a490ac0b466e6ddaefed7a83a (diff) | |
download | edk2-43e0ede26b7ad720175fa83f7cf0d1d78742b181.tar.gz edk2-43e0ede26b7ad720175fa83f7cf0d1d78742b181.tar.bz2 edk2-43e0ede26b7ad720175fa83f7cf0d1d78742b181.zip |
CryptoPkg: Enable memcpy sys call in RISCV64 build
When build Openssl30, compiler optimization may use memcpy()
for memory copy.
Need enable it in RISCV64 build also.
Signed-off-by: Yi Li <yi1.li@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Xiaoyu Lu <xiaoyu1.lu@intel.com>
Cc: Guomin Jiang <guomin.jiang@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Tested-by: Ard Biesheuvel <ardb@kernel.org>
Tested-by: Brian J. Johnson <brian.johnson@hpe.com>
Tested-by: Kenneth Lautner <klautner@microsoft.com>
Diffstat (limited to 'CryptoPkg')
-rw-r--r-- | CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf b/CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf index 2ec987b260..4d2440466d 100644 --- a/CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf +++ b/CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf @@ -46,6 +46,8 @@ [Sources.X64]
CopyMem.c
+[Sources.RISCV64]
+ CopyMem.c
[Packages]
MdePkg/MdePkg.dec
|