Searched refs:gd_ptr (Results 1 – 4 of 4) sorted by relevance
15 __weak void arch_setup_gd(struct global_data *gd_ptr) in arch_setup_gd() argument17 gd = gd_ptr; in arch_setup_gd()101 struct global_data *gd_ptr; in board_init_f_init_reserve() local108 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()
92 gd_t *gd_ptr; in get_gd() local99 __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()
122 gd_t *gd_ptr; in get_fs_gd_ptr() local125 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()
163 void arch_setup_gd(gd_t *gd_ptr);