TianoCore EDK2 master
Loading...
Searching...
No Matches
DebugLibDetectRom.c File Reference
#include <Base.h>
#include "DebugLibDetect.h"

Go to the source code of this file.

Functions

RETURN_STATUS EFIAPI PlatformRomDebugLibIoPortConstructor (VOID)
 
BOOLEAN EFIAPI PlatformDebugLibIoPortFound (VOID)
 

Detailed Description

Detection code for hypervisor debug port. SEC instance, cannot cache the result of detection.

Copyright (c) 2017, Red Hat, Inc.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file DebugLibDetectRom.c.

Function Documentation

◆ PlatformDebugLibIoPortFound()

BOOLEAN EFIAPI PlatformDebugLibIoPortFound ( VOID  )

Return the result of detecting the debug I/O port device.

Return values
TRUEif the debug I/O port device was detected.
FALSEotherwise

Definition at line 37 of file DebugLibDetectRom.c.

◆ PlatformRomDebugLibIoPortConstructor()

RETURN_STATUS EFIAPI PlatformRomDebugLibIoPortConstructor ( VOID  )

This constructor function does not have anything to do.

Return values
RETURN_SUCCESSThe constructor always returns RETURN_SUCCESS.

Definition at line 21 of file DebugLibDetectRom.c.