mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
acpi: add aml_create_field()
It will be used by nvdimm acpi Signed-off-by: Xiao Guangrong <guangrong.xiao@linux.intel.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
a648c13738
commit
39b6dbd8d7
2 changed files with 16 additions and 0 deletions
|
@ -344,6 +344,8 @@ Aml *aml_mutex(const char *name, uint8_t sync_level);
|
|||
Aml *aml_acquire(Aml *mutex, uint16_t timeout);
|
||||
Aml *aml_release(Aml *mutex);
|
||||
Aml *aml_alias(const char *source_object, const char *alias_object);
|
||||
Aml *aml_create_field(Aml *srcbuf, Aml *bit_index, Aml *num_bits,
|
||||
const char *name);
|
||||
Aml *aml_create_dword_field(Aml *srcbuf, Aml *index, const char *name);
|
||||
Aml *aml_create_qword_field(Aml *srcbuf, Aml *index, const char *name);
|
||||
Aml *aml_varpackage(uint32_t num_elements);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue