Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Simon Glass | b4a905e | 2011-10-10 08:22:14 +0000 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (c) 2011 The Chromium OS Authors. |
| 4 | * |
| 5 | * (C) Copyright 2002-2010 |
| 6 | * Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
Simon Glass | b4a905e | 2011-10-10 08:22:14 +0000 | [diff] [blame] | 7 | */ |
| 8 | |
| 9 | #ifndef __ASM_GBL_DATA_H |
| 10 | #define __ASM_GBL_DATA_H |
Simon Glass | 3ac47d7 | 2012-12-13 20:48:30 +0000 | [diff] [blame] | 11 | |
| 12 | /* Architecture-specific global data */ |
| 13 | struct arch_global_data { |
Simon Glass | 9dd10bf | 2013-11-10 10:27:03 -0700 | [diff] [blame] | 14 | uint8_t *ram_buf; /* emulated RAM buffer */ |
Simon Glass | 752707a | 2019-04-08 13:20:41 -0600 | [diff] [blame] | 15 | void *text_base; /* pointer to base of text region */ |
Simon Glass | faf08c7 | 2020-04-26 09:19:53 -0600 | [diff] [blame] | 16 | ulong acpi_start; /* Start address of ACPI tables */ |
Simon Glass | 3ac47d7 | 2012-12-13 20:48:30 +0000 | [diff] [blame] | 17 | }; |
| 18 | |
Simon Glass | 5b5177e | 2012-12-13 20:49:24 +0000 | [diff] [blame] | 19 | #include <asm-generic/global_data.h> |
Simon Glass | b4a905e | 2011-10-10 08:22:14 +0000 | [diff] [blame] | 20 | |
| 21 | #define DECLARE_GLOBAL_DATA_PTR extern gd_t *gd |
| 22 | |
| 23 | #endif /* __ASM_GBL_DATA_H */ |