TianoCore EDK2 master
Loading...
Searching...
No Matches
CapsuleReset.c
Go to the documentation of this file.
1
12#include "CapsuleService.h"
13
22BOOLEAN
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}
BOOLEAN IsPersistAcrossResetCapsuleSupported(VOID)
Definition: CapsuleReset.c:23
#define FeaturePcdGet(TokenName)
Definition: PcdLib.h:50
BOOLEAN EFIAPI EfiAtRuntime(VOID)
Definition: RuntimeLib.c:167