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

Go to the source code of this file.

Functions

VOID EFIAPI UnregisterSerialBootTimeHandlers (VOID)
 
VOID EFIAPI VirtualAddressChangeCallBack (IN EFI_EVENT Event, IN VOID *Context)
 
VOID InitializationDispatcherWorker (VOID)
 
EFI_STATUS EFIAPI StatusCodeHandlerRuntimeDxeEntry (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
 

Variables

EFI_EVENT mVirtualAddressChangeEvent = NULL
 
EFI_RSC_HANDLER_PROTOCOLmRscHandlerProtocol = NULL
 

Detailed Description

Status Code Handler Driver which produces general handlers and hook them onto the DXE status code router.

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

Definition in file StatusCodeHandlerRuntimeDxe.c.

Function Documentation

◆ InitializationDispatcherWorker()

VOID InitializationDispatcherWorker ( VOID  )

Dispatch initialization request to sub status code devices based on customized feature flags.

Definition at line 62 of file StatusCodeHandlerRuntimeDxe.c.

◆ StatusCodeHandlerRuntimeDxeEntry()

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

Entry point of DXE Status Code Driver.

This function is the entry point of this DXE Status Code Driver. It initializes registers status code handlers, and registers event for EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE.

Parameters
ImageHandleThe firmware allocated handle for the EFI image.
SystemTableA pointer to the EFI System Table.
Return values
EFI_SUCCESSThe entry point is executed successfully.

Definition at line 152 of file StatusCodeHandlerRuntimeDxe.c.

◆ UnregisterSerialBootTimeHandlers()

VOID EFIAPI UnregisterSerialBootTimeHandlers ( VOID  )

Unregister status code callback functions only available at boot time from report status code router when exiting boot services.

Definition at line 22 of file StatusCodeHandlerRuntimeDxe.c.

◆ VirtualAddressChangeCallBack()

VOID EFIAPI VirtualAddressChangeCallBack ( IN EFI_EVENT  Event,
IN VOID *  Context 
)

Virtual address change notification call back. It converts global pointer to virtual address.

Parameters
EventEvent whose notification function is being invoked.
ContextPointer to the notification function's context, which is always zero in current implementation.

Definition at line 42 of file StatusCodeHandlerRuntimeDxe.c.

Variable Documentation

◆ mRscHandlerProtocol

EFI_RSC_HANDLER_PROTOCOL* mRscHandlerProtocol = NULL

Definition at line 13 of file StatusCodeHandlerRuntimeDxe.c.

◆ mVirtualAddressChangeEvent

EFI_EVENT mVirtualAddressChangeEvent = NULL

Definition at line 12 of file StatusCodeHandlerRuntimeDxe.c.