Searched refs:LoadNode (Results 1 – 3 of 3) sorted by relevance
117 RUNAXF_LOAD_LIST *LoadNode; in BootMonFsLoadFile() local134 LoadNode = AllocateRuntimeZeroPool (sizeof (RUNAXF_LOAD_LIST)); in BootMonFsLoadFile()135 if (LoadNode == NULL) { in BootMonFsLoadFile()140 LoadNode->MemOffset = (UINTN)Info.Region[Index].LoadAddress; in BootMonFsLoadFile()141 LoadNode->FileOffset = (UINTN)FileData + Info.Region[Index].Offset; in BootMonFsLoadFile()142 LoadNode->Length = (UINTN)Info.Region[Index].Size; in BootMonFsLoadFile()143 InsertTailList (LoadList, &LoadNode->Link); in BootMonFsLoadFile()145 ImageSize += LoadNode->Length; in BootMonFsLoadFile()
158 RUNAXF_LOAD_LIST *LoadNode; in ElfLoadSegment() local189 LoadNode = AllocateRuntimeZeroPool (sizeof (RUNAXF_LOAD_LIST)); in ElfLoadSegment()190 if (LoadNode == NULL) { in ElfLoadSegment()193 LoadNode->MemOffset = (UINTN)MemSegment; in ElfLoadSegment()194 LoadNode->FileOffset = (UINTN)FileSegment; in ElfLoadSegment()195 LoadNode->Length = (UINTN)ProgramHdr->p_filesz; in ElfLoadSegment()196 InsertTailList (LoadList, &LoadNode->Link); in ElfLoadSegment()204 LoadNode = AllocateRuntimeZeroPool (sizeof (RUNAXF_LOAD_LIST)); in ElfLoadSegment()205 if (LoadNode == NULL) { in ElfLoadSegment()208 LoadNode->MemOffset = (UINTN)ExtraZeroes; in ElfLoadSegment()[all …]
105 RUNAXF_LOAD_LIST *LoadNode; in ShellDynCmdRunAxfHandler() local257 LoadNode = (RUNAXF_LOAD_LIST *)Node; in ShellDynCmdRunAxfHandler()259 if (LoadNode->Zeroes) { in ShellDynCmdRunAxfHandler()260 ZeroMem ((VOID*)LoadNode->MemOffset, LoadNode->Length); in ShellDynCmdRunAxfHandler()262 CopyMem ((VOID *)LoadNode->MemOffset, (VOID *)LoadNode->FileOffset, in ShellDynCmdRunAxfHandler()263 LoadNode->Length); in ShellDynCmdRunAxfHandler()