Lines Matching refs:CapsuleHeader
107 @param CapsuleHeader The pointer to EFI_CAPSULE_HEADER
115 IN EFI_CAPSULE_HEADER *CapsuleHeader
264 EFI_CAPSULE_HEADER *CapsuleHeader;
337 CapsuleHeader = (EFI_CAPSULE_HEADER*)((UINTN)Ptr->Union.DataBlock);
348 if (CapsuleHeader->HeaderSize > CapsuleHeader->CapsuleImageSize) {
349 DEBUG ((EFI_D_ERROR, "ERROR: CapsuleHeader->HeaderSize(0x%x) > CapsuleHeader->CapsuleImageSize(0x%x)\n", CapsuleHeader->HeaderSize, CapsuleHeader->CapsuleImageSize));
352 if (IsCapsuleCorrupted (CapsuleHeader)) {
356 CapsuleSize = CapsuleHeader->CapsuleImageSize;
613 EFI_CAPSULE_HEADER *CapsuleHeader;
647 CapsuleHeader = (EFI_CAPSULE_HEADER*)((UINTN)Desc->Union.DataBlock);
652 ThisCapsuleImageSize = CapsuleHeader->CapsuleImageSize;
698 @param CapsuleHeader The pointer to EFI_CAPSULE_HEADER
706 IN EFI_CAPSULE_HEADER *CapsuleHeader
712 if ((CapsuleHeader->Flags & CAPSULE_FLAGS_PERSIST_ACROSS_RESET) == 0) {
718 if ((CapsuleHeader->Flags & (CAPSULE_FLAGS_PERSIST_ACROSS_RESET | CAPSULE_FLAGS_POPULATE_SYSTEM_TABLE)) == CAPSULE_FLAGS_POPULATE_SYSTEM_TABLE) {
721 if ((CapsuleHeader->Flags & (CAPSULE_FLAGS_PERSIST_ACROSS_RESET | CAPSULE_FLAGS_INITIATE_RESET)) == CAPSULE_FLAGS_INITIATE_RESET) {
974 EFI_CAPSULE_HEADER *CapsuleHeader;
989 CapsuleHeader = NULL;
1190 CapsuleHeader = (EFI_CAPSULE_HEADER*)(UINTN)CurrentBlockDesc->Union.DataBlock;
1191 SizeLeft = CapsuleHeader->CapsuleImageSize;