ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.6.tar.bz2
[linux-2.6.git] / arch / ppc64 / kernel / iSeries_setup.h
1 /*
2  *    Copyright (c) 2000 Mike Corrigan <mikejc@us.ibm.com>
3  *    Copyright (c) 1999-2000 Grant Erickson <grant@lcse.umn.edu>
4  *
5  *    Module name: as400_setup.h
6  *
7  *    Description:
8  *      Architecture- / platform-specific boot-time initialization code for
9  *      the IBM AS/400 LPAR. Adapted from original code by Grant Erickson and
10  *      code by Gary Thomas, Cort Dougan <cort@cs.nmt.edu>, and Dan Malek
11  *      <dan@netx4.com>.
12  *
13  *      This program is free software; you can redistribute it and/or
14  *      modify it under the terms of the GNU General Public License
15  *      as published by the Free Software Foundation; either version
16  *      2 of the License, or (at your option) any later version.
17  */
18
19 #ifndef __ISERIES_SETUP_H__
20 #define __ISERIES_SETUP_H__
21
22 extern void iSeries_init_early(void);
23 extern void iSeries_init(unsigned long r3, unsigned long ird_start,
24                 unsigned long ird_end, unsigned long cline_start,
25                 unsigned long cline_end);
26 extern void iSeries_setup_arch(void);
27 extern void iSeries_setup_residual(struct seq_file *m, int cpu_id);
28 extern void iSeries_get_cpuinfo(struct seq_file *m);
29 extern void iSeries_init_IRQ(void);
30 extern int iSeries_get_irq(struct pt_regs *regs);
31 extern void iSeries_restart(char *cmd);
32 extern void iSeries_power_off(void);
33 extern void iSeries_halt(void);
34 extern void iSeries_time_init(void);
35 extern void iSeries_get_boot_time(struct rtc_time *tm);
36 extern int iSeries_set_rtc_time(struct rtc_time *tm);
37 extern void iSeries_get_rtc_time(struct rtc_time *tm);
38 extern void iSeries_calibrate_decr(void);
39 extern void iSeries_progress( char *, unsigned short );
40
41 #endif /* __ISERIES_SETUP_H__ */