1 /* SPDX-License-Identifier: GPL-2.0+ */ 2 /* 3 * Copyright (c) 2011 The Chromium OS Authors. 4 * 5 * (C) Copyright 2002-2010 6 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. 7 */ 8 9 #ifndef __ASM_GBL_DATA_H 10 #define __ASM_GBL_DATA_H 11 12 /* Architecture-specific global data */ 13 struct arch_global_data { 14 uint8_t *ram_buf; /* emulated RAM buffer */ 15 void *text_base; /* pointer to base of text region */ 16 }; 17 18 #include <asm-generic/global_data.h> 19 20 #define DECLARE_GLOBAL_DATA_PTR extern gd_t *gd 21 22 #endif /* __ASM_GBL_DATA_H */ 23