Michael S. Tsirkin
afaa2e4bc4
acpi-build: simplify rsdp management for legacy
...
For legacy machine types, rsdp is not in RAM, so we need a copy of rsdp
for fw cfg. We previously used g_array_free with false parameter,
but this seems to confuse people.
This also wastes a bit of memory as the buffer is unused for new
machine types.
Let's just use plain g_memdup, and free original memory together with
the array.
TODO: rationalize tcpalog memory management, and get rid of the mfre
parameter.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com >
Reviewed-by: Igor Mammedov <imammedo@redhat.com >
2015-02-26 12:42:20 +01:00
..
2015-02-16 17:30:19 +01:00
2015-02-26 12:42:19 +01:00
2015-02-13 14:09:27 +00:00
2015-02-18 10:51:09 +01:00
2015-02-26 12:42:16 +01:00
2015-02-26 07:01:08 +00:00
2014-08-15 19:12:48 +04:00
2015-02-26 12:42:17 +01:00
2015-02-26 12:42:18 +01:00
2014-11-03 19:51:56 +03:00
2014-10-20 14:02:25 +02:00
2015-02-26 12:42:17 +01:00
2015-01-26 12:22:44 +01:00
2014-11-04 23:26:12 +01:00
2015-02-26 12:42:16 +01:00
2015-02-26 12:42:20 +01:00
2015-02-26 12:42:17 +01:00
2015-02-10 09:27:20 +03:00
2015-02-18 11:58:50 +01:00
2015-02-26 12:42:16 +01:00
2015-02-26 12:42:18 +01:00
2015-01-08 13:17:55 +02:00
2014-11-03 00:59:10 +03:00
2015-01-27 14:46:18 +02:00
2014-11-03 00:59:10 +03:00
2015-02-13 14:09:27 +00:00
2015-02-26 12:42:16 +01:00
2014-09-09 13:41:43 +02:00
2015-02-26 12:42:17 +01:00
2015-01-16 11:54:30 +00:00
2014-11-03 00:59:10 +03:00
2015-02-26 12:42:16 +01:00
2015-02-26 12:42:16 +01:00
2015-02-26 12:42:16 +01:00
2014-10-24 12:19:11 +01:00
2015-02-25 11:54:15 +00:00
2015-02-18 09:37:15 +01:00
2015-02-26 07:01:08 +00:00
2015-02-26 12:42:16 +01:00
2015-02-18 10:53:10 +01:00
2015-02-18 11:58:50 +01:00
2015-02-13 14:09:27 +00:00
2014-08-15 18:54:40 +04:00
2015-02-05 17:16:14 +01:00
2014-12-10 11:30:55 +03:00
2014-11-02 10:04:34 +03:00
2014-09-09 13:41:43 +02:00
2015-02-26 12:42:16 +01:00
2015-02-10 10:25:44 -07:00
2015-02-24 13:58:18 +00:00
2015-02-26 12:42:16 +01:00
2015-01-13 11:49:46 +00:00
2014-10-20 14:02:25 +02:00
2014-11-03 01:00:37 +03:00
2014-12-19 15:24:06 -07:00