TianoCore EDK2 master
Loading...
Searching...
No Matches
DebugSupport.c File Reference
#include "PlDebugSupport.h"

Go to the source code of this file.

Functions

EFI_STATUS EFIAPI InitializeDebugSupportDriver (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
 

Variables

EFI_DEBUG_SUPPORT_PROTOCOL mDebugSupportProtocolInterface
 

Detailed Description

Top level C file for debug support driver. Contains initialization function.

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

Definition in file DebugSupport.c.

Function Documentation

◆ InitializeDebugSupportDriver()

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

Debug Support Driver entry point.

Checks to see if there's not already a Debug Support protocol installed for the selected processor before installing it.

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.
EFI_ALREADY_STARTEDDebug Support protocol is installed already.
otherSome error occurs when executing this entry point.

Definition at line 35 of file DebugSupport.c.

Variable Documentation

◆ mDebugSupportProtocolInterface

EFI_DEBUG_SUPPORT_PROTOCOL mDebugSupportProtocolInterface
Initial value:
= {
EFI_ISA,
}
VOID EFIAPI InvalidateInstructionCache(VOID)
EFI_STATUS EFIAPI RegisterExceptionCallback(IN EFI_DEBUG_SUPPORT_PROTOCOL *This, IN UINTN ProcessorIndex, IN EFI_EXCEPTION_CALLBACK ExceptionCallback, IN EFI_EXCEPTION_TYPE ExceptionType)
EFI_STATUS EFIAPI GetMaximumProcessorIndex(IN EFI_DEBUG_SUPPORT_PROTOCOL *This, OUT UINTN *MaxProcessorIndex)
EFI_STATUS EFIAPI RegisterPeriodicCallback(IN EFI_DEBUG_SUPPORT_PROTOCOL *This, IN UINTN ProcessorIndex, IN EFI_PERIODIC_CALLBACK PeriodicCallback)

Definition at line 11 of file DebugSupport.c.