Home
last modified time | relevance | path

Searched refs:RELOCATED (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/arch/mips/kernel/
H A Drelocate.c27 #define RELOCATED(x) ((void *)((long)x + offset)) macro
164 loc_new = RELOCATED(loc_orig); in do_relocations()
183 etable_start = RELOCATED(&__start___ex_table); in relocate_exception_table()
184 etable_end = RELOCATED(&__stop___ex_table); in relocate_exception_table()
281 return RELOCATED(dest); in determine_relocation_address()
312 unsigned long *new_addr = (unsigned long *)RELOCATED(addr); in update_kaslr_offset()
373 if (fdt_phys >= virt_to_phys(RELOCATED(&_text)) && in relocate_kernel()
374 fdt_phys <= virt_to_phys(RELOCATED(&_end))) { in relocate_kernel()
376 RELOCATED(ALIGN((long)&_end, PAGE_SIZE)); in relocate_kernel()
379 fdt_relocated_ = RELOCATED(&plat_fdt_relocated); in relocate_kernel()
[all …]
/openbmc/u-boot/arch/x86/cpu/
H A Dwakeup.S12 #define RELOCATED(x) ((x) - __wakeup + WAKEUP_BASE) macro
31 ljmp $CODE_SEG, $RELOCATED(1f)
54 ljmp $0, $RELOCATED(1f)
69 __wakeup_offset = RELOCATED(.)
72 __wakeup_segment = RELOCATED(.)
/openbmc/linux/arch/loongarch/kernel/
H A Drelocate.c20 #define RELOCATED(x) ((void *)((long)x + reloc_offset)) macro
39 relocated_addr = (Elf64_Addr)RELOCATED(relocated_addr); in relocate_relative()
41 *(Elf64_Addr *)RELOCATED(addr) = relocated_addr; in relocate_relative()