acpi/table: Introduce acpi_table_get_entry_madt to get specified entry
authorShannon Zhao <zhaoshenglong@huawei.com>
Wed, 2 Mar 2016 07:35:00 +0000 (08:35 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 3 Mar 2016 08:06:24 +0000 (09:06 +0100)
commitc86fcdfb9983b2d794fdde5f11141fedf82578b8
treec09aa8a77d513de77ba67effff04bafc8248c3c5
parent919f135ab8d8996f99ef71730294b23a99434323
acpi/table: Introduce acpi_table_get_entry_madt to get specified entry

This function could get the specified index entry of MADT table. This
would be useful when it needs to get the contens of the entry.

Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/drivers/acpi/tables.c
xen/include/xen/acpi.h