coreboot-kgpe-d16/tests
Nico Huber 043f3397a9 tests/acpigen: Patch to allow moving buffers
When a package length needs to be written, we used to always
write three bytes for it, even when the length would fit into
one or two bytes. To allow such compact package lengths, we
have to move the written buffer data in case the length is
smaller. This makes tracking the start of nested buffers
harder, as they may be moved entirely later when a package
length is written. So instead of tracking start addresses in
test_acpigen_nested_ifs(), let's work with the generated AML
alone. In this lucky case, we can simply search for the `if`
operations.

Change-Id: Id8557dd5d1be3878713ee0b6106c3e0975665e97
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/79008
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
2023-11-13 12:48:15 +00:00
..
acpi tests/acpigen: Patch to allow moving buffers 2023-11-13 12:48:15 +00:00
commonlib commonlib: Add GCD function 2023-11-04 17:05:28 +00:00
console tests: Fix tests code and comments style 2022-01-14 14:29:29 +00:00
data/lib/lzma-test
device tests: Fix tests code and comments style 2022-01-14 14:29:29 +00:00
drivers drivers/efi: Add EFI variable store option support 2023-04-03 21:13:54 +00:00
include tests/include: Move EMPTY_WRAP() macro to tests/include/test.h 2022-02-10 21:16:49 +00:00
lib Allow to build romstage sources inside the bootblock 2023-11-09 13:20:18 +00:00
mock tests: Fix tests code and comments style 2022-01-14 14:29:29 +00:00
stubs
Makefile.common tests/Makefile.common: Remove unnecessary dependency to kconfig/conf 2022-12-17 20:32:12 +00:00
Makefile.inc drivers/efi: Add EFI variable store option support 2023-04-03 21:13:54 +00:00