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, 24 unsigned long ird_start, 25 unsigned long ird_end, 26 unsigned long cline_start, 27 unsigned long cline_end); 28 extern void iSeries_setup_arch(void); 29 extern void iSeries_setup_residual(struct seq_file *m); 30 extern void iSeries_get_cpuinfo(struct seq_file *m); 31 extern void iSeries_init_IRQ(void); 32 extern int iSeries_get_irq(struct pt_regs *regs); 33 extern void iSeries_restart(char *cmd); 34 extern void iSeries_power_off(void); 35 extern void iSeries_halt(void); 36 extern void iSeries_time_init(void); 37 extern void iSeries_get_boot_time(struct rtc_time *tm); 38 extern int iSeries_set_rtc_time(unsigned long now); 39 extern unsigned long iSeries_get_rtc_time(void); 40 extern void iSeries_calibrate_decr(void); 41 extern void iSeries_progress( char *, unsigned short ); 42 43 #endif /* __ISERIES_SETUP_H__ */ 44