2018-05-07 06:58:06 +09:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
2011-10-10 17:22:14 +09: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-14 05:48:30 +09:00
|
|
|
|
|
|
|
/* Architecture-specific global data */
|
|
|
|
struct arch_global_data {
|
2013-11-11 02:27:03 +09:00
|
|
|
uint8_t *ram_buf; /* emulated RAM buffer */
|
2019-04-09 04:20:41 +09:00
|
|
|
void *text_base; /* pointer to base of text region */
|
2020-04-27 00:19:53 +09:00
|
|
|
ulong acpi_start; /* Start address of ACPI tables */
|
2012-12-14 05:48:30 +09:00
|
|
|
};
|
|
|
|
|
2012-12-14 05:49:24 +09:00
|
|
|
#include <asm-generic/global_data.h>
|
2011-10-10 17:22:14 +09:00
|
|
|
|
|
|
|
#define DECLARE_GLOBAL_DATA_PTR extern gd_t *gd
|
|
|
|
|
|
|
|
#endif /* __ASM_GBL_DATA_H */
|