Re: [Qemu-devel] Some line of codes in a file that I cant understand

2014-02-25 Thread Dr. David Alan Gilbert
* Atlas Khan (atlaskha...@gmail.com) wrote: > I am watching i8259.c in \hw folder in QEMU. here is something like this > > > static const VMStateDescription vmstate_pic = { > .name = "i8259", > .version_id = 1, > .minimum_version_id = 1, > .minimum_version_id_old = 1, > .field

[Qemu-devel] Some line of codes in a file that I cant understand

2014-02-25 Thread Atlas Khan
I am watching i8259.c in \hw folder in QEMU. here is something like this static const VMStateDescription vmstate_pic = { .name = "i8259", .version_id = 1, .minimum_version_id = 1, .minimum_version_id_old = 1, .fields = (VMStateField[]) { VMSTATE_UINT8(last_irr, PicStat