2018-05-06 21:58:06 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
2011-10-10 08:22:14 +00:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2011 The Chromium OS Authors.
|
|
|
|
*
|
|
|
|
* (C) Copyright 2002-2010
|
|
|
|
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __ASM_GBL_DATA_H
|
|
|
|
#define __ASM_GBL_DATA_H
|
2012-12-13 20:48:30 +00:00
|
|
|
|
|
|
|
/* Architecture-specific global data */
|
|
|
|
struct arch_global_data {
|
2013-11-10 17:27:03 +00:00
|
|
|
uint8_t *ram_buf; /* emulated RAM buffer */
|
2019-04-08 19:20:41 +00:00
|
|
|
void *text_base; /* pointer to base of text region */
|
2023-07-16 03:39:10 +00:00
|
|
|
ulong table_start; /* Start address of x86 tables */
|
|
|
|
ulong table_end; /* End address of x86 tables */
|
|
|
|
ulong table_start_high; /* Start address of high x86 tables */
|
|
|
|
ulong table_end_high; /* End address of high x86 tables */
|
2023-09-20 03:00:15 +00:00
|
|
|
ulong smbios_start; /* Start address of SMBIOS table */
|
2012-12-13 20:48:30 +00:00
|
|
|
};
|
|
|
|
|
2012-12-13 20:49:24 +00:00
|
|
|
#include <asm-generic/global_data.h>
|
2011-10-10 08:22:14 +00:00
|
|
|
|
|
|
|
#define DECLARE_GLOBAL_DATA_PTR extern gd_t *gd
|
|
|
|
|
|
|
|
#endif /* __ASM_GBL_DATA_H */
|