Revision 8c43a6f0 hw/strongarm.c
b/hw/strongarm.c | ||
---|---|---|
212 | 212 |
dc->vmsd = &vmstate_strongarm_pic_regs; |
213 | 213 |
} |
214 | 214 |
|
215 |
static TypeInfo strongarm_pic_info = { |
|
215 |
static const TypeInfo strongarm_pic_info = {
|
|
216 | 216 |
.name = "strongarm_pic", |
217 | 217 |
.parent = TYPE_SYS_BUS_DEVICE, |
218 | 218 |
.instance_size = sizeof(StrongARMPICState), |
... | ... | |
433 | 433 |
dc->vmsd = &vmstate_strongarm_rtc_regs; |
434 | 434 |
} |
435 | 435 |
|
436 |
static TypeInfo strongarm_rtc_sysbus_info = { |
|
436 |
static const TypeInfo strongarm_rtc_sysbus_info = {
|
|
437 | 437 |
.name = "strongarm-rtc", |
438 | 438 |
.parent = TYPE_SYS_BUS_DEVICE, |
439 | 439 |
.instance_size = sizeof(StrongARMRTCState), |
... | ... | |
674 | 674 |
dc->desc = "StrongARM GPIO controller"; |
675 | 675 |
} |
676 | 676 |
|
677 |
static TypeInfo strongarm_gpio_info = { |
|
677 |
static const TypeInfo strongarm_gpio_info = {
|
|
678 | 678 |
.name = "strongarm-gpio", |
679 | 679 |
.parent = TYPE_SYS_BUS_DEVICE, |
680 | 680 |
.instance_size = sizeof(StrongARMGPIOInfo), |
... | ... | |
840 | 840 |
dc->desc = "StrongARM PPC controller"; |
841 | 841 |
} |
842 | 842 |
|
843 |
static TypeInfo strongarm_ppc_info = { |
|
843 |
static const TypeInfo strongarm_ppc_info = {
|
|
844 | 844 |
.name = "strongarm-ppc", |
845 | 845 |
.parent = TYPE_SYS_BUS_DEVICE, |
846 | 846 |
.instance_size = sizeof(StrongARMPPCInfo), |
... | ... | |
1299 | 1299 |
dc->props = strongarm_uart_properties; |
1300 | 1300 |
} |
1301 | 1301 |
|
1302 |
static TypeInfo strongarm_uart_info = { |
|
1302 |
static const TypeInfo strongarm_uart_info = {
|
|
1303 | 1303 |
.name = "strongarm-uart", |
1304 | 1304 |
.parent = TYPE_SYS_BUS_DEVICE, |
1305 | 1305 |
.instance_size = sizeof(StrongARMUARTState), |
... | ... | |
1538 | 1538 |
dc->vmsd = &vmstate_strongarm_ssp_regs; |
1539 | 1539 |
} |
1540 | 1540 |
|
1541 |
static TypeInfo strongarm_ssp_info = { |
|
1541 |
static const TypeInfo strongarm_ssp_info = {
|
|
1542 | 1542 |
.name = "strongarm-ssp", |
1543 | 1543 |
.parent = TYPE_SYS_BUS_DEVICE, |
1544 | 1544 |
.instance_size = sizeof(StrongARMSSPState), |
Also available in: Unified diff