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