TianoCore EDK2
master
Loading...
Searching...
No Matches
CapsuleReset.c
Go to the documentation of this file.
1
12
#include "
CapsuleService.h
"
13
22
BOOLEAN
23
IsPersistAcrossResetCapsuleSupported
(
24
VOID
25
)
26
{
27
//
28
// ARM requires the capsule payload to be cleaned to the point of coherency
29
// (PoC), but only permits doing so using cache maintenance instructions that
30
// operate on virtual addresses. Since at runtime, we don't know the virtual
31
// addresses of the data structures that make up the scatter/gather list, we
32
// cannot perform the maintenance, and all we can do is give up.
33
//
34
return
FeaturePcdGet
(PcdSupportUpdateCapsuleReset) && !
EfiAtRuntime
();
35
}
IsPersistAcrossResetCapsuleSupported
BOOLEAN IsPersistAcrossResetCapsuleSupported(VOID)
Definition:
CapsuleReset.c:23
CapsuleService.h
FeaturePcdGet
#define FeaturePcdGet(TokenName)
Definition:
PcdLib.h:50
EfiAtRuntime
BOOLEAN EFIAPI EfiAtRuntime(VOID)
Definition:
RuntimeLib.c:167
MdeModulePkg
Universal
CapsuleRuntimeDxe
Arm
CapsuleReset.c
Generated on Fri Nov 15 2024 18:01:12 for TianoCore EDK2 by
1.9.6