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

Go to the source code of this file.

Functions

VOID EFIAPI DxeCapsuleLibVirtualAddressChangeEvent (IN EFI_EVENT Event, IN VOID *Context)
 
STATIC VOID EFIAPI DxeCapsuleLibSystemResourceTableInstallEventNotify (IN EFI_EVENT Event, IN VOID *Context)
 
STATIC VOID EFIAPI DxeCapsuleLibExitBootServiceEventNotify (IN EFI_EVENT Event, IN VOID *Context)
 
EFI_STATUS EFIAPI DxeRuntimeCapsuleLibConstructor (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
 
EFI_STATUS EFIAPI DxeRuntimeCapsuleLibDestructor (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
 

Variables

EFI_SYSTEM_RESOURCE_TABLEmEsrtTable
 
BOOLEAN mDxeCapsuleLibIsExitBootService
 
EFI_EVENT mDxeRuntimeCapsuleLibVirtualAddressChangeEvent = NULL
 
EFI_EVENT mDxeRuntimeCapsuleLibSystemResourceTableEvent = NULL
 
EFI_EVENT mDxeRuntimeCapsuleLibExitBootServiceEvent = NULL
 

Detailed Description

Capsule library runtime support.

Copyright (c) 2016 - 2024, Intel Corporation. All rights reserved.
Copyright (c) 2024, Ampere Computing LLC. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file DxeCapsuleRuntime.c.

Function Documentation

◆ DxeCapsuleLibExitBootServiceEventNotify()

STATIC VOID EFIAPI DxeCapsuleLibExitBootServiceEventNotify ( IN EFI_EVENT  Event,
IN VOID *  Context 
)

Notify function for event of exit boot service.

Parameters
[in]EventThe Event that is being processed.
[in]ContextThe Event Context.

Definition at line 119 of file DxeCapsuleRuntime.c.

◆ DxeCapsuleLibSystemResourceTableInstallEventNotify()

STATIC VOID EFIAPI DxeCapsuleLibSystemResourceTableInstallEventNotify ( IN EFI_EVENT  Event,
IN VOID *  Context 
)

Notify function for event of system resource table installation.

Parameters
[in]EventThe Event that is being processed.
[in]ContextThe Event Context.

Definition at line 57 of file DxeCapsuleRuntime.c.

◆ DxeCapsuleLibVirtualAddressChangeEvent()

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

Convert EsrtTable physical address to virtual address.

Parameters
[in]EventEvent whose notification function is being invoked.
[in]ContextThe pointer to the notification function's context, which is implementation-dependent.

Definition at line 39 of file DxeCapsuleRuntime.c.

◆ DxeRuntimeCapsuleLibConstructor()

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

The constructor function for the file of DxeCapsuleRuntime.

Parameters
ImageHandleThe firmware allocated handle for the EFI image.
SystemTableA pointer to the EFI System Table.
Return values
EFI_SUCCESSThe constructor successfully .

Definition at line 137 of file DxeCapsuleRuntime.c.

◆ DxeRuntimeCapsuleLibDestructor()

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

The destructor function for the file of DxeCapsuleRuntime.

Parameters
ImageHandleThe firmware allocated handle for the EFI image.
SystemTableA pointer to the EFI System Table.
Return values
EFI_SUCCESSThe destructor completed successfully.

Definition at line 196 of file DxeCapsuleRuntime.c.

Variable Documentation

◆ mDxeCapsuleLibIsExitBootService

BOOLEAN mDxeCapsuleLibIsExitBootService
extern

Definition at line 52 of file DxeCapsuleLib.c.

◆ mDxeRuntimeCapsuleLibExitBootServiceEvent

EFI_EVENT mDxeRuntimeCapsuleLibExitBootServiceEvent = NULL

Definition at line 28 of file DxeCapsuleRuntime.c.

◆ mDxeRuntimeCapsuleLibSystemResourceTableEvent

EFI_EVENT mDxeRuntimeCapsuleLibSystemResourceTableEvent = NULL

Definition at line 27 of file DxeCapsuleRuntime.c.

◆ mDxeRuntimeCapsuleLibVirtualAddressChangeEvent

EFI_EVENT mDxeRuntimeCapsuleLibVirtualAddressChangeEvent = NULL

Definition at line 26 of file DxeCapsuleRuntime.c.

◆ mEsrtTable

EFI_SYSTEM_RESOURCE_TABLE* mEsrtTable
extern

Definition at line 45 of file DxeCapsuleLib.c.