Home
last modified time | relevance | path

Searched refs:BootOptionVar (Results 1 – 5 of 5) sorted by relevance

/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/GenericBdsLib/
DBdsBoot.c450 IN UINT8 *BootOptionVar, in BdsIsLegacyBootOption() argument
460 Ptr = BootOptionVar; in BdsIsLegacyBootOption()
494 UINT8 *BootOptionVar; in BdsDeleteAllInvalidLegacyBootOptions() local
544 BootOptionVar = BdsLibGetVariableAndSize ( in BdsDeleteAllInvalidLegacyBootOptions()
549 if (NULL == BootOptionVar) { in BdsDeleteAllInvalidLegacyBootOptions()
556 BootOptionVar in BdsDeleteAllInvalidLegacyBootOptions()
577 if (!BdsIsLegacyBootOption (BootOptionVar, &BbsEntry, &BbsIndex)) { in BdsDeleteAllInvalidLegacyBootOptions()
578 if (BootOptionVar!= NULL) { in BdsDeleteAllInvalidLegacyBootOptions()
579 FreePool (BootOptionVar); in BdsDeleteAllInvalidLegacyBootOptions()
597 if (StrCmp (BootDesc, (UINT16*)(BootOptionVar + sizeof (UINT32) + sizeof (UINT16))) == 0) { in BdsDeleteAllInvalidLegacyBootOptions()
[all …]
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Override/IntelFrameworkModulePkg/Library/GenericBdsLib/
DBdsBoot.c452 IN UINT8 *BootOptionVar, in BdsIsLegacyBootOption() argument
462 Ptr = BootOptionVar; in BdsIsLegacyBootOption()
496 UINT8 *BootOptionVar; in BdsDeleteAllInvalidLegacyBootOptions() local
546 BootOptionVar = BdsLibGetVariableAndSize ( in BdsDeleteAllInvalidLegacyBootOptions()
551 if (NULL == BootOptionVar) { in BdsDeleteAllInvalidLegacyBootOptions()
558 BootOptionVar in BdsDeleteAllInvalidLegacyBootOptions()
579 if (!BdsIsLegacyBootOption (BootOptionVar, &BbsEntry, &BbsIndex)) { in BdsDeleteAllInvalidLegacyBootOptions()
580 if (BootOptionVar!= NULL) { in BdsDeleteAllInvalidLegacyBootOptions()
581 FreePool (BootOptionVar); in BdsDeleteAllInvalidLegacyBootOptions()
599 if (StrCmp (BootDesc, (UINT16*)(BootOptionVar + sizeof (UINT32) + sizeof (UINT16))) == 0) { in BdsDeleteAllInvalidLegacyBootOptions()
[all …]
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/
DHotkey.c40 UINT8 *BootOptionVar; in IsKeyOptionValid() local
48 BootOptionVar = BdsLibGetVariableAndSize ( in IsKeyOptionValid()
54 if (BootOptionVar == NULL || BootOptionSize == 0) { in IsKeyOptionValid()
61 gBS->CalculateCrc32 (BootOptionVar, BootOptionSize, &Crc); in IsKeyOptionValid()
62 FreePool (BootOptionVar); in IsKeyOptionValid()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/
DVariable.c1134 VOID *BootOptionVar; in Var_UpdateBBSOption() local
1291 BootOptionVar = BdsLibGetVariableAndSize ( in Var_UpdateBBSOption()
1296 if (BootOptionVar != NULL) { in Var_UpdateBBSOption()
1297 Attribute = (UINT32 *) BootOptionVar; in Var_UpdateBBSOption()
1305 BootOptionVar in Var_UpdateBBSOption()
1312 FreePool (BootOptionVar); in Var_UpdateBBSOption()
1318 BootOptionVar = BdsLibGetVariableAndSize ( in Var_UpdateBBSOption()
1323 if (BootOptionVar != NULL) { in Var_UpdateBBSOption()
1324 Attribute = (UINT32 *) BootOptionVar; in Var_UpdateBBSOption()
1332 BootOptionVar in Var_UpdateBBSOption()
[all …]
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/
DLegacyBootMaintUi.c263 VOID *BootOptionVar; in UpdateBBSOption() local
430 GetEfiGlobalVariable2 (VarName, (VOID **) &BootOptionVar, &OptionSize); in UpdateBBSOption()
431 if (BootOptionVar != NULL) { in UpdateBBSOption()
432 Attribute = (UINT32 *) BootOptionVar; in UpdateBBSOption()
440 BootOptionVar in UpdateBBSOption()
443 FreePool (BootOptionVar); in UpdateBBSOption()
449 GetEfiGlobalVariable2 (VarName, (VOID **) &BootOptionVar, &OptionSize); in UpdateBBSOption()
450 if (BootOptionVar != NULL) { in UpdateBBSOption()
451 Attribute = (UINT32 *) BootOptionVar; in UpdateBBSOption()
459 BootOptionVar in UpdateBBSOption()
[all …]