Searched refs:HeaderLength (Results 1 - 25 of 39) sorted by relevance

12

/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/GenFds/
H A DGuidSection.py195 HeaderLength = None
197 HeaderLength = str(self.ExtraHeaderSize)
199 if self.ProcessRequired == "NONE" and HeaderLength == None:
206 HeaderLength = str(TempFileSize - InputFileSize)
208 if HeaderLength == None:
228 Guid=self.NameGuid, GuidAttr=Attribute, GuidHdrLen=HeaderLength)
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Include/Protocol/
H A DManagedNetwork.h96 UINT32 HeaderLength; member in struct:__anon12210
119 UINT16 HeaderLength; //OPTIONAL member in struct:__anon12212
H A DIp4.h186 UINT8 HeaderLength:4; member in struct:__anon12165
210 UINT32 HeaderLength; member in struct:__anon12167
H A DIp6.h442 UINT32 HeaderLength; member in struct:_EFI_IP6_RECEIVE_DATA
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Variable/RuntimeDxe/
H A DReclaim.c74 if ((FwVolHeader->FvLength) > (FwVolHeader->HeaderLength)) {
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Include/Pi/
H A DPiFirmwareVolume.h130 UINT16 HeaderLength; member in struct:__anon11976
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/Include/Common/
H A DPiFirmwareVolume.h105 UINT16 HeaderLength; member in struct:__anon10046
/vbox/src/VBox/Devices/EFI/Firmware/SecurityPkg/VariableAuthenticated/RuntimeDxe/
H A DReclaim.c73 if ((FwVolHeader->FvLength) > (FwVolHeader->HeaderLength)) {
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Core/Dxe/FwVol/
H A DFwVol.c202 *FwVolHeader = AllocatePool (TempFvh.HeaderLength);
215 FvhLength = TempFvh.HeaderLength - sizeof (EFI_FIRMWARE_VOLUME_HEADER);
325 Size = (UINTN)(FwVolHeader->FvLength - FwVolHeader->HeaderLength);
345 HeaderSize = FwVolHeader->HeaderLength;
426 FwVolExtHeader = (EFI_FIRMWARE_VOLUME_EXT_HEADER *) (FvDevice->CachedFv + (FwVolHeader->ExtHeaderOffset - FwVolHeader->HeaderLength));
H A DFfs.c110 Checksum = CalculateSum16 ((UINT16 *) FvHeader, FvHeader->HeaderLength);
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Network/MnpDxe/
H A DMnpIo.c54 if ((TxData->DestinationAddress != NULL) && (TxData->HeaderLength != 0)) {
56 // The token is invalid if the HeaderLength isn't zero while the DestinationAddress
59 DEBUG ((EFI_D_WARN, "MnpIsValidTxToken: DestinationAddress isn't NULL, HeaderLength must be 0.\n"));
78 if ((TxData->DestinationAddress == NULL) && (FragmentTable[0].FragmentLength < TxData->HeaderLength)) {
85 if (TotalLength != (TxData->DataLength + TxData->HeaderLength)) {
88 // sum of the DataLength and the HeaderLength.
173 *PktLen += TxData->DataLength + TxData->HeaderLength;
211 HeaderSize = Snp->Mode->MediaHeaderSize - TxData->HeaderLength;
711 RxData->HeaderLength = SnpMode->MediaHeaderSize;
713 RxData->DataLength = RxData->PacketLength - RxData->HeaderLength;
[all...]
H A DMnpVlan.c214 if (TxData->HeaderLength != 0) {
/vbox/src/VBox/Devices/EFI/Firmware/OvmfPkg/EmuVariableFvbRuntimeDxe/
H A DFvb.c589 // HeaderLength cannot be an odd number
594 (FwVolHeader->HeaderLength != EMU_FV_HEADER_LENGTH)
602 Checksum = CalculateSum16((VOID*) FwVolHeader, FwVolHeader->HeaderLength);
642 // UINT16 HeaderLength;
698 Fv->Checksum = CalculateCheckSum16 (Ptr, Fv->HeaderLength);
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/Common/
H A DFvLib.c168 CurrentFile = (EFI_FFS_FILE_HEADER *) ((UINTN) mFvHeader + mFvHeader->HeaderLength);
196 if (((UINTN) CurrentFile < (UINTN) mFvHeader + mFvHeader->HeaderLength) ||
607 Checksum = CalculateSum16 ((UINT16 *) FvHeader, FvHeader->HeaderLength / sizeof (UINT16));
H A DFirmwareVolumeBuffer.c281 FvHeader->HeaderLength / sizeof (UINT16)
477 (UINT8*)hdr + hdr->HeaderLength,
478 size - hdr->HeaderLength,
574 offset = (UINTN)ALIGN_POINTER (hdr->HeaderLength, 8);
749 LastFile = (EFI_FFS_FILE_HEADER*)((UINT8*)hdr + hdr->HeaderLength);
888 *Key = hdr->HeaderLength;
1506 if ((UINT8*)blk > ((UINT8*)hdr + hdr->HeaderLength)) {
/vbox/src/VBox/Devices/EFI/Firmware/IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/
H A DFwVol.c93 *FwVolHeader = AllocatePool (TempFvh.HeaderLength);
101 CopyMem (*FwVolHeader, (VOID *) (UINTN) BaseAddress, TempFvh.HeaderLength);
106 FvhLength = TempFvh.HeaderLength;
361 Ptr = (UINT8 *) (UINTN) (FvDevice->CachedFv + FvDevice->FwVolHeader->HeaderLength);
H A DFfs.c217 Checksum = CalculateSum16 ((UINT16 *) FvHeader, FvHeader->HeaderLength);
/vbox/src/VBox/Devices/PC/ipxe/src/include/ipxe/efi/Pi/
H A DPiFirmwareVolume.h132 UINT16 HeaderLength; member in struct:__anon15578
/vbox/src/VBox/Devices/EFI/Firmware/IntelFrameworkModulePkg/Universal/FirmwareVolume/UpdateDriverDxe/
H A DFlashUpdate.c618 FwVolHeader = AllocatePool (((EFI_FIRMWARE_VOLUME_HEADER *) ((UINTN) (ConfigData->BaseAddress)))->HeaderLength);
625 ((EFI_FIRMWARE_VOLUME_HEADER *) ((UINTN) (ConfigData->BaseAddress)))->HeaderLength
856 FwVolHeaderTmp->HeaderLength,
1145 FwVolHeaderTmp->HeaderLength,
/vbox/src/VBox/Devices/EFI/Firmware/SecurityPkg/VariableAuthenticated/EsalVariableDxeSal/
H A DReclaim.c158 if ((FwVolHeader->FvLength) > (FwVolHeader->HeaderLength)) {
/vbox/src/VBox/Devices/EFI/Firmware/OvmfPkg/Sec/
H A DSecMain.c236 for (EndOfFile = CurrentAddress + Fv->HeaderLength; ; ) {
463 for (EndOfFile = CurrentAddress + BootFirmwareVolumePtr->HeaderLength; ; ) {
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Include/Library/
H A DIpIoLib.h48 Get the IP header length from the struct EFI_IP4_HEADER. HeaderLength is
49 Internet header length in 32-bit words, so HeaderLength<<2 is the real
56 #define EFI_IP4_HEADER_LEN(HdrPtr) ((HdrPtr)->HeaderLength << 2)
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/EfiSocketLib/
H A DIp4.c330 *pRxBytes -= pRxData->HeaderLength + pRxData->DataLength;
491 HeaderBytes = pRxData->HeaderLength;
531 *pSkipBytes = pRxData->HeaderLength + pRxData->DataLength - LengthInBytes;
671 LengthInBytes = pRxData->HeaderLength + pRxData->DataLength;
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/HiiDatabaseDxe/
H A DConfigRouting.c534 UINTN HeaderLength; local
566 HeaderLength = StringPtr - *AltCfgResp;
572 AltConfigHdr = AllocateZeroPool ((1 + HeaderLength + 8 + 4 + 1) * sizeof (CHAR16));
577 StrnCat (AltConfigHdr, *AltCfgResp, HeaderLength);
579 HeaderLength = StrLen (AltConfigHdr);
586 StrnCat (AltConfigHdr, StringPtrDefault + HeaderLength, 4);
630 *(AltConfigHdr + HeaderLength) = L'\0';
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/GenFv/
H A DGenFvInternalLib.c2233 FvHeader->HeaderLength = (UINT16) (((UINTN) &(FvHeader->BlockMap[Index + 1])) - (UINTN) FvImage);
2235 FvHeader->Checksum = CalculateChecksum16 ((UINT16 *) FvHeader, FvHeader->HeaderLength / sizeof (UINT16));
2248 FvImageMemoryFile.CurrentFilePointer = (CHAR8 *)FvImage + FvHeader->HeaderLength;
2313 FvHeader->Checksum = CalculateChecksum16 ((UINT16 *) FvHeader, FvHeader->HeaderLength / sizeof (UINT16));
2376 FvHeader->Checksum = CalculateChecksum16 ((UINT16 *) FvHeader, FvHeader->HeaderLength / sizeof (UINT16));
2388 FvHeader->Checksum = CalculateChecksum16 ((UINT16 *) FvHeader, FvHeader->HeaderLength / sizeof (UINT16));

Completed in 656 milliseconds

12