Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/MdeModulePkg/Library/UefiBootManagerLib/
DBmLoadOption.c284 UINT16 *NewOptionOrder; in BmAddOptionNumberToOrderVariable() local
303 NewOptionOrder = AllocatePool (OptionOrderSize + sizeof (UINT16)); in BmAddOptionNumberToOrderVariable()
304 ASSERT (NewOptionOrder != NULL); in BmAddOptionNumberToOrderVariable()
306 CopyMem (NewOptionOrder, OptionOrder, Position * sizeof (UINT16)); in BmAddOptionNumberToOrderVariable()
307 …CopyMem (&NewOptionOrder[Position + 1], &OptionOrder[Position], OptionOrderSize - Position * sizeo… in BmAddOptionNumberToOrderVariable()
309 NewOptionOrder[Position] = OptionNumber; in BmAddOptionNumberToOrderVariable()
316 NewOptionOrder in BmAddOptionNumberToOrderVariable()
318 FreePool (NewOptionOrder); in BmAddOptionNumberToOrderVariable()