diff options
author | Igor Mammedov <imammedo@redhat.com> | 2015-02-20 18:22:20 +0000 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2015-03-01 12:33:23 +0100 |
commit | af59b35ce1aa3e69488e7308b632d5af2ac54948 (patch) | |
tree | e039af3f76cddc595e7efe56bbb438f84cdc8960 /include | |
parent | 72f15d6e53485e8d1754e56e0013bed2e5816fa8 (diff) | |
download | qemu-af59b35ce1aa3e69488e7308b632d5af2ac54948.zip qemu-af59b35ce1aa3e69488e7308b632d5af2ac54948.tar.gz qemu-af59b35ce1aa3e69488e7308b632d5af2ac54948.tar.bz2 |
acpi: make build_*() routines static to aml-build.c
build_*() routines were used for composing AML
structures manually in acpi-build.c but after
conversion to AML API they are not used outside
of aml-build.c anymore, so hide them from external
users.
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/acpi/aml-build.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/include/hw/acpi/aml-build.h b/include/hw/acpi/aml-build.h index 1187197..f6735ea 100644 --- a/include/hw/acpi/aml-build.h +++ b/include/hw/acpi/aml-build.h @@ -188,20 +188,4 @@ Aml *aml_resource_template(void); Aml *aml_field(const char *name, AmlFieldFlags flags); Aml *aml_varpackage(uint32_t num_elements); -/* other helpers */ -GArray *build_alloc_array(void); -void build_free_array(GArray *array); -void build_prepend_byte(GArray *array, uint8_t val); -void build_append_byte(GArray *array, uint8_t val); -void build_append_array(GArray *array, GArray *val); - -void GCC_FMT_ATTR(2, 3) -build_append_namestring(GArray *array, const char *format, ...); - -void -build_prepend_package_length(GArray *package, unsigned length, bool incl_self); -void build_package(GArray *package, uint8_t op); -void build_append_int(GArray *table, uint64_t value); -void build_extop_package(GArray *package, uint8_t op); - #endif |