]>
git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/Library/PlatformDebugLibIoPort/DebugLibDetectRom.c
2 Detection code for QEMU debug port.
3 SEC instance, cannot cache the result of detection.
5 Copyright (c) 2017, Red Hat, Inc.<BR>
6 This program and the accompanying materials
7 are licensed and made available under the terms and conditions of the BSD License
8 which accompanies this distribution. The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php.
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
17 #include "DebugLibDetect.h"
20 This constructor function does not have anything to do.
22 @retval RETURN_SUCCESS The constructor always returns RETURN_SUCCESS.
27 PlatformRomDebugLibIoPortConstructor (
31 return RETURN_SUCCESS
;
35 Return the result of detecting the debug I/O port device.
37 @retval TRUE if the debug I/O port device was detected.
38 @retval FALSE otherwise
43 PlatformDebugLibIoPortFound (
47 return PlatformDebugLibIoPortDetect ();