]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: Record the start and end of the tables
authorSimon Glass <sjg@chromium.org>
Sun, 16 Jul 2023 03:39:10 +0000 (21:39 -0600)
committerBin Meng <bmeng@tinylab.org>
Mon, 17 Jul 2023 09:23:08 +0000 (17:23 +0800)
commit6a324897825acdd54f31aeebfe0d29b7f6ab4d86
treef4911918084d148b6df2ec8f57034cf64d23ea33
parent8856d613cb79876e1b1e1ef01b7507725810b7c5
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>
arch/sandbox/include/asm/global_data.h
arch/x86/include/asm/global_data.h
arch/x86/lib/bdinfo.c
arch/x86/lib/tables.c
drivers/misc/qfw.c