OvmfPkg/PlatformDebugLibIoPort: Introduce a Nocheck variant
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>
This commit is contained in:
committed by
mergify[bot]
parent
52f012129a
commit
a91443885d
25
OvmfPkg/Library/PlatformDebugLibIoPort/DebugIoPortNocheck.c
Normal file
25
OvmfPkg/Library/PlatformDebugLibIoPort/DebugIoPortNocheck.c
Normal file
@@ -0,0 +1,25 @@
|
||||
/** @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;
|
||||
}
|
Reference in New Issue
Block a user