9 * Declaration for the various functions exported by the
10 * pmac_* files. Mostly for use by pmac_setup
15 extern long pmac_time_init(void);
16 extern unsigned long pmac_get_boot_time(void);
17 extern void pmac_get_rtc_time(struct rtc_time *);
18 extern int pmac_set_rtc_time(struct rtc_time *);
19 extern void pmac_read_rtc_time(void);
20 extern void pmac_calibrate_decr(void);
21 extern void pmac_pcibios_fixup(void);
22 extern void pmac_pci_init(void);
23 extern unsigned long pmac_ide_get_base(int index);
24 extern void pmac_ide_init_hwif_ports(hw_regs_t *hw,
25 unsigned long data_port, unsigned long ctrl_port, int *irq);
27 extern void pmac_nvram_update(void);
28 extern unsigned char pmac_nvram_read_byte(int addr);
29 extern void pmac_nvram_write_byte(int addr, unsigned char val);
30 extern int pmac_pci_enable_device_hook(struct pci_dev *dev, int initial);
31 extern void pmac_pcibios_after_init(void);
32 extern int of_show_percpuinfo(struct seq_file *m, int i);
34 extern void pmac_pci_init(void);
35 extern void pmac_setup_pci_dma(void);
36 extern void pmac_check_ht_link(void);
38 extern void pmac_setup_smp(void);
40 extern unsigned long pmac_ide_get_base(int index);
41 extern void pmac_ide_init_hwif_ports(hw_regs_t *hw,
42 unsigned long data_port, unsigned long ctrl_port, int *irq);
44 extern int pmac_nvram_init(void);
46 extern struct hw_interrupt_type pmac_pic;
48 void pmac_pic_init(void);
49 int pmac_get_irq(struct pt_regs *regs);
51 #endif /* __PMAC_H__ */