TianoCore EDK2 master
|
#include <Base.h>
Go to the source code of this file.
Functions | |
BOOLEAN EFIAPI | PlatformDebugLibIoPortDetect (VOID) |
BOOLEAN EFIAPI | PlatformDebugLibIoPortFound (VOID) |
Base Debug library instance for hypervisor debug port. It uses PrintLib to send debug messages to a fixed I/O port.
Copyright (c) 2017, Red Hat, Inc.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file DebugLibDetect.h.
BOOLEAN EFIAPI PlatformDebugLibIoPortDetect | ( | VOID | ) |
Helper function to return whether the virtual machine has a debug I/O port. PlatformDebugLibIoPortFound can call this function directly or cache the result.
TRUE | if the debug I/O port device was detected. |
FALSE | otherwise |
Always return TRUE without detection as the debug I/O port is always present.
TRUE | The debug I/O port is always present. |
Return the result of detecting the debug I/O port device.
TRUE | if the debug I/O port device was detected. |
FALSE | otherwise |
Definition at line 20 of file DebugIoPortNocheck.c.
BOOLEAN EFIAPI PlatformDebugLibIoPortFound | ( | VOID | ) |
Return whether the virtual machine has a debug I/O port. DebugLib.c calls this function instead of PlatformDebugLibIoPortDetect, to allow caching if possible.
TRUE | if the debug I/O port device was detected. |
FALSE | otherwise |
At the first call, check if the debug I/O port device is present, and cache the result for later use. At subsequent calls, return the cached result.
TRUE | if the debug I/O port device was detected. |
FALSE | otherwise |
Return the result of detecting the debug I/O port device.
TRUE | if the debug I/O port device was detected. |
FALSE | otherwise |
Definition at line 56 of file DebugLibDetect.c.