Revision c1ff227b

b/hw/omap.h
108 108
void omap_inth_reset(struct omap_intr_handler_s *s);
109 109
qemu_irq omap_inth_get_pin(struct omap_intr_handler_s *s, int n);
110 110

  
111
struct omap_prcm_s;
112
struct omap_prcm_s *omap_prcm_init(struct omap_target_agent_s *ta,
113
                qemu_irq mpu_int, qemu_irq dsp_int, qemu_irq iva_int,
114
                struct omap_mpu_state_s *mpu);
115

  
116
struct omap_sysctl_s;
117
struct omap_sysctl_s *omap_sysctl_init(struct omap_target_agent_s *ta,
118
                omap_clk iclk, struct omap_mpu_state_s *mpu);
119

  
120 111
/* OMAP2 SDRAM controller */
121 112
struct omap_sdrc_s;
122 113
struct omap_sdrc_s *omap_sdrc_init(target_phys_addr_t base);
......
658 649
# define OMAP24XX_DMA_EXT_DMAREQ5	64
659 650

  
660 651
/* omap[123].c */
661
struct omap_mpu_timer_s;
662
struct omap_mpu_timer_s *omap_mpu_timer_init(target_phys_addr_t base,
663
                qemu_irq irq, omap_clk clk);
664

  
665 652
/* OMAP2 gp timer */
666 653
struct omap_gp_timer_s;
667 654
struct omap_gp_timer_s *omap_gp_timer_init(struct omap_target_agent_s *ta,
668 655
                qemu_irq irq, omap_clk fclk, omap_clk iclk);
669 656
void omap_gp_timer_reset(struct omap_gp_timer_s *s);
670 657

  
671
struct omap_watchdog_timer_s;
672
struct omap_watchdog_timer_s *omap_wd_timer_init(target_phys_addr_t base,
673
                qemu_irq irq, omap_clk clk);
674

  
675
struct omap_32khz_timer_s;
676
struct omap_32khz_timer_s *omap_os_timer_init(target_phys_addr_t base,
677
                qemu_irq irq, omap_clk clk);
678

  
679 658
/* OMAP2 sysctimer */
680 659
struct omap_synctimer_s;
681 660
struct omap_synctimer_s *omap_synctimer_init(struct omap_target_agent_s *ta,
682 661
                struct omap_mpu_state_s *mpu, omap_clk fclk, omap_clk iclk);
683 662
void omap_synctimer_reset(struct omap_synctimer_s *s);
684 663

  
685
struct omap_tipb_bridge_s;
686
struct omap_tipb_bridge_s *omap_tipb_bridge_init(target_phys_addr_t base,
687
                qemu_irq abort_irq, omap_clk clk);
688

  
689 664
struct omap_uart_s;
690 665
struct omap_uart_s *omap_uart_init(target_phys_addr_t base,
691 666
                qemu_irq irq, omap_clk fclk, omap_clk iclk,
......
740 715
                int chipselect);
741 716
void omap_mcspi_reset(struct omap_mcspi_s *s);
742 717

  
743
struct omap_rtc_s;
744
struct omap_rtc_s *omap_rtc_init(target_phys_addr_t base,
745
                qemu_irq *irq, omap_clk clk);
746

  
747 718
struct I2SCodec {
748 719
    void *opaque;
749 720

  
......
773 744
                qemu_irq *irq, qemu_irq *dma, omap_clk clk);
774 745
void omap_mcbsp_i2s_attach(struct omap_mcbsp_s *s, I2SCodec *slave);
775 746

  
776
struct omap_lpg_s;
777
struct omap_lpg_s *omap_lpg_init(target_phys_addr_t base, omap_clk clk);
778

  
779 747
void omap_tap_init(struct omap_target_agent_s *ta,
780 748
                struct omap_mpu_state_s *mpu);
781 749

  
782
struct omap_eac_s;
783
struct omap_eac_s *omap_eac_init(struct omap_target_agent_s *ta,
784
                qemu_irq irq, qemu_irq *drq, omap_clk fclk, omap_clk iclk);
