Revision 7267c094 hw/heathrow_pic.c
b/hw/heathrow_pic.c | ||
---|---|---|
202 | 202 |
{ |
203 | 203 |
HeathrowPICS *s; |
204 | 204 |
|
205 |
s = qemu_mallocz(sizeof(HeathrowPICS));
|
|
205 |
s = g_malloc0(sizeof(HeathrowPICS));
|
|
206 | 206 |
/* only 1 CPU */ |
207 | 207 |
s->irqs = irqs[0]; |
208 | 208 |
memory_region_init_io(&s->mem, &heathrow_pic_ops, s, |
Also available in: Unified diff