Home
last modified time | relevance | path

Searched refs:gd_ptr (Results 1 – 4 of 4) sorted by relevance

/openbmc/u-boot/common/init/
H A Dboard_init.c15 __weak void arch_setup_gd(struct global_data *gd_ptr) in arch_setup_gd() argument
17 gd = gd_ptr; in arch_setup_gd()
101 struct global_data *gd_ptr; in board_init_f_init_reserve() local
108 gd_ptr = (struct global_data *)base; in board_init_f_init_reserve()
110 memset(gd_ptr, '\0', sizeof(*gd)); in board_init_f_init_reserve()
113 arch_setup_gd(gd_ptr); in board_init_f_init_reserve()
/openbmc/u-boot/arch/arm/include/asm/
H A Dglobal_data.h92 gd_t *gd_ptr; in get_gd() local
99 __asm__ volatile("mov %0, x18\n" : "=r" (gd_ptr)); in get_gd()
101 __asm__ volatile("mov %0, r9\n" : "=r" (gd_ptr)); in get_gd()
104 return gd_ptr; in get_gd()
/openbmc/u-boot/arch/x86/include/asm/
H A Dglobal_data.h122 gd_t *gd_ptr; in get_fs_gd_ptr() local
125 asm volatile("fs mov 0, %0\n" : "=r" (gd_ptr)); in get_fs_gd_ptr()
127 asm volatile("fs movl 0, %0\n" : "=r" (gd_ptr)); in get_fs_gd_ptr()
130 return gd_ptr; in get_fs_gd_ptr()
/openbmc/u-boot/include/
H A Dinit.h163 void arch_setup_gd(gd_t *gd_ptr);