[ARM] Support register switch in nommu mode
[linux-2.6/verdex.git] / arch / powerpc / platforms / powermac / pmac.h
blob21c7b0f8f32996ce7038911f28608d15169887a8
1 #ifndef __PMAC_H__
2 #define __PMAC_H__
4 #include <linux/pci.h>
5 #include <linux/ide.h>
6 #include <linux/irq.h>
8 /*
9 * Declaration for the various functions exported by the
10 * pmac_* files. Mostly for use by pmac_setup
13 struct rtc_time;
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);
45 extern void pmac_pic_init(void);
47 #endif /* __PMAC_H__ */