Lines Matching +full:0 +full:x03ffffff
44 return 0; in plat_post_relocation()
51 __asm__("rdhwr %0, $1" : "=r" (res)); in get_synci_step()
63 "synci 0(%0)" in sync_icache()
86 unsigned long target_addr = (*loc_orig) & 0x03ffffff; in apply_r_mips_26_rel()
95 target_addr += (unsigned long)loc_orig & 0xf0000000; in apply_r_mips_26_rel()
100 if ((target_addr & 0xf0000000) != ((unsigned long)loc_new & 0xf0000000)) { in apply_r_mips_26_rel()
105 target_addr -= (unsigned long)loc_new & 0xf0000000; in apply_r_mips_26_rel()
108 *loc_new = (*loc_new & ~0x03ffffff) | (target_addr & 0x03ffffff); in apply_r_mips_26_rel()
110 return 0; in apply_r_mips_26_rel()
118 unsigned long target = (insn & 0xffff) << 16; /* high 16bits of target */ in apply_r_mips_hi16_rel()
122 *loc_new = (insn & ~0xffff) | ((target >> 16) & 0xffff); in apply_r_mips_hi16_rel()
141 pr_err("Unhandled relocation type %d at 0x%pK\n", type, in reloc_handler()
146 return 0; in reloc_handler()
159 if (*r == 0) in do_relocations()
162 type = (*r >> 24) & 0xff; in do_relocations()
163 loc_orig = kbase_old + ((*r & 0x00ffffff) << 2); in do_relocations()
171 return 0; in do_relocations()
189 return 0; in relocate_exception_table()
206 for (i = 0; i < size / sizeof(hash); i++) { in rotate_xor()
218 unsigned long hash = 0; in get_random_boot()
233 if (node >= 0) { in get_random_boot()
279 offset += ALIGN(kernel_length, 0xffff); in determine_relocation_address()
292 return (void *)0xffffffff81000000; in determine_relocation_address()
299 if ((unsigned long)loc_new & 0x0000ffff) { in relocation_addr_valid()
301 return 0; in relocation_addr_valid()
305 return 0; in relocation_addr_valid()
329 long offset = 0; in relocate_kernel()
341 if (boot_command_line[0]) { in relocate_kernel()
357 arcs_cmdline[0] = '\0'; in relocate_kernel()
388 if (res < 0) in relocate_kernel()
395 if (res < 0) in relocate_kernel()
440 if (__kaslr_offset > 0) { in show_kernel_relocation()
442 pr_cont("Kernel relocated by 0x%pK\n", (void *)__kaslr_offset); in show_kernel_relocation()
443 pr_cont(" .text @ 0x%pK\n", _text); in show_kernel_relocation()
444 pr_cont(" .data @ 0x%pK\n", _sdata); in show_kernel_relocation()
445 pr_cont(" .bss @ 0x%pK\n", __bss_start); in show_kernel_relocation()
464 return 0; in register_kernel_offset_dumper()