change element type from "char" to "unsigned char" in ACPI table data
commitcb88a4ea79193cdbfb9b27bf9deb36c88ec9b6dc
authorLaszlo Ersek <lersek@redhat.com>
Wed, 20 Mar 2013 23:23:14 +0000 (21 00:23 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 5 Apr 2013 00:23:08 +0000 (4 19:23 -0500)
tree1472bb9d234c4c0eaebb5e0b57a957fb3096e176
parent4d8b3c6302fe50e9192854d8affda883e078fd4d
change element type from "char" to "unsigned char" in ACPI table data

The data is binary, not textual.

Also, acpi_table_add() abuses the "char *f" pointer -- which normally
points to file names to load -- to poke into the table. Introduce "char
unsigned *table_start" for that purpose.

Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
Message-id: 1363821803-3380-3-git-send-email-lersek@redhat.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/acpi.c
hw/pc.h