/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/ |
BBSsupport.c | 52 UINT16 *BootOrder;
64 BootOrder = BdsLibGetVariableAndSize (
65 L"BootOrder",
69 ASSERT (BootOrder != NULL);
86 UnicodeSPrint (OptionName, sizeof (OptionName), L"Boot%04x", BootOrder[Index]);
121 NewBootOption[DevOrderCount] = BootOrder[Index];
124 (*DisBootOption)[*DisBootOptionCount] = BootOrder[Index];
127 (*EnBootOption)[*EnBootOptionCount] = BootOrder[Index];
138 CopyMem (&BootOrder[StartPosition], NewBootOption, (*DisBootOptionCount + *EnBootOptionCount) * sizeof (UINT16));
140 L"BootOrder",
[all...] |
/device/linaro/bootloader/edk2/ArmPkg/Library/BdsLib/ |
BdsLoadOption.c | 123 UINT16* BootOrder;
205 // When it is a new entry we must add the entry to the BootOrder
208 Status = GetGlobalEnvironmentVariable (L"BootOrder", NULL, &BootOrderSize, (VOID**)&BootOrder);
210 BootOrder = ReallocatePool (BootOrderSize, BootOrderSize + sizeof(UINT16), BootOrder);
212 BootOrder[BootOrderSize / sizeof(UINT16)] = BdsLoadOption->LoadOptionIndex;
215 // BootOrder does not exist. Create it
217 BootOrder = &(BdsLoadOption->LoadOptionIndex);
220 // Update (or Create) the BootOrder environment variable [all...] |
/device/linaro/bootloader/edk2/OvmfPkg/Library/QemuBootOrderLib/ |
QemuBootOrderLib.c | 2 Rewrite the BootOrder NvVar based on QEMU's "bootorder" fw_cfg file.
265 Append an active boot option to BootOrder, reallocating the latter if needed.
267 @param[in out] BootOrder The structure pointing to the array and holding
282 IN OUT BOOT_ORDER *BootOrder,
286 if (BootOrder->Produced == BootOrder->Allocated) {
290 ASSERT (BootOrder->Allocated > 0);
291 AllocatedNew = BootOrder->Allocated * 2;
293 BootOrder->Allocated * sizeof (*BootOrder->Data), [all...] |
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/GenericBdsLib/ |
BdsBoot.c | 58 @param BootOrder The Boot Order array.
69 IN OUT UINT16 *BootOrder,
94 if (BootOrder[Index] == OptionNumber) {
95 CopyMem (&BootOrder[Index], &BootOrder[Index+1], *BootOrderSize - (Index+1) * sizeof (UINT16));
493 UINT16 *BootOrder;
511 BootOrder = NULL;
524 BootOrder = BdsLibGetVariableAndSize (
525 L"BootOrder",
529 if (BootOrder == NULL) { [all...] |
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Override/IntelFrameworkModulePkg/Library/GenericBdsLib/ |
BdsBoot.c | 60 @param BootOrder The Boot Order array.
71 IN OUT UINT16 *BootOrder,
96 if (BootOrder[Index] == OptionNumber) {
97 CopyMem (&BootOrder[Index], &BootOrder[Index+1], *BootOrderSize - (Index+1) * sizeof (UINT16));
495 UINT16 *BootOrder;
513 BootOrder = NULL;
526 BootOrder = BdsLibGetVariableAndSize (
527 L"BootOrder",
531 if (BootOrder == NULL) { [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/DriverSampleDxe/ |
NVDataStruc.h | 50 UINT16 BootOrder[8];
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/BootMaintenanceManagerUiLib/ |
Variable.c | 20 make sure BootOrder is in valid state.
25 @return Others If failed to update the "BootOrder" variable after deletion.
83 After any operation on Boot####, there will be a discrepancy in BootOrder.
84 Since some are missing but in BootOrder, while some are present but are
85 not reflected by BootOrder. Then a function rebuild BootOrder from
93 Set the "BootOrder" EFI Variable.
112 // First check whether BootOrder is present in current configuration
114 GetEfiGlobalVariable2 (L"BootOrder", (VOID **) &BootOrderList, &BootOrderListSize);
117 // If exists, delete it to hold new BootOrder
[all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Library/BootManagerUiLib/ |
BootManager.c | 323 UINT16 *BootOrder;
330 GetEfiGlobalVariable2 (L"BootOrder", (VOID **) &BootOrder, &BootOrderSize);
331 if (BootOrder == NULL) {
336 UnicodeSPrint (OptionName, sizeof (OptionName), L"Boot%04x", BootOrder[Index]);
351 // *NextIndex is the Index in BootOrder to put the next Option Number for the same type
358 OptionNumber = BootOrder[Index];
359 CopyMem (&BootOrder[*NextIndex + 1], &BootOrder[*NextIndex], (Index - *NextIndex) * sizeof (UINT16));
360 BootOrder[*NextIndex] = OptionNumber; [all...] |
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/ |
LegacyBootMaintUi.c | 149 UINT16 *BootOrder;
160 GetEfiGlobalVariable2 (L"BootOrder", (VOID **) &BootOrder, &BootOrderSize);
161 ASSERT (BootOrder != NULL);
179 UnicodeSPrint (OptionName, sizeof (OptionName), L"Boot%04x", BootOrder[Index]);
210 NewBootOption[DevOrderCount] = BootOrder[Index];
213 (*DisBootOption)[*DisBootOptionCount] = BootOrder[Index];
216 (*EnBootOption)[*EnBootOptionCount] = BootOrder[Index];
227 CopyMem (&BootOrder[StartPosition], NewBootOption, (*DisBootOptionCount + *EnBootOptionCount) * sizeof (UINT16));
229 L"BootOrder",
[all...] |
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/TcgDxe/ |
TcgDxe.c | 128 CHAR16 mBootVarName[] = L"BootOrder";
[all...] |
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/TrEEDxe/ |
TrEEDxe.c | 162 CHAR16 mBootVarName[] = L"BootOrder";
[all...] |
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Include/Library/ |
GenericBdsLib.h | 258 This function processes BootOrder or DriverOrder variables, by calling
264 @param VariableName An EFI Variable name indicate the BootOrder or
343 driver#### updated, the BootOrder or DriverOrder will also be updated.
708 @param BootOrder The Boot Order array.
719 IN OUT UINT16 *BootOrder,
[all...] |
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Dxe/ |
Tcg2Dxe.c | 110 CHAR16 mBootVarName[] = L"BootOrder";
[all...] |
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Library/PlatformBdsLib/ |
BdsPlatform.c | 977 BdsLibRegisterNewOption (BdsBootOptionList, gPlatformBootOption[Index], NULL, L"BootOrder");
[all...] |
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Include/Guid/ |
SetupVariable.h | 180 UINT8 BootOrder[8];
|