diff options
author | Shannon Zhao <shannon.zhao@linaro.org> | 2015-05-29 11:28:57 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2015-05-29 11:28:57 +0100 |
commit | b930fb9db4aa07abb8f3871eb7379242edbdf2a5 (patch) | |
tree | 183474ccf69036c581a3c08b09795c078c83f11b /include/hw/acpi/aml-build.h | |
parent | ed8b5847e46c24d6e9c286892a00a34bee9b0835 (diff) | |
download | qemu-b930fb9db4aa07abb8f3871eb7379242edbdf2a5.zip qemu-b930fb9db4aa07abb8f3871eb7379242edbdf2a5.tar.gz qemu-b930fb9db4aa07abb8f3871eb7379242edbdf2a5.tar.bz2 |
hw/acpi/aml-build: Add ToUUID macro
Add ToUUID macro, this is useful for generating PCIe ACPI table.
Signed-off-by: Shannon Zhao <zhaoshenglong@huawei.com>
Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-id: 1432522520-8068-16-git-send-email-zhaoshenglong@huawei.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/hw/acpi/aml-build.h')
-rw-r--r-- | include/hw/acpi/aml-build.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/acpi/aml-build.h b/include/hw/acpi/aml-build.h index fac70ea..a873b46 100644 --- a/include/hw/acpi/aml-build.h +++ b/include/hw/acpi/aml-build.h @@ -257,6 +257,7 @@ Aml *aml_buffer(int buffer_size, uint8_t *byte_list); Aml *aml_resource_template(void); Aml *aml_field(const char *name, AmlAccessType type, AmlUpdateRule rule); Aml *aml_varpackage(uint32_t num_elements); +Aml *aml_touuid(const char *uuid); void build_header(GArray *linker, GArray *table_data, |