aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-07-15 21:39:10 -0600
committerBin Meng <bmeng@tinylab.org>2023-07-17 17:23:08 +0800
commit6a324897825acdd54f31aeebfe0d29b7f6ab4d86 (patch)
treef4911918084d148b6df2ec8f57034cf64d23ea33 /arch/x86/include
parent8856d613cb79876e1b1e1ef01b7507725810b7c5 (diff)
downloadu-boot-6a324897825acdd54f31aeebfe0d29b7f6ab4d86.zip
u-boot-6a324897825acdd54f31aeebfe0d29b7f6ab4d86.tar.gz
u-boot-6a324897825acdd54f31aeebfe0d29b7f6ab4d86.tar.bz2
x86: Record the start and end of the tables
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>
Diffstat (limited to 'arch/x86/include')
-rw-r--r--arch/x86/include/asm/global_data.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/include/asm/global_data.h b/arch/x86/include/asm/global_data.h
index 22d103d..ea58259 100644
--- a/arch/x86/include/asm/global_data.h
+++ b/arch/x86/include/asm/global_data.h
@@ -123,6 +123,10 @@ struct arch_global_data {
#endif
void *itss_priv; /* Private ITSS data pointer */
ulong coreboot_table; /* Address of coreboot table */
+ 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 */
};
#endif