Uses the generic event device to reset and poweroff. Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3599 Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Acked-by: Jiewen Yao <Jiewen.yao@intel.com>
		
			
				
	
	
		
			41 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
			
		
		
	
	
			41 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
| ## @file
 | |
| #  DXE library instance for ResetSystem library class for OVMF
 | |
| #
 | |
| #  Copyright (C) 2020, Red Hat, Inc.
 | |
| #  Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
 | |
| #  SPDX-License-Identifier: BSD-2-Clause-Patent
 | |
| #
 | |
| ##
 | |
| 
 | |
| [Defines]
 | |
|   INF_VERSION                    = 1.29
 | |
|   BASE_NAME                      = ResetSystemLibMicrovm
 | |
|   FILE_GUID                      = 3d6faf60-804a-4ca9-a36a-1a92416919d0
 | |
|   MODULE_TYPE                    = DXE_RUNTIME_DRIVER
 | |
|   VERSION_STRING                 = 1.0
 | |
|   LIBRARY_CLASS                  = ResetSystemLib|DXE_DRIVER DXE_RUNTIME_DRIVER SMM_CORE DXE_SMM_DRIVER UEFI_DRIVER UEFI_APPLICATION
 | |
|   CONSTRUCTOR                    = DxeResetSystemLibMicrovmConstructor
 | |
| 
 | |
| #
 | |
| # The following information is for reference only and not required by the build
 | |
| # tools.
 | |
| #
 | |
| #  VALID_ARCHITECTURES           = IA32 X64
 | |
| #
 | |
| 
 | |
| [Sources]
 | |
|   ResetSystemLibMicrovm.c
 | |
|   DxeResetSystemLibMicrovm.c
 | |
| 
 | |
| [Packages]
 | |
|   MdeModulePkg/MdeModulePkg.dec
 | |
|   MdePkg/MdePkg.dec
 | |
|   OvmfPkg/OvmfPkg.dec
 | |
| 
 | |
| [LibraryClasses]
 | |
|   BaseLib
 | |
|   DebugLib
 | |
|   DxeServicesTableLib
 | |
|   IoLib
 | |
|   TimerLib
 |