initial commit with v2.6.9
[linux-2.6.9-moxart.git] / arch / ppc64 / kernel / iSeries_setup.h
blob098041b4c6120d9e532479320e43a23d952bd4cb
1 /*
2 * Copyright (c) 2000 Mike Corrigan <mikejc@us.ibm.com>
3 * Copyright (c) 1999-2000 Grant Erickson <grant@lcse.umn.edu>
5 * Module name: as400_setup.h
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>.
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.
19 #ifndef __ISERIES_SETUP_H__
20 #define __ISERIES_SETUP_H__
22 extern void iSeries_setup_arch(void);
23 extern void iSeries_setup_residual(struct seq_file *m, int cpu_id);
24 extern void iSeries_get_cpuinfo(struct seq_file *m);
25 extern void iSeries_init_IRQ(void);
26 extern int iSeries_get_irq(struct pt_regs *regs);
27 extern void iSeries_restart(char *cmd);
28 extern void iSeries_power_off(void);
29 extern void iSeries_halt(void);
30 extern void iSeries_time_init(void);
31 extern void iSeries_get_boot_time(struct rtc_time *tm);
32 extern int iSeries_set_rtc_time(struct rtc_time *tm);
33 extern void iSeries_get_rtc_time(struct rtc_time *tm);
34 extern void iSeries_calibrate_decr(void);
35 extern void iSeries_progress( char *, unsigned short );
37 #endif /* __ISERIES_SETUP_H__ */