TianoCore EDK2 master
Loading...
Searching...
No Matches
DebugAgentDxe.c File Reference

Go to the source code of this file.

Functions

VOID EFIAPI DisableDebugTimerExitBootService (EFI_EVENT Event, VOID *Context)
 
EFI_STATUS EFIAPI DebugAgentDxeInitialize (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
 
EFI_STATUS EFIAPI DebugAgentDxeUnload (IN EFI_HANDLE ImageHandle)
 

Variables

EFI_EVENT mExitBootServiceEvent
 

Detailed Description

Initialize Debug Agent in DXE by invoking Debug Agent Library.

Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file DebugAgentDxe.c.

Function Documentation

◆ DebugAgentDxeInitialize()

EFI_STATUS EFIAPI DebugAgentDxeInitialize ( IN EFI_HANDLE  ImageHandle,
IN EFI_SYSTEM_TABLE SystemTable 
)

The Entry Point for Debug Agent Dxe driver.

It will invoke Debug Agent Library to enable source debugging feature in DXE phase.

Parameters
[in]ImageHandleThe firmware allocated handle for the EFI image.
[in]SystemTableA pointer to the EFI System Table.
Return values
EFI_SUCCESSThe entry point is executed successfully.
otherSome error occurs when initialized Debug Agent.

Definition at line 49 of file DebugAgentDxe.c.

◆ DebugAgentDxeUnload()

EFI_STATUS EFIAPI DebugAgentDxeUnload ( IN EFI_HANDLE  ImageHandle)

This is the unload handle for Debug Agent Dxe driver.

It will invoke Debug Agent Library to disable source debugging feature.

Parameters
[in]ImageHandleThe drivers' driver image.
Return values
EFI_SUCCESSThe image is unloaded.
OthersFailed to unload the image.

Definition at line 122 of file DebugAgentDxe.c.

◆ DisableDebugTimerExitBootService()

VOID EFIAPI DisableDebugTimerExitBootService ( EFI_EVENT  Event,
VOID *  Context 
)

One notified function to disable Debug Timer interrupt when gBS->ExitBootServices() called.

Parameters
[in]EventPointer to this event
[in]ContextEvent handler private data

Definition at line 26 of file DebugAgentDxe.c.

Variable Documentation

◆ mExitBootServiceEvent

EFI_EVENT mExitBootServiceEvent

Definition at line 15 of file DebugAgentDxe.c.