TianoCore EDK2 master
|
#include <Uefi.h>
#include <Protocol/Capsule.h>
#include <Guid/CapsuleVendor.h>
#include <Guid/FmpCapsule.h>
#include <Library/DebugLib.h>
#include <Library/PcdLib.h>
#include <Library/CapsuleLib.h>
#include <Library/UefiDriverEntryPoint.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Library/UefiRuntimeServicesTableLib.h>
#include <Library/UefiRuntimeLib.h>
#include <Library/BaseLib.h>
#include <Library/PrintLib.h>
#include <Library/BaseMemoryLib.h>
Go to the source code of this file.
Functions | |
VOID | SaveLongModeContext (VOID) |
BOOLEAN | IsPersistAcrossResetCapsuleSupported (VOID) |
VOID | CapsuleCacheWriteBack (IN EFI_PHYSICAL_ADDRESS ScatterGatherList) |
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.
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.
ScatterGatherList | Physical 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.
ScatterGatherList | Physical address of the data structure that describes a set of capsules in memory |
Definition at line 26 of file CapsuleCache.c.
BOOLEAN IsPersistAcrossResetCapsuleSupported | ( | VOID | ) |
Whether the platform supports capsules that persist across reset. Note that some platforms only support such capsules at boot time.
Definition at line 23 of file CapsuleReset.c.
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.