TianoCore EDK2 master
Loading...
Searching...
No Matches
CapsuleUpdatePolicyDxe.c
Go to the documentation of this file.
1
12
17
27};
28
44EFIAPI
47 OUT BOOLEAN *Good
48 )
49{
50 return CheckSystemPower (Good);
51}
52
68EFIAPI
71 OUT BOOLEAN *Good
72 )
73{
74 return CheckSystemThermal (Good);
75}
76
92EFIAPI
95 OUT BOOLEAN *Good
96 )
97{
98 return CheckSystemEnvironment (Good);
99}
100
113BOOLEAN
114EFIAPI
117 )
118{
120}
121
134BOOLEAN
135EFIAPI
138 )
139{
141}
142
155EFIAPI
157 IN EFI_HANDLE ImageHandle,
158 IN EFI_SYSTEM_TABLE *SystemTable
159 )
160{
161 EFI_STATUS Status;
162
163 ASSERT_PROTOCOL_ALREADY_INSTALLED (NULL, &gEdkiiCapsuleUpdatePolicyProtocolGuid);
164 Status = gBS->InstallMultipleProtocolInterfaces (
165 &mHandle,
166 &gEdkiiCapsuleUpdatePolicyProtocolGuid,
168 NULL
169 );
170 ASSERT_EFI_ERROR (Status);
171
172 return Status;
173}
BOOLEAN EFIAPI CapsuleUpdatePolicyIsLowestSupportedVersionCheckRequired(IN EDKII_CAPSULE_UPDATE_POLICY_PROTOCOL *This)
EFI_STATUS EFIAPI CapsuleUpdatePolicyInitialize(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
EFI_STATUS EFIAPI CapsuleUpdatePolicyCheckSystemEnvironment(IN EDKII_CAPSULE_UPDATE_POLICY_PROTOCOL *This, OUT BOOLEAN *Good)
EFI_STATUS EFIAPI CapsuleUpdatePolicyCheckSystemPower(IN EDKII_CAPSULE_UPDATE_POLICY_PROTOCOL *This, OUT BOOLEAN *Good)
BOOLEAN EFIAPI CapsuleUpdatePolicyIsLockFmpDeviceAtLockEventGuidRequired(IN EDKII_CAPSULE_UPDATE_POLICY_PROTOCOL *This)
EFI_STATUS EFIAPI CapsuleUpdatePolicyCheckSystemThermal(IN EDKII_CAPSULE_UPDATE_POLICY_PROTOCOL *This, OUT BOOLEAN *Good)
EFI_HANDLE mHandle
EDKII_CAPSULE_UPDATE_POLICY_PROTOCOL mCapsuleUpdatePolicy
EFI_STATUS EFIAPI CheckSystemThermal(OUT BOOLEAN *Good)
BOOLEAN EFIAPI IsLowestSupportedVersionCheckRequired(VOID)
EFI_STATUS EFIAPI CheckSystemPower(OUT BOOLEAN *Good)
BOOLEAN EFIAPI IsLockFmpDeviceAtLockEventGuidRequired(VOID)
EFI_STATUS EFIAPI CheckSystemEnvironment(OUT BOOLEAN *Good)
#define NULL
Definition: Base.h:319
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
#define ASSERT_EFI_ERROR(StatusParameter)
Definition: DebugLib.h:462
#define ASSERT_PROTOCOL_ALREADY_INSTALLED(Handle, Guid)
Definition: DebugLib.h:535
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
VOID * EFI_HANDLE
Definition: UefiBaseType.h:33
EFI_BOOT_SERVICES * gBS