diff options
author | Nico Huber <nico.h@gmx.de> | 2023-11-11 00:06:55 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-11-13 12:48:15 +0000 |
commit | 043f3397a9d0c126f0ad9642ff3131203e0bf9e8 (patch) | |
tree | 352bc8dc7ba827fbc6dcf33ec80d33218bab397d /tests/drivers | |
parent | bd06a297d5c1a0d75056e505a4f35568708e190e (diff) |
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>
Diffstat (limited to 'tests/drivers')
0 files changed, 0 insertions, 0 deletions