summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAshwin Chaugule <ashwin.chaugule@linaro.org>2014-11-26 22:01:13 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-11-27 02:06:17 +0100
commitf08bb472bff3c0397fb7d6f47bc5cec41dad76e3 (patch)
treed1e3c7a64a591f9f1c6fa14c38b2d0b595583654 /tools
parent5d01410fe4d92081f349b013a2e7a95429e4f2c9 (diff)
downloadop-kernel-dev-f08bb472bff3c0397fb7d6f47bc5cec41dad76e3.zip
op-kernel-dev-f08bb472bff3c0397fb7d6f47bc5cec41dad76e3.tar.gz
ACPI / table: Add new function to get table entries
The acpi_table_parse() function has a callback that passes a pointer to a table_header. Add a new function which takes this pointer and parses its entries. This eliminates the need to re-traverse all the tables for each call. e.g. as in acpi_table_parse_madt() which is normally called after acpi_table_parse(). Acked-by: Grant Likely <grant.likely@linaro.org> Signed-off-by: Ashwin Chaugule <ashwin.chaugule@linaro.org> Signed-off-by: Tomasz Nowicki <tomasz.nowicki@linaro.org> Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud