Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellBcfgCommandLib/
DUefiShellBcfgCommandLib.c104 UINTN OriginalOptionDataSize; in UpdateOptionalData() local
137OriginalOptionDataSize = sizeof(UINT32) + sizeof(UINT16) + StrSize(((CHAR16*)(OriginalData + size… in UpdateOptionalData()
138 OriginalOptionDataSize += (*(UINT16*)(OriginalData + sizeof(UINT32))); in UpdateOptionalData()
139 OriginalOptionDataSize -= OriginalSize; in UpdateOptionalData()
140 NewSize = OriginalSize - OriginalOptionDataSize + DataSize; in UpdateOptionalData()
145 CopyMem(NewData + OriginalSize - OriginalOptionDataSize, Data, DataSize); in UpdateOptionalData()