RTCState *rtc_init(int base_year)

{

    ISADevice *dev;



    dev = isa_create("mc146818rtc");

    qdev_prop_set_int32(&dev->qdev, "base_year", base_year);

    qdev_init(&dev->qdev);

    return DO_UPCAST(RTCState, dev, dev);

}

RTCState *rtc_init(int base_year)

{

    ISADevice *dev;



    dev = isa_create("mc146818rtc");

    qdev_prop_set_int32(&dev->qdev, "base_year", base_year);

    qdev_init(&dev->qdev);

    return DO_UPCAST(RTCState, dev, dev);

}

    qdev_init(&dev->qdev);     qdev_init(&dev->qdev);     qdev_init(&dev->qdev);     qdev_init(&dev->qdev);     qdev_init(&dev->qdev);     qdev_init(&dev->qdev);     qdev_init(&dev->qdev);     qdev_init(&dev->qdev);
RTCState *FUNC_0(int base_year)

{

    ISADevice *dev;



    dev = isa_create("mc146818rtc");

    qdev_prop_set_int32(&dev->qdev, "base_year", base_year);

    qdev_init(&dev->qdev);

    return DO_UPCAST(RTCState, dev, dev);

}

RTCState *FUNC_0(int base_year)
{ ISADevice *dev; dev = isa_create("mc146818rtc"); qdev_prop_set_int32(&dev->qdev, "base_year", base_year); qdev_init(&dev->qdev); return DO_UPCAST(RTCState, dev, dev); }