diff options
author | Duncan Laurie <dlaurie@google.com> | 2020-11-03 15:19:08 -0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-11-09 07:30:01 +0000 |
commit | ec2e3e479af0dc66041ae3b599b7df93b10160b9 (patch) | |
tree | 3c251b420a450d4bcfd92937f7b35fe816361aad /src/drivers | |
parent | 8e4182f20d3df2dde8dfb88973de86d4eeaafed8 (diff) | |
download | coreboot-ec2e3e479af0dc66041ae3b599b7df93b10160b9.tar.xz |
acpigen: Add more useful helper functions
acpigen_write_debug_namestr() - Debug = NAME
acpigen_write_return_namestr() - Return (NAME)
acpigen_set_package_op_element_int() - Set package pointer element
DeRefOf (PKG[ELEM]) = INT
acpigen_get_package_element() - Get package (not pointer) element
dest_op = PKG[ELEM]
acpigen_set_package_element_int() - Set package element to integer
PKG[ELEM] = INT
acpigen_set_package_element_namestr() - Set package element to namestr
PKG[ELEM] = NAME
acpigen_write_delay_until_namestr_int() - Delay while waiting for
register to equal expected value.
BUG=b:160996445
Signed-off-by: Duncan Laurie <dlaurie@google.com>
Change-Id: I9b20a23872b7d4a50f03761032426ffbb722b9ee
Reviewed-on: https://review.coreboot.org/c/coreboot/+/47196
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/drivers')
0 files changed, 0 insertions, 0 deletions