coreboot-kgpe-d16/Documentation/acpi
Jakub Czapiga 61fcb7e965 acpi/acpigen.h: Add more intuitive AML package closing functions
Until now every AML package had to be closed using acpigen_pop_len().
This commit introduces set of package closing functions corresponding
with their opening function names. For example acpigen_write_if()
opens if-statement package, acpigen_write_if_end() closes it.
Now acpigen_write_else() closes previously opened acpigen_write_if(),
so acpigen_pop_len() is not required before it.

Signed-off-by: Jakub Czapiga <jacz@semihalf.com>
Change-Id: Icfdc3804cd93bde049cd11dec98758b3a639eafd
Reviewed-on: https://review.coreboot.org/c/coreboot/+/50910
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Lance Zhao
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
2021-03-22 11:21:55 +00:00
..
devicetree.md Documentation/acpi: switch example from edge to level interrupts 2021-03-11 22:38:52 +00:00
gpio.md acpi/acpigen.h: Add more intuitive AML package closing functions 2021-03-22 11:21:55 +00:00
index.md acpi: Change Processor ACPI Name (Intel only) 2020-03-23 16:54:58 +00:00
uid.md