/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/ |
D | UefiIfrParser.c | 108 IN UINT8 *OpCodeData, in CreateStatement() argument 131 Statement->Operand = ((EFI_IFR_OP_HEADER *) OpCodeData)->OpCode; in CreateStatement() 133 StatementHdr = (EFI_IFR_STATEMENT_HEADER *) (OpCodeData + sizeof (EFI_IFR_OP_HEADER)); in CreateStatement() 159 IN UINT8 *OpCodeData, in CreateQuestion() argument 169 Statement = CreateStatement (OpCodeData, FormSet, Form); in CreateQuestion() 174 QuestionHdr = (EFI_IFR_QUESTION_HEADER *) (OpCodeData + sizeof (EFI_IFR_OP_HEADER)); in CreateQuestion() 461 UINT8 *OpCodeData; in CountOpCodes() local 470 OpCodeData = FormSet->IfrBinaryData + Offset; in CountOpCodes() 471 OpCodeLen = ((EFI_IFR_OP_HEADER *) OpCodeData)->Length; in CountOpCodes() 474 if (IsExpressionOpCode (((EFI_IFR_OP_HEADER *) OpCodeData)->OpCode)) { in CountOpCodes() [all …]
|
D | Utility.c | 703 UINT8 *OpCodeData; in GetIfrBinaryData() local 710 OpCodeData = NULL; in GetIfrBinaryData() 756 OpCodeData = Package + Offset2; in GetIfrBinaryData() 758 if (((EFI_IFR_OP_HEADER *) OpCodeData)->OpCode == EFI_IFR_FORM_SET_OP) { in GetIfrBinaryData() 769 if (CompareGuid (FormSetGuid, (EFI_GUID *)(OpCodeData + sizeof (EFI_IFR_OP_HEADER)))) { in GetIfrBinaryData() 774 Offset2 += ((EFI_IFR_OP_HEADER *) OpCodeData)->Length; in GetIfrBinaryData() 800 CopyMem (FormSetGuid, &((EFI_IFR_FORM_SET *) OpCodeData)->Guid, sizeof (EFI_GUID)); in GetIfrBinaryData() 809 *BinaryData = AllocateCopyPool (*BinaryLength, OpCodeData); in GetIfrBinaryData()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/SetupBrowserDxe/ |
D | IfrParse.c | 33 IN UINT8 *OpCodeData, in CreateStatement() argument 46 ASSERT (((EFI_IFR_OP_HEADER *) OpCodeData)->OpCode == EFI_IFR_GUID_OP); in CreateStatement() 60 Statement->Operand = ((EFI_IFR_OP_HEADER *) OpCodeData)->OpCode; in CreateStatement() 61 Statement->OpCode = (EFI_IFR_OP_HEADER *) OpCodeData; in CreateStatement() 63 StatementHdr = (EFI_IFR_STATEMENT_HEADER *) (OpCodeData + sizeof (EFI_IFR_OP_HEADER)); in CreateStatement() 141 IN UINT8 *OpCodeData in IsNextOpCodeGuidedVarEqName() argument 147 OpCodeData += ((EFI_IFR_OP_HEADER *) OpCodeData)->Length; in IsNextOpCodeGuidedVarEqName() 148 if (*OpCodeData == EFI_IFR_GUID_OP) { in IsNextOpCodeGuidedVarEqName() 149 … if (CompareGuid (&gEfiIfrFrameworkGuid, (EFI_GUID *)(OpCodeData + sizeof (EFI_IFR_OP_HEADER)))) { in IsNextOpCodeGuidedVarEqName() 153 if ((((EFI_IFR_GUID_VAREQNAME *) OpCodeData)->ExtendOpCode) == EFI_IFR_EXTEND_OP_VAREQNAME) { in IsNextOpCodeGuidedVarEqName() [all …]
|
D | Presentation.c | 1062 UINT8 *OpCodeData; in GetFormsetGuidFromHiiHandle() local 1099 OpCodeData = Package + Offset2; in GetFormsetGuidFromHiiHandle() 1101 if (((EFI_IFR_OP_HEADER *) OpCodeData)->OpCode == EFI_IFR_FORM_SET_OP) { in GetFormsetGuidFromHiiHandle() 1102 if (CompareGuid (FormSetGuid, (EFI_GUID *)(OpCodeData + sizeof (EFI_IFR_OP_HEADER)))){ in GetFormsetGuidFromHiiHandle() 1108 Offset2 += ((EFI_IFR_OP_HEADER *) OpCodeData)->Length; in GetFormsetGuidFromHiiHandle()
|
D | Setup.c | 5657 UINT8 *OpCodeData; in GetIfrBinaryData() local 5668 OpCodeData = NULL; in GetIfrBinaryData() 5716 OpCodeData = Package + Offset2; in GetIfrBinaryData() 5718 if (((EFI_IFR_OP_HEADER *) OpCodeData)->OpCode == EFI_IFR_FORM_SET_OP) { in GetIfrBinaryData() 5723 CompareGuid (ComparingGuid, (EFI_GUID *)(OpCodeData + sizeof (EFI_IFR_OP_HEADER)))) { in GetIfrBinaryData() 5727 if (((EFI_IFR_OP_HEADER *) OpCodeData)->Length > OFFSET_OF (EFI_IFR_FORM_SET, Flags)) { in GetIfrBinaryData() 5731 NumberOfClassGuid = (UINT8) (((EFI_IFR_FORM_SET *) OpCodeData)->Flags & 0x3); in GetIfrBinaryData() 5732 ClassGuid = (EFI_GUID *) (OpCodeData + sizeof (EFI_IFR_FORM_SET)); in GetIfrBinaryData() 5748 Offset2 += ((EFI_IFR_OP_HEADER *) OpCodeData)->Length; in GetIfrBinaryData() 5774 CopyMem (FormSetGuid, &((EFI_IFR_FORM_SET *) OpCodeData)->Guid, sizeof (EFI_GUID)); in GetIfrBinaryData() [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/UefiEfiIfrSupportLib/ |
D | UefiIfrCommon.c | 525 UINT8 *OpCodeData; in ExtractClassFromHiiHandle() local 586 OpCodeData = Package + Offset2; in ExtractClassFromHiiHandle() 588 if (((EFI_IFR_OP_HEADER *) OpCodeData)->OpCode == EFI_IFR_FORM_SET_OP) { in ExtractClassFromHiiHandle() 592 …EfiCopyMem (FormSetTitle, &((EFI_IFR_FORM_SET *) OpCodeData)->FormSetTitle, sizeof (EFI_STRING_ID)… in ExtractClassFromHiiHandle() 593 … EfiCopyMem (FormSetHelp, &((EFI_IFR_FORM_SET *) OpCodeData)->Help, sizeof (EFI_STRING_ID)); in ExtractClassFromHiiHandle() 596 if ((((EFI_IFR_OP_HEADER *) OpCodeData)->OpCode == EFI_IFR_GUID_OP) && in ExtractClassFromHiiHandle() 597 (EfiCompareGuid (&mIfrVendorGuid, &((EFI_IFR_GUID *) OpCodeData)->Guid)) && in ExtractClassFromHiiHandle() 598 (((EFI_IFR_GUID_CLASS *) OpCodeData)->ExtendOpCode == EFI_IFR_EXTEND_OP_CLASS) in ExtractClassFromHiiHandle() 603 EfiCopyMem (Class, &((EFI_IFR_GUID_CLASS *) OpCodeData)->Class, sizeof (UINT16)); in ExtractClassFromHiiHandle() 612 Offset2 += ((EFI_IFR_OP_HEADER *) OpCodeData)->Length; in ExtractClassFromHiiHandle() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/HiiDatabaseDxe/ |
D | ConfigKeywordHandler.c | 506 IN UINT8 *OpCodeData in ExtractReadOnlyFromOpCode() argument 511 ASSERT (OpCodeData != NULL); in ExtractReadOnlyFromOpCode() 513 QuestionHdr = (EFI_IFR_QUESTION_HEADER *) (OpCodeData + sizeof (EFI_IFR_OP_HEADER)); in ExtractReadOnlyFromOpCode() 534 IN UINT8 *OpCodeData, in ValidateFilter() argument 551 OpCodeHdr = (EFI_IFR_OP_HEADER *) OpCodeData; in ValidateFilter() 552 QuestionHdr = (EFI_IFR_QUESTION_HEADER *) (OpCodeData + sizeof (EFI_IFR_OP_HEADER)); in ValidateFilter() 554 Flags = *(OpCodeData + sizeof (EFI_IFR_OP_HEADER) + sizeof (EFI_IFR_QUESTION_HEADER)); in ValidateFilter() 562 *ReadOnly = ExtractReadOnlyFromOpCode(OpCodeData); in ValidateFilter() 1439 UINT8 *OpCodeData; in FindQuestionFromStringId() local 1450 OpCodeData = FormPackage->IfrData + Offset; in FindQuestionFromStringId() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/CustomizedDisplayLib/ |
D | CustomizedDisplayLibInternal.c | 256 IN EFI_IFR_OP_HEADER *OpCodeData in ProcessUserOpcode() argument 265 switch (OpCodeData->OpCode) { in ProcessUserOpcode() 270 …if (CompareMem (PcdGetPtr (PcdFrontPageFormSetGuid), &((EFI_IFR_FORM_SET *) OpCodeData)->Guid, siz… in ProcessUserOpcode() 273 ClassGuidNum = (UINT8)(((EFI_IFR_FORM_SET *)OpCodeData)->Flags & 0x3); in ProcessUserOpcode() 274 ClassGuid = (EFI_GUID *)(VOID *)((UINT8 *)OpCodeData + sizeof (EFI_IFR_FORM_SET)); in ProcessUserOpcode() 286 …if (CompareGuid (&gEfiIfrTianoGuid, (EFI_GUID *)((CHAR8*) OpCodeData + sizeof (EFI_IFR_OP_HEADER))… in ProcessUserOpcode() 290 switch (((EFI_IFR_GUID_LABEL *) OpCodeData)->ExtendOpCode) { in ProcessUserOpcode() 311 &gBannerData->Banner[((EFI_IFR_GUID_BANNER *) OpCodeData)->LineNumber][ in ProcessUserOpcode() 312 ((EFI_IFR_GUID_BANNER *) OpCodeData)->Alignment], in ProcessUserOpcode() 313 &((EFI_IFR_GUID_BANNER *) OpCodeData)->Title, in ProcessUserOpcode() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/DriverHealthManagerDxe/ |
D | DriverHealthManagerDxe.c | 552 UINT8 *OpCodeData; in DriverHealthManagerGetFormsetId() local 589 …E_HEADER); Offset2 < PackageHeader.Length; Offset2 += ((EFI_IFR_OP_HEADER *) OpCodeData)->Length) { in DriverHealthManagerGetFormsetId() 590 OpCodeData = Package + Offset2; in DriverHealthManagerGetFormsetId() 592 if ((((EFI_IFR_OP_HEADER *) OpCodeData)->OpCode == EFI_IFR_FORM_SET_OP) && in DriverHealthManagerGetFormsetId() 593 (((EFI_IFR_OP_HEADER *) OpCodeData)->Length > OFFSET_OF (EFI_IFR_FORM_SET, Flags))) { in DriverHealthManagerGetFormsetId() 597 NumberOfClassGuid = (UINT8) (((EFI_IFR_FORM_SET *) OpCodeData)->Flags & 0x3); in DriverHealthManagerGetFormsetId() 598 ClassGuid = (EFI_GUID *) (OpCodeData + sizeof (EFI_IFR_FORM_SET)); in DriverHealthManagerGetFormsetId() 601 CopyMem (FormsetGuid, &((EFI_IFR_FORM_SET *) OpCodeData)->Guid, sizeof (EFI_GUID)); in DriverHealthManagerGetFormsetId()
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/DeviceMngr/ |
D | DeviceManager.c | 234 UINT8 *OpCodeData; in ExtractDisplayedHiiFormFromHiiHandle() local 292 OpCodeData = Package + Offset2; in ExtractDisplayedHiiFormFromHiiHandle() 293 Offset2 += ((EFI_IFR_OP_HEADER *) OpCodeData)->Length; in ExtractDisplayedHiiFormFromHiiHandle() 295 if (((EFI_IFR_OP_HEADER *) OpCodeData)->OpCode == EFI_IFR_FORM_SET_OP) { in ExtractDisplayedHiiFormFromHiiHandle() 301 if (((EFI_IFR_OP_HEADER *) OpCodeData)->Length > OFFSET_OF (EFI_IFR_FORM_SET, Flags)) { in ExtractDisplayedHiiFormFromHiiHandle() 305 ClassGuidNum = (UINT8) (((EFI_IFR_FORM_SET *) OpCodeData)->Flags & 0x3); in ExtractDisplayedHiiFormFromHiiHandle() 306 ClassGuid = (EFI_GUID *) (VOID *)(OpCodeData + sizeof (EFI_IFR_FORM_SET)); in ExtractDisplayedHiiFormFromHiiHandle() 309 … CopyMem (FormSetTitle, &((EFI_IFR_FORM_SET *) OpCodeData)->FormSetTitle, sizeof (EFI_STRING_ID)); in ExtractDisplayedHiiFormFromHiiHandle() 310 … CopyMem (FormSetHelp, &((EFI_IFR_FORM_SET *) OpCodeData)->Help, sizeof (EFI_STRING_ID)); in ExtractDisplayedHiiFormFromHiiHandle() 311 … *FormSetGuid = AllocateCopyPool (sizeof (EFI_GUID), &((EFI_IFR_FORM_SET *) OpCodeData)->Guid); in ExtractDisplayedHiiFormFromHiiHandle() [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiIfrSupportLib/ |
D | IfrCommon.c | 308 IN OUT VOID *OpCodeData in AddOpCode() argument 387 EfiCopyMem (Destination, OpCodeData, ((EFI_IFR_OP_HEADER *) OpCodeData)->Length); in AddOpCode() 388 Destination = Destination + (UINTN) ((EFI_IFR_OP_HEADER *) OpCodeData)->Length; in AddOpCode() 390 …NewBuffer->Length = (UINT32) (NewBuffer->Length + (UINT32) (((EFI_IFR_OP_HEADER *) OpCodeData)->Le… in AddOpCode()
|
D | IfrLibrary.h | 100 IN OUT VOID *OpCodeData
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/UefiHiiLib/ |
D | HiiLib.c | 408 UINT8 *OpCodeData; in HiiGetFormSetFromHiiHandle() local 459 OpCodeData = Package + Offset2; in HiiGetFormSetFromHiiHandle() 460 Offset2 += ((EFI_IFR_OP_HEADER *) OpCodeData)->Length; in HiiGetFormSetFromHiiHandle() 462 if (((EFI_IFR_OP_HEADER *) OpCodeData)->OpCode != EFI_IFR_FORM_SET_OP) { in HiiGetFormSetFromHiiHandle() 467 …TempBuffer = AllocateCopyPool (TempSize + ((EFI_IFR_OP_HEADER *) OpCodeData)->Length, FormSetBuffe… in HiiGetFormSetFromHiiHandle() 474 CopyMem (TempBuffer + TempSize, OpCodeData, ((EFI_IFR_OP_HEADER *) OpCodeData)->Length); in HiiGetFormSetFromHiiHandle() 476 … TempBuffer = AllocateCopyPool (TempSize + ((EFI_IFR_OP_HEADER *) OpCodeData)->Length, OpCodeData); in HiiGetFormSetFromHiiHandle() 482 TempSize += ((EFI_IFR_OP_HEADER *) OpCodeData)->Length; in HiiGetFormSetFromHiiHandle()
|