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 #include <linux/types.h>
13 #include <asm/u-boot.h>
14 
15 /* Architecture-specific global data */
16 struct arch_global_data {
17 	uint8_t		*ram_buf;	/* emulated RAM buffer */
18 	void		*text_base;	/* pointer to base of text region */
19 	ulong table_start;		/* Start address of x86 tables */
20 	ulong table_end;		/* End address of x86 tables */
21 	ulong table_start_high;		/* Start address of high x86 tables */
22 	ulong table_end_high;		/* End address of high x86 tables */
23 	ulong smbios_start;		/* Start address of SMBIOS table */
24 };
25 
26 #include <asm-generic/global_data.h>
27 
28 #define DECLARE_GLOBAL_DATA_PTR     extern gd_t *gd
29 
30 #endif /* __ASM_GBL_DATA_H */
31