diff options
author | Patrick Rudolph <patrick.rudolph@9elements.com> | 2019-05-22 11:59:23 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2019-06-09 17:20:28 +0000 |
commit | 34846ad6baa2d2dcc020382a43c35e6dad3581ce (patch) | |
tree | 1f77a6774c8e1b4b453b6e92a9c428bd4d8d7c52 /src/arch/x86/include | |
parent | cd980abe18e1f9870b3f19e931b5e92101eafcd5 (diff) |
acpigen: Add support for IndexField
Add support for generating IndexField, which is similar to Field.
Change-Id: If66a627e64953696b0b68488256bd5c141e4c205
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/33032
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/arch/x86/include')
-rw-r--r-- | src/arch/x86/include/arch/acpigen.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/arch/x86/include/arch/acpigen.h b/src/arch/x86/include/arch/acpigen.h index 6114667c6c..db003fe113 100644 --- a/src/arch/x86/include/arch/acpigen.h +++ b/src/arch/x86/include/arch/acpigen.h @@ -420,6 +420,12 @@ void acpigen_write_opregion(struct opregion *opreg); */ void acpigen_write_field(const char *name, struct fieldlist *l, size_t count, uint8_t flags); +/* + * Generate ACPI AML code for IndexField + * This function takes input index name, data name, fieldlist, count & flags. + */ +void acpigen_write_indexfield(const char *idx, const char *data, + struct fieldlist *l, size_t count, uint8_t flags); int get_cst_entries(acpi_cstate_t **); |