qemu-e2k/include/hw/acpi
Igor Mammedov 19fff2d405 acpi: include PkgLength size only when requested
Named/Reserved{Field} definition uses PkgLength [1] encoding to specify
field length, however it doesn't include size of PkgLength field itself,
while other block objects that have explicit length of its body account
for PkgLength size while encoding it [2].
This special casing isn't mentioned in ACPI spec, but that's what 'iasl'
compiles NamedField to so add extra argument to build_prepend_pkg_length()
to allow it handle the case.

--
1. ACPI Spec 5.0, 20.2.5.2 Named Objects Encoding, page 822
2. ACPI Spec 5.0, 5.4 Definition Block Encoding

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>
2015-02-26 13:04:14 +01:00
..
acpi_dev_interface.h acpi: introduce TYPE_ACPI_DEVICE_IF interface 2014-06-19 18:44:22 +03:00
acpi.h acpi: rephrase comment 2014-06-19 18:44:22 +03:00
aml-build.h acpi: include PkgLength size only when requested 2015-02-26 13:04:14 +01:00
bios-linker-loader.h bios-linker-loader: move header to common location 2015-01-27 14:46:17 +02:00
cpu_hotplug.h cpu-hotplug: rename function for better readability 2014-11-02 13:44:12 +02:00
ich9.h acpi, ich9: Add unplug cb for ich9. 2015-02-26 12:42:18 +01:00
memory_hotplug.h acpi: implement ospm_status() method for PIIX4/ICH9_LPC devices 2014-06-19 18:44:22 +03:00
pc-hotplug.h hw:i386: typo fix: MEMORY_HOPTLUG_DEVICE -> MEMORY_HOTPLUG_DEVICE 2014-08-14 13:20:49 +02:00
pcihp.h acpi/piix4pm: convert ACPI PCI hotplug to use hotplug-handler API 2014-02-10 10:27:00 +02:00
piix4.h piix: APIs for pc guest info 2013-10-14 17:48:52 +03:00
tpm.h Add ACPI tables for TPM 2014-08-25 00:16:06 +02:00