VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/FirmwareNew/OvmfPkg/Library/PlatformDebugLibIoPort/DebugLibDetectRom.c

Last change on this file was 85718, checked in by vboxsync, 5 years ago

Devices/EFI: Merge edk-stable202005 and make it build, bugref:4643

  • Property svn:eol-style set to native
File size: 751 bytes
Line 
1/** @file
2 Detection code for hypervisor debug port.
3 SEC instance, cannot cache the result of detection.
4
5 Copyright (c) 2017, Red Hat, Inc.<BR>
6 SPDX-License-Identifier: BSD-2-Clause-Patent
7
8**/
9
10#include <Base.h>
11#include "DebugLibDetect.h"
12
13/**
14 This constructor function does not have anything to do.
15
16 @retval RETURN_SUCCESS The constructor always returns RETURN_SUCCESS.
17
18**/
19RETURN_STATUS
20EFIAPI
21PlatformRomDebugLibIoPortConstructor (
22 VOID
23 )
24{
25 return RETURN_SUCCESS;
26}
27
28/**
29 Return the result of detecting the debug I/O port device.
30
31 @retval TRUE if the debug I/O port device was detected.
32 @retval FALSE otherwise
33
34**/
35BOOLEAN
36EFIAPI
37PlatformDebugLibIoPortFound (
38 VOID
39 )
40{
41 return PlatformDebugLibIoPortDetect ();
42}
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette