https://bugzilla.tianocore.org/show_bug.cgi?id=3240 This patch is to support standalone MM Driver Unload capability by providing _DriverUnloadHandler() function. Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Zhiguang Liu <zhiguang.liu@intel.com> Cc: Siyuan Fu <siyuan.fu@intel.com> Signed-off-by: Jiaxin Wu <Jiaxin.wu@intel.com> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
		
			
				
	
	
		
			42 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
			
		
		
	
	
			42 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
| ## @file
 | |
| # Module entry point library for Standalone MM driver.
 | |
| #
 | |
| # Copyright (c) 2015 - 2021, Intel Corporation. All rights reserved.<BR>
 | |
| # Copyright (c) 2016-2018, ARM Ltd. All rights reserved.<BR>
 | |
| # Copyright (c) 2018, Linaro, Limited. All rights reserved.<BR>
 | |
| #
 | |
| #  SPDX-License-Identifier: BSD-2-Clause-Patent
 | |
| #
 | |
| #
 | |
| ##
 | |
| 
 | |
| [Defines]
 | |
|   INF_VERSION                    = 0x0001001B
 | |
|   BASE_NAME                      = StandaloneMmDriverEntryPoint
 | |
|   MODULE_UNI_FILE                = StandaloneMmDriverEntryPoint.uni
 | |
|   FILE_GUID                      = 5ca126c0-b598-4f4b-abb9-b6e7d077aea9
 | |
|   MODULE_TYPE                    = MM_STANDALONE
 | |
|   VERSION_STRING                 = 1.0
 | |
|   PI_SPECIFICATION_VERSION       = 0x00010032
 | |
|   LIBRARY_CLASS                  = StandaloneMmDriverEntryPoint|MM_STANDALONE
 | |
| 
 | |
| #
 | |
| # The following information is for reference only and not required by the build tools.
 | |
| #
 | |
| #  VALID_ARCHITECTURES           = IA32 X64 AARCH64
 | |
| #
 | |
| 
 | |
| [Sources]
 | |
|   StandaloneMmDriverEntryPoint.c
 | |
| 
 | |
| [Packages]
 | |
|   MdePkg/MdePkg.dec
 | |
| 
 | |
| [LibraryClasses]
 | |
|   BaseLib
 | |
|   DebugLib
 | |
|   MmServicesTableLib
 | |
| 
 | |
| [Protocols]
 | |
|   gEfiLoadedImageProtocolGuid      ## SOMETIMES_CONSUMES
 |