Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/
DVfrFormPkg.cpp663 SBufferNode *InsertOpcodeNode; in AdjustDynamicInsertOpcode() local
673 InsertOpcodeNode = GetBinBufferNodeForAddr(InsertOpcodeAddr); in AdjustDynamicInsertOpcode()
675 assert (InsertOpcodeNode != NULL); in AdjustDynamicInsertOpcode()
677 if (InserPositionNode == InsertOpcodeNode) { in AdjustDynamicInsertOpcode()
693 memmove (InserPositionAddr, InsertOpcodeAddr, InsertOpcodeNode->mBufferFree - InsertOpcodeAddr); in AdjustDynamicInsertOpcode()
694 InsertOpcodeNode->mBufferFree -= NeedRestoreCodeLen; in AdjustDynamicInsertOpcode()
695 memset (InsertOpcodeNode->mBufferFree, 0, NeedRestoreCodeLen); in AdjustDynamicInsertOpcode()
721 while (TmpNode != InsertOpcodeNode) { in AdjustDynamicInsertOpcode()
729 NeedRestoreCodeLen = InsertOpcodeAddr - InsertOpcodeNode->mBufferStart; in AdjustDynamicInsertOpcode()
736 memcpy (NewRestoreNodeEnd->mBufferFree, InsertOpcodeNode->mBufferStart, NeedRestoreCodeLen); in AdjustDynamicInsertOpcode()
[all …]