unicorn/qemu/include/hw
Marc-André Lureau aee9f7327f
machine: use class base init generated name
machine_class_base_init() member name is allocated by
machine_class_base_init(), but not freed by
machine_class_finalize().  Simply freeing there doesn't work,
because DEFINE_PC_MACHINE() overwrites it with a literal string.

Fix DEFINE_PC_MACHINE() not to overwrite it, and add the missing
free to machine_class_finalize().

Backports commit 8ea753718b2d1a42e9ce7b8db9f5e4e1f330e827 from qemu
2018-03-11 16:54:40 -04:00
..
arm Use DEFINE_MACHINE() to register all machines 2018-03-11 15:12:46 -04:00
cpu import 2015-08-21 15:04:50 +08:00
i386 machine: use class base init generated name 2018-03-11 16:54:40 -04:00
m68k Use DEFINE_MACHINE() to register all machines 2018-03-11 15:12:46 -04:00
mips Use DEFINE_MACHINE() to register all machines 2018-03-11 15:12:46 -04:00
sparc Revert use of DEFINE_MACHINE() for registrations of multiple machines 2018-03-11 15:17:17 -04:00
xen include: Add stubbed xen function 2018-02-20 08:29:58 -05:00
boards.h machine: use class base init generated name 2018-03-11 16:54:40 -04:00
hw.h hw: clean up hw/hw.h includes 2018-02-24 02:46:41 -05:00
qdev-core.h bus: simplify name handling 2018-03-09 13:02:15 -05:00
qdev.h import 2015-08-21 15:04:50 +08:00
registerfields.h armv7m: Fix reads of CONTROL register bit 1 2018-03-02 13:26:38 -05:00