Revision 7267c094 hw/stellaris.c
b/hw/stellaris.c | ||
---|---|---|
605 | 605 |
int iomemtype; |
606 | 606 |
ssys_state *s; |
607 | 607 |
|
608 |
s = (ssys_state *)qemu_mallocz(sizeof(ssys_state));
|
|
608 |
s = (ssys_state *)g_malloc0(sizeof(ssys_state));
|
|
609 | 609 |
s->irq = irq; |
610 | 610 |
s->board = board; |
611 | 611 |
/* Most devices come preprogrammed with a MAC address in the user data. */ |
Also available in: Unified diff