Home | History | Annotate | Download | only in UefiBootManagerLib

Lines Matching refs:Variable

31     NULL  // PlatformRecovery#### doesn't have associated *Order variable

35 Call Visitor function for each variable in variable storage.
159 Create the Boot####, Driver####, SysPrep####, PlatformRecovery#### variable
164 @retval EFI_SUCCESS The variable was created.
175 UINT8 *Variable;
211 in the array is variable length, and ends at the device path end
220 Variable = AllocatePool (VariableSize);
221 ASSERT (Variable != NULL);
223 Ptr = Variable;
258 Variable
263 Update order variable .
265 @param OptionOrderName Order variable name which need to be updated.
267 @param Position Position of the new load option to put in the ****Order variable.
287 // Update the option order variable
333 @param Position Position of the new load option to put in the ****Order variable.
383 // Save the Boot#### or Driver#### variable
388 // Remove the #### from *Order variable when the Driver####/SysPrep####/Boot#### cannot be saved.
430 // Create new ****Order variable
446 // Changing the *Order content without increasing its size with current variable implementation shouldn't fail.
706 variable (VendorGuid/Name)
708 @param Variable The variable data.
709 @param VariableSize The variable size.
711 @retval TRUE The variable data is correct.
712 @retval FALSE The variable data is corrupted.
717 UINT8 *Variable,
732 Variable += sizeof (UINT32);
737 FilePathSize = ReadUnaligned16 ((UINT16 *) Variable);
738 Variable += sizeof (UINT16);
743 DescriptionSize = BmStrSizeEx ((CHAR16 *) Variable, VariableSize - sizeof (UINT16) - sizeof (UINT32));
744 Variable += DescriptionSize;
749 DevicePath = (EFI_DEVICE_PATH_PROTOCOL *) Variable;
752 // Validation boot option variable.
766 Check whether the VariableName is a valid load option variable name
769 @param VariableName The name of the load option variable.
773 @retval TRUE The variable name is valid; The load option type and
775 @retval FALSE The variable name is NOT valid.
823 @param VariableName Variable name of the load option
824 @param VendorGuid Variable GUID of the load option
842 UINT8 *Variable;
861 // Read the variable
863 GetVariable2 (VariableName, VendorGuid, (VOID **) &Variable, &VariableSize);
864 if (Variable == NULL) {
869 // Validate *#### variable data.
871 if (!BmValidateOption(Variable, VariableSize)) {
872 FreePool (Variable);
879 VariablePtr = Variable;
905 OptionalDataSize = (UINT32) (VariableSize - (UINTN) (VariablePtr - Variable));
926 FreePool (Variable);
933 @param VariableName EFI Variable name indicate if it is Boot#### or Driver####
960 @param Name Variable name.
961 @param Guid Variable GUID.
1006 Returns an array of load options based on the EFI variable
1039 // Read the BootOrder, or DriverOrder variable.
1058 DEBUG ((EFI_D_INFO, "[Bds] %s doesn't exist - Update ****Order variable to remove the reference!!", OptionName));