mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-24 03:53:31 +00:00
6a32489782
The ACPI tables are special in that they are passed to EFI as a separate piece, independent of other tables. Also they can be spread over two areas of memory, e.g. with QEMU we end up with tables kept in high memory as well. Add new global_data fields to hold this information and update the bdinfo command to show the table areas. Move the rom_table_end variable into the loop that uses it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
26 lines
758 B
C
26 lines
758 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* 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
|
|
|
|
/* Architecture-specific global data */
|
|
struct arch_global_data {
|
|
uint8_t *ram_buf; /* emulated RAM buffer */
|
|
void *text_base; /* pointer to base of text region */
|
|
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 */
|
|
};
|
|
|
|
#include <asm-generic/global_data.h>
|
|
|
|
#define DECLARE_GLOBAL_DATA_PTR extern gd_t *gd
|
|
|
|
#endif /* __ASM_GBL_DATA_H */
|