blob: 309422f75e3f31dbaf555f14ced7670e508e7632 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Simon Glassb4a905e2011-10-10 08:22:14 +00002/*
3 * Copyright (c) 2011 The Chromium OS Authors.
4 *
5 * (C) Copyright 2002-2010
6 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
Simon Glassb4a905e2011-10-10 08:22:14 +00007 */
8
9#ifndef __ASM_GBL_DATA_H
10#define __ASM_GBL_DATA_H
Simon Glass3ac47d72012-12-13 20:48:30 +000011
Tom Rini0843f912023-12-14 13:16:50 -050012#include <linux/types.h>
Tom Rinidec7ea02024-05-20 13:35:03 -060013#include <asm/u-boot.h>
Tom Rini0843f912023-12-14 13:16:50 -050014
Simon Glass3ac47d72012-12-13 20:48:30 +000015/* Architecture-specific global data */
16struct arch_global_data {
Simon Glass9dd10bf2013-11-10 10:27:03 -070017 uint8_t *ram_buf; /* emulated RAM buffer */
Simon Glass752707a2019-04-08 13:20:41 -060018 void *text_base; /* pointer to base of text region */
Simon Glass66ca25c2023-07-15 21:39:10 -060019 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 */
Simon Glass9b388102023-09-19 21:00:15 -060023 ulong smbios_start; /* Start address of SMBIOS table */
Simon Glass3ac47d72012-12-13 20:48:30 +000024};
25
Simon Glass5b5177e2012-12-13 20:49:24 +000026#include <asm-generic/global_data.h>
Simon Glassb4a905e2011-10-10 08:22:14 +000027
28#define DECLARE_GLOBAL_DATA_PTR extern gd_t *gd
29
30#endif /* __ASM_GBL_DATA_H */