Introduce PlatformRomDebugLibIoPortNocheck which doesn't try to detect the debug IO port. Instead, debug logs are always written to the IO port. Signed-off-by: Anthony PERARD <anthony.perard@citrix.com> Message-Id: <20200423095358.2518197-5-anthony.perard@citrix.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com>
		
			
				
	
	
		
			26 lines
		
	
	
		
			429 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			429 B
		
	
	
	
		
			C
		
	
	
	
	
	
/** @file
 | 
						|
  Dectection code for hypervisor debug port.
 | 
						|
 | 
						|
  Copyright (c) 2020, Citrix Systems, Inc.
 | 
						|
  SPDX-License-Identifier: BSD-2-Clause-Patent
 | 
						|
 | 
						|
**/
 | 
						|
 | 
						|
#include "DebugLibDetect.h"
 | 
						|
 | 
						|
/**
 | 
						|
  Always return TRUE without detection as the debug I/O port is always
 | 
						|
  present.
 | 
						|
 | 
						|
  @retval TRUE   The debug I/O port is always present.
 | 
						|
 | 
						|
**/
 | 
						|
BOOLEAN
 | 
						|
EFIAPI
 | 
						|
PlatformDebugLibIoPortDetect (
 | 
						|
  VOID
 | 
						|
  )
 | 
						|
{
 | 
						|
  return TRUE;
 | 
						|
}
 |