summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKun Qin <kuqin@microsoft.com>2026-07-27 22:32:07 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2026-09-06 13:12:38 +0300
commit261a8d215e3374cbd3343bbf6dcd1a0b7db88dd5 (patch)
tree741f167f70b63855f51b8c5f2c5bf3f54aaacfcd
parent727910611ebff74da143ed36c58454cb698b07fa (diff)
downloadedk2-261a8d215e3374cbd3343bbf6dcd1a0b7db88dd5.tar.xz
CryptoPkg: Test: Add AArch64 support for host based unit tests
This change updates the host based units for AArch64 systems. The RngLib is updated to use timer based , rather hardware based library to allow usage on various host systems. Signed-off-by: Kun Qin <kun.qin@microsoft.com>
-rw-r--r--CryptoPkg/Test/CryptoPkgHostUnitTest.dsc8
1 files changed, 3 insertions, 5 deletions
diff --git a/CryptoPkg/Test/CryptoPkgHostUnitTest.dsc b/CryptoPkg/Test/CryptoPkgHostUnitTest.dsc
index 672b734db5..5e5bac926f 100644
--- a/CryptoPkg/Test/CryptoPkgHostUnitTest.dsc
+++ b/CryptoPkg/Test/CryptoPkgHostUnitTest.dsc
@@ -13,7 +13,7 @@
PLATFORM_VERSION = 0.1
DSC_SPECIFICATION = 0x00010005
OUTPUT_DIRECTORY = Build/CryptoPkg/HostTest
- SUPPORTED_ARCHITECTURES = IA32|X64
+ SUPPORTED_ARCHITECTURES = IA32|X64|AARCH64
BUILD_TARGETS = NOOPT
SKUID_IDENTIFIER = DEFAULT
@@ -34,10 +34,8 @@
BaseCryptLib|CryptoPkg/Library/BaseCryptLib/UnitTestHostBaseCryptLib.inf
MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
- TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
-
-[LibraryClasses.X64, LibraryClasses.IA32]
- RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf
+ TimerLib|UnitTestFrameworkPkg/Library/Posix/TimerLibPosix/TimerLibPosix.inf
+ RngLib|MdeModulePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
[Components]
#