u-boot/test
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
..
boot cli: add modern hush as parser for run_command*() 2023-12-28 12:02:56 -05:00
cmd test: font: Add dependencies on fonts 2023-12-13 18:39:05 -05:00
common test: event: Only run test_event_probe() on sandbox 2023-12-13 18:39:05 -05:00
dm acpi: Write pointers to tables instead of addresses 2024-01-07 13:45:07 -07:00
env sandbox: add test of CONFIG_ENV_IMPORT_FDT 2021-05-04 12:52:30 -04:00
fs Use grep -E or plain grep instead of egrep 2023-01-11 15:02:24 -05:00
fuzz cmd: Convert existing long help messages to the new macro 2023-10-16 10:24:58 -04:00
hush Merge patch series "Modernize U-Boot shell" 2023-12-28 14:38:25 -05:00
image Merge patch series "fs: fat: calculate FAT type based on cluster count" 2023-11-28 20:10:36 -05:00
lib test: lmb: Move tests into the lib suite 2023-12-13 18:39:05 -05:00
log log: Remove some places where we redefine LOGLEVEL 2022-12-23 10:07:03 -05:00
optee test: Add a macros for finding tests in linker_lists 2021-03-12 09:57:30 -05:00
overlay test: Add a macros for finding tests in linker_lists 2021-03-12 09:57:30 -05:00
py test: hush: Test hush variable expansion 2023-12-28 12:02:56 -05:00
stdint Remove <inttypes.h> includes and PRI* usages in printf() entirely 2018-09-10 20:48:17 -04:00
trace SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
bloblist.c bloblist: Add alignment to bloblist_new() 2023-12-31 07:21:02 -07:00
bootm.c test: Fix bootm_test_subst_var() running independently 2022-09-12 18:06:36 -04:00
cmd_ut.c test: Add framework to test hush behavior 2023-12-28 12:02:56 -05:00
command_ut.c unit-test: cover run_commandf() by test-cases 2023-03-30 15:09:59 -04:00
common.sh Consistently use nproc for counting the CPUs 2020-01-30 13:30:35 -05:00
compression.c test: compression: add zstd uncompression test 2023-01-18 19:41:15 -05:00
Kconfig test: Run bootstd tests only on sandbox 2023-12-13 18:39:05 -05:00
Makefile test: Add framework to test hush behavior 2023-12-28 12:02:56 -05:00
print_ut.c test: print: Skip test on x86 2023-12-13 18:39:05 -05:00
run test: Run the VPL tests with 'make check' 2023-04-03 06:53:53 +12:00
str_ut.c lib: Add a function to split a string into substrings 2023-01-23 18:11:39 -05:00
test-main.c spl: Allow enabling SPL_OF_REAL and SPL_OF_PLATDATA at the same time 2023-10-17 20:50:52 -04:00
time_ut.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
unicode_ut.c test: unicode: fix a sizeof() vs ARRAY_SIZE() bug 2023-08-08 17:41:52 -04:00
ut.c test: Add helper to skip to partial console line 2023-12-13 18:39:05 -05:00