This variant does not use global variables. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Tested-by: Tom Lendacky <thomas.lendacky@amd.com> Acked-by: Ard Biesheuvel <ardb@kernel.org>
		
			
				
	
	
		
			50 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
			
		
		
	
	
			50 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
| ## @file
 | |
| #  Instance of Debug Library for the QEMU debug console port.
 | |
| #  It uses Print Library to produce formatted output strings.
 | |
| #
 | |
| #  Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
 | |
| #  Copyright (c) 2017, Red Hat, Inc.<BR>
 | |
| #
 | |
| #  SPDX-License-Identifier: BSD-2-Clause-Patent
 | |
| #
 | |
| #
 | |
| ##
 | |
| 
 | |
| [Defines]
 | |
|   INF_VERSION                    = 0x00010005
 | |
|   BASE_NAME                      = PlatformRomDebugLibIoPort
 | |
|   FILE_GUID                      = CEB0D9D3-328F-4C24-8C02-28FA1986AE1B
 | |
|   MODULE_TYPE                    = BASE
 | |
|   VERSION_STRING                 = 1.0
 | |
|   LIBRARY_CLASS                  = DebugLib|SEC PEI_CORE PEIM
 | |
|   CONSTRUCTOR                    = PlatformRomDebugLibIoPortConstructor
 | |
| 
 | |
| #
 | |
| #  VALID_ARCHITECTURES           = IA32 X64 EBC
 | |
| #
 | |
| 
 | |
| [Sources]
 | |
|   DebugIoPortQemu.c
 | |
|   DebugLib.c
 | |
|   DebugLibDetect.h
 | |
|   DebugLibDetectRom.c
 | |
| 
 | |
| [Packages]
 | |
|   MdePkg/MdePkg.dec
 | |
|   OvmfPkg/OvmfPkg.dec
 | |
| 
 | |
| [LibraryClasses]
 | |
|   BaseMemoryLib
 | |
|   IoLib
 | |
|   PcdLib
 | |
|   PrintLib
 | |
|   BaseLib
 | |
|   DebugPrintErrorLevelLib
 | |
| 
 | |
| [Pcd]
 | |
|   gUefiOvmfPkgTokenSpaceGuid.PcdDebugIoPort                ## CONSUMES
 | |
|   gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue        ## CONSUMES
 | |
|   gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask            ## CONSUMES
 | |
|   gEfiMdePkgTokenSpaceGuid.PcdFixedDebugPrintErrorLevel    ## CONSUMES
 | |
| 
 |