TianoCore EDK2 master
Loading...
Searching...
No Matches
CapsuleService.h File Reference

Go to the source code of this file.

Functions

VOID SaveLongModeContext (VOID)
 
BOOLEAN IsPersistAcrossResetCapsuleSupported (VOID)
 
VOID CapsuleCacheWriteBack (IN EFI_PHYSICAL_ADDRESS ScatterGatherList)
 

Detailed Description

Capsule Runtime Driver produces two UEFI capsule runtime services. (UpdateCapsule, QueryCapsuleCapabilities) It installs the Capsule Architectural Protocol defined in PI1.0a to signify the capsule runtime services are ready.

Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
Copyright (c) 2018, Linaro, Ltd. All rights reserved.

SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file CapsuleService.h.

Function Documentation

◆ CapsuleCacheWriteBack()

VOID CapsuleCacheWriteBack ( IN EFI_PHYSICAL_ADDRESS  ScatterGatherList)

Writes Back a range of data cache lines covering a set of capsules in memory.

Writes Back the data cache lines specified by ScatterGatherList.

Parameters
ScatterGatherListPhysical address of the data structure that describes a set of capsules in memory

Writes Back a range of data cache lines covering a set of capsules in memory.

Writes Back the data cache lines specified by ScatterGatherList.

Null version, do nothing.

Parameters
ScatterGatherListPhysical address of the data structure that describes a set of capsules in memory

Definition at line 26 of file CapsuleCache.c.

◆ IsPersistAcrossResetCapsuleSupported()

BOOLEAN IsPersistAcrossResetCapsuleSupported ( VOID  )

Whether the platform supports capsules that persist across reset. Note that some platforms only support such capsules at boot time.

Returns
TRUE if a PersistAcrossReset capsule may be passed to UpdateCapsule() at this time FALSE otherwise

Definition at line 23 of file CapsuleReset.c.

◆ SaveLongModeContext()

VOID SaveLongModeContext ( VOID  )

Create the variable to save the base address of page table and stack for transferring into long mode in IA32 PEI.

Only when PEI is IA32 and DXE is X64, we need transfer to long mode in PEI in order to process capsule data above 4GB. So create a NULL function here for other cases.

Create the variable to save the base address of page table and stack for transferring into long mode in IA32 capsule PEI.

Definition at line 17 of file SaveLongModeContext.c.