Revision 7267c094 hw/omap_synctimer.c
b/hw/omap_synctimer.c | ||
---|---|---|
86 | 86 |
struct omap_synctimer_s *omap_synctimer_init(struct omap_target_agent_s *ta, |
87 | 87 |
struct omap_mpu_state_s *mpu, omap_clk fclk, omap_clk iclk) |
88 | 88 |
{ |
89 |
struct omap_synctimer_s *s = qemu_mallocz(sizeof(*s));
|
|
89 |
struct omap_synctimer_s *s = g_malloc0(sizeof(*s));
|
|
90 | 90 |
|
91 | 91 |
omap_synctimer_reset(s); |
92 | 92 |
omap_l4_attach(ta, 0, l4_register_io_memory( |
Also available in: Unified diff