u-boot/arch/x86/include/asm
Simon Glass 6a32489782 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>
2023-07-17 17:23:08 +08:00
..
acpi global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
arch-apollolake doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
arch-baytrail x86: baytrail: acpi: Replace _ADR() by _UID() in description of PCI host bridge 2020-06-02 09:16:13 +08:00
arch-braswell command: Remove the cmd_tbl_t typedef 2020-05-18 18:36:55 -04:00
arch-broadwell dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
arch-coreboot doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
arch-ivybridge doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
arch-qemu x86: qemu: Support getting high memory size 2019-09-10 14:19:39 +08:00
arch-quark x86: quark: acpi: Replace _ADR() by _UID() in description of PCI host bridge 2020-06-02 09:16:13 +08:00
arch-queensbay SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
arch-slimbootloader x86: slimbootloader: Set TSC information for tsc_timer 2019-08-09 22:24:02 +08:00
arch-tangier x86: tangier: Replace Method() by Name() for _STA object 2021-11-01 09:50:55 +08:00
fsp doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
fsp1 doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
fsp2 event: Convert arch_cpu_init_dm() to use events 2022-03-10 08:28:36 -05:00
video x86: Rename i386 to x86 2011-04-13 19:43:28 +10:00
acpi.h x86: acpi: Move APIs unrelated to ACPI tables generation to a separate library 2018-07-20 09:33:22 +08:00
acpi_nhlt.h x86: Drop nhlt_serialise() 2020-09-01 17:00:28 +08:00
acpi_table.h Revert "x86: Move FACP table into separate functions" 2022-03-31 08:27:52 -04:00
acpigen.h x86: acpi: Add PCT and PTC tables 2020-09-25 11:27:18 +08:00
atomic.h x86: Convert from ACCESS_ONCE to READ/WRITE_ONCE 2020-07-01 10:11:03 -04:00
bitops.h x86: Define PLATFORM__SET_BIT for generic_set_bit() 2018-05-15 21:44:05 -04:00
bootm.h x86: Support booting a 64-bit kernel from 64-bit U-Boot 2023-03-25 11:07:21 +01:00
bootparam.h x86: Update docs link in bootparam header 2023-07-09 03:53:08 +02:00
byteorder.h x86: Fix up byteorder.h for x86_64 2017-02-06 11:38:46 +08:00
cache.h Finish converting CONFIG_SYS_CACHELINE_SIZE to Kconfig 2021-08-31 17:47:49 -04:00
cb_sysinfo.h x86: coreboot: Show unimplemented sysinfo tags 2023-05-11 10:25:29 +08:00
cmos_layout.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
config.h Convert CONFIG_SYS_BOOT_RAMDISK_HIGH to Kconfig 2022-07-07 14:01:09 -04:00
control_regs.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
coreboot_tables.h x86: coreboot: Collect the address of the ACPI tables 2023-05-11 10:25:29 +08:00
cpu.h x86: Add return-value comment to cpu_jump_to_64bit() 2023-03-25 11:07:21 +01:00
cpu_common.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
cpu_x86.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
dma-mapping.h dma-mapping: move dma_map_(un)single() to <linux/dma-mapping.h> 2020-02-19 21:27:30 +08:00
e820.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
early_cmos.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
efi.h x86: Show some EFI info with the bdinfo command 2021-10-21 03:46:03 +02:00
fast_spi.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
fsp_arch.h x86: Move fsp_ffs.h include to fsp_arch.h 2019-10-08 13:50:55 +08:00
global_data.h x86: Record the start and end of the tables 2023-07-17 17:23:08 +08:00
gpio.h dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
handoff.h x86: fsp: Save usable RAM and hob_list in the handoff area 2019-10-08 13:57:36 +08:00
hob.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
i8254.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
i8259.h x86: Fix i8259 ifdef include guard 2022-12-14 12:04:51 +08:00
ibmpc.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
intel_acpi.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
intel_gnvs.h x86: Add an enum name for the GNVS firmware type 2022-03-14 15:20:40 +08:00
intel_opregion.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
intel_pinctrl.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
intel_pinctrl_defs.h gpio: x86: Drop the deprecated methods in intel_gpio 2021-03-03 15:40:11 -05:00
intel_regs.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
interrupt.h x86: Show the interrupt pointer with 'irqinfo' 2020-11-06 09:51:29 +08:00
io.h common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
ioapic.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ioctl.h x86: Rename i386 to x86 2011-04-13 19:43:28 +10:00
irq.h x86: irq: Fix some typos 2020-08-03 10:46:56 +08:00
ist.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
itss.h x86: Move priv/plat structs for intel_common to headers 2021-01-05 12:24:41 -07:00
lapic.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
linkage.h x86: move arch-specific asmlinkage to <asm/linkage.h> 2014-12-15 07:22:53 -07:00
lpc_common.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
lpss.h x86: Add low-power subsystem (lpss) support 2019-12-15 11:44:25 +08:00
me_common.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
microcode.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
mp.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
mpspec.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mrc_common.h board_f: Fix types for board_get_usable_ram_top() 2022-09-23 15:12:42 -04:00
mrccache.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
msr-index.h x86: apl: Add core init for the SoC 2020-11-05 14:58:45 +08:00
msr.h trace: Use notrace for short 2023-01-18 11:49:12 -07:00
mtrr.h x86: Allow listing MTRRs in SPL 2023-07-17 17:08:44 +08:00
p2sb.h x86: Move priv/plat structs for intel_common to headers 2021-01-05 12:24:41 -07:00
pch_common.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
pci.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
pirq_routing.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pmu.h x86: Fix header guard in asm/pmu.h 2021-01-05 12:24:41 -07:00
pnp_def.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
posix_types.h x86: Change __kernel_size_t conditionals to use compiler provided defines 2018-06-24 08:56:04 +08:00
post.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
processor-flags.h x86: Rename i386 to x86 2011-04-13 19:43:28 +10:00
processor.h x86: Add support for newer CAR schemes 2019-12-15 11:44:18 +08:00
ptrace.h x86: Display correct CS/EIP/EFLAGS when there is an error code 2015-07-28 10:36:21 -06:00
report_platform.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
scu.h x86: cpu: introduce scu_ipc_raw_command() 2018-09-17 14:34:15 +08:00
sections.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
setjmp.h x86: provide typedef jmp_buf 2022-10-29 07:36:33 -06:00
sfi.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
sipi.h Use __ASSEMBLY__ as the assembly macros 2020-05-18 21:19:23 -04:00
smm.h x86: Add some definitions for SMM 2020-09-25 11:27:16 +08:00
speedstep.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
spl.h spl: Remove CONFIG_SPL_BOARD_LOAD_IMAGE 2022-06-06 12:09:00 -04:00
string.h x86: Tidy up availability of string functions 2023-05-11 10:25:29 +08:00
sysreset.h x86: sysreset: Move priv/plat structs to headers 2021-01-05 12:24:41 -07:00
tables.h Remove duplication of table_compute_checksum function 2022-04-14 15:39:15 -04:00
turbo.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
types.h arch: types.h: factor out fixed width typedefs to int-ll64.h 2018-09-10 20:48:16 -04:00
u-boot-x86.h x86: Improve the trampoline in 64-bit mode 2023-07-17 17:12:07 +08:00
u-boot.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
unaligned.h x86: Rename i386 to x86 2011-04-13 19:43:28 +10:00
zimage.h x86: zimage: Export the function to obtain the cmdline 2023-07-17 13:38:35 +08:00