Lines Matching refs:uint32_t
157 static uint32_t do_plt_call(void *location, in do_plt_call()
173 if (entry_matches(entry, val)) return (uint32_t)entry; in do_plt_call()
187 return (uint32_t)entry; in do_plt_call()
190 static int patch_location_16(uint32_t *loc, u16 value) in patch_location_16()
205 uint32_t *location; in apply_relocate_add()
206 uint32_t value; in apply_relocate_add()
224 *(uint32_t *)location = value; in apply_relocate_add()
245 if ((int)(value - (uint32_t)location) < -0x02000000 in apply_relocate_add()
246 || (int)(value - (uint32_t)location) >= 0x02000000) { in apply_relocate_add()
255 value, (uint32_t)location); in apply_relocate_add()
257 *(uint32_t *)location); in apply_relocate_add()
258 value = (*(uint32_t *)location & ~PPC_LI_MASK) | in apply_relocate_add()
259 PPC_LI(value - (uint32_t)location); in apply_relocate_add()
265 *(uint32_t *)location); in apply_relocate_add()
267 *(uint32_t *)PPC_LI((uint32_t)location), (uint32_t)location, in apply_relocate_add()
268 (*(uint32_t *)PPC_LI((uint32_t)location)) + (uint32_t)location); in apply_relocate_add()
273 *(uint32_t *)location = value - (uint32_t)location; in apply_relocate_add()