Files
system76-edk2/OvmfPkg/Library/PlatformDebugLibIoPort/DebugIoPortNocheck.c
Anthony PERARD a91443885d 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>
2020-04-28 21:12:01 +00:00

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;
}