785

  
786 750
/* omap_lcdc.c */
787 751
struct omap_lcd_panel_s;
788 752
void omap_lcdc_reset(struct omap_lcd_panel_s *s);
b/hw/omap1.c
247 247
    s->it_ena = 1;
248 248
}
249 249

  
250
struct omap_mpu_timer_s *omap_mpu_timer_init(target_phys_addr_t base,
250
static struct omap_mpu_timer_s *omap_mpu_timer_init(target_phys_addr_t base,
251 251
                qemu_irq irq, omap_clk clk)
252 252
{
253 253
    int iomemtype;
......
371 371
    omap_timer_update(&s->timer);
372 372
}
373 373

  
374
struct omap_watchdog_timer_s *omap_wd_timer_init(target_phys_addr_t base,
374
static struct omap_watchdog_timer_s *omap_wd_timer_init(target_phys_addr_t base,
375 375
                qemu_irq irq, omap_clk clk)
376 376
{
377 377
    int iomemtype;
......
473 473
    s->timer.ar = 1;
474 474
}
475 475

  
476
struct omap_32khz_timer_s *omap_os_timer_init(target_phys_addr_t base,
476
static struct omap_32khz_timer_s *omap_os_timer_init(target_phys_addr_t base,
477 477
                qemu_irq irq, omap_clk clk)
478 478
{
479 479
    int iomemtype;
......
1180 1180
    s->enh_control = 0x000f;
1181 1181
}
1182 1182

  
1183
struct omap_tipb_bridge_s *omap_tipb_bridge_init(target_phys_addr_t base,
1183
static struct omap_tipb_bridge_s *omap_tipb_bridge_init(target_phys_addr_t base,
1184 1184
                qemu_irq abort_irq, omap_clk clk)
1185 1185
{
1186 1186
    int iomemtype;
......
2809 2809
    omap_rtc_tick(s);
2810 2810
}
2811 2811

  
2812
struct omap_rtc_s *omap_rtc_init(target_phys_addr_t base,
2812
static struct omap_rtc_s *omap_rtc_init(target_phys_addr_t base,
2813 2813
                qemu_irq *irq, omap_clk clk)
2814 2814
{
2815 2815
    int iomemtype;
......
3506 3506
    omap_lpg_update(s);
3507 3507
}
3508 3508

  
3509
struct omap_lpg_s *omap_lpg_init(target_phys_addr_t base, omap_clk clk)
3509
static struct omap_lpg_s *omap_lpg_init(target_phys_addr_t base, omap_clk clk)
3510 3510
{
3511 3511
    int iomemtype;
3512 3512
    struct omap_lpg_s *s = (struct omap_lpg_s *)
b/hw/omap2.c
585 585
    omap_badwidth_write16,
586 586
};
587 587

  
588
struct omap_eac_s *omap_eac_init(struct omap_target_agent_s *ta,
588
static struct omap_eac_s *omap_eac_init(struct omap_target_agent_s *ta,
589 589
                qemu_irq irq, qemu_irq *drq, omap_clk fclk, omap_clk iclk)
590 590
{
591 591
    int iomemtype;
......
1783 1783
    omap_prcm_reset(s);
1784 1784
}
1785 1785

  
1786
struct omap_prcm_s *omap_prcm_init(struct omap_target_agent_s *ta,
1786
static struct omap_prcm_s *omap_prcm_init(struct omap_target_agent_s *ta,
1787 1787
                qemu_irq mpu_int, qemu_irq dsp_int, qemu_irq iva_int,
1788 1788
                struct omap_mpu_state_s *mpu)
1789 1789
{
......
2157 2157
    s->padconf[0x44] = 0x00000800;
2158 2158
}
2159 2159

  
2160
struct omap_sysctl_s *omap_sysctl_init(struct omap_target_agent_s *ta,
2160
static struct omap_sysctl_s *omap_sysctl_init(struct omap_target_agent_s *ta,
2161 2161
                omap_clk iclk, struct omap_mpu_state_s *mpu)
2162 2162
{
2163 2163
    int iomemtype;

Also available in: Unified diff