OSDN Git Service

acpi: fix endian-ness for table ids
authorMichael S. Tsirkin <mst@redhat.com>
Tue, 18 Mar 2014 13:49:41 +0000 (15:49 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 18 Mar 2014 14:46:07 +0000 (16:46 +0200)
commit821e3227863ea8db057190e578efa0f1f57ed9de
treea52201ea4789f2e9ea672c359324c142bc6a7619
parentc225aa3c6de64f61fe68de2e5f4e3897544daf0d
acpi: fix endian-ness for table ids

when using signature for table ID, we forgot to byte-swap it.
signatures are really ASCII strings, let's treat them as such.
While at it, get rid of most of _SIGNATURE macros.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/i386/acpi-build.c
hw/i386/acpi-defs.h