| /u-boot/examples/standalone/ |
| A D | stubs.c | 18 gd_t *global_data; 41 : : "i"(offsetof(gd_t, jt)), "i"(FO(x)) : "r11"); 55 : : "i"(offsetof(gd_t, jt)), "i"(FO(x)) : "x9"); 67 : : "i"(offsetof(gd_t, jt)), "i"(FO(x)) : "ip"); 101 : : "i"(offsetof(gd_t, jt)), "i"(FO(x)) : "t9"); 117 : : "i"(offsetof(gd_t, jt)), "i"(FO(x)) : "gp"); 133 : : "i"(offsetof(gd_t, jt)), "i"(FO(x)) : "a0"); 145 : : "i"(offsetof(gd_t, jt)), "i"(FO(x)) : "r5"); 176 : : "i"(offsetof(gd_t, jt)), "i"(FO(x)) : "t0"); 185 : : "i"(offsetof(gd_t, jt)), "i"(FO(x)) : "t0"); [all …]
|
| /u-boot/board/freescale/t4rdb/ |
| A D | spl.c | 39 memcpy((void *)CONFIG_SPL_GD_ADDR, (void *)gd, sizeof(gd_t)); in board_init_f() 42 gd = (gd_t *)(CONFIG_SPL_GD_ADDR); in board_init_f() 59 relocate_code(CONFIG_SPL_RELOC_STACK, (gd_t *)CONFIG_SPL_GD_ADDR, 0x0); in board_init_f() 62 void board_init_r(gd_t *gd, ulong dest_addr) in board_init_r() 66 bd = (struct bd_info *)(gd + sizeof(gd_t)); in board_init_r()
|
| /u-boot/board/freescale/t208xrdb/ |
| A D | spl.c | 33 memcpy((void *)CONFIG_SPL_GD_ADDR, (void *)gd, sizeof(gd_t)); in board_init_f() 36 gd = (gd_t *)(CONFIG_SPL_GD_ADDR); in board_init_f() 56 relocate_code(CONFIG_SPL_RELOC_STACK, (gd_t *)CONFIG_SPL_GD_ADDR, 0x0); in board_init_f() 59 void board_init_r(gd_t *gd, ulong dest_addr) in board_init_r() 63 bd = (struct bd_info *)(gd + sizeof(gd_t)); in board_init_r()
|
| /u-boot/arch/arm/include/asm/ |
| A D | global_data.h | 114 static inline gd_t *get_gd(void) in get_gd() 116 gd_t *gd_ptr; in get_gd() 130 #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("x18") 132 #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("r9") 136 static inline void set_gd(volatile gd_t *gd_ptr) in set_gd()
|
| /u-boot/arch/x86/lib/ |
| A D | asm-offsets.c | 20 DEFINE(GD_BIST, offsetof(gd_t, arch.bist)); in main() 22 DEFINE(GD_HOB_LIST, offsetof(gd_t, arch.hob_list)); in main() 24 DEFINE(GD_TABLE, offsetof(gd_t, arch.table)); in main()
|
| /u-boot/arch/riscv/lib/ |
| A D | asm-offsets.c | 17 DEFINE(GD_BOOT_HART, offsetof(gd_t, arch.boot_hart)); in main() 18 DEFINE(GD_FIRMWARE_FDT_ADDR, offsetof(gd_t, arch.firmware_fdt_addr)); in main() 21 DEFINE(GD_AVAILABLE_HARTS, offsetof(gd_t, arch.available_harts)); in main()
|
| /u-boot/arch/m68k/include/asm/ |
| A D | global_data.h | 34 extern gd_t *global_data; 35 #define DECLARE_GLOBAL_DATA_PTR gd_t *gd = global_data 37 #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("d7")
|
| /u-boot/board/freescale/t104xrdb/ |
| A D | spl.c | 55 memcpy((void *)CONFIG_SPL_GD_ADDR, (void *)gd, sizeof(gd_t)); in board_init_f() 58 gd = (gd_t *)(CONFIG_SPL_GD_ADDR); in board_init_f() 78 relocate_code(CONFIG_SPL_RELOC_STACK, (gd_t *)CONFIG_SPL_GD_ADDR, 0x0); in board_init_f() 81 void board_init_r(gd_t *gd, ulong dest_addr) in board_init_r() 85 bd = (struct bd_info *)(gd + sizeof(gd_t)); in board_init_r()
|
| /u-boot/board/freescale/t208xqds/ |
| A D | spl.c | 73 memcpy((void *)CONFIG_SPL_GD_ADDR, (void *)gd, sizeof(gd_t)); in board_init_f() 76 gd = (gd_t *)(CONFIG_SPL_GD_ADDR); in board_init_f() 96 relocate_code(CONFIG_SPL_RELOC_STACK, (gd_t *)CONFIG_SPL_GD_ADDR, 0x0); in board_init_f() 99 void board_init_r(gd_t *gd, ulong dest_addr) in board_init_r() 103 bd = (struct bd_info *)(gd + sizeof(gd_t)); in board_init_r()
|
| /u-boot/board/freescale/t102xrdb/ |
| A D | spl.c | 58 memcpy((void *)CONFIG_SPL_GD_ADDR, (void *)gd, sizeof(gd_t)); in board_init_f() 61 gd = (gd_t *)(CONFIG_SPL_GD_ADDR); in board_init_f() 87 relocate_code(CONFIG_SPL_RELOC_STACK, (gd_t *)CONFIG_SPL_GD_ADDR, 0x0); in board_init_f() 90 void board_init_r(gd_t *gd, ulong dest_addr) in board_init_r() 94 bd = (struct bd_info *)(gd + sizeof(gd_t)); in board_init_r()
|
| /u-boot/board/freescale/p1010rdb/ |
| A D | spl.c | 63 void board_init_r(gd_t *gd, ulong dest_addr) in board_init_r() 66 gd = (gd_t *)CONFIG_VAL(GD_ADDR); in board_init_r() 69 memset(gd, 0, sizeof(gd_t)); in board_init_r() 70 bd = (struct bd_info *)(CONFIG_VAL(GD_ADDR) + sizeof(gd_t)); in board_init_r()
|
| /u-boot/board/freescale/p1_p2_rdb_pc/ |
| A D | spl.c | 75 void board_init_r(gd_t *gd, ulong dest_addr) in board_init_r() 78 gd = (gd_t *)CONFIG_VAL(GD_ADDR); in board_init_r() 81 memset(gd, 0, sizeof(gd_t)); in board_init_r() 82 bd = (struct bd_info *)(CONFIG_VAL(GD_ADDR) + sizeof(gd_t)); in board_init_r()
|
| /u-boot/arch/riscv/include/asm/ |
| A D | global_data.h | 39 #define DECLARE_GLOBAL_DATA_PTR register gd_t *gd asm ("gp") 41 static inline void set_gd(volatile gd_t *gd_ptr) in set_gd()
|
| /u-boot/arch/arm/mach-imx/ |
| A D | romapi.c | 12 volatile gd_t *sgd = gd; in rom_api_download_image() 24 volatile gd_t *sgd = gd; in rom_api_query_boot_infor() 37 volatile gd_t *pgd = gd; in get_boot_device()
|
| /u-boot/arch/sh/lib/ |
| A D | board.c | 20 void relocate_code(ulong start_addr_sp, gd_t *new_gd, ulong relocaddr) in relocate_code() 22 void (*reloc_board_init_r)(gd_t *gd, ulong dest) = board_init_r; in relocate_code()
|
| /u-boot/include/dm/ |
| A D | device-internal.h | 395 #define DM_ROOT_NON_CONST (((gd_t *)gd)->dm_root) 396 #define DM_UCLASS_ROOT_NON_CONST (((gd_t *)gd)->uclass_root) 397 #define DM_UCLASS_ROOT_S_NON_CONST (((gd_t *)gd)->uclass_root_s)
|
| /u-boot/arch/sh/include/asm/ |
| A D | global_data.h | 19 #define DECLARE_GLOBAL_DATA_PTR register gd_t *gd asm ("r13")
|
| /u-boot/arch/xtensa/include/asm/ |
| A D | global_data.h | 17 #define DECLARE_GLOBAL_DATA_PTR extern gd_t *gd
|
| /u-boot/arch/sandbox/include/asm/ |
| A D | global_data.h | 20 #define DECLARE_GLOBAL_DATA_PTR extern gd_t *gd
|
| /u-boot/arch/arc/include/asm/ |
| A D | global_data.h | 21 #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("r25")
|
| /u-boot/arch/arm/mach-exynos/ |
| A D | spl_boot.c | 310 static void setup_global_data(gd_t *gdp) in setup_global_data() 313 memzero((void *)gd, sizeof(gd_t)); in setup_global_data() 321 __aligned(8) gd_t local_gd; in board_init_f() 338 void board_init_r(gd_t *id, ulong dest_addr) in board_init_r()
|
| /u-boot/arch/microblaze/include/asm/ |
| A D | global_data.h | 20 #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("r31")
|
| /u-boot/arch/x86/cpu/x86_64/ |
| A D | misc.c | 21 void arch_setup_gd(gd_t *new_gd) in arch_setup_gd()
|
| /u-boot/arch/x86/include/asm/ |
| A D | global_data.h | 140 static inline notrace gd_t *get_fs_gd_ptr(void) in get_fs_gd_ptr() 142 gd_t *gd_ptr; in get_fs_gd_ptr()
|
| /u-boot/arch/arm/cpu/arm926ejs/mxs/ |
| A D | spl_boot.c | 25 static gd_t gdata __section(".data"); 157 inline void board_init_r(gd_t *id, ulong dest_addr) in board_init_r()
|