mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
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>
This commit is contained in:
parent
72f15d6e53
commit
af59b35ce1
2 changed files with 10 additions and 26 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue