From 0a81a98e900118857395b101f413c1c17b66c073 Mon Sep 17 00:00:00 2001 From: Michael D Kinney Date: Fri, 5 Jun 2020 11:01:43 -0700 Subject: MdePkg/BaseCacheMaintenanceLibNull: Add Null instance for host testing REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2799 The services in CacheMaintenanceLib usually generate exceptions in a unit test host application. Provide a Null instance that can be safely used. This Null instance can also be used as a template for implementing new instances of CacheMaintenanceLib. Cc: Liming Gao Cc: Sean Brogan Cc: Bret Barkelew Cc: Jiewen Yao Signed-off-by: Michael D Kinney Reviewed-by: Liming Gao --- MdePkg/MdePkg.dsc | 1 + 1 file changed, 1 insertion(+) (limited to 'MdePkg/MdePkg.dsc') diff --git a/MdePkg/MdePkg.dsc b/MdePkg/MdePkg.dsc index 3abe65ec7f..472fa37774 100644 --- a/MdePkg/MdePkg.dsc +++ b/MdePkg/MdePkg.dsc @@ -35,6 +35,7 @@ [Components] MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf + MdePkg/Library/BaseCacheMaintenanceLibNull/BaseCacheMaintenanceLibNull.inf MdePkg/Library/BaseCpuLib/BaseCpuLib.inf MdePkg/Library/BaseCpuLibNull/BaseCpuLibNull.inf MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf -- cgit v1.2.3