diff options
| author | Igor Mammedov | 2014-12-19 12:47:00 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin | 2015-01-27 13:46:17 +0100 |
| commit | 6d848641b7a4da92840fb2f5c240d1668f5a9281 (patch) | |
| tree | ce345d393326dc06dd492704311356a7cadb490c /include/hw | |
| parent | acpi: update generated hex files (diff) | |
| download | qemu-6d848641b7a4da92840fb2f5c240d1668f5a9281.tar.gz qemu-6d848641b7a4da92840fb2f5c240d1668f5a9281.tar.xz qemu-6d848641b7a4da92840fb2f5c240d1668f5a9281.zip | |
acpi: build_append_nameseg(): add padding if necessary
According to ACPI spec NameSeg shorter than 4 characters
must be padded up to 4 characters with "_" symbol.
ACPI 5.0: 20.2.2 "Name Objects Encoding"
Do it in build_append_nameseg() so that caller shouldn't know
or care about it.
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Claudio Fontana <claudio.fontana@huawei.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw')
0 files changed, 0 insertions, 0 deletions
