2011-12-13 00:29:28 +04:00
|
|
|
#include "sysbus.h"
|
|
|
|
|
|
|
|
static int container_initfn(SysBusDevice *dev)
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2012-01-24 23:12:29 +04:00
|
|
|
static void container_class_init(ObjectClass *klass, void *data)
|
|
|
|
{
|
|
|
|
SysBusDeviceClass *k = SYS_BUS_DEVICE_CLASS(klass);
|
|
|
|
|
|
|
|
k->init = container_initfn;
|
|
|
|
}
|
|
|
|
|
|
|
|
static DeviceInfo container_info = {
|
|
|
|
.name = "container",
|
|
|
|
.size = sizeof(SysBusDevice),
|
|
|
|
.no_user = 1,
|
|
|
|
.class_init = container_class_init,
|
2011-12-13 00:29:28 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
static void container_init(void)
|
|
|
|
{
|
|
|
|
sysbus_register_withprop(&container_info);
|
|
|
|
}
|
|
|
|
|
|
|
|
device_init(container_init);
|