Lines Matching refs:AddPointer
230 IN CONST QEMU_LOADER_ADD_POINTER *AddPointer, in ProcessCmdAddPointer() argument
239 if (AddPointer->PointerFile[QEMU_LOADER_FNAME_SIZE - 1] != '\0' || in ProcessCmdAddPointer()
240 AddPointer->PointeeFile[QEMU_LOADER_FNAME_SIZE - 1] != '\0') { in ProcessCmdAddPointer()
245 TrackerEntry = OrderedCollectionFind (Tracker, AddPointer->PointerFile); in ProcessCmdAddPointer()
246 TrackerEntry2 = OrderedCollectionFind (Tracker, AddPointer->PointeeFile); in ProcessCmdAddPointer()
249 __FUNCTION__, AddPointer->PointerFile, AddPointer->PointeeFile)); in ProcessCmdAddPointer()
255 if ((AddPointer->PointerSize != 1 && AddPointer->PointerSize != 2 && in ProcessCmdAddPointer()
256 AddPointer->PointerSize != 4 && AddPointer->PointerSize != 8) || in ProcessCmdAddPointer()
257 Blob->Size < AddPointer->PointerSize || in ProcessCmdAddPointer()
258 Blob->Size - AddPointer->PointerSize < AddPointer->PointerOffset) { in ProcessCmdAddPointer()
260 __FUNCTION__, AddPointer->PointerFile)); in ProcessCmdAddPointer()
264 PointerField = Blob->Base + AddPointer->PointerOffset; in ProcessCmdAddPointer()
266 CopyMem (&PointerValue, PointerField, AddPointer->PointerSize); in ProcessCmdAddPointer()
269 AddPointer->PointerFile)); in ProcessCmdAddPointer()
281 RShiftU64 (PointerValue, AddPointer->PointerSize * 8 - 1), 1) != 0) { in ProcessCmdAddPointer()
283 "\"%a\"\n", __FUNCTION__, AddPointer->PointerFile)); in ProcessCmdAddPointer()
287 CopyMem (PointerField, &PointerValue, AddPointer->PointerSize); in ProcessCmdAddPointer()
291 AddPointer->PointerFile, AddPointer->PointeeFile, in ProcessCmdAddPointer()
292 AddPointer->PointerOffset, AddPointer->PointerSize)); in ProcessCmdAddPointer()
413 IN CONST QEMU_LOADER_ADD_POINTER *AddPointer, in Process2ndPassCmdAddPointer() argument
436 TrackerEntry = OrderedCollectionFind (Tracker, AddPointer->PointerFile); in Process2ndPassCmdAddPointer()
437 TrackerEntry2 = OrderedCollectionFind (Tracker, AddPointer->PointeeFile); in Process2ndPassCmdAddPointer()
440 PointerField = Blob->Base + AddPointer->PointerOffset; in Process2ndPassCmdAddPointer()
442 CopyMem (&PointerValue, PointerField, AddPointer->PointerSize); in Process2ndPassCmdAddPointer()
455 "(remaining: 0x%Lx): ", __FUNCTION__, AddPointer->PointeeFile, in Process2ndPassCmdAddPointer()
607 Status = ProcessCmdAddPointer (&LoaderEntry->Command.AddPointer, in InstallQemuFwCfgTables()
639 Status = Process2ndPassCmdAddPointer (&LoaderEntry->Command.AddPointer, in InstallQemuFwCfgTables()