Home
last modified time | relevance | path

Searched refs:new_gd (Results 1 – 14 of 14) sorted by relevance

/u-boot/arch/sh/lib/
A Dboard.c20 void relocate_code(ulong start_addr_sp, gd_t *new_gd, ulong relocaddr) in relocate_code() argument
24 if (new_gd->reloc_off) { in relocate_code()
25 memcpy((void *)new_gd->relocaddr, in relocate_code()
26 (void *)(new_gd->relocaddr - new_gd->reloc_off), in relocate_code()
27 new_gd->mon_len); in relocate_code()
29 reloc_board_init_r += new_gd->reloc_off; in relocate_code()
32 __asm__ __volatile__("mov.l %0, r15\n" : : "m" (new_gd->start_addr_sp)); in relocate_code()
35 reloc_board_init_r(new_gd, 0x0); in relocate_code()
/u-boot/arch/x86/cpu/x86_64/
A Dcpu.c21 void arch_setup_gd(gd_t *new_gd) in arch_setup_gd() argument
23 global_data_ptr = new_gd; in arch_setup_gd()
/u-boot/arch/x86/lib/
A Dspl.c134 gd->new_gd = (struct global_data *)ptr; in x86_spl_init()
135 memcpy(gd->new_gd, gd, sizeof(*gd)); in x86_spl_init()
136 arch_setup_gd(gd->new_gd); in x86_spl_init()
/u-boot/arch/x86/cpu/i386/
A Dcpu.c129 void arch_setup_gd(gd_t *new_gd) in arch_setup_gd() argument
133 gdt_addr = new_gd->arch.gdt; in arch_setup_gd()
150 new_gd->arch.gd_addr = new_gd; in arch_setup_gd()
152 (ulong)&new_gd->arch.gd_addr, in arch_setup_gd()
153 sizeof(new_gd->arch.gd_addr) - 1); in arch_setup_gd()
/u-boot/arch/mips/lib/
A Dreloc.c111 void relocate_code(ulong start_addr_sp, gd_t *new_gd, ulong relocaddr) in relocate_code() argument
161 "r"(new_gd), in relocate_code()
/u-boot/drivers/core/
A Droot.c45 void dm_fixup_for_gd_move(struct global_data *new_gd) in dm_fixup_for_gd_move() argument
49 new_gd->uclass_root->next->prev = new_gd->uclass_root; in dm_fixup_for_gd_move()
50 new_gd->uclass_root->prev->next = new_gd->uclass_root; in dm_fixup_for_gd_move()
/u-boot/include/dm/
A Droot.h31 void dm_fixup_for_gd_move(struct global_data *new_gd);
/u-boot/lib/
A Dasm-offsets.c42 DEFINE(GD_NEW_GD, offsetof(struct global_data, new_gd)); in main()
/u-boot/common/
A Dboard_f.c510 gd->new_gd = (gd_t *)map_sysmem(gd->start_addr_sp, sizeof(gd_t)); in reserve_global_data()
692 memcpy(gd->new_gd, (char *)gd, sizeof(gd_t)); in setup_reloc()
696 gd->relocaddr, (ulong)map_to_sysmem(gd->new_gd), in setup_reloc()
732 arch_setup_gd(gd->new_gd); in jump_to_copy()
735 relocate_code(gd->start_addr_sp, gd->new_gd, gd->relocaddr); in jump_to_copy()
A Dboard_r.c804 void board_init_r(gd_t *new_gd, ulong dest_addr) in board_init_r() argument
813 arch_setup_gd(new_gd); in board_init_r()
821 gd = new_gd; in board_init_r()
/u-boot/common/spl/
A Dspl.c815 gd_t *new_gd; in spl_relocate_stack_gd() local
833 new_gd = (gd_t *)ptr; in spl_relocate_stack_gd()
834 memcpy(new_gd, (void *)gd, sizeof(gd_t)); in spl_relocate_stack_gd()
836 dm_fixup_for_gd_move(new_gd); in spl_relocate_stack_gd()
839 gd = new_gd; in spl_relocate_stack_gd()
/u-boot/include/
A Dinit.h323 void relocate_code(ulong start_addr_sp, struct global_data *new_gd,
/u-boot/include/asm-generic/
A Dglobal_data.h183 struct global_data *new_gd; member
/u-boot/arch/sandbox/cpu/
A Dstart.c498 board_init_r(gd->new_gd, 0); in main()

Completed in 14 milliseconds