u-boot/arch
Simon Glass a8efebe719 acpi: Write pointers to tables instead of addresses
Sandbox uses an API to map between addresses and pointers. This allows
it to have (emulated) memory at zero and avoid arch-specific addressing
details. It also allows memory-mapped peripherals to work.

As an example, on many machines sandbox maps address 100 to pointer
value 10000000.

However this is not correct for ACPI, if sandbox starts another program
(e.g EFI app) and passes it the tables. That app has no knowledge of
sandbox's address mapping. So to make this work we want to store
10000000 as the value in the table.

Add two new 'nomap' functions which clearly make this exeption to how
sandbox works.

This should allow EFI apps to access ACPI tables with sandbox, e.g. for
testing purposes.

Signed-off-by: Simon Glass <sjg@chromium.org>
Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
2024-01-07 13:45:07 -07:00
..
arc Merge patch series "Complete decoupling of bootm logic from commands" 2023-12-21 16:10:00 -05:00
arm Merge branch 'staging' of https://source.denx.de/u-boot/custodians/u-boot-tegra into next 2024-01-06 09:57:56 -05:00
m68k Merge patch series "Complete decoupling of bootm logic from commands" 2023-12-21 16:10:00 -05:00
microblaze bootm: Adjust arguments of boot_os_fn 2023-12-21 16:07:52 -05:00
mips Merge patch series "Complete decoupling of bootm logic from commands" 2023-12-21 16:10:00 -05:00
nios2 Merge patch series "Complete decoupling of bootm logic from commands" 2023-12-21 16:10:00 -05:00
powerpc Merge patch series "Complete decoupling of bootm logic from commands" 2023-12-21 16:10:00 -05:00
riscv andes: cpu: Enable cache and TLB ECC support 2023-12-27 17:29:07 +08:00
sandbox acpi: Write pointers to tables instead of addresses 2024-01-07 13:45:07 -07:00
sh bootm: Adjust arguments of boot_os_fn 2023-12-21 16:07:52 -05:00
x86 acpi: Write pointers to tables instead of addresses 2024-01-07 13:45:07 -07:00
xtensa bootm: Adjust arguments of boot_os_fn 2023-12-21 16:07:52 -05:00
.gitignore
Kconfig scsi: Forceably finish migration to DM_SCSI 2023-11-07 18:36:06 -05:00
Kconfig.nxp LFU-544: Kconfig.nxp: Fixed secure boot on LS-CH2 platforms 2023-07-06 13:04:56 +08:00
u-boot-elf.lds