Lines Matching refs:tr
276 make_trampoline (struct ia64_kernel_trampoline *tr, grub_uint64_t addr)
278 grub_memcpy (tr->nop, nopm, sizeof (tr->nop));
279 tr->addr_hi[0] = ((addr & 0xc00000) >> 16);
280 tr->addr_hi[1] = (addr >> 24) & 0xff;
281 tr->addr_hi[2] = (addr >> 32) & 0xff;
282 tr->addr_hi[3] = (addr >> 40) & 0xff;
283 tr->addr_hi[4] = (addr >> 48) & 0xff;
284 tr->addr_hi[5] = (addr >> 56) & 0xff;
285 tr->e0 = 0xe0;
286 tr->addr_lo[0] = ((addr & 0x000f) << 4) | 0x01;
287 tr->addr_lo[1] = (((addr & 0x0070) >> 4) | ((addr & 0x070000) >> 11)
289 tr->addr_lo[2] = ((addr & 0x1f80) >> 5) | ((addr & 0x180000) >> 19);
290 tr->addr_lo[3] = ((addr & 0xe000) >> 13) | 0x60;
291 grub_memcpy (tr->jump, jump, sizeof (tr->jump));
310 struct ia64_kernel_trampoline *tr = (void *) (pe_target + tramp_off);
447 make_trampoline (tr, addend + sym_addr);
448 noff = ((char *) tr - (char *) pe_target
450 tr++;