machine: DEFINE_MACHINE() macro
authorEduardo Habkost <ehabkost@redhat.com>
Fri, 4 Sep 2015 18:37:06 +0000 (15:37 -0300)
committerAndreas Färber <afaerber@suse.de>
Sat, 19 Sep 2015 14:40:06 +0000 (16:40 +0200)
commited0b6de343448d1014b53bcf541041373322fa1c
tree5a2f0add7a5bcf3c138596bb4e934c0fba76443a
parent97c6671cf16640f997fc8c54ef456bbad125b635
machine: DEFINE_MACHINE() macro

The macro will allow easy registration of a TYPE_MACHINE subclass, using
only the machine name and a MachineClass initialization function as
parameter.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
include/hw/boards.h