提交 ab20bbd2 编写于 作者: I Igor Mammedov 提交者: Michael S. Tsirkin

tests: acpi: add comments to fetch_rsdt_referenced_tables/data->tables usage

Signed-off-by: NIgor Mammedov <imammedo@redhat.com>
Reviewed-by: NMichael S. Tsirkin <mst@redhat.com>
Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
上级 03010579
......@@ -257,6 +257,8 @@ static void fetch_rsdt_referenced_tables(test_data *data)
addr = le32_to_cpu(data->rsdt_tables_addr[i + 1]); /* fadt is first */
fetch_table(&ssdt_table, addr);
/* Add table to ASL test tables list */
g_array_append_val(data->tables, ssdt_table);
}
}
......@@ -427,6 +429,7 @@ try_again:
return exp_tables;
}
/* test the list of tables in @data->tables against reference tables */
static void test_acpi_asl(test_data *data)
{
int i;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册