[edk2-devel] [PATCH] CryptoPkg/IntrinsicLib: RiscV: Provide implementation of memcpy and __ctzdi2

2022-12-19 Thread Tuan Phan
The RiscV toolchain doesn't provide __ctzdi2 implementation when compiled with -nostdlib that needed by openssl library when EC enabled. So adding the simple implementation of __ctzdi2. Forcing to use CopyMem of EDK2 as builtin memcpy disabled for RiscV with -fno-builtin-memcpy flag.

Re: [edk2-devel] [PATCH] CryptoPkg/IntrinsicLib: RiscV: Provide implementation of memcpy and __ctzdi2

2022-12-15 Thread Sunil V L
On Thu, Dec 15, 2022 at 09:48:59AM -0800, Tuan Phan wrote: > The RiscV toolchain doesn't provide __ctzdi2 implementation when > compiled with -nostdlib that needed by openssl library when EC > enabled. So adding the simple implementation of __ctzdi2. > > Forcing to use CopyMem of EDK2 as builtin