]>
git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/Library/PlatformDebugLibIoPort/DebugLibDetect.h
2 Base Debug library instance for hypervisor debug port.
3 It uses PrintLib to send debug messages to a fixed I/O port.
5 Copyright (c) 2017, Red Hat, Inc.<BR>
6 SPDX-License-Identifier: BSD-2-Clause-Patent
10 #ifndef __DEBUG_IO_PORT_DETECT_H__
11 #define __DEBUG_IO_PORT_DETECT_H__
16 Helper function to return whether the virtual machine has a debug I/O port.
17 PlatformDebugLibIoPortFound can call this function directly or cache the
20 @retval TRUE if the debug I/O port device was detected.
21 @retval FALSE otherwise
26 PlatformDebugLibIoPortDetect (
31 Return whether the virtual machine has a debug I/O port. DebugLib.c
32 calls this function instead of PlatformDebugLibIoPortDetect, to allow
35 @retval TRUE if the debug I/O port device was detected.
36 @retval FALSE otherwise
41 PlatformDebugLibIoPortFound (